
:root {
  --paper: #f3f0e8;
  --ink: #102f2d;
  --petrol: #0d3a38;
  --red: #e65332;
  --yellow: #efd36b;
  --white: #fffdf7;
  --line: rgba(16, 47, 45, 0.25);
  --pad: clamp(1.25rem, 4vw, 4.5rem);
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: break-word;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
figure, h1, h2, h3, p { margin: 0; }
section { scroll-margin-top: 5rem; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.8rem 1rem;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

.demo-bar {
  min-height: 32px;
  padding: 0.4rem var(--pad);
  background: var(--petrol);
  color: var(--white);
  font-size: 0.7rem;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  max-width: var(--max);
  min-height: 86px;
  margin: 0 auto;
  padding: 1rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.45rem;
  font-weight: 900;
  transform: rotate(-8deg);
}
.brand-name {
  font-size: 0.68rem;
  line-height: 1.1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.brand-name strong {
  display: inline-block;
  margin-top: 0.15rem;
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.main-nav { display: flex; align-items: center; gap: clamp(1.2rem, 3vw, 3rem); }
.main-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}
.main-nav a:not(.nav-call):hover { color: var(--red); }
.nav-call { padding: 0 1rem; border: 1px solid currentColor; gap: 0.6rem; }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.4rem, 6vw, 6.5rem) var(--pad) 0;
}
.hero-kicker {
  display: grid;
  grid-template-columns: auto minmax(2rem, 1fr) auto;
  align-items: center;
  gap: 1rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.kicker-line { height: 1px; background: var(--line); }
.hero-grid {
  margin-top: clamp(1.6rem, 3vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 2.4fr) minmax(250px, 0.8fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 6rem);
}
h1, h2, .contact-statement {
  font-weight: 900;
  letter-spacing: -0.06em;
  text-wrap: balance;
}
h1 {
  max-width: 12ch;
  font-size: clamp(4.8rem, 9.25vw, 8.7rem);
  line-height: 0.87;
}
.hero-copy { max-width: 27rem; padding-bottom: 0.65rem; }
.hero-copy p { font-size: clamp(1rem, 1.4vw, 1.22rem); }
.button {
  min-height: 50px;
  width: fit-content;
  margin-top: 1.5rem;
  padding: 0.8rem 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  border: 1px solid transparent;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--red); color: var(--white); }
.button-primary:hover { background: var(--petrol); }
.button-dark { background: var(--petrol); color: var(--white); }
.button-dark:hover { background: var(--red); }

.hero-figure { width: 88%; margin: clamp(3rem, 6vw, 6rem) 0 0 auto; }
.image-shell { position: relative; background: #d7d0c2; }
.image-shell-wide { aspect-ratio: 16 / 9; }
.image-shell-wide img { object-position: center 48%; }
.image-index {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
}
.image-index-light { background: var(--paper); }
figcaption {
  padding-top: 0.7rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}
figcaption span:last-child { text-align: right; }

.offer {
  margin-top: clamp(5rem, 10vw, 10rem);
  padding: clamp(4rem, 8vw, 8rem) var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 9vw, 9rem);
  background: var(--red);
  color: var(--white);
}
.section-head, .offer-index { min-width: 0; }
.eyebrow {
  margin-bottom: 1.2rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.offer h2, .visit h2 {
  font-size: clamp(3.6rem, 7vw, 7rem);
  line-height: 0.9;
}
.offer-row {
  min-width: 0;
  padding: 1.4rem 0;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr) minmax(160px, 0.8fr);
  align-items: baseline;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.5);
}
.offer-row:last-child { border-bottom: 1px solid rgba(255,255,255,0.5); }
.offer-no { font-size: 0.68rem; font-weight: 800; }
.offer-row h3 { font-size: clamp(2rem, 4vw, 4.5rem); line-height: 1; letter-spacing: -0.05em; }
.offer-row p { max-width: 14rem; font-size: 0.9rem; }
.offer-note { grid-column: 2; max-width: 31rem; }
.offer-note p { font-size: 1.08rem; }
.text-link {
  min-height: 44px;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-underline-offset: 0.3rem;
}

.detail {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 10rem) var(--pad);
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 9rem);
}
.detail-copy { position: relative; z-index: 1; }
.detail h2 {
  max-width: 8ch;
  font-size: clamp(3.3rem, 6.3vw, 6.3rem);
  line-height: 0.92;
}
.detail-copy > p:not(.eyebrow) { max-width: 29rem; margin-top: 2rem; font-size: 1.05rem; }
.detail-figure { position: relative; z-index: 1; width: min(100%, 670px); justify-self: end; }
.image-shell-square { aspect-ratio: 1 / 1; }
.detail-figure figcaption { justify-content: flex-end; text-align: right; }
.detail-word {
  position: absolute;
  left: 0;
  bottom: -0.28em;
  color: rgba(230, 83, 50, 0.09);
  font-size: clamp(11rem, 27vw, 26rem);
  font-weight: 900;
  letter-spacing: -0.11em;
  line-height: 1;
  pointer-events: none;
}

