/* ============================================================
   ClawMark — Site stylesheet
   Built from the ClawMark design system + page artboards.
   Artboards are fixed 1440 / 390; this rebuilds them fluid.
   ============================================================ */

@import url('tokens.css');

/* ------------------------------------------------------------
   1. Reset & document
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--off-white);
  color: var(--black);
  font-family: var(--font-text);
  font-weight: var(--fw-text-light);
  font-size: 0.9375rem;          /* 15px — artboard body size */
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--orange); color: #fff;
  padding: 0.75rem 1.25rem; border-radius: 0 0 var(--radius-btn) 0;
  font-size: var(--fs-btn); font-weight: var(--fw-text-medium);
}
.skip-link:focus { left: 0; }

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

/* ------------------------------------------------------------
   2. Layout primitives
   ------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--max-width); margin: 0 auto; }

.section {
  padding: clamp(4.5rem, 7.8vw, 7rem) clamp(1.25rem, 5vw, 7.5rem);
}
.section--tight  { padding-top: clamp(3rem, 5vw, 4.5rem); padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.section--cta    { padding-top: clamp(5.5rem, 9.2vw, 8.25rem); padding-bottom: clamp(5.5rem, 9.2vw, 8.25rem); }

.section--dark   { background: var(--black);     color: var(--white); }
.section--dark-2 { background: var(--dark);      color: var(--white); }
.section--light  { background: var(--off-white); color: var(--black); }
.section--white  { background: var(--white);     color: var(--black); }

/* the warm ember wash behind the homepage "setup" band */
.section--ember { background: linear-gradient(0deg, #000000, #251000, #000000); color: var(--white); }

/* Split heading pattern: big heading left, supporting para right */
.split {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}
.split--top { align-items: start; }
.split > p { margin: 0; }

/* Two-column split: main column + a fixed-ish side column.
   --side sets the side column width; both collapse to one column on mobile. */
.duo {
  display: grid;
  grid-template-columns: 1fr minmax(0, var(--side, 420px));
  gap: var(--duo-gap, clamp(2rem, 5vw, 4.5rem));
  align-items: start;
}
.duo--flip { grid-template-columns: minmax(0, var(--side, 420px)) 1fr; }
.duo--center  { align-items: center; }
.duo--stretch { align-items: stretch; }

/* Case-study shoot layout: one large frame beside a stacked pair. */
.shoot { display: grid; grid-template-columns: 2fr 1fr; gap: 1.25rem; }

/* Generic grids — collapse progressively */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); gap: 1rem; }

.stack { display: flex; flex-direction: column; }
.gap-sm { gap: 0.625rem; }
.gap-md { gap: 1.25rem; }
.gap-lg { gap: 1.75rem; }

.mt-0  { margin-top: 0; }
.mt-sm { margin-top: 1.375rem; }
.mt-md { margin-top: 1.75rem; }
.mt-lg { margin-top: clamp(2.5rem, 4.5vw, 4rem); }
.mt-xl { margin-top: clamp(3rem, 5.5vw, 4.5rem); }

/* ------------------------------------------------------------
   3. Type
   ------------------------------------------------------------ */
.label {
  font-family: var(--font-text);
  font-weight: var(--fw-text-medium);
  font-size: 0.6875rem;                /* 11px */
  line-height: 1.4;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: var(--ls-label);
  margin: 0;
}
.label--muted-dark  { color: rgba(255,255,255,0.62); }
.label--muted-light { color: rgba(10,10,10,0.45); }

.h1, .h2, .h3, .h4 {
  font-family: var(--font-display);
  letter-spacing: var(--ls-display);
  margin: 0;
  text-wrap: balance;
}
.h1 {
  font-weight: var(--fw-display-black);
  font-size: clamp(2.75rem, 5.6vw, 4.6875rem);   /* 44 → 75px */
  line-height: 1.02;
}
.h2 {
  font-weight: var(--fw-display-bold);
  font-size: clamp(1.9375rem, 3.7vw, 3.25rem);   /* 31 → 52px */
  line-height: 1.05;
}
.h2--cta {
  font-weight: var(--fw-display-black);
  font-size: clamp(2.125rem, 4.6vw, 4rem);       /* 34 → 64px */
  line-height: 1.02;
}
.h3 {
  font-weight: var(--fw-display-bold);
  font-size: 1.1875rem;                          /* 19px */
  line-height: var(--lh-name);
  letter-spacing: -0.01em;
}
.h3--lg { font-size: 1.3125rem; }                /* 21px */
.h3--xl { font-size: 1.5rem; }                   /* 24px */

