/* =====================================================
   Karolina Jakubowicz, editorial portfolio
   Palette: warm ivory base, charcoal ink, azulejo blue
   Type: EB Garamond (display) + Jost (interface)
   ===================================================== */

:root {
  --bg: #FAF8F3;
  --bg-panel: #F2EDE3;
  --bg-deep: #23211D;
  --ink: #26231E;
  --ink-soft: #57524A;
  --muted: #6F6A5E;
  --line: #E3DCCE;
  --accent: #37517A;
  --accent-dark: #2A3F60;
  --accent-on-dark: #9FB3D3;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura PT", "Century Gothic", Verdana, sans-serif;
  --max: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  --section-gap: clamp(5rem, 10vw, 10.5rem);
  --track-label: 0.16em;
  --track-kicker: 0.24em;
  --fs-caption: 0.78rem;
  --fs-h3: 1.45rem;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

[id] { scroll-margin-top: 4.5rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 0.6em;
  letter-spacing: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent);
  transition: text-decoration-color 0.2s, color 0.2s;
}
a:hover { color: var(--accent); }

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

::selection { background: var(--accent); color: var(--bg); }

.skip-link {
  position: absolute;
  left: 1rem; top: -3.5rem;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 0.55rem 1rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

.kicker {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: var(--track-kicker);
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.1rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.83rem;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  border: 1px solid var(--ink);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}

.btn-primary {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.22rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }

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

.site-nav a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }

.site-nav .nav-cta {
  border: 1px solid var(--ink);
  padding: 0.55rem 1.15rem;
  color: var(--ink);
}
.site-nav .nav-cta:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--bg); border-bottom-color: transparent; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: none;
  padding: 0.4rem 0.2rem;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--ink);
}
.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 5px; }
.nav-toggle-bars span {
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero { padding: clamp(3.5rem, 8vw, 7rem) 0 0; }

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.8vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 0.5em;
}
.hero h1 em { font-style: italic; font-weight: 400; }

.hero-lede {
  font-size: 1.13rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.hero-meta {
  font-size: 0.82rem;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
}

.hero-figure {
  position: relative;
  margin: 0;
}
.hero-figure::before {
  content: "";
  position: absolute;
  inset: 1.4rem -1.4rem -1.4rem 1.4rem;
  border: 1px solid var(--line);
  z-index: -1;
}
.hero-figure img { width: 100%; }

/* ---------- Credibility line ---------- */

.cred {
  max-width: var(--max);
  margin: var(--section-gap) auto 0;
  padding: clamp(2rem, 4vw, 3rem) var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}

.cred-line {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  margin-bottom: 0.55rem;
}
.cred-line em { font-style: italic; }

.cred-places {
  font-size: 0.8rem;
  letter-spacing: var(--track-kicker);
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}

/* ---------- Sections ---------- */

.section-head {
  max-width: var(--max);
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  padding: 0 var(--gutter);
}

.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); }

.section-lede {
  color: var(--ink-soft);
  max-width: 40em;
  margin-bottom: 0;
}

/* ---------- Work ---------- */

.work { padding-top: var(--section-gap); }

.work-group {
  max-width: var(--max);
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  padding: 0 var(--gutter);
}
.work-group:last-of-type { margin-bottom: 0; }

.work-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.9rem, 2vw, 1.5rem);
  counter-reset: plate;
}

.work-item figure { margin: 0; }

.work-item.span-wide { grid-column: span 2; }

.work-item picture { display: block; height: 100%; overflow: hidden; }

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.work-item.span-wide img { aspect-ratio: 3 / 2; }
.work-item:hover img { transform: scale(1.025); }

.work-item figcaption {
  font-size: var(--fs-caption);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.7rem;
}
.work-item figcaption::before {
  counter-increment: plate;
  content: counter(plate, decimal-leading-zero) "\2002";
  color: var(--accent);
  letter-spacing: 0.08em;
}

.work-cta {
  max-width: var(--max);
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: 0 var(--gutter);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
}

/* ---------- Quote band ---------- */

.quote-band {
  position: relative;
  margin-top: var(--section-gap);
  min-height: clamp(20rem, 55vh, 30rem);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.quote-band picture,
.quote-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.quote-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 26, 20, 0.45);
}
.quote-band blockquote {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: clamp(3rem, 8vw, 5rem) var(--gutter) calc(clamp(3rem, 8vw, 5rem) + 4.5rem);
  max-width: 46rem;
  text-align: center;
}
.quote-band blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.3;
  color: #FAF8F3;
  margin: 0 0 1rem;
  text-wrap: balance;
}
.quote-band cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: var(--track-kicker);
  text-transform: uppercase;
  color: rgba(250, 248, 243, 0.8);
}

