/* ==========================================================================
   JW & Company, Inc. — site styles
   Brand: ink black + logo gold, condensed "job-site signage" headings.
   ========================================================================== */

:root {
  --ink: #0f0f0f;
  --ink-2: #181818;
  --ink-3: #242424;
  --paper: #f6f4ef;
  --white: #ffffff;

  --gold: #c9a227;          /* logo gold — fills, text on dark */
  --gold-bright: #ddb94a;   /* hover on dark */
  --gold-ink: #866610;      /* gold text on light backgrounds (AA) */
  --gold-wash: #f3ead0;

  --text: #1c1c1c;
  --muted: #5b5852;
  --muted-dark: #b7b2a7;    /* body text on ink */
  --line: #e2ddd1;
  --line-dark: rgba(255, 255, 255, 0.12);

  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* display headings: themes override these to change the whole heading voice */
  --display-case: uppercase;
  --display-weight: 700;
  --display-tracking: 0.005em;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 120px);
  --radius: 4px;
  --header-h: 76px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote, dl, dd { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1.1em; height: 1.1em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 12px 18px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.text-gold { color: var(--gold); }
.text-gold-ink { color: var(--gold-ink); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font: 600 0.8125rem/1.2 var(--font-body);
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--gold); }
.eyebrow--ink { color: var(--ink); }

.section-title, .page-hero__title, .hero__title {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  text-transform: var(--display-case);
  letter-spacing: var(--display-tracking);
  text-wrap: balance;
}
.section-title { font-size: clamp(2.125rem, 4.4vw, 3.5rem); line-height: 0.98; color: var(--ink); }
.section-title--light { color: var(--white); }
.section-lead { font-size: 1.1875rem; color: var(--muted); max-width: 60ch; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .section-title { margin-bottom: 20px; }
.section-head--split {
  max-width: none; display: grid; gap: 24px 64px; align-items: end;
}
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.2fr 1fr; } }
.section-head--split .section-title { margin-bottom: 0; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  border-bottom: 2px solid var(--gold); padding-bottom: 4px;
}
.text-link .icon { transition: transform 0.25s var(--ease); }
.text-link:hover .icon, a:hover .text-link .icon { transform: translateX(4px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border: 2px solid transparent; border-radius: var(--radius);
  font: 600 0.9375rem/1 var(--font-body); letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 0.875rem; }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-bright); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-3); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.45); color: var(--white); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.btn--outline-ink { border-color: var(--ink); color: var(--ink); }
.btn--outline-ink:hover { background: rgba(0, 0, 0, 0.06); }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: var(--muted-dark); font-size: 0.875rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__area { margin: 0; }
.topbar__links { display: flex; align-items: center; gap: 28px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: color 0.2s; }
.topbar__links a:hover { color: var(--white); }
.topbar__links .icon { color: var(--gold); width: 15px; height: 15px; }
.topbar__hiring { color: var(--gold); font-weight: 600; }
.topbar__hiring .icon { width: 14px; height: 14px; }
@media (max-width: 720px) {
  .topbar__area, .hide-sm { display: none; }
  .topbar__inner { justify-content: center; }
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 48px; width: auto; }

.nav__toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -8px;
  background: none; border: 0; border-radius: var(--radius); cursor: pointer; color: var(--ink);
}
.nav__toggle .icon { width: 28px; height: 28px; }
.nav__toggle .icon--close { display: none; }
.nav__toggle[aria-expanded="true"] .icon--open { display: none; }
.nav__toggle[aria-expanded="true"] .icon--close { display: block; }

.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 10px 14px; background: none; border: 0; cursor: pointer;
  font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease);
}
.nav__link:hover::after, .nav__link[data-active]::after, .nav__link[aria-current]::after { transform: scaleX(1); }
.nav__sub-toggle .icon { width: 16px; height: 16px; transition: transform 0.2s; }
.nav__sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

.nav__item--sub { position: relative; }
.nav__sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 320px;
  padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity 0.18s, transform 0.18s var(--ease), visibility 0.18s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__item--sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 961px) {
  .nav__item--sub:hover .nav__sub { opacity: 1; visibility: visible; transform: none; }
}
.nav__sub a {
  display: block; padding: 12px 14px; border-radius: var(--radius); text-decoration: none;
  border-left: 3px solid transparent; transition: background-color 0.15s, border-color 0.15s;
}
.nav__sub a:hover, .nav__sub a[aria-current] { background: var(--paper); border-left-color: var(--gold); }
.nav__sub strong { display: block; font-weight: 600; color: var(--ink); }
.nav__sub span { display: block; font-size: 0.875rem; color: var(--muted); }

