/* =========================================================
   Dural Tourism Ltd — design 02 "Dark & Premium"
   Independent of design 01. Plain CSS, no build step.
   ========================================================= */

:root {
  /* surfaces, darkest first */
  --bg:       #061424;
  --surface:  #0B1E33;
  --raised:   #12304B;
  --line:     rgba(255, 255, 255, .10);
  --line-2:   rgba(255, 255, 255, .06);

  --gold:     #C9A227;
  --gold-lt:  #E0B94A;
  --gold-dk:  #A9871B;

  --text:     #F2F6FA;
  --muted:    rgba(242, 246, 250, .56);
  --faint:    rgba(242, 246, 250, .34);

  /* the navy the Cardiff/Türkiye strip fades out on — sampled from the artwork */
  --strip-navy: #0A2C4A;

  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1240px;
  --gutter: 26px;
  --header-h: 88px;

  --radius: 3px;
  --shadow: 0 26px 60px rgba(0, 0, 0, .55);
  --shadow-sm: 0 10px 26px rgba(0, 0, 0, .4);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --slow: .9s;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  font-weight: 300;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
figure, blockquote { margin: 0; }   /* UA default is `margin: 1em 40px` — it insets every plate */
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 300; line-height: 1.1; }
p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.skip-link {
  position: absolute; left: 14px; top: -60px; z-index: 200;
  padding: 10px 20px; background: var(--gold); color: #08182A;
  font-size: .8rem; font-weight: 600; border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 14px; }

.container {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--gutter);
}

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--body);
  font-size: .68rem; font-weight: 500; letter-spacing: .34em; text-transform: uppercase;
  color: var(--gold-lt);
}
.rule {
  display: block; width: 58px; height: 1px; background: var(--gold);
  margin: 26px 0;
}
.rule--center { margin-inline: auto; }

.lead { font-size: 1.06rem; color: var(--muted); max-width: 58ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 36px;
  font-family: var(--body);
  font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: var(--radius);
  white-space: nowrap; cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.btn--gold { background: var(--gold); color: #08182A; border-color: var(--gold); }
.btn--gold:hover { background: var(--gold-lt); border-color: var(--gold-lt); transform: translateY(-2px); }

.btn--ghost { color: var(--text); border-color: rgba(255,255,255,.34); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-lt); transform: translateY(-2px); }

.btn--sm { padding: 12px 24px; font-size: .66rem; letter-spacing: .16em; }

.arrow-link {
  display: inline-flex; align-items: center; gap: .7em;
  font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-lt);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.arrow-link:hover { gap: 1.1em; color: var(--gold); }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(6, 20, 36, .86);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--line);
}
.header__inner {
  min-height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  transition: min-height .4s var(--ease);
}
.site-header.is-stuck .header__inner { min-height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__mark { width: 62px; flex: none; }
.brand__name {
  font-family: var(--display); font-size: 1.3rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text);
}

.nav__list { display: flex; align-items: center; gap: 34px; }
.nav__link {
  position: relative; padding: 8px 0;
  font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--faint);
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 13px 9px;
  flex-direction: column; justify-content: space-between;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 1px; width: 100%; background: var(--text);
  transition: transform .35s var(--ease), opacity .2s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- hero (type-led, no photograph) ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 130px) 0 150px;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 8% -6%, rgba(35, 74, 116, .75), transparent 68%),
    radial-gradient(680px 420px at 92% 8%, rgba(201, 162, 39, .10), transparent 66%);
}
.hero__inner { position: relative; z-index: 1; max-width: 1020px; }
.hero__mark { width: 92px; margin-bottom: 40px; opacity: .95; }
.hero__title {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  letter-spacing: -.02em;
  margin-top: 26px;
  text-wrap: balance;
}
.hero__title em { font-style: italic; color: var(--gold-lt); }
.hero__lead { margin-top: 4px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

/* ---------- framed plate (client artwork on a dark page) ---------- */
.plate {
  position: relative;
  border: 1px solid rgba(201, 162, 39, .34);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--raised);
}
.plate img { width: 100%; }

