/* Structure360 — design-build studio, Toronto
   Visual direction: cream paper, sage panels, hairline rules, one grotesque,
   light uppercase headings with wide tracking. Nothing rounded, nothing loud. */

:root {
  --paper: #fafaf4;
  --paper-2: #f2f2ec;
  --sage: #eceee6;
  --white: #ffffff;
  --ink: #1a1c19;
  --body: #454843;
  --muted: #6d706a;
  --line: #dcdeD6;
  --line-strong: #c5c7c1;
  --gold: #7a5e05;
  --gold-light: #b08a3e;
  --green: #2b6959;
  --green-dark: #1f5245;
  --max: 1240px;
  --pad: clamp(20px, 4.4vw, 56px);
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.66;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.035em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

::selection {
  background: var(--gold);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.skip-link:focus {
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--pad);
  background: var(--white);
  border-bottom: 1px solid var(--line-strong);
}

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

.brand-mark {
  display: none;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.1;
}

.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav a {
  text-decoration: none;
  position: relative;
  padding-block: 4px;
  transition: color 0.25s var(--ease);
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:not(.nav-cta):hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav a:not(.nav-cta):hover,
.nav a[aria-current="page"] {
  color: var(--gold);
}

.nav-cta {
  background: var(--paper-2);
  color: var(--gold) !important;
  padding: 11px 18px !important;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.nav-cta:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--paper) !important;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
  place-items: center;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: background 0.25s var(--ease);
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease), top 0.3s var(--ease);
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

.site-header.is-open .brand {
  position: relative;
  z-index: 60;
}

.site-header.is-open .menu-toggle span {
  background: transparent;
}

.site-header.is-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- shared ---------- */

.eyebrow {
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.section {
  padding-block: clamp(56px, 7vw, 104px);
}

.section--paper2 {
  background: var(--sage);
}

.section--ink {
  background: var(--sage);
  color: var(--ink);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-head > div {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-strong);
}

.section-head h2 {
  font-size: clamp(1.75rem, 3.4vw, 3rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.12;
  margin-top: 22px;
  max-width: 22ch;
}

.section-head p {
  color: var(--body);
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.7;
  padding-bottom: 4px;
}

.section--ink .section-head p {
  color: var(--body);
}

.section--ink .eyebrow {
  color: var(--gold);
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
  max-width: 52ch;
  color: var(--body);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 12px 24px;
  background: var(--green);
  color: var(--paper);
  border: 1px solid var(--green);
  border-radius: var(--radius);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease);
}

.btn svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  transition: transform 0.3s var(--ease);
}

.btn:hover,
.btn:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn--light {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

.btn--light:hover,
.btn--light:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 8px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------- hero ---------- */

.hero {
  padding-top: clamp(56px, 7vw, 96px);
  padding-bottom: 0;
  background: var(--paper);
  overflow: hidden;
}

.hero__head {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 22px;
  padding-bottom: clamp(32px, 4.5vw, 56px);
}

.hero h1 {
  font-size: clamp(1.95rem, 5.2vw, 4.4rem);
  max-width: 20ch;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.12;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero__sub {
  max-width: 58ch;
  color: var(--body);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.hero__bleed {
  width: 100%;
  max-width: none;
  padding: 0;
}

.hero__media {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 16 / 7;
  min-height: 300px;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 20, 17, 0) 45%,
    rgba(16, 20, 17, 0.62) 100%
  );
  pointer-events: none;
}

.hero__caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: clamp(18px, 2.6vw, 30px) var(--pad);
  color: var(--paper);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero__caption span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero__caption span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-light);
}

.hero__scroll {
  display: none;
}

/* ---------- capability strip ---------- */

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

.capabilities__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.capability {
  padding: 22px 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--body);
}

.capability b {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--line-strong);
  flex: 0 0 auto;
}

.capability + .capability {
  border-left: 1px solid var(--line);
  padding-left: clamp(16px, 2.6vw, 32px);
}

/* ---------- intro ---------- */

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.intro-grid > div:first-child {
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 30px;
}

.intro-grid h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.9rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.14;
  margin-top: 22px;
  max-width: 18ch;
}