.nav__cta { display: flex; align-items: center; gap: 20px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap; }
.nav__phone .icon { color: var(--gold-ink); }

@media (max-width: 1100px) { .nav__phone { display: none; } }

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand img { height: 42px; }
  .nav__toggle { display: inline-flex; }
  /* backdrop-filter would make the header the containing block for the fixed menu */
  .site-header { background: var(--white); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav__menu {
    position: fixed; inset: var(--menu-top, 108px) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 32px; overflow-y: auto;
    background: var(--white); border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0.2s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 18px 0; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
  .nav__link::after { display: none; }
  .nav__link[aria-current], .nav__link[data-active] { color: var(--gold-ink); }
  .nav__sub {
    position: static; min-width: 0; padding: 0 0 12px; border: 0; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .nav__item--sub.is-open .nav__sub { display: block; }
  .nav__cta { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; }
  .nav__phone { display: flex; justify-content: center; min-height: 52px; border: 2px solid var(--ink); border-radius: var(--radius); }
  .nav__cta .btn { min-height: 52px; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(86vh, 820px); display: flex; align-items: center;
  background: var(--ink); color: var(--white);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 12, 12, 0.94) 0%, rgba(12, 12, 12, 0.82) 38%, rgba(12, 12, 12, 0.35) 100%),
    linear-gradient(0deg, rgba(12, 12, 12, 0.7) 0%, rgba(12, 12, 12, 0) 40%);
}
.hero__inner { padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(72px, 10vw, 128px); }
.hero__content { max-width: 720px; }
.hero__title { font-size: clamp(3rem, 8vw, 6.25rem); line-height: 0.92; margin-bottom: 28px; }
.hero__lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, 0.82); max-width: 58ch; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.78); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .icon { color: var(--gold); }
@media (max-width: 720px) {
  .hero { min-height: 0; }
  .hero__media::after { background: linear-gradient(180deg, rgba(12, 12, 12, 0.78) 0%, rgba(12, 12, 12, 0.9) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Stats ---------- */
.stats { background: var(--ink-2); color: var(--white); border-top: 1px solid var(--line-dark); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 40px 32px; border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__value { font: var(--display-weight) clamp(3rem, 5.5vw, 4.5rem)/0.9 var(--font-display); color: var(--gold); font-variant-numeric: tabular-nums; }
.stat__label { font-size: 0.9375rem; color: var(--muted-dark); max-width: 22ch; }
@media (max-width: 860px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 28px 20px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
}

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--tight { padding-bottom: calc(var(--section-y) * 0.6); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--muted-dark); }

/* ---------- Service cards ---------- */
.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .service-cards { grid-template-columns: 1fr; max-width: 640px; } }
.service-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.service-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.service-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.service-card__link:hover .service-card__media img { transform: scale(1.04); }
.service-card__body { position: relative; display: flex; flex-direction: column; flex: 1; padding: 32px 28px 28px; border-top: 4px solid var(--gold); }
.service-card__num { font: var(--display-weight) 0.875rem/1 var(--font-display); letter-spacing: 0.12em; color: var(--gold-ink); margin-bottom: 10px; }
.service-card__title { font: var(--display-weight) 2rem/1 var(--font-display); text-transform: var(--display-case); color: var(--ink); margin-bottom: 14px; }
.service-card__body > p { color: var(--muted); }
.service-card .checklist { margin: 4px 0 28px; }
.service-card .text-link { margin-top: auto; align-self: flex-start; }

.checklist li { position: relative; padding: 7px 0 7px 30px; border-bottom: 1px solid var(--line); font-weight: 500; }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 18px; margin-top: -9px;
  background: var(--gold-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23866610' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
  border-radius: 50%;
}

/* ---------- Project types strip ---------- */
.project-types { background: var(--ink); color: var(--white); padding: 36px 0; }
.project-types__inner { display: flex; align-items: center; gap: 16px 48px; flex-wrap: wrap; }
.project-types__title { font: 600 0.8125rem/1.2 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); flex: none; }
.project-types__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; }
.project-types__list li { font: 600 clamp(1.375rem, 2.4vw, 1.875rem)/1.1 var(--font-display); text-transform: var(--display-case); letter-spacing: 0.02em; }
.project-types__list li + li::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 20px 0.25em; background: var(--gold); transform: rotate(45deg); vertical-align: middle; }
.project-types__more { color: var(--muted-dark); font-weight: 500 !important; text-transform: none !important; font-family: var(--font-body) !important; font-size: 1rem !important; font-style: italic; }
@media (max-width: 720px) {
  .project-types__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .project-types__list li::before, .project-types__list li + li::before {
    content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px 0.2em 0;
    background: var(--gold); transform: rotate(45deg); vertical-align: middle;
  }
  .project-types__list .project-types__more { grid-column: 1 / -1; }
  .project-types__list .project-types__more::before { display: none; }
}

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.why__intro .section-title { margin-bottom: 22px; }
.why__intro > p:not(.eyebrow) { color: var(--muted); font-size: 1.125rem; }
.why__photo { margin-top: 32px; border-radius: var(--radius); overflow: hidden; }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.why__item { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line); }
.why__item:nth-child(even) { padding: 32px 0 32px 28px; border-left: 1px solid var(--line); }
.why__num { display: block; font: var(--display-weight) 2.75rem/1 var(--font-display); color: var(--gold); margin-bottom: 14px; }
.why__item h3 { font: var(--display-weight) 1.5rem/1.1 var(--font-display); text-transform: var(--display-case); color: var(--ink); margin-bottom: 10px; }
.why__item p { color: var(--muted); font-size: 1rem; }
@media (max-width: 960px) {
  .why { grid-template-columns: 1fr; }
  .why__intro { position: static; }
}
@media (max-width: 600px) {
  .why__list { grid-template-columns: 1fr; }
  .why__item, .why__item:nth-child(even) { padding: 28px 0; border-left: 0; }
}

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 440px) 1fr; gap: clamp(40px, 7vw, 112px); align-items: center; }
.founder__photo { position: relative; }
.founder__photo img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.founder__photo::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border: 3px solid var(--gold); border-radius: var(--radius); z-index: -1; }
.founder { isolation: isolate; }
.founder__quote p {
  font: 500 clamp(1.625rem, 2.8vw, 2.25rem)/1.2 var(--font-display);
  color: var(--ink); margin-bottom: 28px; text-wrap: pretty;
}
.founder__cite { display: flex; flex-direction: column; color: var(--muted); margin-bottom: 32px; padding-left: 18px; border-left: 3px solid var(--gold); }
.founder__cite strong { color: var(--ink); font-size: 1.125rem; }
@media (max-width: 860px) {
  .founder { grid-template-columns: 1fr; }
  .founder__photo { max-width: 420px; margin-right: 24px; }
}

