/* ==========================================================================
   Acara Design Studios — public site
   Colour and type tokens are injected per-site from the control panel, so a
   palette change is a settings edit rather than a CSS edit.
   ========================================================================== */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-deep); }
input, select, textarea, button { font: inherit; color: inherit; }
::selection { background: var(--select); }

h1, h2, h3, h4, h5 { font-family: var(--font-display); margin: 0; line-height: 1.1; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--blue); color: var(--page); padding: 12px 20px; font-weight: 600; }
.skip-link:focus { left: 0; }

.preview-bar { background: #B45309; color: #fff; text-align: center; padding: 8px 16px; font-size: 13px; font-weight: 600; }
.preview-bar a { color: #fff; text-decoration: underline; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes stackIn { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------------ bands */

.sec { position: relative; }
.sec-inner { position: relative; margin: 0 auto; width: 100%; padding-left: clamp(20px, 5vw, 48px); padding-right: clamp(20px, 5vw, 48px); }
.sec-w-narrow { max-width: 840px; }
.sec-w-normal { max-width: 1140px; }
.sec-w-wide   { max-width: 1360px; }
.sec-w-full   { max-width: none; padding-left: 0; padding-right: 0; }

.sec-pt-none { padding-top: 0 }
.sec-pt-xs { padding-top: clamp(18px, 2vw, 28px) }
.sec-pt-sm { padding-top: clamp(28px, 4vw, 48px) }
.sec-pt-md { padding-top: clamp(40px, 6vw, 72px) }
.sec-pt-lg { padding-top: clamp(64px, 9vw, 110px) }
.sec-pt-xl { padding-top: clamp(80px, 12vw, 150px) }
.sec-pb-none { padding-bottom: 0 }
.sec-pb-xs { padding-bottom: clamp(18px, 2vw, 28px) }
.sec-pb-sm { padding-bottom: clamp(28px, 4vw, 48px) }
.sec-pb-md { padding-bottom: clamp(40px, 6vw, 72px) }
.sec-pb-lg { padding-bottom: clamp(64px, 9vw, 110px) }
.sec-pb-xl { padding-bottom: clamp(80px, 12vw, 150px) }

.sec-bg-page     { background: var(--page); }
.sec-bg-white    { background: #FFFFFF; }
.sec-bg-tint     { background: var(--tint); }
.sec-bg-ink      { background: var(--band-dark); color: var(--page); }
.sec-bg-midnight { background: var(--footer-bg); color: var(--page); }
.sec-bg-none     { background: transparent; }

.sec-rule-top    { border-top: 1px solid var(--hairline); }
.sec-rule-bottom { border-bottom: 1px solid var(--hairline); }
.sec-rule-both   { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }

.sec-bg-ink h1, .sec-bg-ink h2, .sec-bg-ink h3,
.sec-bg-midnight h1, .sec-bg-midnight h2, .sec-bg-midnight h3 { color: var(--page); }
.sec-bg-ink a, .sec-bg-midnight a { color: var(--blue-pale); }

.js-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js-reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------- typography */

.kicker {
  margin: 0 0 4px; font-family: var(--font-mono); font-size: 13px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--blue-mid);
}
.kicker--light { color: var(--blue-pale); }
.kicker--centered { text-align: center; }

.band-title { font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.7rem); color: var(--blue); text-wrap: pretty; }
.band-title--lg { font-size: clamp(2.2rem, 4.6vw, 3.2rem); }
.band-intro { margin: 0; font-size: 17px; line-height: 1.6; color: var(--body-text); text-wrap: pretty; }
.sec-bg-ink .band-intro, .sec-bg-midnight .band-intro { color: var(--body-light); }

.band-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(32px, 5vw, 48px); flex-wrap: wrap; }
.band-head-copy { display: flex; flex-direction: column; gap: 14px; max-width: 62ch; }
.band-head--center { justify-content: center; text-align: center; }
.band-head--center .band-head-copy { margin: 0 auto; }

