/* ============================================================
   CAZARES — premium / warm modern edition
   Magazine-style editorial: warm cream, terracotta accents,
   Instrument Serif (high-contrast romantic display) +
   Bricolage Grotesque (modern variable body).
   ============================================================ */

:root {
  /* warm paper palette */
  --bone:        #F2EBE0;
  --paper:       #FAF6EC;
  --paper-2:    #EFE6D3;
  --paper-deep: #E8DECA;
  --ink:         #231C16;
  --ink-2:       #34281F;
  --muted:       #7C6F60;
  --rule:        #D9CFBE;
  --rule-soft:   #E8DECA;

  /* warm accents */
  --clay:        #B85540;     /* terracotta primary */
  --clay-deep:   #7C3F30;     /* deeper for hover */
  --gold:        #9F7E48;     /* secondary warm accent (logo gold) */
  --sage:        #7E8B6F;     /* tertiary, used sparingly */

  /* fonts */
  --serif:  "Instrument Serif", "EB Garamond", Georgia, serif;
  --sans:   "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;

  /* layout */
  --max:   1380px;
  --pad:   clamp(22px, 5vw, 90px);

  --ease:  cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* ─────────────  RESET  ───────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; }
ul, ol, dl, dd { list-style: none; padding: 0; margin: 0; }

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

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  background: var(--bone);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
  font-feature-settings: "kern", "liga", "calt";
  overflow-x: hidden;
}

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

/* paper grain overlay */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 999;
  opacity: 0.05;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.0' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* i18n */
body.lang-en .es { display: none; }
body.lang-es .en { display: none; }

/* ─────────────  TYPOGRAPHY HELPERS  ───────────── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.0;
  margin: 0;
}
h1 em, h2 em, h3 em, h4 em {
  font-style: italic;
  letter-spacing: -0.012em;
}

.serif-italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.001em;
}

.caps {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
}

.rule {
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--clay);
  vertical-align: middle;
}

.section-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--clay-deep);
  letter-spacing: 0.005em;
}

/* ─────────────  NAV  ───────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(242, 235, 224, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--rule-soft);
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; line-height: 1; }
.brand__logo {
  height: 64px;
  width: auto;
  display: block;
  transition: opacity .25s var(--ease);
}
.brand:hover .brand__logo { opacity: 0.78; }

.nav__links {
  display: flex; align-items: center; gap: 32px;
  font-family: var(--sans);
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  font-weight: 500;
}
.nav__links a {
  position: relative;
  color: var(--ink);
  transition: color .25s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 1px;
  background: var(--clay);
  transition: width .35s var(--ease);
}
.nav__links a:hover { color: var(--clay-deep); }
.nav__links a:hover::after { width: 100%; }

.lang {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  display: inline-flex; align-items: baseline; gap: 4px;
}
.lang__sep { color: var(--rule); }
.lang__chip { transition: color .2s var(--ease); padding: 0 1px; }
body.lang-en .lang__chip[data-lang="en"],
body.lang-es .lang__chip[data-lang="es"] {
  color: var(--clay-deep);
  font-style: italic;
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.01em;
}

/* ─────────────  HERO  ───────────── */
.hero {
  min-height: 100vh;
  padding: clamp(120px, 14vh, 160px) 0 clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  /* photo column extends to right viewport edge — see hero__media */
  padding-right: 0;
}
.hero__text {
  display: flex; flex-direction: column;
  padding-right: clamp(20px, 3vw, 40px);
}

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.hero__title {
  font-size: clamp(3.6rem, 9.5vw, 8.8rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin-bottom: clamp(28px, 4vw, 44px);
  color: var(--ink);
}
.hero__title em {
  color: var(--clay-deep);
  font-style: italic;
  letter-spacing: -0.018em;
}

.hero__lede {
  font-size: clamp(1.05rem, 1.3vw, 1.22rem);
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink-2);
  max-width: 38ch;
  margin: 0 0 clamp(28px, 4vw, 44px);
}

.hero__actions {
  display: flex; flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: clamp(36px, 5vw, 56px);
}

/* license callout — same idea as minimal but with terracotta accent */
.hero__license {
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  max-width: 460px;
  margin-top: auto;
}
.hero__license-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.95rem, 3.2vw, 2.7rem);
  font-weight: 400;
  letter-spacing: -0.012em;
  color: var(--ink);
  line-height: 1.02;
}
.hero__license-prefix {
  color: var(--clay-deep);
  font-style: italic;
  font-family: var(--serif);
}
.hero__license-tag {
  display: block;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.5;
}