/* ---------- Gallery strip ---------- */
.gallery-strip {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 12px; scroll-padding: 0 var(--gutter);
  scrollbar-width: thin; scrollbar-color: var(--gold) transparent;
}
@media (min-width: 1280px) {
  .gallery-strip { padding-left: calc((100vw - var(--container)) / 2); scroll-padding-left: calc((100vw - var(--container)) / 2); }
}
.gallery-strip img { height: clamp(280px, 34vw, 420px); width: auto; flex: none; object-fit: cover; border-radius: var(--radius); scroll-snap-align: start; }

/* ---------- Careers band ---------- */
.careers-band {
  position: relative; background: var(--ink); color: var(--muted-dark); overflow: hidden;
  padding: var(--section-y) 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.careers-band__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.careers-band .section-title { margin-bottom: 20px; }
.careers-band__body > p:not(.eyebrow) { font-size: 1.125rem; max-width: 52ch; }
.careers-band__photo img { border-radius: var(--radius); aspect-ratio: 5 / 6; object-fit: cover; width: 100%; max-height: 560px; }
@media (max-width: 860px) {
  .careers-band__inner { grid-template-columns: 1fr; }
  .careers-band__photo { max-width: 420px; }
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 36px; }
.chips li { padding: 9px 16px; border: 1px solid rgba(201, 162, 39, 0.5); border-radius: 999px; color: var(--white); font-weight: 500; font-size: 0.9375rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold); color: var(--ink); padding: clamp(56px, 7vw, 88px) 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px 64px; flex-wrap: wrap; }
.cta-band__title { font: var(--display-weight) clamp(2rem, 3.8vw, 3rem)/1 var(--font-display); text-transform: var(--display-case); max-width: 24ch; text-wrap: balance; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-dark); padding-top: clamp(56px, 7vw, 88px); font-size: 0.9875rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.site-footer__brand img { width: 210px; margin-bottom: 20px; }
.site-footer__brand p { max-width: 36ch; }
.site-footer__heading { font: 600 0.8125rem/1.2 var(--font-body); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.site-footer__links li + li { margin-top: 10px; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--white); }
.site-footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.site-footer__contact li + li { margin-top: 14px; }
.site-footer__contact .icon { color: var(--gold); margin-top: 0.25em; }
.site-footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px;
  padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--line-dark); font-size: 0.875rem;
}
.site-footer__bottom ul { display: flex; gap: 24px; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Interior pages
   ========================================================================== */

.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: var(--white);
  padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 96px);
}
.page-hero__media { position: absolute; inset: 0; z-index: -1; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12, 12, 12, 0.95) 0%, rgba(12, 12, 12, 0.85) 45%, rgba(12, 12, 12, 0.55) 100%);
}
.page-hero__inner { max-width: 820px; }
.page-hero--plain {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.page-hero--center { text-align: center; padding: clamp(96px, 14vw, 180px) 0; }
.page-hero--center .page-hero__inner { margin: 0 auto; }
.page-hero--center .page-hero__lead { margin: 0 auto; }
.page-hero--center .page-hero__actions { justify-content: center; }
.page-hero__title { font-size: clamp(2.75rem, 6.5vw, 5rem); line-height: 0.94; margin-bottom: 22px; }
.page-hero__lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, 0.82); max-width: 60ch; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); }