/* the hero's banner plate lifts up into the hero */
.banner-plate { margin-top: -110px; position: relative; z-index: 2; }

/* ---------- section shell ---------- */
.section { padding: clamp(84px, 11vw, 160px) 0; }
.section--surface { background: var(--surface); }

.section__title { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -.015em; }
.section__title em { font-style: italic; color: var(--gold-lt); }

/* ---------- positioning / intro ---------- */
.intro { padding: clamp(70px, 9vw, 120px) 0; }
.intro__inner { max-width: 790px; text-align: center; }
.intro__text {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 1.66rem);
  line-height: 1.5; color: var(--text);
}
.intro__text--soft {
  font-family: var(--body);
  font-size: 1rem; line-height: 1.85; color: var(--muted);
  margin-top: 1.5em;
}

/* ---------- services: sticky split ---------- */
.services__grid {
  display: grid; grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.services__aside { position: sticky; top: calc(var(--header-h) + 40px); }

.svc-index { margin-top: 34px; display: grid; gap: 2px; }
.svc-index li a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 11px 0;
  border-top: 1px solid var(--line-2);
  font-size: .8rem; letter-spacing: .04em;
  color: var(--faint);
  transition: color .35s var(--ease), padding-left .35s var(--ease);
}
.svc-index li:last-child a { border-bottom: 1px solid var(--line-2); }
.svc-index .n {
  font-family: var(--display); font-size: .95rem; color: var(--gold-dk);
  transition: color .35s var(--ease);
}
.svc-index li a:hover { color: var(--muted); }
.svc-index li a.is-active { color: var(--text); padding-left: 10px; }
.svc-index li a.is-active .n { color: var(--gold-lt); }

.svc { padding-bottom: clamp(70px, 9vw, 120px); }
.svc:last-child { padding-bottom: 0; }
.svc__head { display: flex; align-items: baseline; gap: 18px; margin: 30px 0 16px; }
.svc__num { font-family: var(--display); font-size: 1.1rem; color: var(--gold); }
.svc__title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.svc__text { color: var(--muted); max-width: 60ch; }

.ticks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px 34px; margin-top: 26px; }
.ticks li {
  position: relative; padding-left: 22px;
  font-size: .92rem; color: rgba(242,246,250,.74);
}
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .82em;
  width: 11px; height: 1px; background: var(--gold);
}
.svc__cta { margin-top: 30px; }

/* ---------- founder ---------- */
.founder { text-align: center; }
.founder__quote {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.28;
  color: var(--text); max-width: 20ch; margin-inline: auto;
}
.founder__quote::before, .founder__quote::after { content: "\201C"; color: var(--gold); }
.founder__quote::after { content: "\201D"; }
.founder__who { margin-top: 30px; }
.founder__name { font-family: var(--display); font-size: 1.35rem; letter-spacing: .1em; text-transform: uppercase; }
.founder__role { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); margin-top: 8px; }

.founder__bio {
  margin-top: clamp(46px, 6vw, 76px);
  columns: 2; column-gap: clamp(36px, 5vw, 72px);
  text-align: left; max-width: 940px; margin-inline: auto;
  color: var(--muted); font-size: .97rem;
}
.founder__bio p { break-inside: avoid; margin-bottom: 1.3em; }

/* ---------- Cardiff ⇄ Türkiye ---------- */
.bridge { text-align: center; padding-bottom: 0; }
.bridge__body { max-width: 700px; margin-inline: auto; }
.bridge__body p { color: var(--muted); }
.bridge__band { margin-top: clamp(50px, 6vw, 82px); }
.bridge__band img { width: 100%; }
/* the artwork ends on its own navy; fade that into the page colour */
.bridge__fade { height: 90px; background: linear-gradient(var(--strip-navy), var(--bg)); }