.intro-copy {
  display: grid;
  gap: 20px;
}

.intro-copy p {
  color: var(--body);
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 48ch;
}

.intro-copy .text-link {
  margin-top: 10px;
  justify-self: start;
}

/* ---------- services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(28px, 5vw, 72px);
  row-gap: 0;
}

.service {
  position: relative;
  padding: clamp(24px, 2.6vw, 34px) 0;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "media media"
    "num arrow"
    "body arrow";
  align-items: start;
  gap: 0 20px;
  transition: color 0.35s var(--ease);
}

.service__media {
  grid-area: media;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--sage);
  margin-bottom: 26px;
  filter: saturate(0.92);
  transition: filter 0.9s var(--ease);
}

.service:hover .service__media,
.service:focus-visible .service__media {
  filter: saturate(1);
}

.service:hover,
.service:focus-visible {
  background: transparent;
  color: var(--ink);
  transform: none;
}

.service__num {
  grid-area: num;
  display: block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.service > div {
  grid-area: body;
}

.service h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.3;
  max-width: 20ch;
  transition: color 0.3s var(--ease);
}

.service:hover h3,
.service:focus-visible h3 {
  color: var(--green);
}

.service p {
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 42ch;
  margin-top: 10px;
  transition: color 0.3s var(--ease);
}

.service__arrow {
  grid-area: arrow;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
  color: var(--gold);
  margin-top: 2px;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease), transform 0.3s var(--ease);
}

.service:hover .service__arrow,
.service:focus-visible .service__arrow {
  background: var(--green);
  border-color: var(--green);
  color: var(--paper);
  transform: none;
}

.service__arrow svg {
  width: 13px;
  height: 13px;
}

/* ---------- work ---------- */

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}

.work-card {
  position: relative;
  grid-column: span 4;
  display: block;
  text-decoration: none;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--paper);
  min-height: 420px;
}

.work-card--wide {
  grid-column: span 8;
}

.work-grid--thirds .work-card,
.work-grid--thirds .work-card--wide {
  grid-column: span 4;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 1.7s var(--ease), filter 0.9s var(--ease);
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 18, 15, 0) 28%,
    rgba(14, 18, 15, 0.42) 62%,
    rgba(14, 18, 15, 0.88) 100%
  );
}

.work-card:hover img,
.work-card:focus-visible img {
  transform: scale(1.035);
}

.work-card__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: clamp(20px, 2.4vw, 28px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.work-card__body span {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(250, 250, 244, 0.78);
  display: block;
  margin-bottom: 10px;
}

.work-card__body h3 {
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
}

.work-card__plus {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(250, 250, 244, 0.55);
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.work-card:hover .work-card__plus {
  background: var(--green);
  border-color: var(--green);
}

.work-card__plus svg {
  width: 13px;
  height: 13px;
}

.work-note {
  margin-top: 22px;
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-align: center;
  max-width: 70ch;
  margin-inline: auto;
}

/* ---------- process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}

.process-step {
  border-top: 1px solid var(--line-strong);
  padding-top: 22px;
}

.process-step span {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--line-strong);
  line-height: 1;
}

.process-step h3 {
  margin-top: 26px;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.process-step p {
  margin-top: 10px;
  color: var(--body);
  font-size: 14px;
  line-height: 1.7;
  max-width: 32ch;
}

/* ---------- about split ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.split__media {
  position: relative;
  aspect-ratio: 4 / 4.4;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sage);
}

.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split__badge {
  position: absolute;
  left: 0;
  bottom: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 0;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.7;
}

.split__body h2 {
  font-size: clamp(1.65rem, 3.2vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.14;
  max-width: 22ch;
  margin-top: 22px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line-strong);
}

.split__body p {
  margin-top: 20px;
  color: var(--body);
  max-width: 48ch;
  font-size: 15.5px;
  line-height: 1.75;
}

.split__body .text-link {
  margin-top: 30px;
}

/* ---------- values ---------- */

.values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 56px);
}

.value {
  background: transparent;
  border-top: 1px solid var(--line-strong);
  border-radius: 0;
  padding: 22px 0 0;
}

.value span {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--line-strong);
  line-height: 1;
}