.prose { font-size: 17px; line-height: 1.65; color: var(--body-text); }
.prose--centered { text-align: center; max-width: 68ch; margin: 0 auto; }
.sec-bg-ink .prose, .sec-bg-midnight .prose { color: var(--body-light); }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 1.6em 0 .5em; color: var(--blue); }
.prose h3 { font-size: 1.35rem; margin: 1.5em 0 .4em; }
.prose h4 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--blue-soft); font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15px; }
.prose th, .prose td { padding: 12px 14px; border-bottom: 1px solid var(--hairline); text-align: left; }
.prose th { background: var(--tint); font-weight: 600; }
.prose img { border-radius: 12px; margin: 1.4em 0; }
.prose a { text-underline-offset: 3px; }

/* ---------------------------------------------------------------- buttons */

.btn-primary {
  background: var(--blue); color: var(--page); text-decoration: none; font-weight: 600;
  border-radius: 999px; display: inline-block; padding: 14px 28px; font-size: 16px;
  border: none; cursor: pointer; transition: background .15s ease;
}
.btn-primary:hover { background: var(--blue-deep); color: var(--page); }
.btn-primary--sm { font-size: 15px; padding: 9px 18px; }

.link-underline {
  color: var(--ink); text-decoration: underline; text-underline-offset: 4px;
  font-weight: 600; font-size: 16px; transition: color .15s ease;
}
.link-underline:hover { color: var(--blue); }
.sec-bg-ink .link-underline, .sec-bg-midnight .link-underline { color: var(--page); }

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

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--page) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--hairline);
}
.header-inner {
  max-width: 1140px; margin: 0 auto; padding: 14px clamp(20px, 5vw, 48px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: var(--logo-height, 72px); width: auto; }
.brand-wordmark { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--blue); letter-spacing: -.02em; }
.brand-wordmark small { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-mid); font-weight: 400; margin-top: 2px; }

.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 26px); flex-wrap: wrap; }
.nav-list { display: flex; align-items: center; gap: clamp(14px, 2.5vw, 26px); list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-item { position: relative; }
.nav-item > a { color: var(--ink); text-decoration: none; font-size: 15px; transition: color .15s ease; }
.nav-item > a:hover, .nav-item.is-active > a { color: var(--blue); }

.nav-sub {
  position: absolute; top: calc(100% + 10px); left: -14px; min-width: 210px; list-style: none; margin: 0;
  background: #fff; border: 1px solid var(--hairline); border-radius: 12px; padding: 8px;
  box-shadow: 0 24px 48px -26px rgba(27,35,51,.45);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-item.has-children:hover .nav-sub, .nav-item.has-children:focus-within .nav-sub { opacity: 1; visibility: visible; transform: none; }
.nav-sub a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--ink); text-decoration: none; }
.nav-sub a:hover { background: var(--tint); color: var(--blue); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav { display: none; padding: 8px clamp(20px, 5vw, 48px) 22px; border-top: 1px solid var(--hairline); }
.mobile-nav .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
.mobile-nav .nav-item > a { display: block; padding: 13px 0; border-bottom: 1px solid var(--hairline); }
.mobile-nav .nav-sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 8px 14px; }
.mobile-nav-actions { margin-top: 16px; }

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