/* hero photo — bleeds to right viewport edge */
.hero__media {
  position: relative;
  margin: 0;
  height: 100%;
  min-height: clamp(440px, 78vh, 760px);
  /* bleed to right edge */
  margin-right: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(1.06);
}
.hero__caption {
  position: absolute;
  left: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  background: var(--paper);
  padding: 8px 12px;
  border: 1px solid var(--rule);
  font-size: 0.62rem;
}

/* ─────────────  STRIP (running banner) ───────────── */
.strip {
  background: var(--ink);
  color: var(--paper);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.strip__track {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  animation: stripScroll 60s linear infinite;
  font-family: var(--sans);
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
.strip__track i { color: var(--clay); font-style: normal; }
.strip__track .serif-italic {
  font-size: 1.05rem;
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--paper);
  font-weight: 400;
}
@keyframes stripScroll {
  from { transform: translateX(0%); }
  to   { transform: translateX(-50%); }
}

/* ─────────────  BUTTONS  ───────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  padding: 16px 26px;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: all .35s var(--ease);
}
.btn--clay {
  background: var(--clay);
  border-color: var(--clay);
  color: var(--paper);
}
.btn--clay:hover {
  background: var(--clay-deep);
  border-color: var(--clay-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px rgba(184, 85, 64, 0.4);
}
.btn--text {
  border: 0;
  border-radius: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}
.btn--text:hover {
  color: var(--clay-deep);
  border-bottom-color: var(--clay-deep);
}
.btn--big { padding: 19px 34px; font-size: 0.92rem; }

.btn__arrow { transition: transform .35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ─────────────  GENERIC SECTION HEAD  ───────────── */
section { scroll-margin-top: 96px; }

.featured__head, .selected__head, .offerings__head, .approach__head, .contact__head {
  max-width: var(--max);
  margin: 0 auto clamp(40px, 5vw, 72px);
  padding: clamp(40px, 6vw, 80px) var(--pad) 0;
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  align-items: start;
  border-top: 1px solid var(--rule);
  padding-top: clamp(40px, 5vw, 64px);
}

/* ─────────────  FEATURED  ───────────── */
.featured {
  padding-bottom: clamp(60px, 8vw, 110px);
}
.featured__title {
  font-size: clamp(2.8rem, 6.5vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.022em;
}
.featured__layout {
  max-width: var(--max);
  margin: 0 auto clamp(36px, 5vw, 60px);
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  align-items: center;
}
.featured__main { margin: 0; }
.featured__main img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: contrast(1.03);
}
.featured__story {
  display: flex; flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
}
.featured__lede {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  line-height: 1.32;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
}
.featured__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.featured__meta div { display: flex; flex-direction: column; gap: 6px; }
.featured__meta dt {
  font-family: var(--sans);
}
.featured__meta dd {
  font-family: var(--serif);
  font-size: 1.18rem;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 1.3;
}

.featured__strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.featured__strip figure {
  margin: 0;
  position: relative;
}
.featured__strip img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: contrast(1.03);
  transition: transform .8s var(--ease);
}
.featured__strip figure:hover img { transform: scale(1.02); }
.featured__strip figcaption {
  margin-top: 12px;
  font-size: 1rem;
  color: var(--ink);
}

/* ─────────────  SELECTED WORK  ───────────── */
.selected {
  background: var(--paper-2);
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
}
.selected__head { background: transparent; }
.selected__title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.022em;
}
.selected__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.selected__item { margin: 0; position: relative; }
.selected__item img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  filter: contrast(1.03);
  transition: transform .8s var(--ease), filter .6s var(--ease);
}
.selected__item:hover img { transform: scale(1.02); filter: contrast(1.06) saturate(1.05); }
.selected__item figcaption {
  margin-top: 14px;
  display: flex; flex-direction: column;
  gap: 4px;
}
.selected__item figcaption .serif-italic {
  font-size: 1.05rem;
  color: var(--ink);
}

