/* ==========================================================================
   Laurcon Development
   Design system and site styles
   Editorial luxury: generous whitespace, quiet neutrals, restrained brand red
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand, sampled from the Laurcon logo */
  --red: #da1f3a;
  --red-deep: #ac1730;
  --char: #2b2829;

  /* Neutrals */
  --ink: #191817;
  --body: #4a4643;
  --muted: #7b7570;
  --line: rgba(43, 40, 41, 0.14);
  --line-soft: rgba(43, 40, 41, 0.08);
  --bone: #faf8f6;
  --sand: #f1ece6;
  --stone: #e3ddd5;

  /* Type */
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --fs-eyebrow: 0.6875rem;
  --fs-small: 0.8125rem;
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.45vw, 1.375rem);
  --fs-h4: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --fs-h3: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --fs-h2: clamp(2rem, 1.55rem + 2vw, 3.25rem);
  --fs-h1: clamp(2.6rem, 1.7rem + 3.9vw, 5.25rem);
  --fs-display: clamp(3rem, 1.8rem + 5.2vw, 6.5rem);

  /* Space scale */
  --sp-1: 0.5rem;
  --sp-2: 0.875rem;
  --sp-3: 1.25rem;
  --sp-4: 1.75rem;
  --sp-5: 2.5rem;
  --sp-6: 3.5rem;
  --sp-7: 5rem;
  --sp-8: 7rem;

  --section-y: clamp(5.5rem, 4rem + 7vw, 10.5rem);
  --section-y-tight: clamp(4rem, 3rem + 4.5vw, 7rem);
  --gutter: clamp(1.5rem, 1rem + 3.4vw, 4.5rem);
  --edge: clamp(1.5rem, 1rem + 3.4vw, 5.5rem);
  --gap: clamp(2rem, 1.4rem + 2.6vw, 4.25rem);
  --maxw: 1280px;
  --measure: 66ch;

  --radius: 2px;
  --shadow-sm: 0 1px 2px rgba(25, 24, 23, 0.04), 0 8px 24px rgba(25, 24, 23, 0.05);
  --shadow-lg: 0 2px 4px rgba(25, 24, 23, 0.05), 0 30px 70px rgba(25, 24, 23, 0.11);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 92px;
}