.hero-stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(36px, 6vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; animation: fadeUp .7s cubic-bezier(.2,.7,.2,1) .1s backwards; }
.hero-title { font-weight: 700; font-size: clamp(2.5rem, 5.8vw, 4.1rem); line-height: 1.04; letter-spacing: -.025em; color: var(--blue); text-wrap: pretty; }
.hero-intro { margin: 0; font-size: 18px; line-height: 1.6; color: var(--body-text); max-width: 50ch; text-wrap: pretty; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-actions .link-underline { padding: 14px 6px; }
.hero-footnote { margin: 0; font-family: var(--font-mono); font-size: 13px; color: var(--body-text); }

.card-stack { position: relative; min-height: 470px; width: 100%; max-width: 480px; justify-self: center; }
.card-stack-thread { position: absolute; left: 50%; top: 6px; bottom: 150px; width: 2px; background: repeating-linear-gradient(to bottom, var(--thread) 0 6px, transparent 6px 12px); }
.stack-card { position: absolute; left: 50%; width: min(370px, 94%); }
.stack-card--1 { top: 0;    transform: translateX(-50%) rotate(-2.2deg); }
.stack-card--2 { top: 152px; transform: translateX(-50%) rotate(1.6deg); }
.stack-card--3 { top: 304px; transform: translateX(-50%) rotate(-1deg); }
.stack-card--4 { top: 456px; transform: translateX(-50%) rotate(1.2deg); }
.stack-card-inner {
  background: #FFFFFF; border: 1px solid var(--card-line); border-radius: 16px; padding: 20px 22px;
  box-shadow: 0 24px 48px -26px rgba(27,35,51,.45); display: flex; flex-direction: column; gap: 6px;
  animation: stackIn .7s cubic-bezier(.2,.7,.2,1) backwards;
}
.stack-card--1 .stack-card-inner { animation-delay: .45s; }
.stack-card--2 .stack-card-inner { animation-delay: .6s; }
.stack-card--3 .stack-card-inner { animation-delay: .75s; }
.stack-card--4 .stack-card-inner { animation-delay: .9s; }
.stack-card-kicker { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--body-text); }
.stack-swatch { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.stack-card-title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -.01em; }
.stack-card-meta { margin: 0; font-size: 14px; color: var(--body-text); }
.card-stack-caption {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; margin: 0; white-space: nowrap;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--body-text);
  animation: fadeUp .7s ease .95s backwards;
}
.card-stack--4 { min-height: 620px; }

/* ----------------------------------------------------------- page banner */

.page-banner { display: flex; flex-direction: column; gap: 14px; max-width: 62ch; }
.page-banner--center { text-align: center; max-width: 68ch; margin: 0 auto; align-items: center; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-mid); }
.breadcrumbs a { color: var(--blue-mid); text-decoration: none; }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs span + span::before { content: '/'; margin-right: 8px; opacity: .5; }

/* ---------------------------------------------------------- service cards */

.svc-grid { display: grid; gap: 20px; }
.svc-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.svc-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.svc-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.svc-card {
  background: var(--tint); border: 1px solid var(--card-line); border-top: 4px solid var(--accent, var(--blue));
  border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 12px;
  text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease;
}
a.svc-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -28px rgba(27,35,51,.5); }
.svc-media { margin: -26px -26px 4px; border-radius: 12px 12px 0 0; overflow: hidden; height: 180px; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-kicker { margin: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--body-text); }
.svc-title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 24px; letter-spacing: -.01em; }
.svc-desc { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body-text); text-wrap: pretty; }
.svc-goodfor { margin: auto 0 0; font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7; color: var(--blue-mid); }

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

.work-list { display: flex; flex-direction: column; gap: 28px; }
.work-card {
  background: #FFFFFF; border: 1px solid var(--card-line); border-radius: 18px;
  padding: clamp(20px, 3vw, 32px); display: grid; gap: clamp(20px, 3vw, 36px); align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.work-list--stacked { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.work-list--stacked .work-card { grid-template-columns: 1fr; }
.work-media { position: relative; width: 100%; min-height: 260px; height: 100%; border-radius: 12px; overflow: hidden; }
.work-media img { width: 100%; height: 100%; object-fit: cover; min-height: 260px; }
.work-placeholder {
  position: absolute; inset: 0; border-radius: 12px;
  background: linear-gradient(135deg, #EEF2F7, #E1E8F1); border: 1px dashed var(--placeholder-line);
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--placeholder-text);
}
.work-body { display: flex; flex-direction: column; gap: 14px; }
.work-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.work-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -.01em; }
.work-title a { color: inherit; text-decoration: none; }
.work-title a:hover { color: var(--blue); }
.work-tag {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: .1em; color: var(--body-text); border: 1px solid var(--tag-line); border-radius: 999px; padding: 4px 11px;
}
.work-tag-dot { width: 9px; height: 9px; border-radius: 2px; }
.work-part { display: flex; flex-direction: column; gap: 4px; }
.work-part-label { margin: 0; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; color: var(--blue-mid); }
.work-part-text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--body-text); }