/* Split: text + photo */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__body .section-title { margin-bottom: 22px; }
.split__body p:not(.eyebrow) { color: var(--muted); font-size: 1.125rem; }
.split__body .checklist { margin-top: 28px; }
.split__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media--tall img { aspect-ratio: 4 / 5; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* Tile grid (specialties, roles, surfaces) */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tile { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px; background: var(--white); min-height: 150px; transition: background-color 0.2s; }
.tile:hover { background: var(--paper); }
.tile__num { font: var(--display-weight) 0.875rem/1 var(--font-display); letter-spacing: 0.12em; color: var(--gold-ink); }
.tile__name { font: var(--display-weight) 1.5rem/1.05 var(--font-display); text-transform: var(--display-case); color: var(--ink); margin-top: auto; }
.tile--accent { background: var(--ink); }
.tile--accent:hover { background: var(--ink-3); }
.tile--accent .tile__name { color: var(--gold); }
.tile--accent .tile__num { color: var(--muted-dark); }

/* Feature cards (3-up on dark or light) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 36px 32px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.feature__num { display: block; font: var(--display-weight) 2.75rem/1 var(--font-display); color: var(--gold); margin-bottom: 18px; }
.feature h3 { font: var(--display-weight) 1.625rem/1.05 var(--font-display); text-transform: var(--display-case); color: var(--ink); margin-bottom: 12px; }
.feature p { color: var(--muted); }

/* Photo grid */
.photo-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(140px, 16vw, 220px); gap: 16px; }
.photo-grid figure { overflow: hidden; border-radius: var(--radius); background: var(--ink-3); }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.photo-grid figure:hover img { transform: scale(1.04); }
.pg-a { grid-column: span 7; grid-row: span 2; }
.pg-b { grid-column: span 5; grid-row: span 1; }
.pg-c { grid-column: span 5; grid-row: span 1; }
.pg-d { grid-column: span 4; grid-row: span 2; }
.pg-e { grid-column: span 4; grid-row: span 2; }
.pg-f { grid-column: span 4; grid-row: span 2; }
@media (max-width: 720px) {
  .photo-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .photo-grid figure { grid-column: span 1; grid-row: span 1; }
  .photo-grid .pg-a { grid-column: span 2; grid-row: span 2; }
}

/* Values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 3px solid var(--ink); }
.value { padding: 28px 28px 8px 0; }
.value + .value { padding-left: 28px; border-left: 1px solid var(--line); }
.value__num { font: var(--display-weight) 0.875rem/1 var(--font-display); letter-spacing: 0.12em; color: var(--gold-ink); }
.value h3 { font: var(--display-weight) 1.75rem/1.05 var(--font-display); text-transform: var(--display-case); color: var(--ink); margin: 14px 0 10px; }
.value p { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) {
  .values { grid-template-columns: 1fr 1fr; }
  .value:nth-child(3) { padding-left: 0; border-left: 0; }
  .value { padding-bottom: 28px; }
}
@media (max-width: 520px) {
  .values { grid-template-columns: 1fr; }
  .value, .value + .value { padding-left: 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* Big quote */
