/*
  VOICE   Corporate and composed: a studio that studios hire. Creative through the work, not decoration.
  IDEA    The brand lockup leads; photographs carry the creativity.
  PICTURE Full-width photo slideshow with one simple text entrance per slide.
  COLOUR  From LOGO.svg: brand indigo #292660 on ivory; indigo-black grounds; gold as
          indigo's complement for actions. The logo's colour is never altered.
  TYPE    Figtree throughout, semibold headings, for a clean corporate voice.
  LAYOUT  Left-aligned, 1200px max, alternating ivory and night bands.
*/

:root {
  color-scheme: dark;
  /* Brand */
  --indigo: #292660;        /* exact logo colour (from LOGO.svg) */
  --gold: #c8a463;          /* actions and highlights, 8.2:1 on night */
  --gold-hi: #e2c78e;
  --gold-deep: #8a6a2e;     /* gold for small text on ivory, 4.6:1 */
  /* Grounds */
  --black: #0e0c1f;         /* night: indigo-black */
  --surface: #17152e;
  --line: #2b2848;
  --ivory: #f7f4ec;         /* where the logo lives */
  --ivory-2: #efeadf;
  --ivory-line: #e2dccd;
  /* Text */
  --text: #efe9dc;          /* on night, 15.9:1 */
  --muted: #a9a4bd;         /* on night, 8.0:1 */
  --muted-ivory: #5a5670;   /* on ivory, 6.4:1 */
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--black); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--sans); font-weight: 600; line-height: 1.12; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.6vw, 42px); }
h3 { font-size: 21px; }
p { margin: 0; }
address { font-style: normal; }

.wrap { width: min(1200px, 100% - 2 * max(5vw, 18px)); margin-inline: auto; }
.band { padding-block: clamp(64px, 9vw, 112px); }
.section-lede { color: var(--muted); max-width: 58ch; margin-top: 14px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--gold); color: var(--black); padding: 10px 14px; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: var(--radius);
  font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, border-color .2s; }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold:hover { background: var(--gold-hi); }
.text-link { color: var(--gold); text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(200,164,99,.4); padding-bottom: 2px; }
.text-link:hover { border-color: var(--gold); }

/* Top bar */
.topbar { background: var(--indigo); color: #e9e6f5; font-size: 13.5px; }
.topbar-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar-contact { display: flex; gap: 24px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--gold-hi); }

/* Header: the logo lockup leads */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ivory); border-bottom: 1px solid var(--ivory-line); color: var(--indigo); }
.header-row { display: flex; align-items: center; gap: 32px; min-height: 96px; }
.brand { display: block; text-decoration: none; }
.brand-logo { height: 44px; width: auto; }
/* Logo lockup: the tagline sits under the logo, bold, spanning exactly the logo's width.
   main.js fine-tunes its letter-spacing once fonts load; justify is the fallback. */
.lockup { display: inline-flex; flex-direction: column; width: max-content; }
.lockup .tag { width: 0; min-width: 100%; display: block; white-space: nowrap; font-weight: 700; color: var(--indigo);
  text-align: justify; text-align-last: justify; line-height: 1.2; }
.brand .tag { font-size: 12.5px; margin-top: 8px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15.5px; font-weight: 500; color: var(--indigo); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--gold); }
.site-header :focus-visible, .site-footer :focus-visible, .about :focus-visible, .stats :focus-visible { outline-color: var(--indigo); }
.menu-btn { display: none; }

/* Slideshow */
.slider { position: relative; height: clamp(520px, 80vh, 760px); overflow: hidden; background: var(--black); }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; display: flex; align-items: flex-end; padding-bottom: 116px; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.slide-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide-photo::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(0deg, rgba(14,12,31,.95) 0%, rgba(14,12,31,.72) 30%, rgba(14,12,31,.15) 62%, rgba(14,12,31,.25) 100%),
  linear-gradient(90deg, rgba(14,12,31,.55) 0%, rgba(14,12,31,0) 55%); }