/* ------------------------------------------------------------------ steps */

.step-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.step-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.step-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.step-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.step { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--step-line); padding-top: 18px; }
.step-number { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--blue); line-height: 1; }
.step-title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.step-desc { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body-text); text-wrap: pretty; }
.sec-bg-ink .step-desc, .sec-bg-midnight .step-desc { color: var(--body-light); }
.sec-bg-ink .step, .sec-bg-midnight .step { border-top-color: rgba(250,251,252,.24); }
.sec-bg-ink .step-number, .sec-bg-midnight .step-number { color: var(--blue-pale); }

/* ------------------------------------------------------------ point list */

.statement { font-weight: 700; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.12; max-width: 24ch; text-wrap: pretty; margin: 0 0 clamp(28px, 4vw, 40px); }
.point-grid { display: grid; gap: 24px; }
.point-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.point-grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.point-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.point { display: flex; flex-direction: column; gap: 8px; border-left: 3px solid var(--rule, var(--blue-soft)); padding-left: 16px; }
.point-title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.point-desc { margin: 0; font-size: 15px; line-height: 1.6; color: var(--body-text); text-wrap: pretty; }
.sec-bg-ink .point-desc, .sec-bg-midnight .point-desc { color: var(--body-light); }

/* ------------------------------------------------------------- quote card */