/* --------------------------------------------------------------------------
   2. Reset and base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 2rem);
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--body);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 350;
  line-height: 1.75;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

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

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.012em;
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.16; }
h4 {
  font-family: var(--sans);
  font-size: var(--fs-h4);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.005em;
  margin-bottom: var(--sp-2);
}

p { margin: 0 0 var(--sp-3); max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

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

ul, ol { margin: 0 0 var(--sp-3); padding-left: 1.15rem; }
li { margin-bottom: 0.55rem; }
li:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--ink); }

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--sp-6) 0;
}

::selection { background: rgba(218, 31, 58, 0.16); }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.85rem 1.5rem;
  z-index: 999;
  font-size: var(--fs-small);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--full {
  max-width: none;
  padding-inline: var(--edge);
}
.wrap--narrow { max-width: 980px; }
.wrap--text { max-width: 800px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: var(--section-y-tight); }
.section--sand { background: var(--sand); }
.section--stone { background: var(--stone); }
.section--ink { background: var(--char); color: rgba(250, 248, 246, 0.76); }
.section--ink h1,
.section--ink h2,
.section--ink h3,
.section--ink h4 { color: #fff; }
.section--ink .eyebrow { color: rgba(250, 248, 246, 0.6); }
.section--ink .eyebrow::before { background: var(--red); }
.section--hairline { border-top: 1px solid var(--line); }

.stack > * + * { margin-top: var(--sp-3); }
.stack-lg > * + * { margin-top: var(--sp-5); }

/* --------------------------------------------------------------------------
   4. Typographic utilities
   -------------------------------------------------------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 var(--sp-4);
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--red);
  flex: none;
}
.eyebrow--center { justify-content: center; }

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--body);
  font-weight: 300;
  max-width: 62ch;
}

.display {
  font-family: var(--display);
  font-size: var(--fs-display);
  line-height: 1.02;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.muted { color: var(--muted); }
.center { text-align: center; }
.center p, .center .lead { margin-inline: auto; }
.center .eyebrow { justify-content: center; }

.rule {
  width: 46px;
  height: 2px;
  background: var(--red);
  border: 0;
  margin: var(--sp-4) 0 var(--sp-5);
}
.center .rule { margin-inline: auto; }

.section-head { margin-bottom: var(--sp-7); }
.section-head p { margin-top: var(--sp-3); }

/* --------------------------------------------------------------------------
   5. Buttons and links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.15rem 2.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-deep); }

.btn--dark { background: var(--char); color: #fff; }
.btn--dark:hover { background: var(--ink); }

.btn--ghost {
  border-color: rgba(43, 40, 41, 0.28);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

.btn--light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: transparent;
}
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
.center .btn-row { justify-content: center; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.arrow-link svg { transition: transform 0.35s var(--ease); flex: none; }
.arrow-link:hover { color: var(--red); border-color: var(--red); }
.arrow-link:hover svg { transform: translateX(6px); }
.section--ink .arrow-link { color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.section--ink .arrow-link:hover { color: #fff; border-color: #fff; }

/* --------------------------------------------------------------------------
   6. Header and navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250, 248, 246, 0);
  transition: background 0.4s var(--ease), height 0.4s var(--ease),
    box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.site-header.is-solid,
body:not(.has-hero) .site-header {
  background: rgba(250, 248, 246, 0.96);
  backdrop-filter: saturate(1.6) blur(14px);
  border-bottom-color: var(--line-soft);
  height: 76px;
}

.brand { display: block; flex: none; }
.brand img { height: 34px; width: auto; transition: height 0.4s var(--ease); }
.site-header.is-solid .brand img { height: 30px; }
.brand .logo-light { display: none; }
body.has-hero .site-header:not(.is-solid) .logo-dark { display: none; }
body.has-hero .site-header:not(.is-solid) .logo-light { display: block; }

.nav { display: flex; align-items: center; gap: clamp(1.25rem, 2vw, 2.4rem); }

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 1.9vw, 2.2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list li { margin: 0; }

.nav-link {
  position: relative;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.5rem 0;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.35s var(--ease);
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after { width: 100%; }
.nav-link[aria-current="page"] { color: var(--red); }

body.has-hero .site-header:not(.is-solid) .nav-link { color: rgba(255, 255, 255, 0.9); }
body.has-hero .site-header:not(.is-solid) .nav-link:hover { color: #fff; }
body.has-hero .site-header:not(.is-solid) .nav-cta { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
body.has-hero .site-header:not(.is-solid) .nav-cta:hover { background: #fff; color: var(--ink); }
body.has-hero .site-header:not(.is-solid) .nav-toggle span { background: #fff; }

/* Dropdown */
.has-sub { position: relative; }
.sub {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: -1.5rem;
  min-width: 274px;
  background: #fff;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
  padding: 0.9rem 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.has-sub:hover .sub,
.has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: translateY(0); }
.sub li { margin: 0; }
.sub a {
  display: block;
  padding: 0.7rem 1.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--body);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.sub a:hover { background: var(--sand); color: var(--ink); }

.nav-cta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  border: 1px solid rgba(43, 40, 41, 0.3);
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.nav-cta:hover { background: var(--red); border-color: var(--red); color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), background 0.3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.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(-7.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--bone);
  padding: calc(var(--header-h) + 2rem) var(--gutter) 3rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer > ul > li { border-bottom: 1px solid var(--line-soft); margin: 0; }