.value h3 {
  margin-top: 26px;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.value p {
  margin-top: 10px;
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.7;
}

.values--dark {
  background: transparent;
}

.values--dark .value {
  background: transparent;
}

.values--dark .value p {
  color: var(--body);
}

.values--dark .value span {
  color: var(--line-strong);
}

/* ---------- leadership ---------- */

.leader {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: clamp(20px, 3.4vw, 44px);
  align-items: start;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding-block: clamp(24px, 3vw, 36px);
}

.leader__mark {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--line-strong);
  background: var(--sage);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 0.14em;
}

.leader h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.03em;
  margin-top: 12px;
}

.leader p {
  color: var(--body);
  font-size: 15px;
  line-height: 1.75;
  max-width: 56ch;
  margin-top: 12px;
}

.leader .text-link {
  grid-column: 2;
  justify-self: start;
  margin-top: 4px;
}

.team {
  display: grid;
}

.team .leader {
  border-bottom: 0;
}

.team .leader + .leader {
  border-top: 1px solid var(--line);
}

.team .leader:last-child {
  border-bottom: 1px solid var(--line-strong);
}

/* ---------- CTA ---------- */

.cta {
  padding-inline: var(--pad);
  padding-block: clamp(40px, 5vw, 72px);
  background: var(--paper);
}

.cta__inner {
  max-width: var(--max);
  margin-inline: auto;
  background: var(--green);
  color: var(--paper);
  border-radius: var(--radius);
  padding: clamp(36px, 5vw, 68px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.cta h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.9rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.14;
  max-width: 20ch;
  color: var(--paper);
}

.cta p {
  margin-top: 16px;
  max-width: 44ch;
  color: rgba(250, 250, 244, 0.78);
  font-size: 15px;
  line-height: 1.7;
}

.cta .btn {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--green-dark);
  flex: 0 0 auto;
}

.cta .btn:hover,
.cta .btn:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

/* ---------- page hero ---------- */

.page-hero {
  background: var(--paper);
  color: var(--ink);
  padding-top: clamp(52px, 6.5vw, 92px);
  padding-bottom: clamp(36px, 4.5vw, 60px);
  border-bottom: 1px solid var(--line);
}

.page-hero .wrap {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 20px;
}

.page-hero h1 {
  font-size: clamp(1.95rem, 4.6vw, 3.8rem);
  max-width: 22ch;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.12;
}

.page-hero p {
  max-width: 56ch;
  color: var(--body);
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
}

/* ---------- service detail ---------- */

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

.service-row {
  display: grid;
  grid-template-columns: 56px 220px minmax(0, 0.85fr) minmax(0, 1.15fr);
  grid-template-areas: "num media head body";
  gap: clamp(16px, 3vw, 44px);
  padding-block: clamp(28px, 3.6vw, 44px);
  border-bottom: 1px solid var(--line-strong);
  align-items: start;
}

.service-row__num {
  grid-area: num;
}

.service-row__media {
  grid-area: media;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--sage);
}

.service-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: filter 0.9s var(--ease), transform 1.7s var(--ease);
}

.service-row:hover .service-row__media img {
  filter: saturate(1);
  transform: scale(1.02);
}

.service-row > div {
  grid-area: head;
}

.service-row > p {
  grid-area: body;
}

.service-row__num {
  display: block;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--line-strong);
  line-height: 1.2;
}

.service-row h2 {
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
  line-height: 1.35;
}

.service-row p {
  color: var(--body);
  font-size: 15px;
  line-height: 1.78;
  max-width: 54ch;
}

.service-row ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--body);
}

.service-row li {
  display: flex;
  gap: 10px;
}

.service-row li::before {
  content: "—";
  color: var(--gold);
  flex: 0 0 auto;
}