.quote-wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.quote-wrap--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: stretch; }
.quote-card {
  margin: 0; border-radius: 18px; padding: clamp(24px, 4vw, 40px);
  display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; width: 100%;
}
.quote-card--dashed { border: 1.5px dashed var(--quote-dash); }
.quote-card--solid { border: 1px solid var(--card-line); background: #FFFFFF; }
.quote-card--plain { padding-left: 0; padding-right: 0; }
.quote-text {
  margin: 0; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.4; letter-spacing: -.01em;
  color: var(--body-text); text-wrap: pretty;
}
.quote-by { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13px; color: var(--body-text); }
.quote-photo { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.quote-stars { display: flex; gap: 4px; color: var(--blue); font-size: 13px; }

.pull-quote { margin: 0; max-width: 780px; margin-inline: auto; text-align: center; }
.pull-quote-text { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.35; letter-spacing: -.01em; }
.pull-quote-by { margin-top: 18px; font-family: var(--font-mono); font-size: 13px; color: var(--body-text); }

/* ------------------------------------------------------------------ forms */

.quote-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(32px, 5vw, 64px); align-items: start; }
.quote-layout--left .form-panel { order: -1; }
.quote-layout--only { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
.quote-pitch { display: flex; flex-direction: column; gap: 16px; }
.quote-email { margin: 0; font-size: 15px; color: var(--body-text); }

.form-panel { background: var(--tint); border: 1px solid var(--card-line); border-radius: 18px; padding: clamp(22px, 3vw, 32px); }
.form-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.form-field { grid-column: span 6; display: flex; flex-direction: column; gap: 6px; }
.form-field.w-half { grid-column: span 3; }
.form-field.w-third { grid-column: span 2; }
.form-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--body-text); }
.form-label .req { color: #C0392B; }
.form-control {
  width: 100%; background: #FFFFFF; border: 1.5px solid var(--input-line); border-radius: 10px;
  padding: 12px 14px; font-size: 16px; color: var(--ink);
}
.form-control:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
textarea.form-control { min-height: 130px; resize: vertical; font-family: inherit; }
select.form-control { appearance: auto; }
.form-help { margin: 0; font-family: var(--font-mono); font-size: 12px; line-height: 1.6; color: var(--body-text); }
.form-error { margin: 0; font-size: 12.5px; color: #C0392B; font-weight: 500; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.form-check input { margin-top: 4px; }
.form-heading { grid-column: span 6; margin: 10px 0 0; font-family: var(--font-display); font-size: 19px; }
.form-actions { grid-column: span 6; display: flex; flex-direction: column; gap: 12px; }
.form-hp { position: absolute; left: -9999px; top: -9999px; }

.alert { padding: 16px 18px; border-radius: 12px; font-size: 14.5px; margin-bottom: 18px; }
.alert-success { background: var(--tint); border: 1.5px solid var(--blue); color: var(--ink); }
.alert-error { background: #FDEDED; border: 1.5px solid #C0392B; color: #7A241C; }

.quote-sent { background: var(--tint); border: 1.5px solid var(--blue); border-radius: 18px; padding: clamp(28px, 4vw, 40px); display: flex; flex-direction: column; gap: 12px; }
.quote-sent-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.quote-sent-body { margin: 0; font-size: 16px; line-height: 1.6; color: var(--body-text); }
.quote-sent-note { margin: 0; font-family: var(--font-mono); font-size: 13px; color: var(--blue-mid); }

/* ------------------------------------------------------------------ misc */

.stat-row { display: grid; gap: 24px; text-align: center; }
.stat-row.cols-2 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.stat-row.cols-3 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat-row.cols-4 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat-value { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: var(--blue); }
.stat-suffix { font-size: .5em; }
.stat-label { margin: 10px 0 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--body-text); }

.cta-banner { display: flex; flex-direction: column; gap: 18px; }
.cta-banner--center { text-align: center; align-items: center; max-width: 780px; margin: 0 auto; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.cta-banner--center .cta-actions { justify-content: center; }

.cta-strip { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-strip-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 26px; }
.cta-strip-sub { margin: 6px 0 0; font-size: 15px; color: var(--body-text); }

.two-col { display: grid; gap: 48px; }
.two-col.ratio-1-1 { grid-template-columns: 1fr 1fr; }
.two-col.ratio-2-1 { grid-template-columns: 2fr 1fr; }
.two-col.ratio-1-2 { grid-template-columns: 1fr 2fr; }
.two-col.ratio-3-2 { grid-template-columns: 3fr 2fr; }

.accordion { display: grid; gap: 12px; }
.accordion--split { grid-template-columns: 360px 1fr; gap: 48px; align-items: start; }
.accordion-list { display: grid; gap: 12px; }
.accordion-item { border: 1px solid var(--card-line); border-radius: 14px; background: #FFFFFF; overflow: hidden; }
.accordion-trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 24px; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink);
}
.accordion-trigger i { color: var(--blue); font-size: 13px; transition: transform .25s ease; flex: none; }
.accordion-item.is-open .accordion-trigger i { transform: rotate(45deg); }
.accordion-panel { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
.accordion-item.is-open .accordion-panel { padding: 0 24px 22px; max-height: 1200px; }

.gallery { display: grid; gap: 16px; }
.gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.gallery.layout-masonry { display: block; column-count: 3; column-gap: 16px; }
.gallery.layout-masonry .gallery-figure { break-inside: avoid; margin-bottom: 16px; }
.gallery-figure { margin: 0; border-radius: 12px; overflow: hidden; background: var(--tint); }
.gallery-figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; cursor: zoom-in; transition: transform .4s ease; }
.gallery.layout-masonry img { aspect-ratio: auto; }
.gallery-figure:hover img { transform: scale(1.04); }

.lightbox { position: fixed; inset: 0; background: rgba(17,28,48,.94); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 40px; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.lightbox-close { position: absolute; top: 24px; right: 28px; background: none; border: 0; color: #fff; font-size: 32px; cursor: pointer; line-height: 1; }

.video-frame { position: relative; border-radius: 14px; overflow: hidden; background: #000; aspect-ratio: 16/9; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-poster { position: absolute; inset: 0; cursor: pointer; }
.video-poster img { width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; background: var(--blue); color: #fff; border: 0; font-size: 22px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.video-caption { margin-top: 14px; font-size: 14px; color: var(--body-text); text-align: center; }

.divider-line { background: var(--hairline); }
.divider-dotted { height: 2px; background: repeating-linear-gradient(to right, var(--thread) 0 6px, transparent 6px 12px); }

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

.site-footer { background: var(--footer-bg); color: var(--page); }
.footer-inner { max-width: 1140px; margin: 0 auto; padding: clamp(40px, 6vw, 64px) clamp(20px, 5vw, 48px); display: flex; flex-direction: column; gap: 28px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; max-width: 34ch; }
.footer-brand img { height: var(--footer-logo-height, 80px); width: auto; align-self: flex-start; }
.footer-wordmark { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--page); }
.footer-about { margin: 0; font-size: 14px; line-height: 1.6; color: var(--footer-muted); }
.footer-columns { display: flex; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap; }
.footer-column { display: flex; flex-direction: column; gap: 8px; }
.footer-column h5 { margin: 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-pale); font-weight: 400; }
.footer-column ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-link { color: var(--page); text-decoration: none; font-size: 15px; transition: color .15s ease; }
.footer-link:hover { color: var(--blue-pale); }
.footer-bottom { margin: 0; padding-top: 20px; border-top: 1px solid rgba(250,251,252,.15); font-family: var(--font-mono); font-size: 12px; color: var(--footer-muted); }

/* ------------------------------------------------------ standalone pages */

.plain-page { max-width: 780px; margin: 0 auto; padding: clamp(64px, 10vw, 130px) clamp(20px, 5vw, 48px); text-align: center; }
.plain-page h1 { font-size: clamp(3rem, 8vw, 5rem); color: var(--blue); margin-bottom: 12px; }
.plain-page p { color: var(--body-text); font-size: 18px; }
.plain-page .btn-primary { margin-top: 26px; }

.tpl-sidebar-inner { max-width: 1140px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); display: grid; grid-template-columns: 240px 1fr; gap: 48px; }
.page-side-nav { position: sticky; top: 110px; padding-top: 48px; }
.page-side-nav h4 { margin: 0 0 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-mid); font-weight: 400; }
.page-side-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.page-side-nav a { display: block; padding: 9px 14px; border-radius: 8px; font-size: 15px; color: var(--body-text); text-decoration: none; }
.page-side-nav a:hover { background: var(--tint); color: var(--blue); }
.page-side-nav a.is-active { background: var(--blue); color: var(--page); }
.tpl-sidebar-body .sec-inner { padding-left: 0; padding-right: 0; }

.search-result { padding: 24px 0; border-bottom: 1px solid var(--hairline); }
.search-result h3 { font-size: 21px; margin: 0 0 6px; }
.search-result h3 a { color: var(--ink); text-decoration: none; }
.search-result h3 a:hover { color: var(--blue); }
.search-result p { margin: 0; font-size: 15px; color: var(--body-text); }
.search-result .path { font-family: var(--font-mono); font-size: 12px; color: var(--blue-mid); letter-spacing: .06em; }

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

@media (max-width: 1024px) {
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }
  .mobile-nav[hidden] { display: none; }
  .accordion--split, .two-col { grid-template-columns: 1fr !important; gap: 32px; }
  .tpl-sidebar-inner { grid-template-columns: 1fr; }
  .page-side-nav { position: static; padding-top: 32px; }
  .gallery.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .card-stack { min-height: 430px; max-width: 100%; }
  .stack-card { width: min(340px, 100%); }
  .work-media { min-height: 200px; }
  .work-media img { min-height: 200px; }
  .gallery { grid-template-columns: 1fr !important; }
  .gallery.layout-masonry { column-count: 1; }
  .form-field.w-half, .form-field.w-third { grid-column: span 6; }
  .band-head { align-items: flex-start; }
  .sec-hide-mobile { display: none; }
  .cta-strip { align-items: flex-start; }
}

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

/* Motion master switch, driven from Settings. */
body.motion-off *, body.motion-off *::before, body.motion-off *::after { animation: none !important; transition: none !important; }
body.motion-off .js-reveal { opacity: 1; transform: none; }

@media print {
  .site-header, .site-footer, .preview-bar, .btn-primary { display: none !important; }
  .sec { padding: 12px 0 !important; background: #fff !important; color: #000 !important; }
}
