:root {
  --bg: #f3efe8;
  --text: #171717;
  --muted: #66625c;
  --line: #d8d1c7;
  --dark: #151515;
  --accent: #a65f3b;
  --accent-deep: #7f452b;
  --light: #f7f4ef;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--dark);
  color: var(--light);
  transform: translateY(-200%);
}

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

.shell {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 239, 232, 0.96);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand img {
  width: 188px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.93rem;
  font-weight: 600;
}

.site-nav a {
  color: #2f2f2f;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-deep);
}

.contact-link {
  padding: 11px 16px;
  border: 1px solid var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero */

.hero {
  padding: 105px 0 105px;
}

.kicker {
  margin: 0 0 22px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 34px;
  font-size: clamp(3.2rem, 6.2vw, 6rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
  font-weight: 600;
}

.hero-intro {
  max-width: 760px;
  margin-bottom: 40px;
  color: #4d4944;
  font-size: clamp(1.1rem, 2vw, 1.38rem);
  line-height: 1.58;
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease;
}

.button-primary {
  background: var(--text);
  color: white;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-deep);
}

.button-light {
  background: var(--light);
  color: var(--dark);
}

.button-light:hover,
.button-light:focus-visible {
  background: white;
}

.text-link {
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.text-link span {
  display: inline-block;
  margin-left: 7px;
}

/* Sections */

.section {
  padding: 92px 0;
  border-top: 1px solid var(--line);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 68px;
}

.section-intro.compact {
  max-width: 430px;
  margin-bottom: 0;
}

.section-intro h2,
.contact-section h2 {
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
  line-height: 1.03;
  letter-spacing: -0.052em;
  font-weight: 600;
}

.section-intro > p:last-child,
.equipment-copy > p,
.experience-copy > p {
  color: var(--muted);
}

/* Services */

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.service-card {
  min-height: 285px;
  padding: 34px 38px 38px 0;
  border-bottom: 1px solid var(--line);
}

.service-card:nth-child(odd) {
  padding-right: 56px;
  border-right: 1px solid var(--line);
}

.service-card:nth-child(even) {
  padding-left: 56px;
}

.service-number {
  display: block;
  margin-bottom: 52px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.service-card p {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--muted);
}

/* Experience */

.section-dark {
  background: var(--dark);
  color: var(--light);
  border-top: 0;
}

.section-dark .kicker {
  color: #d09a7f;
}

.split-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: start;
}

.experience-copy,
.equipment-copy {
  max-width: 700px;
}

.large-copy {
  margin-bottom: 28px;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.section-dark .experience-copy > p {
  color: #c6c6c6;
}

.section-dark .experience-copy .large-copy {
  color: white;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 80px;
  border-top: 1px solid #3b3b3b;
}

.experience-grid div {
  padding: 28px 24px 0 0;
}

.experience-grid div + div {
  padding-left: 24px;
  border-left: 1px solid #3b3b3b;
}

.experience-grid strong,
.experience-grid span {
  display: block;
}

.experience-grid strong {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.experience-grid span {
  color: #a7a7a7;
  font-size: 0.9rem;
}

/* Contact */

.contact-section {
  padding: 56px 0;
  background: var(--accent-deep);
  color: var(--light);
}

.contact-section .kicker {
  color: #f2c6b0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 70px;
  align-items: end;
}

.contact-section h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.contact-actions {
  justify-content: flex-end;
}

.light-link {
  color: white;
}

/* Footer */

.site-footer {
  padding: 28px 0;
  background: var(--dark);
  color: #9f9f9f;
  font-size: 0.82rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-inner p {
  margin: 0;
}

/* Tablet / mobile */

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

  .header-inner {
    min-height: 72px;
  }

  .js .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 18px 22px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .js .site-nav {
    display: none;
  }

  .js .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px 4px;
  }

  .contact-link {
    margin-top: 8px;
    padding: 12px 14px !important;
    text-align: center;
  }

  .hero {
    padding: 86px 0 94px;
  }

  h1 {
    letter-spacing: -0.055em;
  }

  .section {
    padding: 84px 0;
  }

  .service-grid,
  .split-layout,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .split-layout,
  .contact-inner {
    gap: 48px;
  }

  .section-intro.compact {
    max-width: 650px;
  }

  .service-card,
  .service-card:nth-child(odd),
  .service-card:nth-child(even) {
    min-height: 0;
    padding: 30px 0;
    border-right: 0;
  }

  .service-number {
    margin-bottom: 24px;
  }

  .experience-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-grid div {
    padding: 26px 24px 26px 0;
    border-bottom: 1px solid #3b3b3b;
  }

  .experience-grid div + div {
    padding-left: 24px;
  }

  .experience-grid div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 70px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .experience-grid div,
  .experience-grid div + div,
  .experience-grid div:nth-child(3) {
    padding: 24px 0;
    border-left: 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 8px;
  }
}
.brand {
  display: inline-flex;
  align-items: center;
  width: 230px;
  max-width: 45vw;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}
/* Selected work */

.selected-work-section {
  background: #ebe5dc;
}

.selected-work-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: end;
  margin-bottom: 56px;
}

.selected-work-heading .section-intro {
  margin-bottom: 0;
}

.selected-work-intro {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  align-items: start;
}

.work-item {
  margin: 0;
}

.work-item-large {
  grid-row: span 2;
}

.work-image {
  overflow: hidden;
  background: #171717;
}

.work-item-large .work-image {
  aspect-ratio: 4 / 3;
}

.work-item:not(.work-item-large) .work-image {
  aspect-ratio: 16 / 10;
}

.work-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-item figcaption {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
}

.work-item figcaption span {
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.work-item figcaption strong {
  max-width: 310px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: right;
}

@media (max-width: 850px) {
  .selected-work-heading,
  .work-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .selected-work-heading {
    margin-bottom: 44px;
  }

  .work-item-large {
    grid-row: auto;
  }

  .work-item-large .work-image,
  .work-item:not(.work-item-large) .work-image {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 560px) {
  .work-item figcaption {
    display: block;
  }

  .work-item figcaption strong {
    display: block;
    margin-top: 5px;
    text-align: left;
  }
}

@media (max-width: 850px) {
  .brand {
    width: 155px;
  }

  .brand img {
    max-height: 46px;
  }
}
/* Story teaser */

.story-teaser {
  background: #f3efe8;
}

.story-copy {
  max-width: 700px;
}

.story-copy p {
  color: var(--muted);
}

.story-copy .large-copy {
  color: var(--text);
}

.story-link {
  display: inline-block;
  margin-top: 14px;
}
/* Story page */

.story-hero {
  padding: 118px 0 108px;
}

.story-hero-inner {
  max-width: 980px;
}

.story-timeline-section {
  padding-top: 0;
}

.story-timeline {
  border-top: 1px solid var(--line);
}

.timeline-entry {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 70px;
  padding: 82px 0;
  border-bottom: 1px solid var(--line);
}

.timeline-year {
  color: var(--accent-deep);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-copy {
  max-width: 820px;
}

.timeline-copy h2 {
  margin: 0 0 26px;
  font-size: clamp(2.2rem, 4.3vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.timeline-copy > p:not(.kicker) {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.03rem;
}

.timeline-entry-memory {
  background: #ebe5dc;
  margin-left: calc(
    (100vw - min(calc(100% - 48px), var(--max-width))) / -2
  );
  margin-right: calc(
    (100vw - min(calc(100% - 48px), var(--max-width))) / -2
  );
  padding-left: calc(
    (100vw - min(calc(100% - 48px), var(--max-width))) / 2
  );
  padding-right: calc(
    (100vw - min(calc(100% - 48px), var(--max-width))) / 2
  );
}

.story-photo,
.archive-item {
  margin: 42px 0 0;
}

.story-photo img,
.archive-item img {
  display: block;
  width: 100%;
  height: auto;
}

.story-photo {
  max-width: 760px;
}

.archive-item {
  max-width: 580px;
}

.archive-item-wide {
  max-width: 760px;
}

.archive-item-logo {
  max-width: 520px;
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
}

.archive-item-logo img {
  object-fit: contain;
}

.story-photo figcaption,
.archive-item figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.story-today {
  border-top: 0;
}

@media (max-width: 850px) {
  .story-hero {
    padding: 86px 0 78px;
  }

  .timeline-entry {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 62px 0;
  }

  .timeline-entry-memory {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .archive-item,
  .archive-item-wide,
  .archive-item-logo,
  .story-photo {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .story-hero {
    padding: 68px 0 62px;
  }

  .timeline-entry {
    padding: 50px 0;
  }

  .timeline-copy h2 {
    font-size: 2.35rem;
  }

  .archive-item-logo {
    padding: 20px;
  }
}
/* Equipment section */

.equipment-section {
  background: var(--bg);
}

.equipment-heading {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: start;
  margin-bottom: 70px;
}

.equipment-heading .section-intro {
  margin-bottom: 0;
}

.equipment-copy {
  max-width: 720px;
}

.equipment-copy p {
  color: var(--muted);
}

.equipment-copy .large-copy {
  color: var(--text);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.equipment-card {
  min-height: 270px;
  padding: 34px 42px 38px 0;
  border-bottom: 1px solid var(--line);
}

.equipment-card:nth-child(odd) {
  padding-right: 56px;
  border-right: 1px solid var(--line);
}

.equipment-card:nth-child(even) {
  padding-left: 56px;
}

.equipment-number {
  display: block;
  margin-bottom: 46px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
}

.equipment-card h3 {
  margin-bottom: 16px;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

.equipment-card p {
  max-width: 500px;
  margin-bottom: 0;
  color: var(--muted);
}

.equipment-note {
  max-width: 720px;
  margin: 34px 0 0 auto;
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 850px) {
  .equipment-heading {
    grid-template-columns: 1fr;
    gap: 46px;
    margin-bottom: 54px;
  }

  .equipment-grid {
    grid-template-columns: 1fr;
  }

  .equipment-card,
  .equipment-card:nth-child(odd),
  .equipment-card:nth-child(even) {
    min-height: 0;
    padding: 30px 0;
    border-right: 0;
  }

  .equipment-number {
    margin-bottom: 22px;
  }

  .equipment-note {
    margin-left: 0;
  }
}
/* Split hero */

.hero-split {
  padding: 96px 0 104px;
}

.hero-split-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-copy {
  max-width: 700px;
}

.hero-split h1 {
  font-size: clamp(3rem, 5.4vw, 5.8rem);
}

.hero-image {
  margin: 0;
  overflow: hidden;
  background: #151515;
}

.hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 86% center;
}

@media (max-width: 950px) {
  .hero-split-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-copy {
    max-width: 820px;
  }

  .hero-image img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 560px) {
  .hero-split {
    padding: 68px 0 76px;
  }

  .hero-split-inner {
    gap: 36px;
  }

  .hero-image img {
    aspect-ratio: 4 / 3;
  }
}
