:root {
  --background: #f1ede4;
  --text: #1e1e1b;
  --muted: #59574f;
  --accent: #795a30;
  --line: rgba(30, 30, 27, 0.18);
  --width: 1380px;
}

/* Base */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
summary:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

nav,
.content-section,
.footer-inner,
.hero-inner {
  width: min(calc(100% - 80px), var(--width));
  margin-inline: auto;
}

section {
  scroll-margin-top: 24px;
}

h1,
h2,
h3 {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
}

h1,
h2 {
  text-wrap: balance;
}

.eyebrow,
.section-label {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-label {
  margin: 0 0 28px;
  color: var(--accent);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 20px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--background);
  color: var(--text);
  transform: translateY(-200%);
}

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

/* Navigation */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: #fffaf0;
}

nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 20px 0;
  font-size: 0.9rem;
}

nav a,
.mobile-menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.name {
  flex-shrink: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}

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

.nav-contact {
  text-decoration: underline;
  text-underline-offset: 5px;
}

nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.mobile-menu {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  color: #fffaf0;
  background: #1b292b;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(8, 15, 17, 0.66) 0%, rgba(8, 15, 17, 0.36) 38%, rgba(8, 15, 17, 0.10) 68%, rgba(8, 15, 17, 0.02) 100%),
    linear-gradient(0deg, rgba(8, 15, 17, 0.48) 0%, rgba(8, 15, 17, 0.04) 54%, rgba(8, 15, 17, 0.16) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 108px 0 72px;
}

.hero .eyebrow {
  max-width: 760px;
  margin: 0 0 18px;
  color: rgba(255, 250, 240, 0.82);
}

h1 {
  max-width: 610px;
  margin: 0;
  font-size: clamp(2.85rem, 3.75vw, 4.4rem);
  line-height: 0.93;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.16);
}

.hero-support {
  width: min(520px, 40%);
  margin: 18px 7% 0 auto;
}

.intro {
  margin: 0;
  color: rgba(255, 250, 240, 0.84);
  font-size: 1.08rem;
  line-height: 1.62;
}

.hero-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 16px;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero-contact:hover {
  color: #fff;
}

.hero-caption {
  position: absolute;
  right: 40px;
  bottom: 24px;
  z-index: 2;
  margin: 0;
  color: rgba(255, 250, 240, 0.72);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Content sections */

.content-section {
  padding: 100px 0;
}

/* Approach */

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

.approach h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(2.75rem, 4.8vw, 4.75rem);
  line-height: 1.03;
  letter-spacing: -0.02em;
}

.approach-copy {
  width: calc(50% - 24px);
  max-width: 58ch;
  margin: 44px 0 0 calc(50% + 24px);
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.65;
}

/* Work */

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

.work-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  margin-bottom: 48px;
}

.work-heading .section-label {
  margin: 0;
}

.work-heading h2 {
  margin: 0;
  font-size: clamp(2.75rem, 4.4vw, 4.5rem);
  line-height: 1.03;
  letter-spacing: -0.015em;
}

.work-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.work-number {
  padding-top: 6px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.work-row h3 {
  margin: 0;
  font-size: 2rem;
  line-height: 1.12;
}

.work-row p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

/* UK / New Zealand */

.nz-uk {
  border-top: 1px solid var(--line);
}

.nz-uk-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.nz-uk h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.5rem, 3.8vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.nz-uk-grid > p {
  max-width: 58ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.65;
}

/* Contact */

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

.contact h2 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.5rem, 6.5vw, 6.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.contact-bottom {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
  margin-top: 40px;
}

.contact-bottom > p {
  max-width: 56ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-details {
  min-width: 0;
}

.founder-line {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.85rem;
}

.email-link {
  display: inline-flex;
  align-items: baseline;
  justify-self: start;
  gap: 10px;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 0;
  border-bottom: 1px solid var(--text);
  font-family: "Instrument Serif", serif;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.2;
}

.email-address {
  min-width: 0;
  overflow-wrap: anywhere;
}

.email-arrow {
  flex-shrink: 0;
  transition: transform 180ms ease;
}

.email-link:hover .email-arrow {
  transform: translate(3px, -3px);
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 24px;
  padding: 24px 0 30px;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-inner a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Mobile */

@media (max-width: 700px) {
  nav,
  .content-section,
  .footer-inner,
  .hero-inner {
    width: calc(100% - 40px);
  }

  nav {
    gap: 16px;
    padding: 12px 0;
  }

  .nav-links {
    display: none;
  }

  .nav-contact {
    margin-left: auto;
  }

  .mobile-menu {
    display: block;
  }

  .mobile-menu summary {
    gap: 6px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary::after {
    content: "+";
  }

  .mobile-menu[open] summary::after {
    content: "−";
  }

  .mobile-menu ul {
    position: absolute;
    top: calc(100% - 4px);
    right: 0;
    z-index: 10;
    width: min(240px, 100%);
    margin: 0;
    padding: 12px 16px;
    list-style: none;
    color: var(--text);
    background: var(--background);
    border: 1px solid var(--line);
    box-shadow: 0 8px 20px rgb(30 30 27 / 8%);
  }

  .mobile-menu li a {
    display: flex;
    width: 100%;
    min-height: 44px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-media img {
    object-position: 58% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(8, 15, 17, 0.78) 0%, rgba(8, 15, 17, 0.42) 52%, rgba(8, 15, 17, 0.18) 100%),
      linear-gradient(90deg, rgba(8, 15, 17, 0.32) 0%, rgba(8, 15, 17, 0.06) 100%);
  }

  .hero-inner {
    justify-content: flex-start;
    padding: 94px 0 72px;
  }

  .hero .eyebrow {
    margin-bottom: 22px;
    font-size: 0.68rem;
  }

  h1 {
    max-width: 10.5ch;
    font-size: clamp(2.45rem, 10.6vw, 3.45rem);
    line-height: 0.95;
  }

  .hero-support {
    width: 100%;
    max-width: 32rem;
    margin: 24px 0 0;
  }

  .intro {
    max-width: 30rem;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-caption {
    right: 20px;
    bottom: 18px;
    font-size: 0.62rem;
  }

  .content-section {
    padding: 64px 0;
  }

  .approach h2,
  .work-heading h2 {
    font-size: clamp(2.375rem, 10.5vw, 2.75rem);
    line-height: 1.05;
  }

  .approach-copy {
    width: 100%;
    margin: 30px 0 0;
    font-size: 1.0625rem;
    line-height: 1.65;
  }

  .work-heading,
  .nz-uk-grid,
  .contact-bottom {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .work-heading {
    margin-bottom: 32px;
  }

  .work-row {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 14px;
    padding: 26px 0;
  }

  .work-row h3 {
    font-size: 1.875rem;
  }

  .work-row p {
    grid-column: 2;
  }

  .nz-uk h2 {
    font-size: clamp(2.375rem, 10vw, 2.75rem);
    line-height: 1.05;
  }

  .nz-uk-grid > p {
    font-size: 1.0625rem;
  }

  .contact h2 {
    font-size: clamp(2.75rem, 12vw, 3.5rem);
    line-height: 1.02;
  }

  .contact-bottom {
    margin-top: 30px;
  }

  .email-link {
    font-size: clamp(1.2rem, 5.8vw, 1.65rem);
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 20px 0 24px;
  }
}

/* Reduced motion */

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

  .email-arrow {
    transition: none;
  }

  .email-link:hover .email-arrow {
    transform: none;
  }
}