/* ---------- contact ---------- */
.contact__grid {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(44px, 6vw, 100px); align-items: start;
}
.contact__list { display: grid; }
.contact__row {
  display: grid; grid-template-columns: 130px 1fr auto;
  gap: 20px; align-items: baseline;
  padding: 26px 0;
  border-top: 1px solid var(--line-2);
}
.contact__row:last-child { border-bottom: 1px solid var(--line-2); }
.contact__key {
  font-size: .68rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--faint);
}
.contact__val { font-size: 1rem; color: var(--text); }
.contact__closed { color: var(--faint); }
.contact__val a { border-bottom: 1px solid rgba(201,162,39,.4); transition: color .3s var(--ease); }
.contact__val a:hover { color: var(--gold-lt); }
.contact__go { font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-dk);
               transition: color .3s var(--ease); white-space: nowrap; }
.contact__go:hover { color: var(--gold-lt); }

/* ---------- page hero (events) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 96px) 0 clamp(58px, 7vw, 92px);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(780px 440px at 10% -10%, rgba(35, 74, 116, .7), transparent 68%);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero__title { font-size: clamp(2.3rem, 5.4vw, 4.2rem); letter-spacing: -.018em; margin-top: 20px; }

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 12px; }
.breadcrumb li { font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--faint); }
.breadcrumb li + li::before { content: "/"; margin-right: 12px; color: rgba(201,162,39,.6); }
.breadcrumb a:hover { color: var(--gold-lt); }
.breadcrumb [aria-current="page"] { color: var(--gold-lt); }

/* ---------- events entries ---------- */
.entry { padding: clamp(48px, 6vw, 86px) 0; }
.entry + .entry { border-top: 1px solid var(--line-2); }
.entry__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(38px, 5vw, 76px); align-items: center;
}
.entry__grid--rev .entry__media { order: 2; }
.entry__meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
               font-size: .68rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.entry__kind { color: var(--gold-lt); }
.entry__sep { color: rgba(201,162,39,.45); }
.entry__place { color: var(--faint); }
.entry__title { font-size: clamp(1.6rem, 3vw, 2.35rem); margin: 14px 0 16px; }
.entry__text { color: var(--muted); }

/* ---------- closing band ---------- */
.cta-band { text-align: center; }
.cta-band__inner { max-width: 680px; margin-inline: auto; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 34px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-2); padding: 54px 0 44px; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 30px; }
.footer__nav a {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint);
  transition: color .3s var(--ease);
}
.footer__nav a:hover { color: var(--gold-lt); }
.footer__legal { width: 100%; padding-top: 26px; border-top: 1px solid var(--line-2);
                 font-size: .74rem; color: rgba(242,246,250,.26); }

/* =========================================================
   Craft layer — texture, progress, facts, marquee
   ========================================================= */

/* ---------- fine grain; overlay rather than multiply so it lifts a dark page ---------- */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 300; pointer-events: none;
  opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- reading progress ---------- */
.progress {
  position: fixed; inset: 0 auto auto 0; z-index: 150;
  height: 2px; width: 100%;
  transform: scaleX(0); transform-origin: left;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold-lt));
  will-change: transform;
}

/* ---------- WhatsApp button ----------
   Design 01 uses a gold pill that unfurls a label; this one stays a dark glass
   disc with a gold hairline, to match the quieter palette. To switch to
   WhatsApp green, set background to #25D366 and colour to #fff. */
.wa {
  position: fixed; right: 28px; bottom: 28px; z-index: 120;
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(18, 48, 75, .82);
  border: 1px solid rgba(201, 162, 39, .45);
  color: var(--gold-lt);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .5);
  transition: border-color .4s var(--ease), color .4s var(--ease),
              transform .4s var(--ease), box-shadow .4s var(--ease), opacity .3s var(--ease);
}
.wa svg { width: 28px; height: 28px; }
.wa__label {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;   /* visually hidden, still read out */
}
.wa:hover {
  border-color: var(--gold); color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, .6), 0 0 0 6px rgba(201, 162, 39, .08);
}

/* the drawer backdrop sits at z-index 99; get the button out of the way with it */
body.nav-open .wa { opacity: 0; pointer-events: none; }

.js .wa { animation: dt-rise .8s var(--ease) 1.1s both; }

/* ---------- meta line under the banner ----------
   Design 01 states the same facts as a four-column band; here they are one
   quiet caption strip, so the two demos do not read as the same layout. */