/* ---------- Services ---------- */

.services {
  margin-top: var(--section-gap);
  padding: var(--section-gap) 0;
  background: var(--bg-panel);
}

.service-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.service-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--accent);
  font-feature-settings: "onum" 1, "pnum" 1;
  margin-bottom: 0.9rem;
}

.service-card h3 { font-size: var(--fs-h3); }

.service-card > p:first-of-type { color: var(--ink-soft); }

.service-card ul {
  list-style: none;
  margin: 0.4rem 0 1.2rem;
  padding: 0;
}
.service-card li {
  position: relative;
  padding: 0.34rem 0 0.34rem 1.4rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.97rem;
  font-weight: 400;
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.95rem;
  width: 0.55rem;
  height: 1px;
  background: var(--accent);
}

.service-terms {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.service-fit {
  margin-top: auto;
  font-family: var(--serif);
  font-style: italic;
  color: var(--muted);
  font-size: 1rem;
}

/* Featured middle card: dark, elevated */
.service-card-featured {
  background: var(--bg-deep);
  border-color: var(--bg-deep);
  color: #EFEBE2;
}
.service-card-featured:hover { border-color: var(--accent-on-dark); }
.service-card-featured .service-num { color: var(--accent-on-dark); }
.service-card-featured h3 { color: #FAF8F3; }
.service-card-featured > p:first-of-type { color: #C9C2B4; }
.service-card-featured li { border-bottom-color: rgba(239, 235, 226, 0.18); }
.service-card-featured li::before { background: var(--accent-on-dark); }
.service-card-featured .service-terms { color: #A79F90; }
.service-card-featured .service-fit { color: #A79F90; }

.licensing {
  max-width: var(--max);
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: clamp(1.6rem, 3vw, 2.2rem) var(--gutter) 0;
  border-top: 1px solid var(--line);
}
.licensing h3 {
  font-size: 1.25rem;
  margin-bottom: 1em;
}
.licensing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.licensing-item h4 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}
.licensing-item p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
}

.services-cta {
  max-width: var(--max);
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  padding: clamp(1.8rem, 3.5vw, 2.6rem) var(--gutter);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.services-cta-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  margin: 0;
  max-width: 32em;
}

/* ---------- Reels (dark, cinematic) ---------- */

.reels {
  margin-top: var(--section-gap);
  padding: var(--section-gap) 0;
  background: var(--bg-deep);
  color: #EFEBE2;
}
.reels :focus-visible { outline-color: #EFEBE2; }
.reels .kicker { color: #A79F90; }
.reels h2 { color: #FAF8F3; }
.reels .section-lede { color: #C9C2B4; }
.reels .section-lede a { color: #EFEBE2; text-decoration-color: var(--accent-on-dark); }
.reels .section-lede a:hover { color: var(--accent-on-dark); }
.reels .btn-ghost { color: #EFEBE2; border-color: rgba(239, 235, 226, 0.5); }
.reels .btn-ghost:hover { color: var(--bg-deep); background: #EFEBE2; border-color: #EFEBE2; }

.reel-nav {
  max-width: var(--max);
  margin: 0 auto 1.4rem;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
}

.reel-arrow {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(239, 235, 226, 0.4);
  border-radius: 50%;
  color: #EFEBE2;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, opacity 0.25s;
}
.reel-arrow:hover { border-color: #EFEBE2; }
.reel-arrow[disabled] { opacity: 0.3; cursor: default; }
.reel-arrow[disabled]:hover { border-color: rgba(239, 235, 226, 0.4); }

.reel-row {
  --reel-gap: clamp(0.8rem, 1.6vw, 1.2rem);
  list-style: none;
  margin: 0 auto;
  padding: 0 var(--gutter);
  max-width: var(--max);
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--reel-gap)) / 2.6);
  gap: var(--reel-gap);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.reel-row::-webkit-scrollbar { display: none; }

.reel-card { scroll-snap-align: start; }

/* brick offset: the second line rides slightly ahead of the first */
.reel-card:nth-child(even) > a,
.reel-card:nth-child(even) > .reel-clip {
  transform: translateX(calc(30% + var(--reel-gap) / 2));
}

.reel-card a,
.reel-clip {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  text-decoration: none;
  background: rgba(250, 248, 243, 0.06);
}

.reel-card img,
.reel-card video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  opacity: 0.96;
  transition: transform 0.5s ease, opacity 0.4s;
}
.reel-card a:hover img,
.reel-card a:focus-visible img { transform: scale(1.04); opacity: 1; }

.reel-card a::after,
.reel-clip::after {
  content: "";
  position: absolute;
  inset: 55% 0 0 0;
  background: linear-gradient(to top, rgba(20, 18, 15, 0.72), transparent);
  pointer-events: none;
}


.reel-caption {
  position: absolute;
  left: 1rem;
  bottom: 0.95rem;
  right: 1rem;
  z-index: 1;
  color: #fff;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  font-feature-settings: "onum" 1, "pnum" 1;
}

.reels-more {
  max-width: var(--max);
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  padding: 0 var(--gutter);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: #C9C2B4;
}
.reels-more a { color: #EFEBE2; text-decoration-color: var(--accent-on-dark); }
.reels-more a:hover { color: var(--accent-on-dark); }

/* ---------- Process ---------- */

.process {
  max-width: var(--max);
  margin: var(--section-gap) auto 0;
  padding: 0 var(--gutter);
}

.process-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.process-head h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 0; }

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.process-steps li {
  position: relative;
  padding: 0.4rem clamp(1.2rem, 3vw, 2.5rem) 0.6rem 0;
}
.process-steps li + li { padding-left: clamp(1.2rem, 3vw, 2.5rem); border-left: 1px solid var(--line); }

.step-icon {
  display: block;
  width: clamp(52px, 5.5vw, 66px);
  height: auto;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.step-no {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95em;
  color: var(--accent);
  margin-right: 0.25rem;
  font-feature-settings: "onum" 1, "pnum" 1;
}

.process-steps h3 { font-size: 1.3rem; margin-bottom: 0.35em; }
.process-steps p { font-size: 0.98rem; color: var(--ink-soft); margin: 0; }

/* ---------- About ---------- */

.about {
  margin-top: var(--section-gap);
  padding: var(--section-gap) 0;
  background: var(--bg-panel);
}

.about-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); }
.about-copy p { color: var(--ink-soft); max-width: 36em; }
.about-copy .btn { margin-top: 0.8rem; }

/* ---------- Contact ---------- */

.contact {
  margin-top: var(--section-gap);
  background: var(--bg-deep);
  color: #EFEBE2;
  padding: var(--section-gap) 0;
}

.contact :focus-visible,
.site-footer :focus-visible { outline-color: #EFEBE2; }

.contact-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact .kicker { color: #A79F90; }

.contact h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  color: #FAF8F3;
}

.contact-intro > p { color: #C9C2B4; max-width: 30em; }

.contact-socials {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  gap: 1.8rem;
}
.contact-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #EFEBE2;
  font-size: 0.85rem;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(239, 235, 226, 0.35);
  padding-bottom: 0.25rem;
  transition: border-color 0.2s, color 0.2s;
}
.contact-socials a:hover { color: var(--bg); border-color: var(--bg); }

.contact-form { display: grid; gap: 1.15rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.form-field { display: grid; gap: 0.4rem; }

.form-field label {
  font-size: 0.78rem;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: #A79F90;
}

.req { color: var(--accent-on-dark); }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: rgba(250, 248, 243, 0.05);
  border: 1px solid rgba(239, 235, 226, 0.28);
  color: #FAF8F3;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  padding: 0.8rem 0.95rem;
  border-radius: 0;
  transition: border-color 0.2s, background-color 0.2s;
}
.form-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #A79F90 50%), linear-gradient(135deg, #A79F90 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.form-field select option { color: var(--ink); background: var(--bg); }
.form-field textarea { resize: vertical; min-height: 7.5rem; }

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(201, 194, 180, 0.55); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-on-dark);
  background: rgba(250, 248, 243, 0.08);
}

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #E8A3A3;
}

/* honeypot: visually removed, still in the DOM for bots */
.form-hp {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact .btn-submit {
  justify-self: start;
  background: var(--accent-on-dark);
  color: var(--bg-deep);
  border-color: var(--accent-on-dark);
}
.contact .btn-submit:hover { background: #FAF8F3; border-color: #FAF8F3; color: var(--ink); }
.contact .btn-submit[disabled] { opacity: 0.55; cursor: wait; }

.form-note {
  margin: 0;
  font-size: 0.85rem;
  color: #A79F90;
  max-width: 30em;
}

.form-status {
  margin: 0;
  min-height: 1.4em;
  font-size: 0.95rem;
}
.form-status.is-error { color: #E8A3A3; }
.form-status.is-success { color: #B9D3A8; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid rgba(239, 235, 226, 0.14);
  color: #A79F90;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.2rem var(--gutter) 2.6rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.5rem;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #EFEBE2;
  margin: 0;
}

.site-footer nav ul,
.footer-socials {
  list-style: none;
  display: flex;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}

.site-footer a {
  color: #A79F90;
  font-size: 0.8rem;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  text-decoration: none;
}
.site-footer a:hover { color: #EFEBE2; }

.footer-fine {
  flex-basis: 100%;
  font-size: 0.8rem;
  margin: 0.4rem 0 0;
}
.footer-fine a { text-transform: none; letter-spacing: 0.04em; text-decoration: underline; text-decoration-color: rgba(167, 159, 144, 0.5); }

/* ---------- Sticky mobile CTA ---------- */

.mobile-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  transform: translateY(105%);
  transition: transform 0.3s ease;
}
.mobile-cta .btn { display: block; text-align: center; }
.mobile-cta.show { transform: none; }

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */

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

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-item.span-wide { grid-column: auto; }
  .work-item img, .work-item.span-wide img { aspect-ratio: 3 / 4; }
  .work-item.span-wide:first-child { grid-column: span 2; }
  .work-item.span-wide:first-child img { aspect-ratio: 3 / 2; }
  .service-grid { grid-template-columns: 1fr; max-width: 640px; }
  .licensing-grid { grid-template-columns: 1fr; }
  .services-cta { justify-content: flex-start; }
  .process-steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .process-steps li { padding-right: 0; }
  .process-steps li + li { padding-left: 0; border-left: none; border-top: 1px solid var(--line); padding-top: 1.8rem; }
  .reel-row { grid-auto-columns: calc((100% - 2 * var(--reel-gap)) / 2.4); }
  .reel-nav { display: none; }
}

@media (max-width: 760px) {
  body { overflow-x: clip; }
  html { scroll-padding-bottom: 5rem; }

  .header-inner { gap: 0.8rem; padding-top: 0.95rem; padding-bottom: 0.95rem; }

  .wordmark {
    font-size: clamp(0.92rem, 3.8vw, 1.1rem);
    letter-spacing: 0.11em;
  }

  .nav-toggle { display: inline-flex; flex-shrink: 0; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-rows: 0fr;
    visibility: hidden;
    transition: grid-template-rows 0.25s ease, visibility 0.25s;
  }
  .site-nav.open { grid-template-rows: 1fr; visibility: visible; }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 var(--gutter);
    min-height: 0;
    overflow: hidden;
  }
  .site-nav.open ul { padding: 0.6rem var(--gutter) 1.2rem; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: none; }
  .site-nav a { display: block; padding: 0.95rem 0.2rem; border-bottom: none; }
  .site-nav .nav-cta {
    display: block;
    background: var(--ink);
    color: var(--bg);
    text-align: center;
    padding: 0.95rem;
    margin-top: 0.6rem;
    border: 1px solid var(--ink);
  }
  .site-nav .nav-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { order: -1; max-width: 86vw; }
  .hero-figure::before { display: none; }
  .hero-figure img {
    aspect-ratio: 4 / 5;
    max-height: 58vh;
    object-fit: cover;
    object-position: center 22%;
  }

  .form-row { grid-template-columns: 1fr; }

  .work-grid { gap: 0.7rem 0.6rem; }
  .work-item figcaption { font-size: 0.68rem; letter-spacing: 0.12em; }

  .work-cta { font-size: 1.15rem; }

  .reel-row { grid-auto-columns: 46vw; scroll-snap-type: x mandatory; }
  .reel-caption { font-size: 1rem; left: 0.7rem; right: 0.7rem; bottom: 0.7rem; }

  .about-inner { grid-template-columns: 1fr; }
  .about-figure { max-width: 86vw; }

  .contact-inner { grid-template-columns: 1fr; }

  .mobile-cta { display: block; }
}
