
:root {
  --paper: #f2f0ea;
  --paper-bright: #faf9f5;
  --ink: #17201f;
  --muted: #66706d;
  --petrol: #0b4548;
  --petrol-dark: #073538;
  --rust: #a95432;
  --line: rgba(23, 32, 31, 0.18);
  --light-line: rgba(255, 255, 255, 0.23);
  --shell: 1180px;
  --wide: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.shell,
.shell-wide {
  width: min(calc(100% - 64px), var(--shell));
  margin-inline: auto;
}

.shell-wide {
  width: min(calc(100% - 48px), var(--wide));
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 12px 16px;
  background: var(--ink);
  color: white;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.demo-note {
  min-height: 30px;
  display: grid;
  place-items: center;
  padding: 5px 20px;
  background: var(--petrol-dark);
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.11em;
  text-align: center;
  text-transform: uppercase;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  transform: rotate(45deg);
}

.brand-mark i {
  display: block;
  border: 2px solid var(--petrol);
}

.brand-mark i:last-child {
  background: var(--rust);
  border-color: var(--rust);
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  font-size: 21px;
  letter-spacing: -0.04em;
}

.brand-copy small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  padding: 12px 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:hover {
  color: var(--ink);
}

.header-call {
  min-height: 46px;
  min-width: 118px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.header-call:hover {
  background: var(--ink);
  color: white;
}

.hero {
  padding: 74px 0 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--petrol);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 8px;
  height: 8px;
  background: var(--rust);
}

.hero h1 {
  max-width: 980px;
  margin: 28px 0 36px;
  font-size: clamp(58px, 7.25vw, 108px);
  font-weight: 720;
  line-height: 0.89;
  letter-spacing: -0.075em;
}

.hero-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: end;
  gap: 60px;
  margin-left: 22%;
}

.hero-lower p {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.primary-action {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  padding: 14px 18px;
  background: var(--petrol);
  color: white;
  text-decoration: none;
}

.primary-action > span:first-child {
  font-size: 15px;
  font-weight: 800;
}

.action-number {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.action-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin-left: 20px;
  font-size: 24px;
}

.primary-action:hover {
  background: var(--rust);
}

.hero-figure {
  margin-top: 70px;
  margin-bottom: 0;
}

.hero-figure img {
  height: min(48vw, 630px);
  object-fit: cover;
  object-position: center 58%;
}

.hero-figure figcaption,
.work-figure figcaption,
.detail-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.figure-place {
  color: var(--ink);
}

.section {
  padding: 150px 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: clamp(70px, 10vw, 150px);
}

.section-intro {
  position: sticky;
  top: 30px;
  align-self: start;
}

.section h2,
.work-section h2,
.contact-section h2 {
  margin: 24px 0 0;
  font-size: clamp(42px, 5.4vw, 76px);
  font-weight: 700;
  line-height: 0.99;
  letter-spacing: -0.06em;
}

.orientation-list {
  border-top: 1px solid var(--line);
}

.orientation-list article {
  display: grid;
  grid-template-columns: 44px minmax(0, 150px) minmax(0, 1fr);
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.orientation-list .index {
  padding-top: 3px;
  color: var(--rust);
  font-size: 12px;
  font-weight: 800;
}

.orientation-list h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.orientation-list p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.work-section {
  padding: 110px 0;
  background: var(--petrol-dark);
  color: white;
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
  align-items: center;
  gap: clamp(60px, 9vw, 130px);
}

.eyebrow-light {
  color: rgba(255, 255, 255, 0.66);
}

.work-copy h2 {
  max-width: 460px;
  font-size: clamp(44px, 5vw, 70px);
}

.work-copy p {
  max-width: 430px;
  margin: 34px 0 28px;
  color: rgba(255, 255, 255, 0.67);
}

.text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--light-line);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
}

.work-figure {
  min-width: 0;
  margin: 0;
}

.work-figure img {
  aspect-ratio: 6 / 5;
  object-fit: cover;
  object-position: 46% center;
}

.work-figure figcaption {
  color: rgba(255, 255, 255, 0.56);
}

.detail-section {
  background: var(--paper-bright);
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(70px, 11vw, 160px);
}

.detail-figure {
  min-width: 0;
  margin: 0;
}

.detail-figure img {
  aspect-ratio: 1;
  object-fit: cover;
}

.detail-copy {
  position: relative;
  padding-top: 40px;
}

.chapter-number {
  position: absolute;
  top: -52px;
  right: 0;
  color: rgba(11, 69, 72, 0.08);
  font-size: 148px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.08em;
}

.detail-copy h2 {
  position: relative;
  max-width: 620px;
}

.detail-copy p {
  max-width: 520px;
  margin: 30px 0 40px;
  color: var(--muted);
}

.detail-rule {
  width: 100%;
  height: 1px;
  background: var(--line);
}

.detail-rule i {
  display: block;
  width: 10px;
  height: 10px;
  background: var(--rust);
  transform: translateY(-4px);
}

.contact-section {
  padding: 130px 0 70px;
  background: var(--ink);
  color: white;
}

.contact-head {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.45fr);
  gap: 60px;
  align-items: start;
  padding-bottom: 70px;
}