.drawer > ul > li > a {
  display: block;
  padding: 1.15rem 0;
  font-family: var(--display);
  font-size: 1.75rem;
  color: var(--ink);
}
.drawer .sub-m { padding: 0 0 1.25rem 0.25rem; }
.drawer .sub-m li { margin: 0; }
.drawer .sub-m a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.drawer .drawer-foot {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  font-size: var(--fs-small);
}
.drawer .drawer-foot__link {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--ink);
  font-size: 0.95rem;
}
.drawer .drawer-foot__label {
  margin: 1.75rem 0 0.9rem;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
/* the footer .social rules are defined later in this file, so these drawer
   overrides are scoped to .drawer to win on specificity rather than order */
.drawer .social { margin-top: 0; }
.drawer .social a {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(43, 40, 41, 0.3);
  color: var(--ink);
  background: transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.drawer .social a:hover,
.drawer .social a:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.drawer .social svg { width: 19px; height: 19px; }
.social--drawer a:hover,
.social--drawer a:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.drawer .drawer-foot__meta {
  margin: 1.75rem 0 0;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 78vh;
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: clamp(3.5rem, 6vw, 7rem);
  color: #fff;
  overflow: hidden;
}
.hero--tall { min-height: 92vh; }
.hero--short { min-height: 58vh; }

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}
/* picture wrappers must fill their frames */
.media-frame picture,
.project-card__media picture,
.gallery__img picture,
.cta-band__bg picture,
.hero__bg picture { display: block; width: 100%; height: 100%; }
.media-frame picture img,
.project-card__media picture img,
.gallery__img picture img,
.cta-band__bg picture img,
.hero__bg picture img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(18, 17, 16, 0.52) 0%,
      rgba(18, 17, 16, 0.24) 30%,
      rgba(18, 17, 16, 0.58) 68%,
      rgba(18, 17, 16, 0.86) 100%
    ),
    linear-gradient(
      95deg,
      rgba(18, 17, 16, 0.68) 0%,
      rgba(18, 17, 16, 0.38) 38%,
      rgba(18, 17, 16, 0.06) 72%,
      rgba(18, 17, 16, 0) 100%
    );
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  color: #fff;
  margin-bottom: var(--sp-4);
  text-shadow: 0 2px 40px rgba(10, 9, 8, 0.55), 0 1px 3px rgba(10, 9, 8, 0.3);
}
.hero .eyebrow { color: rgba(255, 255, 255, 0.86); }
.hero p {
  color: rgba(255, 255, 255, 0.92);
  max-width: 56ch;
  text-shadow: 0 1px 22px rgba(10, 9, 8, 0.55);
}
.hero__inner { max-width: 900px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: var(--fs-small);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3.5rem, 6vw, 7rem);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.scroll-cue i {
  display: block;
  width: 1px;
  height: 46px;
  background: rgba(255, 255, 255, 0.45);
  animation: cue 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.3); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Page header for interior pages without a photo hero */
.page-head {
  padding-top: calc(var(--header-h) + clamp(3.5rem, 6vw, 6.5rem));
  padding-bottom: clamp(3rem, 5vw, 5rem);
  background: var(--sand);
  border-bottom: 1px solid var(--line-soft);
}