/* ---------- contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.contact-block {
  display: grid;
  gap: 0;
}

.contact-item {
  border-top: 1px solid var(--line-strong);
  padding-block: 18px;
}

.contact-item:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.contact-item span {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.contact-item a,
.contact-item p {
  font-size: 15.5px;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.65;
}

.contact-item a:hover {
  color: var(--green);
}

.profile-links {
  display: grid;
  gap: 6px;
}

.form {
  display: grid;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 40px);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 2px),
    calc(100% - 15px) calc(50% + 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--white);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form .btn {
  justify-self: start;
  margin-top: 4px;
}

.form-note {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 54ch;
}

.form-note a {
  color: var(--ink);
  text-decoration-color: var(--line-strong);
  text-underline-offset: 3px;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold);
  margin-top: 12px;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line-strong);
  padding-top: clamp(44px, 6vw, 76px);
  padding-bottom: 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 0.75fr));
  gap: clamp(24px, 4vw, 56px);
  padding-bottom: clamp(36px, 5vw, 56px);
}

.footer-brand .brand-name {
  color: var(--ink);
  font-size: 18px;
  letter-spacing: 0.2em;
  font-weight: 500;
}

.footer-brand .brand-name small {
  color: var(--gold);
}

.footer-brand p {
  margin-top: 20px;
  max-width: 36ch;
  color: var(--body);
  font-size: 13.5px;
  line-height: 1.7;
}

.footer-col h2 {
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col a,
.footer-col p {
  display: block;
  text-decoration: none;
  color: var(--body);
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-col a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- reveal ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- photo treatment ---------- */

main img.photo-reveal {
  opacity: 0;
  clip-path: inset(0 0 14% 0);
  filter: saturate(0.6) brightness(0.94);
  transition: opacity 1.4s var(--ease), clip-path 2s var(--ease),
    filter 1.8s var(--ease), transform 1.8s var(--ease);
}

main img.photo-reveal.is-in {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  filter: none;
}

/* a slow, ambient drift on the hero photograph */
@keyframes hero-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07);
  }
}

.hero__media img {
  animation: hero-drift 52s ease-in-out infinite alternate;
  will-change: transform;
}

/* gentle push-in where the image sits inside a clipped frame */
.split__media img {
  transition: transform 1.8s var(--ease), filter 0.9s var(--ease);
}

.split__media:hover img {
  transform: scale(1.035);
}

.service:hover .service__media,
.service:focus-visible .service__media {
  filter: saturate(1.08) brightness(1.03);
}

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .nav {
    position: fixed;
    inset: 0;
    height: 100dvh;
    overflow-y: auto;
    background: var(--paper);
    color: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 90px var(--pad) 40px;
    font-size: 12px;
    letter-spacing: 0.2em;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-cta {
    font-size: 10.5px;
    padding: 12px 18px !important;
  }

  .menu-toggle {
    display: grid;
    z-index: 60;
  }

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

  .section-head {
    align-items: start;
    gap: 20px;
  }

  .section-head p {
    max-width: 56ch;
  }

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

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

  .work-card,
  .work-card--wide {
    grid-column: span 6;
  }

  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 32px;
  }

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

  .leader {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .service-row {
    grid-template-columns: 46px 200px minmax(0, 1fr);
    grid-template-areas:
      "num media head"
      "num media body";
    row-gap: 0;
  }

  .leader .text-link {
    grid-column: 2;
  }

  .leader__mark {
    align-self: start;
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .hero__media {
    aspect-ratio: 4 / 3.6;
    min-height: 260px;
  }

  .hero__caption span:last-child {
    display: none;
  }

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

  .service__media {
    aspect-ratio: 16 / 9;
  }

  .work-card,
  .work-card--wide,
  .work-grid--thirds .work-card {
    grid-column: span 12;
    min-height: 340px;
  }

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

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

  .service-row {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas:
      "num head"
      "media media"
      "body body";
    row-gap: 22px;
  }

  .service-row__num {
    font-size: 20px;
  }

  .service-row__media {
    aspect-ratio: 16 / 9;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .capability + .capability {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }

  .brand-name {
    font-size: 13px;
    letter-spacing: 0.16em;
  }

  .brand-name small {
    display: none;
  }

  .split__media {
    aspect-ratio: 4 / 4;
  }

  .leader {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .leader__mark {
    width: 76px;
    aspect-ratio: 1;
    font-size: 22px;
  }

  .leader .text-link {
    grid-column: 1;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  main img.photo-reveal {
    opacity: 1;
    clip-path: none;
    filter: none;
  }
}