.visit { padding: clamp(4rem, 8vw, 8rem) var(--pad); background: var(--petrol); color: var(--white); }
.visit-top {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}
.visit h2 { max-width: 12ch; }
.visit-figure { max-width: 1180px; margin: clamp(3rem, 6vw, 6rem) auto 0; }
.image-shell-table { aspect-ratio: 16 / 9; }
.image-shell-table img { object-position: center 52%; }
.visit figcaption { color: rgba(255,255,255,0.72); }
.contact-grid {
  max-width: var(--max);
  margin: clamp(4rem, 8vw, 8rem) auto 0;
  padding-top: clamp(2rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
  border-top: 1px solid rgba(255,255,255,0.35);
}
.contact-statement { max-width: 14ch; font-size: clamp(2.7rem, 5vw, 5rem); line-height: 0.95; }
.contact-data { font-style: normal; }
.contact-item {
  padding: 1.15rem 0;
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,0.25);
}
.contact-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.25); }
.contact-item > span { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.contact-item a { width: fit-content; min-height: 44px; display: inline-flex; align-items: flex-start; text-underline-offset: 0.25rem; }

.site-footer {
  padding: 1.5rem var(--pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  background: var(--yellow);
  color: var(--ink);
}
.footer-brand .brand-mark { background: var(--petrol); }
.site-footer > p { font-size: 0.65rem; line-height: 1.4; letter-spacing: 0.08em; text-align: center; text-transform: uppercase; }
.to-top { justify-self: end; min-height: 44px; display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(220px, 0.52fr); gap: 2rem; }
  h1 { font-size: clamp(4.3rem, 10.5vw, 6.3rem); }
  .hero-figure { width: 94%; }
  .offer { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); gap: 3rem; }
  .offer-note { grid-column: 2; }
  .detail { gap: 3rem; }
  .visit-top { grid-template-columns: 0.3fr 1fr; }
}

@media (max-width: 640px) {
  html { scroll-behavior: auto; }
  .demo-bar { min-height: 28px; padding: 0.34rem 0.8rem; font-size: 0.56rem; letter-spacing: 0.07em; }
  .site-header { min-height: 66px; padding-top: 0.55rem; padding-bottom: 0.55rem; }
  .brand { gap: 0.55rem; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-name { font-size: 0.58rem; }
  .brand-name strong { font-size: 0.86rem; }
  .main-nav > a:not(.nav-call) { display: none; }
  .nav-call { width: 44px; padding: 0; justify-content: center; font-size: 0; }
  .nav-call span { font-size: 1rem; }

  .hero { padding-top: 1.75rem; }
  .hero-kicker { grid-template-columns: auto 1fr; font-size: 0.57rem; gap: 0.65rem; }
  .hero-kicker span:last-child { grid-column: 1 / -1; }
  .hero-grid { margin-top: 1.15rem; grid-template-columns: minmax(0, 1fr); gap: 1.15rem; }
  h1 { max-width: 100%; font-size: clamp(3.25rem, 14.2vw, 4.15rem); line-height: 0.9; letter-spacing: -0.055em; text-wrap: wrap; }
  .hero-copy { padding: 0; }
  .hero-copy p { max-width: 34ch; font-size: 0.9rem; line-height: 1.4; }
  .button { min-height: 48px; margin-top: 1rem; }
  .hero-figure { width: calc(100% + var(--pad)); margin-top: 2rem; margin-left: 0; }
  .image-shell-wide { aspect-ratio: 4 / 3; }
  .image-shell-wide img { object-position: 62% center; }
  figcaption { padding-right: var(--pad); display: block; line-height: 1.45; }
  figcaption span { display: block; }
  figcaption span:last-child { margin-top: 0.25rem; text-align: left; }

  .offer { margin-top: 4.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .offer h2, .visit h2 { font-size: clamp(3.2rem, 16vw, 4.6rem); }
  .offer-row { grid-template-columns: 2rem minmax(0, 1fr); gap: 0.7rem; }
  .offer-row p { grid-column: 2; padding-bottom: 0.4rem; }
  .offer-note { grid-column: 1; }

  .detail { padding-top: 4.5rem; padding-bottom: 5rem; grid-template-columns: minmax(0, 1fr); gap: 2.6rem; }
  .detail h2 { max-width: 9ch; font-size: clamp(3.2rem, 15vw, 4.4rem); }
  .detail-copy > p:not(.eyebrow) { margin-top: 1.3rem; }
  .detail-figure { width: 91%; justify-self: end; }
  .detail-word { bottom: 0; font-size: 31vw; }

  .visit { padding-top: 4rem; padding-bottom: 4rem; }
  .visit-top { grid-template-columns: minmax(0, 1fr); gap: 0.3rem; }
  .visit-figure { width: calc(100% + var(--pad)); margin-top: 2.5rem; margin-left: 0; }
  .image-shell-table { aspect-ratio: 4 / 3; }
  .image-shell-table img { object-position: 52% center; }
  .contact-grid { margin-top: 4rem; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .contact-statement { font-size: clamp(2.75rem, 13vw, 3.8rem); }
  .contact-item { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
  .contact-item a { word-break: break-word; }

  .site-footer { grid-template-columns: 1fr auto; gap: 1.5rem; }
  .site-footer > p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