.meta-line {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline;
  gap: 12px 0;
  margin-top: 28px;
  font-size: .66rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  color: var(--faint);
}
/* li stays a plain box — making it a flex container would split "UK & Türkiye"
   into two flex items and open a gap between the text and its <span lang="tr">. */
.meta-line li { display: block; }
.meta-line li + li::before { content: "\00B7"; color: var(--gold-dk); margin: 0 26px; }

/* ---------- slow marquee divider ---------- */
.marquee {
  overflow: hidden; padding: 34px 0;
  border-block: 1px solid var(--line-2);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee__track { display: flex; width: max-content; }
.marquee__set {
  display: flex; flex: none; align-items: center; gap: 38px; padding-right: 38px;
  font-family: var(--display); font-weight: 300;
  font-size: clamp(1.2rem, 2.1vw, 1.8rem);
  color: rgba(242, 246, 250, .26);
  white-space: nowrap;
}
.marquee__set span { color: var(--gold-dk); font-size: .62em; }
.js .marquee__track { animation: dt-marquee 52s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes dt-marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Motion
   Scoped to .js, a class an inline script in <head> adds before first paint.
   No JS -> no class -> nothing is ever hidden.
   ========================================================= */

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- hairline rules draw themselves in ---------- */
.rule { transform-origin: left; }
.rule--center { transform-origin: center; }
.js .reveal .rule { transform: scaleX(0); transition: transform 1s var(--ease) .28s; }
.js .reveal.is-visible .rule { transform: scaleX(1); }

/* ---------- tick lists arrive one after another ---------- */
.ticks li { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal:not(.is-visible) .ticks li { opacity: 0; transform: translateY(10px); }
.js .reveal.is-visible .ticks li:nth-child(1) { transition-delay: .12s }
.js .reveal.is-visible .ticks li:nth-child(2) { transition-delay: .19s }
.js .reveal.is-visible .ticks li:nth-child(3) { transition-delay: .26s }
.js .reveal.is-visible .ticks li:nth-child(4) { transition-delay: .33s }
.js .reveal.is-visible .ticks li:nth-child(5) { transition-delay: .40s }
.js .reveal.is-visible .ticks li:nth-child(6) { transition-delay: .47s }
.js .reveal.is-visible .ticks li:nth-child(7) { transition-delay: .54s }

/* ---------- plates lift; never scale, it would crop the artwork ---------- */
.plate {
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .6s var(--ease);
}
/* the .js .reveal rules also set transform, so the hover has to out-rank them */
.plate:hover,
.js .plate.reveal:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 39, .7);
  box-shadow: 0 34px 74px rgba(0, 0, 0, .62);
}

/* ---------- headings rise out of a mask, word by word ---------- */
.rw {
  display: inline-block; overflow: hidden; vertical-align: bottom;
  padding-bottom: .16em; margin-bottom: -.16em;
}
.rw__i { display: inline-block; will-change: transform; }
.js .rw__i { transform: translateY(112%); transition: transform 1.05s var(--ease); }
.js .is-visible .rw__i,
.js .rw--now .rw__i { transform: none; }

/* ---------- plate imagery wipes open instead of fading ---------- */
.js .plate.reveal { opacity: 1; transform: none; }
.js .plate.reveal img {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.06);
  transition: clip-path 1.25s var(--ease), transform 1.6s var(--ease);
}
.js .plate.reveal.is-visible img { clip-path: inset(0 0 0 0); transform: none; }

/* ---------- gold buttons get a slow sweep ---------- */
.btn--gold { position: relative; overflow: hidden; isolation: isolate; }
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 32%, rgba(255,255,255,.45), transparent 68%);
  transform: translateX(-130%);
  transition: transform .8s var(--ease);
}
.btn--gold:hover::after { transform: translateX(130%); }

/* ---------- contact rows nudge on hover ---------- */
.contact__row { transition: border-color .4s var(--ease); }
.contact__row > * { transition: transform .4s var(--ease), color .4s var(--ease); }
.contact__row:hover { border-top-color: rgba(201, 162, 39, .35); }
.contact__row:hover > * { transform: translateX(5px); }
.contact__row:hover .contact__key { color: var(--gold-lt); }