/* --------------------------------------------------------------------------
   8. Split blocks
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: center;
}
.split--wide-text { grid-template-columns: 1.15fr 1fr; }
.split--wide-image { grid-template-columns: 1fr 1.15fr; }
.split--top { align-items: start; }
.split__media img { width: 100%; object-fit: cover; }
.split__body { padding-block: clamp(0rem, 1vw, 1.5rem); }
.split--reverse .split__media { order: 2; }

.media-frame {
  position: relative;
  overflow: hidden;
  background: var(--stone);
}
.media-frame img { transition: transform 1.2s var(--ease); }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--wide { aspect-ratio: 3 / 2; }
.media-frame--square { aspect-ratio: 1 / 1; }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }

.media-accent { position: relative; }
.media-accent::before {
  content: "";
  position: absolute;
  left: -22px;
  bottom: -22px;
  width: 46%;
  height: 52%;
  border-left: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  opacity: 0.5;
  z-index: 0;
}
.media-accent .media-frame { position: relative; z-index: 1; }

/* --------------------------------------------------------------------------
   9. Grids and cards
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line-soft);
  padding: clamp(2rem, 1.4rem + 1.7vw, 3rem);
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    border-color 0.45s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card h3, .card h4 { margin-bottom: var(--sp-2); }
.card p { font-size: 0.97rem; }
.card .arrow-link { margin-top: auto; padding-top: var(--sp-4); align-self: flex-start; }
.card--plain { background: transparent; border: 0; padding: 0; }
.card--plain:hover { transform: none; box-shadow: none; }
.card--sand { background: var(--sand); border-color: transparent; }

.grid--4 .card { padding: clamp(1.6rem, 1.2rem + 0.9vw, 2.1rem); }
.grid--4 .card p { font-size: 0.93rem; line-height: 1.7; }
.grid--3 .card { padding: clamp(1.85rem, 1.35rem + 1.4vw, 2.6rem); }

.card__num {
  font-family: var(--display);
  font-size: 2.25rem;
  line-height: 1;
  color: var(--red);
  margin-bottom: var(--sp-3);
  display: block;
}

.icon-badge {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  margin-bottom: var(--sp-4);
  color: var(--red);
  flex: none;
}
.icon-badge svg { width: 21px; height: 21px; }

/* Feature list with hairlines */
.hairlist { list-style: none; padding: 0; margin: 0; }
.hairlist li {
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--line-soft);
  margin: 0;
  display: flex;
  gap: var(--sp-3);
  align-items: baseline;
}
.hairlist li:first-child { padding-top: 0; }
.hairlist li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--red);
  flex: none;
  transform: translateY(-2px);
}
.hairlist--plain li::before { display: none; }

/* Definition rows */
.spec-list { list-style: none; padding: 0; margin: 0; }
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 1rem 0;
  border-bottom: 1px solid var(--line-soft);
  margin: 0;
  font-size: 0.95rem;
}
.spec-list dt, .spec-list .k {
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.spec-list .v { color: var(--ink); font-weight: 500; text-align: right; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.stat__num {
  font-family: var(--display);
  font-size: clamp(2.75rem, 2rem + 2.6vw, 4.25rem);
  line-height: 1;
  color: var(--ink);
  display: block;
  margin-bottom: var(--sp-2);
}
.section--ink .stat__num { color: #fff; }
.stat__label {
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}
.section--ink .stat__label { color: rgba(250, 248, 246, 0.62); }

/* --------------------------------------------------------------------------
   10. Project cards and galleries
   -------------------------------------------------------------------------- */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.project-grid--3 { grid-template-columns: repeat(3, 1fr); }

.project-card { display: block; }
.project-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--stone);
  margin-bottom: var(--sp-4);
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.project-card:hover .project-card__media img { transform: scale(1.05); }
.project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(25, 24, 23, 0);
  transition: background 0.5s var(--ease);
}
.project-card:hover .project-card__media::after { background: rgba(25, 24, 23, 0.1); }

.project-card__tag {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  background: rgba(250, 248, 246, 0.94);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.7rem 1.15rem;
}
.project-card h3 { font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.85rem); margin-bottom: 0.4rem; }
.project-card__loc {
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-3);
}
.project-card p { font-size: 0.95rem; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line-soft);
}
.filter-btn {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.75rem 1.35rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--body);
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--ink); color: var(--ink); }
.filter-btn.is-active { background: var(--char); border-color: var(--char); color: #fff; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }
.gallery figure { margin: 0; }
.gallery__img {
  position: relative;
  overflow: hidden;
  background: var(--stone);
  aspect-ratio: 3 / 2;
  cursor: zoom-in;
}
.gallery__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery figure:hover .gallery__img img { transform: scale(1.04); }
.gallery figcaption {
  margin-top: var(--sp-2);
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  color: var(--muted);
}
.gallery figure:first-child { grid-column: 1 / -1; }
.gallery figure:first-child .gallery__img { aspect-ratio: 16 / 9; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(20, 19, 18, 0.95);
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; }
.lightbox__cap {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  margin-top: 1.25rem;
  text-align: center;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.3s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.14); }