p { margin: 0; text-wrap: pretty; }
.lede {
  font-size: 0.9375rem;
  font-weight: var(--fw-text-light);
  line-height: var(--lh-body);
  max-width: 42rem;
}
.muted-dark  { color: rgba(255,255,255,0.48); }
.muted-light { color: rgba(10,10,10,0.58); }
.fine        { font-size: 0.8125rem; }

.on-dark  { color: var(--white); }
.on-light { color: var(--black); }
.accent   { color: var(--orange); }

.measure    { max-width: 41rem; }
.measure-sm { max-width: 35rem; }
.center     { text-align: center; margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  font-family: var(--font-text);
  font-weight: var(--fw-text-medium);
  font-size: 0.875rem;                 /* 14px */
  letter-spacing: var(--ls-btn);
  line-height: 1;
  padding: 0.9375rem 1.75rem;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s var(--ease-brand), border-color 0.3s var(--ease-brand),
              color 0.3s var(--ease-brand), transform 0.3s var(--ease-brand),
              box-shadow 0.3s var(--ease-brand);
}
.btn--orange { background: var(--orange); border-color: var(--orange); color: #fff; }
.btn--orange:hover { background: #FF6A1F; border-color: #FF6A1F; color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-orange); }

.btn--ghost-light { border-color: rgba(255,255,255,0.28); color: var(--white); }
.btn--ghost-light:hover { border-color: #fff; color: #fff; }

.btn--ghost-dark { border-color: rgba(10,10,10,0.22); color: var(--black); }
.btn--ghost-dark:hover { border-color: var(--black); color: var(--black); }

.btn--sm { padding: 0.75rem 1.375rem; font-size: 0.8125rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-row--center { justify-content: center; }

/* Inline text link with arrow */
.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-size: 0.875rem; font-weight: var(--fw-text-medium);
  color: var(--orange);
  transition: gap 0.3s var(--ease-brand);
}
.link-arrow:hover { gap: 0.75em; }

/* ------------------------------------------------------------
   5. Navigation
   ------------------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10,10,10,0.92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-dark);
  transition: background 0.3s var(--ease-brand);
}
.nav__inner {
  max-width: 1440px; margin: 0 auto;
  height: 76px;
  padding: 0 clamp(1.25rem, 5vw, 7.5rem);
  display: flex; align-items: center; justify-content: space-between;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: var(--fw-display-black);
  font-size: 1.375rem;                 /* 22px */
  letter-spacing: var(--ls-display);
  color: var(--white);
  line-height: 1;
}
.wordmark span { color: var(--orange); }
.wordmark:hover { color: var(--white); }

.nav__links { display: flex; align-items: center; gap: 2.25rem; }
.nav__link {
  font-size: 0.875rem; font-weight: var(--fw-text-regular);
  letter-spacing: var(--ls-nav);
  color: rgba(255,255,255,0.72);
  transition: color 0.25s var(--ease-brand);
}
.nav__link:hover { color: #fff; }
.nav__link[aria-current="page"] { color: #fff; }
.nav__cta { margin-left: 0.75rem; padding: 0.75rem 1.375rem; }

/* Hamburger */
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 0;
  margin-right: -10px;
}
.nav__toggle span {
  display: block; width: 22px; height: 1.5px; background: #fff;
  transition: transform 0.35s var(--ease-brand), opacity 0.25s var(--ease-brand);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__panel {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem clamp(1.25rem, 5vw, 7.5rem) 1.75rem;
  background: rgba(10,10,10,0.98);
  border-bottom: 1px solid var(--border-dark);
}
/* :not(.btn) so these link styles never override the button's own padding,
   size and colour. A plain descendant selector outranks .btn on specificity. */
.nav__panel a:not(.btn) {
  font-size: 1rem; font-weight: var(--fw-text-regular);
  color: rgba(255,255,255,0.78);
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav__panel a:not(.btn):last-of-type { border-bottom: 0; }
.nav__panel .btn {
  margin-top: 1.25rem;
  align-self: stretch;
  padding: 1rem 1.75rem;
  font-size: 0.9375rem;
}

/* ------------------------------------------------------------
   6. Cards
   ------------------------------------------------------------ */
.card {
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem 2.25rem;
  transition: transform 0.4s var(--ease-brand), border-color 0.4s var(--ease-brand),
              background 0.4s var(--ease-brand), box-shadow 0.4s var(--ease-brand);
}
.card--white {
  background: var(--white);
  border: 1px solid var(--border-light);
}
.card--white:hover { border-color: var(--border-light-hover); transform: translateY(-3px); }

.card--sand {
  background: var(--off-white);
  border: 1px solid var(--border-light);
}
.card--sand:hover { border-color: var(--border-light-hover); transform: translateY(-3px); background: var(--white); }

.card--black {
  background: var(--black);
  border: 1px solid var(--black);
  color: var(--white);
}
.card--black:hover { transform: translateY(-3px); }

.card--dark {
  background: var(--dark-2);
  border: 1px solid var(--border-dark);
  color: var(--white);
}
.card--dark:hover { border-color: var(--border-dark-hover); transform: translateY(-3px); }

.card__body { font-size: 0.9375rem; line-height: var(--lh-body); margin-top: 0.75rem; }

/* Card with a full-bleed image cap */
.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--media .card__media {
  height: 170px; flex: none;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-color: var(--stone);
}
.card--media .card__content { padding: 1.75rem 1.75rem 2.125rem; flex: 1; display: flex; flex-direction: column; }

/* Feature list inside a card */
.feature-list {
  display: flex; flex-direction: column; gap: 0.625rem;
  margin-top: 1.625rem; padding-top: 1.375rem;
  border-top: 1px solid var(--border-dark);
  font-size: 0.875rem;
}
.feature-list--light { border-top-color: var(--border-light); }
.feature-list > * { color: rgba(255,255,255,0.62); }
.feature-list--light > * { color: rgba(10,10,10,0.58); }
.feature-list--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem 1.25rem; }

/* Numbered step card (How we work) */
.step__head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.step__num {
  font-family: var(--font-display); font-weight: var(--fw-display-black);
  font-size: 1.875rem; letter-spacing: var(--ls-stat); line-height: 1;
  color: rgba(255,85,0,0.35);
}
.card--black .step__num { color: rgba(255,85,0,0.45); }

/* Numbered row (contact "what happens next", article steps) */
.numbered { display: grid; grid-template-columns: 34px 1fr; gap: 1rem; align-items: start; }
.numbered__n {
  font-family: var(--font-display); font-weight: var(--fw-display-bold);
  font-size: 0.8125rem; color: var(--orange); letter-spacing: 0.04em; padding-top: 0.15rem;
}
.numbered__t { font-size: 0.9375rem; font-weight: var(--fw-text-medium); }
.numbered__d { font-size: 0.875rem; margin-top: 0.25rem; }

/* Stat block */
.stat__n {
  font-family: var(--font-display); font-weight: var(--fw-display-black);
  font-size: clamp(1.75rem, 3vw, 2.25rem); letter-spacing: var(--ls-stat);
  color: var(--orange); line-height: 1.1;
}
.stat__d { font-size: 0.875rem; margin-top: 0.5rem; }

/* Hairline "gap trick" grid — cells divided by a 1px rule */
.hairline-grid {
  display: grid; gap: 1px;
  background: var(--border-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.hairline-grid > * { background: var(--white); padding: 1.75rem 1.625rem 2rem; }

/* ------------------------------------------------------------
   7. Hero (homepage)
   ------------------------------------------------------------ */
.hero { padding-top: clamp(3.5rem, 6.5vw, 6rem); padding-bottom: clamp(4.5rem, 7.5vw, 7rem); }
.hero__inner { display: flex; flex-direction: column; align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 0.625rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-pill);
  padding: 0.5625rem 1.125rem;
}
.badge__dot { width: 6px; height: 6px; border-radius: 999px; background: var(--orange); display: block; flex: none; }
.badge__text {
  font-size: 0.6875rem; font-weight: var(--fw-text-medium);
  letter-spacing: var(--ls-label); text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}

.hero__strip {
  position: relative;
  display: flex; align-items: flex-end; justify-content: center;
  gap: clamp(0.625rem, 1.4vw, 1.25rem);
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  width: 100%;
}
.hero__strip::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 131px; pointer-events: none;
  background: linear-gradient(180deg, rgba(182,176,167,0), #000);
}
.hero__img {
  border-radius: var(--radius-card);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-color: var(--dark-2);
  flex: 0 1 auto;
}
.hero__img--sm  { width: 170px; height: 250px; }
.hero__img--md  { width: 170px; height: 300px; }
.hero__img--lg  { width: 220px; height: 356px; }

.hero__title { margin-top: clamp(2.25rem, 4vw, 3.5rem); text-align: center; }
.hero__title span { color: var(--orange); }

/* ------------------------------------------------------------
   8. Page header (interior pages)
   ------------------------------------------------------------ */
.page-header {
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1.25rem, 5vw, 7.5rem) clamp(3.75rem, 6.4vw, 5.75rem);
  background: var(--black); color: var(--white);
}
.page-header--image {
  position: relative;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
/* scrim keeps headline and body copy legible over photography */
.page-header--image::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,10,10,0.92), rgba(10,10,10,0.72));
}
.page-header--image > * { position: relative; }
/* muted body text needs more weight over an image than over flat black */
.page-header--image .muted-dark { color: rgba(255,255,255,0.72); }
.page-header__split {
  display: grid; grid-template-columns: 1fr 460px;
  gap: clamp(2rem, 5vw, 5rem); align-items: end;
  margin-top: 1.375rem;
}

/* ------------------------------------------------------------
   9. Filter pills
   ------------------------------------------------------------ */
.filters { display: flex; flex-wrap: wrap; gap: 0.625rem; }
.pill {
  font-family: var(--font-text);
  font-size: 0.8125rem; font-weight: var(--fw-text-medium);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  background: transparent;
  transition: background 0.3s var(--ease-brand), color 0.3s var(--ease-brand), border-color 0.3s var(--ease-brand);
}
.pill--on-dark { color: rgba(255,255,255,0.62); border: 1px solid rgba(255,255,255,0.14); }
.pill--on-dark:hover { color: #fff; border-color: rgba(255,255,255,0.32); }
.pill--on-dark[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }

.pill--on-light { color: rgba(10,10,10,0.45); border: 1px solid var(--tag-light-border); }
.pill--on-light:hover { color: var(--black); border-color: rgba(10,10,10,0.32); }
.pill--on-light[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: #fff; }

.pill--accent[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: #fff; }

/* Static tags */
.tag {
  display: inline-flex; align-items: center;
  font-size: 0.6875rem; font-weight: var(--fw-text-medium);
  text-transform: uppercase; letter-spacing: var(--ls-tag);
  padding: 0.4em 0.85em; border-radius: var(--radius-pill);
  border: 1px solid var(--tag-light-border); color: var(--tag-light-text);
}
.tag--dark { border-color: var(--tag-dark-border); color: var(--tag-dark-text); }
.tag--orange { background: var(--orange); border-color: var(--orange); color: #fff; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ------------------------------------------------------------
   10. Project / post cards
   ------------------------------------------------------------ */
.tile {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  overflow: hidden;
  color: inherit;
  transition: transform 0.4s var(--ease-brand), border-color 0.4s var(--ease-brand), box-shadow 0.4s var(--ease-brand);
}
.tile:hover { transform: translateY(-5px); border-color: var(--border-light-hover); box-shadow: var(--shadow-card-hover); color: inherit; }
.tile--dark { background: var(--dark-2); border-color: var(--border-dark); color: var(--white); }
.tile--dark:hover { border-color: var(--border-dark-hover); transform: translateY(-3px); box-shadow: none; color: var(--white); }

.tile__media {
  height: 240px; flex: none;
  background-color: var(--stone);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.tile__media--contain { background-size: contain; background-color: var(--white); }
.tile__media--sm { height: 200px; }
.tile__content { padding: 1.625rem 1.75rem 1.875rem; flex: 1; display: flex; flex-direction: column; }
.tile__title { margin-top: 0.75rem; }
.tile__meta { font-size: 0.8125rem; color: rgba(10,10,10,0.45); margin-top: auto; padding-top: 1rem; }
.tile--dark .tile__meta { color: rgba(255,255,255,0.42); }

/* Featured wide card */
.feature-card {
  display: block; background: var(--white);
  border: 1px solid var(--border-light); border-radius: var(--radius-card);
  overflow: hidden; color: inherit;
  transition: transform 0.4s var(--ease-brand), box-shadow 0.4s var(--ease-brand);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); color: inherit; }
.feature-card__grid { display: grid; grid-template-columns: 1fr 1fr; }
.feature-card__media {
  min-height: 380px;
  background-color: var(--stone);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.feature-card__body {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(2rem, 3.5vw, 3.25rem);
}

/* ------------------------------------------------------------
   11. Accordion (FAQ)
   ------------------------------------------------------------ */
.faq-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.faq-nav { display: flex; flex-direction: column; gap: 0.25rem; position: sticky; top: 108px; }
.faq-nav button {
  text-align: left; background: none; border: 0; cursor: pointer;
  padding: 0.625rem 0; font-size: 0.9375rem; color: rgba(10,10,10,0.58);
  transition: color 0.25s var(--ease-brand);
}
.faq-nav button:hover, .faq-nav button.is-active { color: var(--black); }

.faq-group + .faq-group { margin-top: clamp(2.5rem, 4vw, 3.5rem); }
.faq-group__label { margin-bottom: 1.25rem; }

.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-item__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; text-align: left;
  background: none; border: 0; cursor: pointer;
  padding: 1.375rem 0;
  font-family: var(--font-display); font-weight: var(--fw-display-bold);
  font-size: 1.05rem; letter-spacing: -0.01em; color: var(--black);
}
.faq-item__icon {
  flex: none; width: 30px; height: 30px; border-radius: 999px;
  border: 1px solid var(--tag-light-border);
  color: rgba(10,10,10,0.45);
  font-family: var(--font-text); font-size: 1.125rem; font-weight: 300;
  line-height: 28px; text-align: center;
  transition: transform 0.4s var(--ease-brand), background 0.4s var(--ease-brand),
              border-color 0.4s var(--ease-brand), color 0.4s var(--ease-brand);
}
.faq-item__q[aria-expanded="true"] .faq-item__icon {
  transform: rotate(45deg);
  background: var(--orange); border-color: var(--orange); color: #fff;
}
/* Animates to the answer's real height — no magic max-height to outgrow. */
.faq-item__a {
  display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows 0.5s var(--ease-brand), opacity 0.4s var(--ease-brand);
}
.faq-item__a > * { overflow: hidden; min-height: 0; }
.faq-item__a p { padding-bottom: 1.5rem; max-width: 46rem; color: rgba(10,10,10,0.58); }
.faq-item.is-open .faq-item__a { grid-template-rows: 1fr; opacity: 1; }

/* ------------------------------------------------------------
   12. Forms (contact)
   ------------------------------------------------------------ */
.form-card { background: var(--dark-2); border: 1px solid var(--border-dark); border-radius: var(--radius-card); padding: clamp(1.75rem, 3vw, 2.5rem); }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field__label {
  font-size: 0.75rem; font-weight: var(--fw-text-medium);
  letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.62);
}
.field__label .opt { text-transform: none; letter-spacing: 0; color: rgba(255,255,255,0.32); margin-left: 0.4em; }
.field input, .field textarea {
  font-family: var(--font-text); font-size: 0.9375rem; font-weight: var(--fw-text-light);
  color: #fff; background: var(--black);
  border: 1px solid var(--border-dark); border-radius: var(--radius-btn);
  padding: 0.8125rem 0.9375rem;
  transition: border-color 0.25s var(--ease-brand);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.28); }
.field textarea { resize: vertical; min-height: 8.5rem; }

.form-status { font-size: 0.8125rem; color: rgba(255,255,255,0.42); }
.form-status.is-ok { color: var(--orange); }
.form-status.is-error { color: #FF7A4D; }
.field-error { font-size: 0.75rem; color: #FF7A4D; }

/* ------------------------------------------------------------
   13. Article (insight post)
   ------------------------------------------------------------ */
.progress { position: sticky; top: 76px; z-index: 50; height: 3px; background: rgba(255,255,255,0.06); }
.progress__bar { height: 100%; width: 0; background: var(--orange); transition: width 0.1s linear; }

.article-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.article-aside { position: sticky; top: 116px; display: flex; flex-direction: column; gap: 0.5rem; }
.article-aside button {
  text-align: left; background: none; border: 0; cursor: pointer;
  padding: 0.375rem 0; font-size: 0.875rem; color: rgba(10,10,10,0.58);
  transition: color 0.25s var(--ease-brand);
}
.article-aside button:hover, .article-aside button.is-active { color: var(--orange); }
.article-aside__rule { height: 1px; background: var(--border-light); margin: 0.75rem 0; }

.prose { max-width: 44rem; }
.prose > * + * { margin-top: 1.5rem; }
.prose p { font-size: 1rem; line-height: 1.8; color: rgba(10,10,10,0.68); }
.prose h2 {
  font-family: var(--font-display); font-weight: var(--fw-display-bold);
  font-size: clamp(1.5rem, 2.4vw, 1.875rem); letter-spacing: var(--ls-display);
  line-height: 1.15; color: var(--black);
  margin-top: clamp(2.5rem, 4vw, 3.25rem);
  scroll-margin-top: 116px;
}
.prose figure { margin: clamp(2rem, 3.5vw, 2.75rem) 0; }
.prose figure img, .prose figure .fig-img {
  width: 100%; height: clamp(240px, 34vw, 420px);
  border-radius: var(--radius-card); background-size: cover; background-position: center;
  background-color: var(--stone);
}
.prose figcaption { font-size: 0.8125rem; color: rgba(10,10,10,0.45); margin-top: 0.875rem; }
.prose blockquote {
  margin: clamp(2rem, 3.5vw, 2.75rem) 0; padding: 0 0 0 1.75rem;
  border-left: 2px solid var(--orange);
}
.prose blockquote p {
  font-family: var(--font-display); font-weight: var(--fw-display-semi);
  font-size: clamp(1.125rem, 1.9vw, 1.375rem); line-height: 1.45;
  letter-spacing: -0.01em; color: var(--black);
}
.prose a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }

/* A button inside prose is a button, not a body link. `.prose a` outranks the
   .btn--* colour rules on specificity, which painted orange text on orange. */
.prose a.btn { text-decoration: none; }
.prose a.btn--orange, .prose a.btn--orange:hover { color: #fff; }
.prose a.btn--ghost-light, .prose a.btn--ghost-light:hover { color: var(--white); }
.prose a.btn--ghost-dark, .prose a.btn--ghost-dark:hover { color: var(--black); }

.author { display: flex; align-items: center; gap: 0.875rem; }
.author__avatar {
  width: 42px; height: 42px; border-radius: 999px; flex: none;
  background-size: cover; background-position: center; background-color: var(--dark-2);
}
.author__name { font-size: 0.875rem; font-weight: var(--fw-text-medium); }
.author__meta { font-size: 0.8125rem; color: rgba(255,255,255,0.42); }

.callout {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1.5rem;
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-card); padding: 1.75rem 1.875rem;
  margin-top: clamp(2.5rem, 4vw, 3.25rem);
}
.callout__t { font-family: var(--font-display); font-weight: var(--fw-display-bold); font-size: 1.125rem; letter-spacing: -0.01em; }
.callout__d { font-size: 0.875rem; color: rgba(10,10,10,0.58); margin-top: 0.35rem; }

/* Media band (case study) */
.media {
  border-radius: var(--radius-card);
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-color: var(--stone);
}
.media--hero  { height: clamp(260px, 38vw, 480px); }
.media--tall  { height: clamp(240px, 32vw, 420px); }
.media--sq    { aspect-ratio: 1 / 1; }
.media--wide  { height: clamp(200px, 26vw, 340px); }
.media--portrait { aspect-ratio: 4 / 5; }
.media--contain { background-size: contain; background-repeat: no-repeat; background-color: var(--white); }

/* Facts strip */
.facts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-card); overflow: hidden;
}
.facts > div { background: var(--dark-2); padding: 1.625rem 1.5rem; }
.facts__k { font-size: 0.6875rem; font-weight: var(--fw-text-medium); letter-spacing: var(--ls-label); text-transform: uppercase; color: rgba(255,255,255,0.42); }
.facts__v { font-size: 0.9375rem; margin-top: 0.5rem; color: #fff; }

/* Comparison columns (about) */
.compare__head {
  font-size: 0.6875rem; font-weight: var(--fw-text-medium);
  letter-spacing: var(--ls-label); text-transform: uppercase;
  color: rgba(255,255,255,0.42); margin-bottom: 1.25rem;
}
.compare--us .compare__head { color: var(--orange); }
.compare ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.875rem; }
.compare li { font-size: 0.9375rem; color: rgba(255,255,255,0.62); padding-left: 1.25rem; position: relative; }
.compare li::before { content: '\00B7'; position: absolute; left: 0; color: rgba(255,255,255,0.28); }
.compare--us li::before { content: '◆'; font-size: 0.6em; top: 0.45em; color: var(--orange); }

/* ------------------------------------------------------------
   14. Footer
   ------------------------------------------------------------ */
.footer {
  background: var(--dark); color: var(--white);
  padding: clamp(3.5rem, 5.5vw, 5.5rem) clamp(1.25rem, 5vw, 7.5rem) 2.75rem;
}
.footer__grid { display: grid; grid-template-columns: 1fr auto auto; gap: clamp(2rem, 7vw, 7.5rem); align-items: start; }
.footer__col { display: flex; flex-direction: column; gap: 0.875rem; min-width: 160px; }
.footer__label {
  font-size: 0.6875rem; font-weight: var(--fw-text-medium);
  letter-spacing: var(--ls-label); text-transform: uppercase; color: rgba(255,255,255,0.62);
}
.footer a:not(.btn), .footer span.footer__item {
  font-size: 0.875rem; font-weight: var(--fw-text-light);
  color: rgba(255,255,255,0.62); transition: color 0.25s var(--ease-brand);
}
.footer a:hover { color: #fff; }
.footer__bottom {
  margin-top: clamp(2.5rem, 4.5vw, 4rem); padding-top: 1.625rem;
  border-top: 1px solid var(--border-dark);
  font-size: 0.8125rem; color: rgba(255,255,255,0.48);
}

/* ------------------------------------------------------------
   15. Scroll reveal
   ------------------------------------------------------------ */
/* Only hide content once we know JS is running to bring it back.
   Without JS the page renders fully; it just doesn't animate. */
.js .reveal {
  opacity: 0; transform: translateY(var(--reveal-shift));
  transition: opacity var(--reveal-dur) var(--ease-brand), transform var(--reveal-dur) var(--ease-brand);
  will-change: opacity, transform;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Same idea for the accordion: no JS means every answer is simply open. */
html:not(.js) .faq-item__a { grid-template-rows: 1fr; opacity: 1; }
html:not(.js) .faq-item__icon { display: none; }

/* ------------------------------------------------------------
   16. Responsive
   ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .facts  { grid-template-columns: repeat(2, 1fr); }
  .split, .page-header__split { grid-template-columns: 1fr; gap: 1.5rem; align-items: start; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; flex-direction: row; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
  .article-aside__rule, .article-aside .btn { display: none; }
  .faq-layout { grid-template-columns: 1fr; }
  .faq-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-bottom: 1rem; }
}

@media (max-width: 900px) {
  .duo, .duo--flip, .shoot { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav.is-open .nav__panel { display: flex; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feature-card__grid { grid-template-columns: 1fr; }
  .feature-card__media { min-height: 260px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer__grid > :first-child { grid-column: 1 / -1; }

  .hero__img--sm { display: none; }
  .hero__img--md { width: 118px; height: 208px; }
  .hero__img--lg { width: 150px; height: 246px; }
  .hero__strip::after { height: 90px; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-5,
  .feature-list--2col, .hairline-grid.grid-2, .facts { grid-template-columns: 1fr; }
  .section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .card { padding: 1.75rem 1.5rem 2rem; }
  .btn-row .btn { flex: 1 1 100%; }
  /* keep small buttons above a 44px tap target on touch screens */
  .btn--sm { padding: 0.9375rem 1.5rem; }
  .callout { flex-direction: column; align-items: flex-start; }
  .tile__media { height: 200px; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