/* ─────────────  OFFERINGS  ───────────── */
.offerings {
  padding-bottom: clamp(60px, 8vw, 110px);
}
.offerings__title {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.96;
}
.offerings__sub {
  max-width: 56ch;
  font-size: 1.05rem;
  color: var(--muted);
  margin: 18px 0 0;
  line-height: 1.55;
}
.offerings__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule);
}
.offering {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: clamp(14px, 2vw, 24px);
  padding: clamp(28px, 3.5vw, 40px) clamp(0px, 2vw, 24px);
  border-bottom: 1px solid var(--rule);
  transition: background .3s var(--ease);
}
.offering:hover { background: var(--paper); }
.offering:nth-child(odd) { border-right: 1px solid var(--rule); }
.offering__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--clay-deep);
  letter-spacing: 0.005em;
  line-height: 1.1;
}
.offering__name {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1;
  margin-bottom: 10px;
  color: var(--ink);
}
.offering p {
  margin: 0;
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 42ch;
}

/* ─────────────  APPROACH  ───────────── */
.approach {
  background: var(--paper-deep);
  padding-bottom: clamp(60px, 8vw, 110px);
}
.approach__title {
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.96;
}

.approach__quote {
  max-width: var(--max);
  margin: 0 auto clamp(48px, 6vw, 80px);
  padding: 0 var(--pad);
}
.approach__quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.7rem, 3.6vw, 3.1rem);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 18px;
  max-width: 22ch;
}
.approach__quote cite {
  font-style: normal;
  color: var(--muted);
}

.approach__grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(36px, 5vw, 64px) clamp(40px, 5vw, 80px);
}
.value {
  display: flex; flex-direction: column;
  gap: 12px;
}
.value__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--clay-deep);
}
.value h3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--ink);
}
.value p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 44ch;
}

/* ─────────────  CONTACT  ───────────── */
.contact {
  padding-bottom: clamp(60px, 8vw, 110px);
}
.contact__title {
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  line-height: 0.98;
}
.contact__sub {
  max-width: 50ch;
  font-size: 1.05rem;
  color: var(--muted);
  margin: 16px 0 0;
}

.contact__layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

/* form (inverted from minimal — left side) */
.contact__form {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: clamp(28px, 4vw, 50px);
  display: flex; flex-direction: column;
  gap: clamp(18px, 2vw, 22px);
  position: relative;
}
.contact__form::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto auto;
  width: 64px; height: 64px;
  background: var(--clay);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend {
  color: var(--muted);
  padding: 0;
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: 12px 0;
  width: 100%;
  appearance: none;
  transition: border-color .25s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--clay);
}
.field textarea { resize: vertical; min-height: 96px; }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
}
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23B85540' stroke-width='1.5'><path d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 28px;
}

.field--service { border: 0; padding: 0; margin: 0; min-width: 0; }
.field--service legend { margin-bottom: 12px; }

.pills {
  display: flex; flex-wrap: wrap;
  gap: 8px;
}
.pills label { cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.005em;
  color: var(--ink-2);
  background: var(--paper);
  transition: all .2s var(--ease);
}
.pills label:hover span { border-color: var(--clay); color: var(--clay-deep); }
.pills input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.contact__submit {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  padding-top: 8px;
  flex-wrap: wrap;
}
.contact__fineprint {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
}

.contact__success {
  border: 1px solid var(--clay);
  background: rgba(184, 85, 64, 0.06);
  padding: 28px;
  text-align: center;
}
.contact__success p {
  font-size: 1.5rem;
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-style: italic;
}

/* details aside */
.contact__details dl {
  display: flex; flex-direction: column;
  gap: 22px;
}
.contact__details div { display: flex; flex-direction: column; gap: 6px; }
.contact__details dd {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.contact__details a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.contact__details a:hover { color: var(--clay-deep); border-color: var(--clay-deep); }
.contact__details .phone-tag {
  display: inline-block;
  margin-left: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--muted);
  vertical-align: baseline;
}

/* ─────────────  FOOTER  ───────────── */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(48px, 6vw, 90px) 0 clamp(20px, 3vw, 32px);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-bottom: clamp(36px, 5vw, 60px);
  border-bottom: 1px solid rgba(217, 207, 190, 0.18);
}
.footer__logo {
  height: 90px;
  width: auto;
  filter: brightness(0) invert(0.94);
}
.footer__motto {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0;
  text-align: right;
}
.footer__motto em {
  color: var(--clay);
  font-style: italic;
}
.footer__meta {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 246, 236, 0.56);
}