.lightbox__close { top: clamp(1rem, 3vw, 2rem); right: clamp(1rem, 3vw, 2rem); }
.lightbox__nav--prev { left: clamp(1rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: clamp(1rem, 3vw, 2rem); top: 50%; transform: translateY(-50%); }

/* --------------------------------------------------------------------------
   11. Process steps
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--gap);
  padding-block: clamp(2.25rem, 3vw, 3.5rem);
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--display);
  font-size: clamp(2.25rem, 1.7rem + 1.9vw, 3.5rem);
  line-height: 1;
  color: var(--red);
}
.step h3 { margin-bottom: var(--sp-2); }
.step__body > p { max-width: 60ch; }
.step__body .hairlist { margin-top: var(--sp-3); }

/* --------------------------------------------------------------------------
   12. Quotes and testimonials
   -------------------------------------------------------------------------- */
.quote { max-width: 900px; margin-inline: auto; text-align: center; }
.quote blockquote {
  font-family: var(--display);
  font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.6rem);
  line-height: 1.28;
  font-weight: 300;
  color: var(--ink);
  margin: 0 0 var(--sp-5);
  letter-spacing: -0.01em;
}
.section--ink .quote blockquote { color: #fff; }
.quote cite {
  font-style: normal;
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.quote-mark {
  font-family: var(--display);
  font-size: 4rem;
  line-height: 0.5;
  color: var(--red);
  display: block;
  margin-bottom: var(--sp-4);
}

.testimonial {
  background: #fff;
  border: 1px solid var(--line-soft);
  padding: clamp(2rem, 1.4rem + 1.7vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.testimonial p {
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}
.testimonial footer {
  font-size: var(--fs-small);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line-soft);
}

/* --------------------------------------------------------------------------
   13. Accordion
   -------------------------------------------------------------------------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: var(--sp-4) 3.5rem var(--sp-4) 0;
  position: relative;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.5rem);
  line-height: 1.35;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover { color: var(--red); }
.accordion summary::after,
.accordion summary::before {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  background: var(--red);
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
}
.accordion summary::after { width: 16px; height: 1.5px; transform: translateY(-50%); }
.accordion summary::before { width: 1.5px; height: 16px; right: 13px; transform: translateY(-50%); }
.accordion details[open] summary::before { transform: translateY(-50%) rotate(90deg); opacity: 0; }
.accordion__body { padding: 0 3.5rem var(--sp-5) 0; }
.accordion__body p { max-width: 68ch; }

/* --------------------------------------------------------------------------
   14. Forms
   -------------------------------------------------------------------------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4) var(--sp-4); }
.field { display: flex; flex-direction: column; gap: 0.6rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  width: 100%;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { min-height: 168px; resize: vertical; line-height: 1.65; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(218, 31, 58, 0.1);
}
.field small { color: var(--muted); font-size: 0.8rem; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: var(--sp-3); }
.form-note a { border-bottom: 1px solid var(--line); }
.form-note a:hover { color: var(--red); border-color: var(--red); }
/* only flag a field once the visitor has actually interacted with it */
.field input:user-invalid,
.field textarea:user-invalid { border-color: rgba(218, 31, 58, 0.55); }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

/* Honeypot. Hidden from people, visible to bots that fill in every field. */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   15. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-block: clamp(4.5rem, 3.5rem + 5vw, 8rem);
}
.cta-band__bg { position: absolute; inset: 0; z-index: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(25, 24, 23, 0.78), rgba(25, 24, 23, 0.88));
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.82); }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--char);
  color: rgba(250, 248, 246, 0.66);
  padding-block: clamp(4rem, 3rem + 4vw, 6.5rem) 2.5rem;
  font-size: 0.9rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--gap);
  padding-bottom: clamp(3rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(250, 248, 246, 0.14);
}
.site-footer h5 {
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 248, 246, 0.5);
  margin-bottom: var(--sp-4);
}
.site-footer img.f-logo { height: 34px; width: auto; margin-bottom: var(--sp-4); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.7rem; }
.site-footer a { transition: color 0.3s var(--ease); }
.site-footer a:hover { color: #fff; }
.site-footer p { max-width: 40ch; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  padding-top: 2.25rem;
  font-size: 0.8rem;
  color: rgba(250, 248, 246, 0.44);
}
.footer-bottom p { max-width: none; }
.footer-bottom nav { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); }
.social {
  display: flex;
  gap: 0.75rem;
  margin-top: var(--sp-4);
}
.social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250, 248, 246, 0.22);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.social a:hover { background: var(--red); border-color: var(--red); }
.social svg { width: 17px; height: 17px; }
.footer-bottom .credit {
  color: rgba(250, 248, 246, 0.62);
  border-bottom: 1px solid rgba(250, 248, 246, 0.22);
  padding-bottom: 2px;
}
.footer-bottom .credit:hover { color: #fff; border-color: var(--red); }

.license-note {
  font-size: 0.8rem;
  color: rgba(250, 248, 246, 0.46);
  margin-top: var(--sp-3);
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   17. Breadcrumb, pagination, misc
   -------------------------------------------------------------------------- */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-4);
}
.crumbs a:hover { color: var(--red); }
.crumbs span { color: rgba(123, 117, 112, 0.6); }