/* ---------- first screen settles in on load ---------- */
@keyframes dt-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes dt-rule { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.js .hero__mark      { animation: dt-rise 1s var(--ease) .05s both; }
.js .hero .eyebrow   { animation: dt-rise 1s var(--ease) .16s both; }
/* .hero__title is handled by the word masks, not a block fade */
.js .hero .rule      { animation: dt-rule .9s var(--ease) .62s both; }
.js .hero__lead      { animation: dt-rise 1s var(--ease) .44s both; }
.js .hero__actions   { animation: dt-rise 1s var(--ease) .54s both; }

.js .page-hero .breadcrumb  { animation: dt-rise .9s var(--ease) .06s both; }
/* .page-hero__title is handled by the word masks */
.js .page-hero .rule        { animation: dt-rule .9s var(--ease) .5s both; }
.js .page-hero .lead        { animation: dt-rise .9s var(--ease) .34s both; }

/* ---------- drawer links slide in behind the panel ---------- */
@keyframes dt-nav-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal:not(.is-visible) .ticks li { opacity: 1; transform: none; }
  .js .reveal .rule { transform: scaleX(1); }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .services__grid { grid-template-columns: 240px minmax(0, 1fr); }
  .nav__list { gap: 24px; }
}

@media (max-width: 900px) {
  .meta-line { font-size: .6rem; letter-spacing: .18em; }
  .meta-line li + li::before { margin: 0 16px; }

  .intro__grid,
  .contact__grid { grid-template-columns: 1fr; }

  .services__grid { grid-template-columns: 1fr; }
  .services__aside { position: static; }
  .svc-index { display: none; }

  .entry__grid, .entry__grid--rev { grid-template-columns: 1fr; }
  .entry__grid--rev .entry__media { order: 0; }

  .founder__bio { columns: 1; }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; }

  /* backdrop-filter turns .site-header into the containing block for its
     position:fixed children, which collapses the .nav drawer to the header's
     own height. Drop the blur here — the drawer matters more than the effect. */
  .site-header.is-stuck {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(6, 20, 36, .97);
  }

  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(86vw, 330px);
    padding: calc(var(--header-h) + 30px) 30px 40px;
    background: var(--surface);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .45s var(--ease);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .nav.is-open .nav__link,
  .js .nav.is-open .nav__cta { animation: dt-nav-in .45s var(--ease) both; }
  .js .nav.is-open li:nth-child(1) .nav__link { animation-delay: .10s }
  .js .nav.is-open li:nth-child(2) .nav__link { animation-delay: .16s }
  .js .nav.is-open li:nth-child(3) .nav__link { animation-delay: .22s }
  .js .nav.is-open li:nth-child(4) .nav__link { animation-delay: .28s }
  .js .nav.is-open .nav__cta { animation-delay: .34s }
  /* display:block is load-bearing — on an inline box the vertical padding does not
     push the line box and the border only spans the text width. */
  .nav__link {
    display: block; padding: 17px 0; font-size: .78rem;
    border-bottom: 1px solid var(--line-2); color: var(--muted);
  }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 26px; }
  .nav__cta .btn { width: 100%; }

  body.nav-open { overflow: hidden; }
  body.nav-open::after {
    content: ""; position: fixed; inset: 0; z-index: 99;
    background: rgba(2, 10, 20, .7); animation: fade .3s var(--ease);
  }
  @keyframes fade { from { opacity: 0 } to { opacity: 1 } }

  .hero { padding: calc(var(--header-h) + 84px) 0 100px; }
  .banner-plate { margin-top: -60px; }
  .contact__row { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wa { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .wa svg { width: 26px; height: 26px; }
  .brand__mark { width: 50px; }
  .brand__name { font-size: 1.06rem; }
  .hero__actions .btn,
  .cta-band__actions .btn { width: 100%; }
  .footer__inner { justify-content: center; text-align: center; }
  .footer__nav { justify-content: center; }
  .footer__legal { text-align: center; }
}

@media print {
  body { background: #fff; color: #000; }
  .site-header, .nav-toggle { display: none; }
  .reveal { opacity: 1; transform: none; }
}