/* ─────────────  RESPONSIVE  ───────────── */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding-right: var(--pad);
    min-height: auto;
  }
  .hero__media {
    order: -1;
    min-height: 56vh;
    margin-right: calc(var(--pad) * -1);
  }
  .featured__layout { grid-template-columns: 1fr; }
  .featured__strip { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .selected__grid { grid-template-columns: repeat(2, 1fr); }
  .selected__grid .selected__item:nth-child(3) { grid-column: 1 / -1; }
  .selected__grid .selected__item:nth-child(3) img { aspect-ratio: 16/9; }
  .offerings__grid { grid-template-columns: 1fr; }
  .offering:nth-child(odd) { border-right: 0; }
  .approach__grid { grid-template-columns: 1fr; }
  .contact__layout { grid-template-columns: 1fr; }
  .featured__head, .selected__head, .offerings__head, .approach__head, .contact__head {
    grid-template-columns: 80px 1fr;
  }
}

@media (max-width: 720px) {
  .nav__inner { gap: 14px; flex-wrap: wrap; padding: 12px var(--pad); }
  .nav__links { gap: 16px; flex-wrap: wrap; font-size: 0.74rem; }
  .brand__logo { height: 50px; }
  .hero__title { font-size: clamp(2.6rem, 12vw, 4.4rem); }
  .featured__strip { grid-template-columns: 1fr; }
  .featured__meta { grid-template-columns: 1fr; }
  .selected__grid { grid-template-columns: 1fr; }
  .selected__grid .selected__item:nth-child(3) img { aspect-ratio: 4/5; }
  .field-row { grid-template-columns: 1fr; }
  .contact__submit { flex-direction: column; align-items: stretch; }
  .contact__submit .btn { justify-content: center; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__motto { text-align: left; }
  .footer__logo { height: 70px; }
  .featured__head, .selected__head, .offerings__head, .approach__head, .contact__head {
    grid-template-columns: 1fr;
  }
}

/* ─────────────  REVEAL  ───────────── */
body.js-ready .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
body.js-ready .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
body.js-ready .reveal.delay-1 { transition-delay: 0.1s; }
body.js-ready .reveal.delay-2 { transition-delay: 0.2s; }
body.js-ready .reveal.delay-3 { transition-delay: 0.3s; }

/* hero intro */
.hero__eyebrow, .hero__title, .hero__lede, .hero__actions, .hero__license, .hero__media {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 1.1s var(--ease) forwards;
}
.hero__eyebrow   { animation-delay: 0.05s; }
.hero__title     { animation-delay: 0.18s; }
.hero__lede      { animation-delay: 0.34s; }
.hero__actions   { animation-delay: 0.48s; }
.hero__license   { animation-delay: 0.6s; }
.hero__media     { animation-delay: 0.25s; transform: translateX(20px); }
@keyframes heroIn {
  to { opacity: 1; transform: translate(0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .strip__track { animation: none; }
}

/* ─────────────  LIGHTBOX (photo carousel)  ───────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: lbFade 0.18s ease-out;
}
.lightbox.is-open { display: flex; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }

.lightbox__stage {
  margin: 0;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.lightbox__stage img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
}
.lightbox__stage figcaption {
  color: rgba(255,255,255,0.82);
  text-align: center;
  font-size: 0.96rem;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  max-width: 70ch;
  line-height: 1.4;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: transparent;
  border: 0;
  color: white;
  line-height: 1;
  cursor: pointer;
  transition: opacity .2s, background .2s;
  opacity: 0.6;
  font-family: Georgia, "Times New Roman", serif;
}
.lightbox__close:hover,
.lightbox__nav:hover { opacity: 1; background: rgba(255,255,255,0.06); }

.lightbox__close {
  top: 18px; right: 22px;
  font-size: 2.6rem;
  padding: 4px 14px;
  border-radius: 50%;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  padding: 14px 24px;
  border-radius: 4px;
}
.lightbox__prev { left: 18px; }
.lightbox__next { right: 18px; }

.lightbox__counter {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.55);
  font-family: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

body.lightbox-open { overflow: hidden; }

@media (max-width: 720px) {
  .lightbox__close { top: 12px; right: 12px; }
  .lightbox__prev { left: 0; padding: 14px 16px; font-size: 2.4rem; }
  .lightbox__next { right: 0; padding: 14px 16px; font-size: 2.4rem; }
  .lightbox__counter { font-size: 0.66rem; }
}