.pager {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}
.pager a { font-size: var(--fs-small); letter-spacing: 0.13em; text-transform: uppercase; }
.pager a:hover { color: var(--red); }

.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: var(--sp-4); }
.tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.5rem 0.95rem;
  border: 1px solid var(--line);
  color: var(--muted);
}

.callout {
  background: var(--sand);
  border-left: 2px solid var(--red);
  padding: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem);
}
.callout h4 { margin-bottom: var(--sp-2); }

.prose h2 { font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.35rem); margin-top: var(--sp-6); }
.prose h3 { margin-top: var(--sp-5); }
.prose > *:first-child { margin-top: 0; }
.prose ul { padding-left: 1.15rem; }
.prose li { max-width: var(--measure); }

.marquee-strip {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-6);
  align-items: center;
  justify-content: center;
  font-size: var(--fs-small);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee-strip span { display: inline-flex; align-items: center; gap: var(--sp-3); }
.marquee-strip span::after {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--red);
  opacity: 0.6;
}
.marquee-strip span:last-child::after { display: none; }

/* --------------------------------------------------------------------------
   18. Reveal animation
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------------------
   19. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: var(--sp-6); }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: var(--sp-6); }
}

@media (max-width: 960px) {
  :root { --header-h: 76px; }
  .nav-list, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .project-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--wide-text, .split--wide-image { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .media-accent::before { display: none; }
  .hero { min-height: 68vh; }
  .hero--tall { min-height: 76vh; }
  .scroll-cue { display: none; }
}

@media (max-width: 720px) {
  :root { --measure: 100%; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .project-grid, .project-grid--3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure:first-child .gallery__img { aspect-ratio: 3 / 2; }
  .stats { grid-template-columns: 1fr; row-gap: var(--sp-5); text-align: left; }
  .footer-top { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; gap: var(--sp-3); }
  .step__num { font-size: 2.25rem; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .accordion summary { padding-right: 2.75rem; }
  .accordion__body { padding-right: 0; }
  .spec-list li { flex-direction: column; gap: 0.35rem; }
  .spec-list .v { text-align: left; }
}

/* --------------------------------------------------------------------------
   20. Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .drawer, .cta-band, .scroll-cue, .site-footer { display: none; }
  body { background: #fff; }
  .section { padding-block: 1.5rem; }
}