/* Placeholder photographs until the real ones arrive */
.p1 { background-image: radial-gradient(60% 70% at 72% 40%, #8c7356 0%, transparent 60%), linear-gradient(135deg, #2f2a4c, #141226); }
.p2 { background-image: radial-gradient(50% 60% at 65% 35%, #6f5c8a 0%, transparent 60%), linear-gradient(160deg, #241f45, #0f0d22); }
.p3 { background-image: radial-gradient(55% 70% at 75% 45%, #a0835c 0%, transparent 62%), linear-gradient(135deg, #352c3f, #15122a); }
.ph { position: absolute; right: max(5vw, 18px); bottom: 84px; z-index: 1; font-size: 12.5px; color: rgba(239,233,220,.6); border: 1px dashed rgba(239,233,220,.35); padding: 4px 10px; border-radius: 3px; }
.slide-copy { position: relative; z-index: 1; }
.slide-copy > * { max-width: 560px; }
.slide-kicker { color: var(--gold); font-size: 15px; font-weight: 600; }
.slide-title { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.04; letter-spacing: -.025em; margin-top: 14px; color: #fff; }
.slide-text { color: #e4e0ee; font-size: 18px; margin-top: 18px; max-width: 48ch; }
.slide-copy .btn { margin-top: 30px; }
/* The one motion: text rises in when its slide becomes active */
@media (prefers-reduced-motion: no-preference) {
  .slide .slide-copy > * { opacity: 0; transform: translateY(18px); }
  .slide.is-active .slide-copy > * { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .slide.is-active .slide-kicker { transition-delay: .25s; }
  .slide.is-active .slide-title { transition-delay: .4s; }
  .slide.is-active .slide-text { transition-delay: .55s; }
  .slide.is-active .btn { transition-delay: .7s; }
}
.slider-controls { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.dots { display: flex; gap: 10px; }
.dots button { width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; position: relative; }
.dots button::after { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; background: rgba(239,233,220,.35); transition: background .3s; }
.dots button[aria-selected="true"]::after { background: var(--gold); }
.arrows { display: flex; gap: 8px; }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(239,233,220,.35); background: rgba(14,12,31,.4); color: #fff; font-size: 18px; cursor: pointer; }
.arrow:hover { border-color: var(--gold); color: var(--gold-hi); }

/* Stats */
.stats { background: var(--ivory); color: var(--indigo); padding-block: 40px; border-bottom: 1px solid var(--ivory-line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.stats-grid > div { border-left: 2px solid var(--gold); padding-left: 18px; }
.stat { font-size: clamp(28px, 3vw, 36px); font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.stat-label { color: var(--muted-ivory); font-size: 14.5px; margin-top: 4px; }

/* Services */
.svc-main { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.svc { background: var(--surface); padding: clamp(28px, 3.5vw, 40px); border-radius: var(--radius); border-top: 2px solid var(--gold); display: flex; flex-direction: column; gap: 16px; }
.svc h3 { font-size: clamp(24px, 2.4vw, 28px); }
.svc > p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 4px 0 8px; display: grid; gap: 10px; }
.ticks li { padding-left: 22px; position: relative; font-size: 15.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--gold); }
.svc .text-link { margin-top: auto; align-self: flex-start; }
.h2-small { font-size: clamp(24px, 2.4vw, 28px); margin-top: 72px; }
.svc-minor { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin-top: 20px; }
.minor { display: block; text-decoration: none; padding: 22px 0; border-top: 1px solid var(--line); }
.minor h3 { transition: color .2s; }
.minor:hover h3 { color: var(--gold-hi); }
.minor p { color: var(--muted); margin-top: 8px; font-size: 16px; }

/* About */
.about { background: var(--ivory); color: var(--indigo); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.about-brand { padding: clamp(36px, 5vw, 64px) clamp(28px, 4vw, 56px); background: #fff; border: 1px solid var(--ivory-line); border-radius: var(--radius); display: grid; place-items: center; }
.about-brand img { width: min(340px, 100%); height: auto; }
.about-brand .tag { font-size: 18px; margin-top: 16px; }
.points { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.points li { background: #fff; border: 1px solid var(--ivory-line); border-top: 2px solid var(--gold); border-radius: var(--radius); padding: 24px 24px 26px; }
.points h3 { font-size: 18px; }
.points p { color: var(--muted-ivory); font-size: 15px; margin-top: 8px; }
.about-lead { font-size: 20px; font-weight: 500; margin-top: 14px; }
.about-copy p:not(.about-lead) { color: var(--muted-ivory); margin-top: 16px; max-width: 64ch; }
.timeline { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--indigo); }
.timeline li { padding: 22px 24px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 2px solid var(--ivory); }
.t-when { font-weight: 700; font-size: 20px; }
.t-what { color: var(--muted-ivory); margin-top: 6px; font-size: 15.5px; }
.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.office { background: #fff; border: 1px solid var(--ivory-line); border-radius: var(--radius); padding: 28px 30px; }
.office-type { color: var(--gold-deep); font-size: 14px; font-weight: 600; }
.office h3 { font-size: 24px; margin-top: 4px; }
.office address { color: var(--muted-ivory); margin-top: 10px; }
.office .pending { font-style: italic; }

/* Gallery */
.gallery-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 220px; grid-auto-flow: dense; gap: 16px; margin-top: 44px; }
.g { margin: 0; position: relative; overflow: hidden; border-radius: 2px; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }
.g-img { position: absolute; inset: 0; background: radial-gradient(70% 70% at 60% 35%, rgba(200,164,99,.28), transparent 65%), linear-gradient(160deg, #26224a, #121026); background-size: cover; background-position: center; transition: transform .6s ease; }
.g:hover .g-img { transform: scale(1.03); }
.g .ph { top: 14px; right: 14px; bottom: auto; }
.g figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; font-size: 14.5px; font-weight: 600; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(14,12,31,.85)); }

/* Process */
.process { background: var(--surface); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.steps li { counter-increment: s; padding: 22px 18px 0 0; border-top: 1px solid var(--line); position: relative; }
.steps li::before { content: counter(s); display: block; font-size: 32px; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: 14px; }
.steps li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.steps h3 { font-size: 19px; }
.steps p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }

/* Formats */
.format-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; margin-top: 56px; align-items: end; }
.fmt { display: flex; flex-direction: column; gap: 14px; }
.fmt-stage { display: flex; align-items: flex-end; }
.fmt-box { position: relative; border: 1px solid var(--gold); background: linear-gradient(180deg, rgba(200,164,99,.1), rgba(200,164,99,.02)); }
.fmt-box::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px dashed rgba(200,164,99,.45); }
.fmt h3 { font-size: 21px; }
.fmt p { color: var(--muted); font-size: 14.5px; margin-top: -8px; }

/* Contact */
.contact { border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 88px); }
.details { margin: 36px 0 0; display: grid; gap: 20px; }
.details dt { font-size: 13px; color: var(--muted); }
.details dd { margin: 4px 0 0; }
.details a { text-decoration: none; }
.details a:hover { color: var(--gold-hi); }
.form { display: grid; gap: 18px; background: var(--surface); padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius); border-top: 2px solid var(--gold); align-self: start; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; min-height: 48px; padding: 12px 14px; font: 16px/1.4 var(--sans); color: var(--text);
  background: var(--black); border: 1px solid var(--line); border-radius: var(--radius); }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--gold); outline: none; }
.form [aria-invalid="true"] { border-color: #d98473; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: 14.5px; min-height: 1.4em; color: var(--gold-hi); }
.form-status.err { color: #e39a8a; }

/* Footer */
.site-footer { background: var(--ivory); color: var(--indigo); padding-block: 64px 96px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 36px 40px; align-items: start; }
.foot-logo { width: 220px; height: auto; }
.foot-brand .tag { font-size: 12.8px; margin-top: 12px; }
.foot-col { display: grid; gap: 8px; font-size: 15px; }
.foot-col p { color: var(--muted-ivory); }
.foot-head { font-weight: 700; color: var(--indigo) !important; margin-bottom: 4px; }
.foot-col a { text-decoration: none; color: var(--indigo); }
.foot-col a:hover { color: var(--gold-deep); }
.foot-copy { grid-column: 1 / -1; color: var(--muted-ivory); font-size: 13.5px; padding-top: 24px; border-top: 1px solid var(--ivory-line); }

/* Floating WhatsApp */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold); color: var(--black); box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
.wa-float:hover { background: var(--gold-hi); }

/* Responsive */
@media (max-width: 1100px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--ivory-line); padding: 8px max(5vw, 18px) 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--ivory-line); font-size: 17px; }
  .menu-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; margin-left: auto;
    background: transparent; color: var(--indigo); border: 1px solid var(--ivory-line); border-radius: var(--radius); font: 600 15px var(--sans); cursor: pointer; }
  .header-cta { order: 3; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 36px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .contact-grid, .svc-main, .about-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-minor { grid-template-columns: minmax(0, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 180px; }
  .format-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar p:first-child { display: none; }
  .topbar-row { justify-content: center; }
  .header-row { min-height: 80px; gap: 16px; }
  .brand-logo { height: 36px; }
  .brand .tag { font-size: 10.5px; margin-top: 6px; }
  .header-cta { display: none; }
  .slider { height: 560px; }
  .slide { padding-bottom: 104px; }
  .ph { bottom: auto; top: 18px; }
  .row2, .timeline, .offices { grid-template-columns: minmax(0, 1fr); }
  .timeline { border-top: 0; border-left: 2px solid var(--indigo); margin-left: 6px; }
  .timeline li { padding: 0 0 26px 24px; }
  .timeline li::before { top: 4px; left: -7px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .steps li { display: grid; grid-template-columns: 48px 1fr; padding: 18px 0; }
  .steps li::before { grid-row: 1 / 3; font-size: 28px; margin: 0; }
  .format-grid { gap: 36px 20px; }
  .form .btn { justify-self: stretch; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .about-brand .tag { font-size: 15px; }
  .points { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid { grid-auto-rows: 150px; gap: 10px; }
}