.contact-head h2 {
  margin-top: 0;
  font-size: clamp(50px, 6.5vw, 90px);
}

.contact-lines {
  border-top: 1px solid var(--light-line);
}

.contact-line {
  min-height: 130px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--light-line);
  color: white;
  font-style: normal;
  text-decoration: none;
}

a.contact-line:hover {
  background: rgba(255, 255, 255, 0.035);
}

.contact-kicker {
  color: rgba(255, 255, 255, 0.51);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.contact-line strong {
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--light-line);
  font-size: 20px;
}

.site-footer {
  padding: 34px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.5);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 30px;
}

.footer-brand {
  color: white;
  font-size: 14px;
  font-weight: 750;
}

.footer-inner p,
.footer-inner a {
  margin: 0;
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-inner a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid #d67b55;
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .shell,
  .shell-wide {
    width: min(calc(100% - 40px), var(--shell));
  }

  .main-nav {
    gap: 18px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero h1 {
    max-width: 760px;
    font-size: clamp(56px, 9.4vw, 76px);
  }

  .hero-lower {
    margin-left: 0;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 36px;
  }

  .hero-figure {
    margin-top: 52px;
  }

  .hero-figure img {
    height: 470px;
  }

  .section {
    padding: 110px 0;
  }

  .section-grid,
  .work-grid,
  .detail-grid {
    gap: 64px;
  }

  .orientation-list article {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .orientation-list p {
    grid-column: 2;
  }

  .contact-head {
    grid-template-columns: 0.55fr 1.45fr;
    gap: 30px;
  }
}

@media (max-width: 700px) {
  html {
    scroll-behavior: auto;
  }

  body {
    font-size: 16px;
  }

  .shell,
  .shell-wide {
    width: calc(100% - 32px);
  }

  .demo-note {
    min-height: 26px;
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .header-inner {
    min-height: 66px;
    gap: 16px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .brand-copy strong {
    font-size: 18px;
  }

  .brand-copy small {
    font-size: 8px;
  }

  .main-nav {
    display: none;
  }

  .header-call {
    margin-left: auto;
    min-width: 100px;
    min-height: 46px;
    padding: 0 14px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero h1 {
    max-width: none;
    margin: 16px 0 18px;
    font-size: clamp(44px, 13.5vw, 57px);
    line-height: 0.94;
    letter-spacing: -0.065em;
  }

  .hero h1 br {
    display: none;
  }

  .hero h1 br::after {
    content: " ";
  }

  .hero-lower {
    display: block;
  }

  .hero-lower p {
    max-width: 500px;
    font-size: 15px;
    line-height: 1.45;
  }

  .primary-action {
    width: 100%;
    min-height: 62px;
    margin-top: 18px;
    padding: 10px 16px;
  }

  .hero-figure {
    margin-top: 28px;
  }

  .hero-figure img {
    height: 238px;
    object-position: 58% center;
  }

  .hero-figure figcaption,
  .work-figure figcaption,
  .detail-figure figcaption {
    display: block;
    font-size: 8px;
    line-height: 1.5;
  }

  .figure-place {
    display: block;
    margin-top: 3px;
  }

  .section {
    padding: 82px 0;
  }

  .section-grid,
  .work-grid,
  .detail-grid,
  .contact-head {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-grid {
    gap: 48px;
  }

  .section-intro {
    position: static;
  }

  .section h2,
  .work-section h2,
  .contact-section h2 {
    font-size: clamp(39px, 11.5vw, 52px);
    line-height: 0.98;
  }

  .orientation-list article {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    padding: 24px 0;
  }

  .orientation-list p {
    margin-top: 6px;
  }

  .work-section {
    padding: 78px 0;
  }

  .work-grid {
    gap: 44px;
  }

  .work-copy h2 br {
    display: none;
  }

  .work-figure {
    order: -1;
  }

  .work-figure img {
    aspect-ratio: 4 / 3;
    object-position: 42% center;
  }

  .detail-grid {
    gap: 44px;
  }

  .detail-figure {
    width: min(86%, 420px);
  }

  .detail-copy {
    padding-top: 22px;
  }

  .chapter-number {
    top: -20px;
    font-size: 108px;
  }

  .contact-section {
    padding: 82px 0 44px;
  }

  .contact-head {
    gap: 28px;
    padding-bottom: 48px;
  }

  .contact-head h2 {
    margin: 0;
  }

  .contact-head h2 br {
    display: none;
  }

  .contact-line {
    min-height: 112px;
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 12px;
    padding: 18px 0;
  }

  .contact-kicker {
    grid-column: 1 / -1;
  }

  .contact-line strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 27px;
  }

  .contact-icon {
    grid-column: 2;
    grid-row: 2;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .footer-inner p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .footer-inner a {
    grid-column: 2;
    grid-row: 1;
  }
}

@media (max-width: 370px) {
  .brand-copy small {
    display: none;
  }

  .hero h1 {
    font-size: 42px;
  }

  .action-number {
    font-size: 11px;
  }

  .contact-line strong {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