.pull-quote { max-width: 980px; }
.pull-quote p { font: 500 clamp(1.75rem, 3.6vw, 2.875rem)/1.15 var(--font-display); color: var(--white); text-wrap: pretty; }
.pull-quote::before { content: "\201C"; display: block; font: var(--display-weight) 7rem/0.6 var(--font-display); color: var(--gold); height: 0.55em; }
.pull-quote cite { display: block; margin-top: 28px; font-style: normal; color: var(--muted-dark); }
.pull-quote cite strong { color: var(--white); }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: minmax(0, 1fr); } }

.form-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(28px, 4vw, 48px); border-top: 4px solid var(--gold); }
.form-card__title { font: var(--display-weight) 2rem/1 var(--font-display); text-transform: var(--display-case); color: var(--ink); margin-bottom: 8px; }
.form-card__intro { color: var(--muted); margin-bottom: 32px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

.field label, .field legend { display: block; font-weight: 600; font-size: 0.9375rem; color: var(--ink); margin-bottom: 8px; }
.field .label-es { display: block; font-weight: 400; font-size: 0.8125rem; color: var(--muted); }
.field .req { color: #a3271f; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px;
  background: var(--white); border: 1.5px solid #cfc9bb; border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f0f0f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.35); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #a3271f; }
.field__error { display: none; margin-top: 6px; font-size: 0.875rem; color: #a3271f; }
.field.is-invalid .field__error { display: block; }

fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px;
  border: 1.5px solid #cfc9bb; border-radius: var(--radius); font-weight: 500; cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.choice input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--white); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }

.consent { display: flex; gap: 12px; align-items: flex-start; padding: 18px; background: var(--paper); border-radius: var(--radius); font-size: 0.875rem; color: var(--muted); line-height: 1.55; }
.consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--ink); }
.consent a { color: var(--ink); font-weight: 600; }

.form-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.form-actions .btn { white-space: normal; text-align: center; }
.form-note { font-size: 0.875rem; color: var(--muted); margin: 0; }
.apply-list__head { font-weight: 600; margin-bottom: 4px; }
.apply-list { margin-bottom: 28px; }
.apply-list .label-es { display: block; font-weight: 400; font-size: 0.8125rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

.form-success { display: none; text-align: center; padding: 32px 8px; }
.form-success__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--ink); margin-bottom: 20px; }
.form-success__icon .icon { width: 30px; height: 30px; stroke-width: 2.5; }
.form-success h3 { font: var(--display-weight) 2rem/1 var(--font-display); text-transform: var(--display-case); color: var(--ink); margin-bottom: 10px; }
.form-success p { color: var(--muted); }
form.is-sent { display: none; }
form.is-sent + .form-success { display: block; }

/* Contact sidebar */
.contact-card { background: var(--ink); color: var(--muted-dark); border-radius: var(--radius); padding: clamp(28px, 4vw, 40px); }
.contact-card h2 { font: var(--display-weight) 1.75rem/1 var(--font-display); text-transform: var(--display-case); color: var(--white); margin-bottom: 24px; }
.contact-card__list li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line-dark); }
.contact-card__list .icon { color: var(--gold); width: 22px; height: 22px; margin-top: 2px; }
.contact-card__list strong { display: block; color: var(--white); font-weight: 600; margin-bottom: 2px; }
.contact-card__list a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(201, 162, 39, 0.6); overflow-wrap: anywhere; }
.contact-card__list a:hover { border-bottom-color: var(--gold); }
.side-stack { display: grid; gap: 24px; position: sticky; top: calc(var(--header-h) + 24px); }
.side-photo img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 960px) { .side-stack { position: static; } }

/* Legal / prose */
.prose { max-width: 760px; }
.prose h2 { font: var(--display-weight) 1.75rem/1.1 var(--font-display); text-transform: var(--display-case); color: var(--ink); margin: 48px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #3b3935; }
.prose ul { list-style: disc; padding-left: 1.4em; margin: 0 0 1em; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--gold-ink); font-weight: 600; overflow-wrap: anywhere; }
.prose .meta { color: var(--muted); font-size: 0.9375rem; }

/* ---------- Very small phones ---------- */
@media (max-width: 359px) {
  .hero__title { font-size: 2.5rem; }
  .page-hero__title { font-size: 2.125rem; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
