/* ==========================================================================
   UK Paramount Limited — ukparamount.com
   ========================================================================== */

:root {
  --ink: #0c1726;
  --ink-2: #12223a;
  --ink-3: #1a2f4b;
  --ink-deep: #08111d;
  --paper: #fbf9f4;
  --ivory: #f4efe5;
  --sand: #ebe3d3;
  --brass: #a8823f;
  --brass-2: #c9a66b;
  --brass-3: #e7d3a8;
  --brass-text: #8a672b;
  --text: #18212e;
  --muted: #586170;
  --muted-2: #8c94a1;
  --line: rgba(12, 23, 38, .11);
  --line-2: rgba(12, 23, 38, .2);
  --line-inv: rgba(245, 240, 230, .14);
  --err: #b4442f;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 40px 80px -40px rgba(12, 23, 38, .45);
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 84px;

  /* logo mark as a CSS mask, for small decorative uses */
  --mark-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 284 270'%3E%3Cpath fill-rule='evenodd' d='M0 0H196V80A98 98 0 0 1 98 178A98 98 0 0 1 0 80Z M98 86H192A92 92 0 0 1 284 178A92 92 0 0 1 192 270H98Z'/%3E%3C/svg%3E");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }

/* subtle paper grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
figure { margin: 0; }
svg { flex: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.015em;
  font-optical-sizing: auto;
}
p { margin: 0 0 1em; }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--brass); }

::selection { background: var(--brass-3); color: var(--ink); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 6px; }

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

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.progress { position: fixed; top: 0; left: 0; right: 0; z-index: 120; height: 2px; pointer-events: none; }
.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brass), var(--brass-2));
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brass-text);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--brass-2); }

.h2 {
  margin-bottom: 28px;
  font-size: clamp(2.2rem, 4.4vw, 3.9rem);
  font-weight: 350;
  letter-spacing: -.025em;
  color: var(--ink);
}

.lead { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.6; color: var(--ink); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(var(--brass), var(--brass)) left bottom / 100% 1px no-repeat;
  transition: background-size .5s var(--ease), gap .4s var(--ease);
}
.link-arrow svg { width: 18px; height: 18px; color: var(--brass); }
.link-arrow:hover { gap: 18px; }

.text-btn {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: var(--paper);
  --ic-bg: var(--brass-2);
  --ic-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 56px;
  padding: 7px 7px 7px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .005em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ic-bg);
  color: var(--ic-fg);
  transition: transform .5s var(--ease), background-color .4s;
}
.btn__icon svg { width: 17px; height: 17px; transition: transform .5s var(--ease); }
.btn:hover .btn__icon svg { transform: rotate(-45deg); }

.btn--dark:hover { --bg: var(--ink-3); }
.btn--line { --bg: transparent; --fg: var(--ink); padding: 7px 28px; border-color: var(--line-2); }
.btn--line:hover { --bg: rgba(12, 23, 38, .04); border-color: var(--ink); }
.btn--brass { --bg: var(--brass-2); --fg: var(--ink); --ic-bg: var(--ink); --ic-fg: var(--brass-3); }
.btn--brass:hover { --bg: var(--brass-3); }
.btn--sm { min-height: 48px; padding: 5px 5px 5px 20px; font-size: 14px; gap: 12px; }
.btn--sm .btn__icon { width: 38px; height: 38px; }
.btn--sm .btn__icon svg { width: 15px; height: 15px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--ink); color: rgba(245, 240, 230, .7); font-size: 12.5px; letter-spacing: .02em; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar p { margin: 0; white-space: nowrap; }
.topbar .sep { margin-inline: 6px; color: var(--brass-2); }
.topbar__links { display: flex; gap: 28px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 8px; transition: color .3s; }
.topbar__links a:hover { color: var(--paper); }
.topbar__links svg { width: 14px; height: 14px; color: var(--brass-2); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color .4s, border-color .4s, box-shadow .4s;
}
.header.is-scrolled {
  background: rgba(251, 249, 244, .84);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom-color: var(--line);
}
.header__inner { display: flex; align-items: center; gap: 28px; height: var(--header-h); }

/* Logo lock-up: mark + two-line wordmark, proportions taken from the master artwork */
.brand { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; color: var(--ink); }
.brand__mark { width: 44px; height: 42px; fill: currentColor; transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.04); }
.brand__text {
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 16.2px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
}
.brand__name, .brand__sub { display: block; }
.brand--inv { color: var(--paper); }

.nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav a {
  position: relative;
  display: block;
  padding: 10px 15px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  transition: color .3s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 5px;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--ink); }

.burger {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--ink); transition: left .4s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; left: 20px; }
.burger:hover span:last-child { left: 14px; }

/* ---------- Mobile menu ---------- */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter) 32px;
  overflow-y: auto;
  background: var(--ink);
  color: var(--paper);
  visibility: hidden;
  clip-path: circle(0% at calc(100% - 44px) 60px);
  transition: clip-path .8s var(--ease), visibility 0s linear .8s;
}
.mmenu.is-open {
  visibility: visible;
  clip-path: circle(150% at calc(100% - 44px) 60px);
  transition: clip-path .8s var(--ease), visibility 0s linear 0s;
}
.mmenu__top { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); border-bottom: 1px solid var(--line-inv); }
.mmenu__close {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-inv);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}
.mmenu__close svg { width: 20px; height: 20px; }
.mmenu__nav { display: flex; flex-direction: column; padding: 28px 0; }
.mmenu__nav a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 10px 0;
  font-family: var(--serif);
  font-size: clamp(30px, 8vw, 44px);
  font-weight: 300;
  line-height: 1.15;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.mmenu__nav a span { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; color: var(--brass-2); }
.mmenu__nav a:hover { color: var(--brass-3); }
.mmenu.is-open .mmenu__nav a { opacity: 1; transform: none; }
.mmenu.is-open .mmenu__nav a:nth-child(1) { transition-delay: .15s; }
.mmenu.is-open .mmenu__nav a:nth-child(2) { transition-delay: .2s; }
.mmenu.is-open .mmenu__nav a:nth-child(3) { transition-delay: .25s; }
.mmenu.is-open .mmenu__nav a:nth-child(4) { transition-delay: .3s; }
.mmenu.is-open .mmenu__nav a:nth-child(5) { transition-delay: .35s; }
.mmenu.is-open .mmenu__nav a:nth-child(6) { transition-delay: .4s; }
.mmenu.is-open .mmenu__nav a:nth-child(7) { transition-delay: .45s; }
.mmenu__foot { display: grid; gap: 8px; margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line-inv); font-size: 15px; color: rgba(245, 240, 230, .75); }
.mmenu__foot p { margin: 8px 0 0; font-size: 12.5px; color: rgba(245, 240, 230, .5); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(36px, 5vw, 72px) 0 clamp(80px, 9vw, 130px);
  overflow: clip;
  background:
    radial-gradient(900px 520px at 88% 8%, rgba(201, 166, 107, .2), transparent 62%),
    radial-gradient(700px 500px at 0% 100%, rgba(26, 47, 75, .07), transparent 60%),
    var(--paper);
}
.hero__lines {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.hero__lines span { border-left: 1px solid var(--line); opacity: .55; }
.hero__lines span:last-child { border-right: 1px solid var(--line); }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: center;
}

.hero__title {
  margin-bottom: 30px;
  font-size: clamp(2.7rem, 6.1vw, 5.7rem);
  font-weight: 330;
  line-height: 1.01;
  letter-spacing: -.032em;
  color: var(--ink);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .line > span { display: block; }
.hero__title em { padding-right: .04em; }

.hero__lead { max-width: 54ch; margin-bottom: 36px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__meta { display: flex; flex-wrap: wrap; max-width: 600px; margin: 52px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__meta > div { margin-right: 30px; padding-right: 30px; border-right: 1px solid var(--line); }
.hero__meta > div:last-child { margin: 0; padding: 0; border: 0; }
.hero__meta dt { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
.hero__meta dd { margin: 6px 0 0; font-family: var(--serif); font-size: 20px; color: var(--ink); font-variant-numeric: lining-nums; }

/* The logo mark at hero scale, its two forms filled with photography.
   Badge and card sit in the two empty quadrants of the mark. */
.hero__visual { position: relative; align-self: start; width: 100%; max-width: 600px; margin: clamp(8px, 3.6vw, 56px) 0 0 auto; aspect-ratio: 284 / 270; }
.hero__logo { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 36px 44px rgba(12, 23, 38, .24)); }
.hero__logo-u,
.hero__logo-d { transition: transform 1.4s var(--ease), opacity 1.1s var(--ease), translate .9s var(--ease); }
.hero__logo-u { translate: calc(var(--mx, 0) * -3px) calc(var(--my, 0) * -3px); }
.hero__logo-d { translate: calc(var(--mx, 0) * 3px) calc(var(--my, 0) * 3px); }
.hero__logo-img { transform-box: fill-box; transform-origin: center; transition: transform 2.6s var(--ease); }

.hero__badge {
  position: absolute;
  top: 15.9%;
  left: 84.5%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 24%;
  max-width: 132px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brass-3);
  box-shadow: 0 20px 40px -20px rgba(12, 23, 38, .6);
  translate: -50% -50%;
}
.hero__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.hero__ring text { font-family: var(--sans); font-size: 9.4px; font-weight: 700; letter-spacing: .14em; fill: currentColor; }
.hero__badge-mark { width: 33%; height: 31%; fill: var(--paper); }

.hero__card {
  position: absolute;
  left: 0;
  bottom: 3%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 14px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 18px;
  background: rgba(251, 249, 244, .88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px -24px rgba(12, 23, 38, .5);
  line-height: 1.3;
}
.hero__card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: var(--brass-2); }
.hero__card-icon svg { width: 20px; height: 20px; }
.hero__card strong { display: block; font-size: 14px; color: var(--ink); }
.hero__card small { font-size: 13px; color: var(--muted); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--muted-2);
  transform: translateX(-50%);
}
.hero__scroll i { position: relative; width: 1px; height: 44px; overflow: hidden; background: var(--line-2); }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 50%; background: var(--brass); animation: scrollline 2.2s var(--ease) infinite; }

/* hero entrance */
.js .hero__title .line > span { transform: translateY(110%); transition: transform 1.25s var(--ease); }
.js .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.js .hero__title .line:nth-child(3) > span { transition-delay: .16s; }
.js .hero__title .line:nth-child(4) > span { transition-delay: .24s; }
.js .hero__fade { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js .hero__logo-u { opacity: 0; transform: translate(-16px, -16px); transition-delay: .15s; }
.js .hero__logo-d { opacity: 0; transform: translate(16px, 16px); transition-delay: .4s; }
.js .hero__logo-img { transform: scale(1.18); }
.js .hero__badge, .js .hero__card { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.js .hero__badge { transition-delay: .9s; }
.js .hero__card { transition-delay: 1.05s; }

.js.is-loaded .hero__title .line > span,
.js.is-loaded .hero__fade,
.js.is-loaded .hero__logo-u,
.js.is-loaded .hero__logo-d,
.js.is-loaded .hero__badge,
.js.is-loaded .hero__card { opacity: 1; transform: none; }
.js.is-loaded .hero__logo-img { transform: none; }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee { overflow: clip; padding: 28px 0; background: var(--ink); color: var(--paper); border-block: 1px solid var(--ink-3); }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.marquee li {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 300;
  font-style: italic;
  white-space: nowrap;
}
.marquee li::after {
  content: "";
  width: 17px;
  height: 16px;
  background: var(--brass-2);
  -webkit-mask: var(--mark-svg) center / contain no-repeat;
  mask: var(--mark-svg) center / contain no-repeat;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { position: relative; padding: clamp(88px, 11vw, 168px) 0; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 84px);
}
.section-head .h2 { max-width: 16ch; margin-bottom: 0; }
.section-head__text { max-width: 50ch; margin: 0 0 8px; color: var(--muted); }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(48px, 7vw, 120px);
  align-items: center;
}
.about__media { position: relative; aspect-ratio: 5 / 6; }
.about__img { position: absolute; overflow: hidden; border-radius: var(--radius-lg); background: var(--sand); }
.about__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.about__img:hover img { transform: scale(1.04); }
.about__img--main { inset: 0 20% 14% 0; }
.about__img--sub {
  right: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 3 / 4;
  border: 10px solid var(--paper);
  border-radius: 26px;
  box-shadow: var(--shadow);
}
.about__stamp {
  position: absolute;
  top: 7%;
  right: 4%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 128px;
  border: 1px solid var(--brass-2);
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 8px var(--paper), 0 0 0 9px rgba(201, 166, 107, .4);
  line-height: 1.1;
  text-align: center;
}
.about__stamp-mark { width: 38px; height: 36px; margin-bottom: 10px; fill: var(--ink); }
.about__stamp span { font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-text); }

.about__content > p:not(.eyebrow):not(.lead) { color: var(--muted); }

.facts { display: grid; grid-template-columns: 1fr 1fr; margin: 40px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.facts li { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--line); }
.facts li:nth-child(odd) { border-right: 1px solid var(--line); }
.facts li:nth-child(even) { padding-left: 28px; }
.facts__num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(38px, 3.8vw, 52px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: lining-nums tabular-nums;
}
.facts__num small { margin-left: 2px; font-size: .5em; color: var(--brass); }
.facts__label { display: block; margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--muted); }

/* ---------- Services (stacked cards) ---------- */
.services { background: var(--ivory); }
.services::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--line); }

.stack { display: grid; grid-auto-rows: 1fr; gap: 32px; }

.svc {
  --pad: clamp(30px, 4.2vw, 60px);
  position: sticky;
  top: calc(var(--header-h) + 20px + var(--i) * 18px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  min-height: 600px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 -24px 60px -36px rgba(12, 23, 38, .55);
}
.svc--light { background: var(--paper); color: var(--text); border: 1px solid var(--line); }
.svc--deep { background: linear-gradient(135deg, #14283f 0%, #0d1b2c 100%); }
.svc--rev { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.svc--rev .svc__body { order: 2; }
.svc--rev .svc__media { order: 1; }

.svc__body { display: flex; flex-direction: column; padding: var(--pad); }
.svc__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.svc__num { font-family: var(--serif); font-size: 18px; color: var(--brass-2); }
.svc__num i { font-style: normal; opacity: .45; }
.svc--light .svc__num { color: var(--brass-text); }
.svc__sic {
  padding: 7px 14px;
  border: 1px solid var(--line-inv);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  color: rgba(245, 240, 230, .72);
}
.svc--light .svc__sic { border-color: var(--line-2); color: var(--muted); }

.svc__title { margin-bottom: 18px; font-size: clamp(2rem, 3.3vw, 3rem); font-weight: 350; letter-spacing: -.025em; }
.svc__desc { max-width: 52ch; color: rgba(245, 240, 230, .72); }
.svc--light .svc__desc { color: var(--muted); }

.svc__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  margin: 18px 0 36px;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid var(--line-inv);
}
.svc--light .svc__list { border-color: var(--line); }
.svc__list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; }
.svc__list svg { width: 20px; height: 20px; margin-top: 1px; padding: 4px; border-radius: 50%; background: rgba(201, 166, 107, .16); color: var(--brass-2); }
.svc--light .svc__list svg { background: rgba(168, 130, 63, .12); color: var(--brass-text); }

.svc__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: auto; }
.svc__note { margin: 0; font-size: 13px; color: rgba(245, 240, 230, .5); }

.svc__media { position: relative; overflow: hidden; min-height: 320px; background: var(--ink-2); }
.svc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.045); }
.svc__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(8, 17, 29, .55)); }
.svc__media figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  width: fit-content;
  max-width: calc(100% - 40px);
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 10px;
  background: rgba(8, 17, 29, .45);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 12.5px;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .9);
}

/* ---------- Approach ---------- */
.approach__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(48px, 8vw, 140px);
  align-items: start;
}
.approach__intro { position: sticky; top: calc(var(--header-h) + 48px); }
.approach__text { max-width: 46ch; color: var(--muted); }
.approach__img { margin-top: 40px; overflow: hidden; aspect-ratio: 16 / 11; border-radius: var(--radius-lg); background: var(--sand); }
.approach__img img { width: 100%; height: 100%; object-fit: cover; }

.steps-wrap { position: relative; }
.steps-wrap::before,
.steps__fill { content: ""; position: absolute; left: 31px; top: 32px; width: 1px; }
.steps-wrap::before { bottom: 96px; background: var(--line-2); }
.steps__fill { z-index: 1; height: calc((100% - 128px) * var(--p, 0)); background: linear-gradient(180deg, var(--brass-2), var(--brass)); }
.steps { margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 32px; padding-bottom: 64px; }
.step:last-child { padding-bottom: 0; }
.step__num {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--paper);
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  transition: background-color .6s var(--ease), color .6s, border-color .6s, box-shadow .6s;
}
.step.is-active .step__num { border-color: var(--ink); background: var(--ink); color: var(--brass-3); box-shadow: 0 0 0 8px rgba(201, 166, 107, .14); }
.step__body { padding: 30px 0 34px; border-bottom: 1px solid var(--line); }
.step:last-child .step__body { border-bottom: 0; }
.step h3 { margin: -14px 0 14px; font-size: clamp(25px, 2.3vw, 32px); font-weight: 350; color: var(--ink); }
.step p { max-width: 50ch; color: var(--muted); }
.step__meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--ivory);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.step__meta::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brass); }

/* ---------- Standards ---------- */
.standards { padding-top: 0; background: var(--paper); }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.principle {
  position: relative;
  padding: clamp(32px, 3.5vw, 48px) clamp(26px, 3vw, 40px) clamp(36px, 3.8vw, 52px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color .5s var(--ease);
}
.principle::before {
  content: "";
  position: absolute;
  left: -1px; top: -1px;
  width: calc(100% + 2px);
  height: 2px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .7s var(--ease);
}
.principle:hover { background: var(--ivory); }
.principle:hover::before { transform: scaleX(1); }
.principle__n { position: absolute; top: 36px; right: 34px; font-size: 12px; font-weight: 600; letter-spacing: .12em; color: var(--muted-2); }
.principle__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 32px;
  border-radius: 16px;
  background: var(--ivory);
  color: var(--brass-text);
  transition: background-color .5s var(--ease), color .5s;
}
.principle__icon svg { width: 26px; height: 26px; }
.principle:hover .principle__icon { background: var(--ink); color: var(--brass-3); }
.principle h3 { margin-bottom: 12px; font-size: 25px; font-weight: 400; color: var(--ink); }
.principle p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* ---------- Band ---------- */
.band {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(540px, 82vh, 780px);
  padding: 100px 0;
  overflow: clip;
  background: var(--ink);
  color: var(--paper);
}
.band__media { position: absolute; inset: -14% 0; z-index: -2; will-change: transform; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 17, 29, .94) 0%, rgba(8, 17, 29, .74) 45%, rgba(8, 17, 29, .25) 100%),
    linear-gradient(0deg, rgba(8, 17, 29, .5), transparent 40%);
}
.band__mark {
  position: absolute;
  top: 50%;
  right: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter)));
  width: clamp(260px, 30vw, 440px);
  aspect-ratio: 284 / 270;
  height: auto;
  fill: rgba(201, 166, 107, .07);
  stroke: rgba(201, 166, 107, .6);
  stroke-width: .9;
  translate: 0 -50%;
  pointer-events: none;
}
.band__word { margin: 0; font-family: var(--serif); font-size: clamp(3.4rem, 9.5vw, 9rem); font-weight: 300; line-height: .95; letter-spacing: -.04em; }
.band__phon { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; margin: 22px 0 0; font-size: 18px; color: var(--brass-2); }
.band__phon span { font-family: var(--sans); letter-spacing: .04em; }
.band__phon em { font-family: var(--serif); font-size: 20px; color: rgba(245, 240, 230, .7); }
.band__def {
  max-width: 26ch;
  margin: 36px 0 26px;
  padding-left: 26px;
  border-left: 2px solid var(--brass-2);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.5vw, 2.1rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.3;
}
.band__note { max-width: 52ch; margin: 0; font-size: 17px; color: rgba(245, 240, 230, .78); }

/* ---------- Company ---------- */
.company { background: var(--ivory); }
.company__grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.company__text { max-width: 46ch; color: var(--muted); }

.coverage { margin-top: 44px; }
.coverage__title { margin-bottom: 14px; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.coverage ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.coverage li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  transition: padding .5s var(--ease);
}
.coverage li:hover { padding-left: 10px; }
.coverage small { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--muted-2); }

.register { position: relative; overflow: visible; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow); }
.register__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 104px 24px clamp(22px, 3vw, 36px);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--ink);
  color: var(--paper);
}
.register__title { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 21px; }
.register__title svg { width: 22px; height: 22px; color: var(--brass-2); }
.register__status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(63, 163, 107, .16);
  color: #9fe0b9;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.register__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: pulse 2.4s ease-out infinite; }
.register__list { margin: 0; padding: 6px clamp(22px, 3vw, 36px); }
.register__row { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-bottom: 1px dashed var(--line-2); }
.register__row:last-child { border-bottom: 0; }
.register dt { padding-top: 3px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.register dd { margin: 0; font-weight: 500; line-height: 1.55; color: var(--ink); }
.register__name { font-family: var(--serif); font-size: 19px; letter-spacing: .02em; }
.register dd.mono { display: flex; align-items: center; gap: 14px; font-size: 18px; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.copy {
  padding: 4px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s;
}
.copy:hover { border-color: var(--ink); color: var(--ink); }
.copy.is-done { border-color: var(--ink); background: var(--ink); color: var(--brass-3); }
.sic { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.sic li { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 12px; font-size: 15px; font-weight: 500; }
.sic span { align-self: start; padding: 2px 0; border-radius: 6px; background: var(--ivory); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-align: center; color: var(--brass-text); }
.register__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px clamp(22px, 3vw, 36px);
  border-top: 1px solid var(--line);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--ivory);
}
.register__foot p { margin: 0; font-size: 13px; color: var(--muted); }
.register__seal { position: absolute; top: -54px; right: -40px; width: 124px; height: 124px; color: var(--brass); transform: rotate(-12deg); pointer-events: none; }
.register__seal svg { width: 100%; height: 100%; border-radius: 50%; background: var(--ivory); box-shadow: 0 10px 30px -12px rgba(12, 23, 38, .35); }
.register__seal text { font-family: var(--sans); font-size: 8.6px; font-weight: 700; letter-spacing: .1em; fill: currentColor; }
.register__seal use { fill: currentColor; }

/* ---------- FAQ ---------- */
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.faq__intro { position: sticky; top: calc(var(--header-h) + 48px); }
.faq__text { margin-bottom: 28px; color: var(--muted); }

.acc { border-top: 1px solid var(--line-2); }
.acc__item { border-bottom: 1px solid var(--line-2); }
.acc__item h3 { font-size: inherit; }
.acc__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 28px 0;
  border: 0;
  background: none;
  font-family: var(--serif);
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 400;
  line-height: 1.3;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  transition: color .3s;
}
.acc__btn:hover { color: var(--brass-text); }
.acc__icon {
  position: relative;
  flex: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color .4s var(--ease), border-color .4s, color .4s, transform .5s var(--ease);
}
.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .5s var(--ease);
}
.acc__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.acc__item.is-open .acc__icon { border-color: var(--ink); background: var(--ink); color: var(--brass-3); transform: rotate(180deg); }
.acc__item.is-open .acc__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.acc__panel > div { overflow: hidden; }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel p { margin: 0; padding: 0 70px 30px 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact {
  overflow: clip;
  background:
    radial-gradient(800px 500px at 0% 0%, rgba(201, 166, 107, .14), transparent 60%),
    radial-gradient(700px 600px at 100% 100%, rgba(26, 47, 75, .9), transparent 70%),
    var(--ink);
  color: var(--paper);
}
.contact .h2 { color: var(--paper); }
.contact .h2 em { color: var(--brass-2); }
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.contact__text { max-width: 44ch; font-size: 17px; color: rgba(245, 240, 230, .72); }
.contact__list { margin: 44px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-inv); }
.contact__list li { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line-inv); }
.contact__ico {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line-inv);
  border-radius: 50%;
  color: var(--brass-2);
  transition: background-color .4s, color .4s;
}
.contact__list li:hover .contact__ico { background: var(--brass-2); color: var(--ink); }
.contact__ico svg { width: 20px; height: 20px; }
.contact__label { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(245, 240, 230, .5); }
.contact__value { display: block; font-size: 17px; line-height: 1.5; color: var(--paper); }
a.contact__value:hover { color: var(--brass-3); }
.contact__value small { display: block; font-size: 13.5px; color: rgba(245, 240, 230, .55); }

.form {
  position: relative;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .7);
}
.form__head { margin-bottom: 28px; }
.form__head h3 { margin-bottom: 6px; font-size: clamp(26px, 2.4vw, 32px); font-weight: 350; color: var(--ink); }
.form__head p { margin: 0; font-size: 14px; color: var(--muted); }

.topics { margin: 0 0 24px; padding: 0; border: 0; }
.topics legend { margin-bottom: 12px; padding: 0; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.topics__list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  transition: background-color .3s, color .3s, border-color .3s;
}
.pill:hover span { border-color: var(--ink); }
.pill input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--brass-3); }
.pill input:focus-visible + span { outline: 2px solid var(--brass); outline-offset: 3px; }

.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field label span { color: var(--brass); }
.field input,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--ivory);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--line-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brass); background: #fff; box-shadow: 0 0 0 4px rgba(201, 166, 107, .2); }
.field.has-error input, .field.has-error textarea { border-color: var(--err); background: #fff; }
.field__err { font-size: 13px; color: var(--err); }
.field__err:empty { display: none; }

.consent { position: relative; display: flex; align-items: flex-start; gap: 14px; margin-top: 22px; font-size: 14px; line-height: 1.55; color: var(--muted); cursor: pointer; }
.consent input { position: absolute; width: 22px; height: 22px; margin: 0; opacity: 0; }
.consent__box {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 1px solid var(--line-2);
  border-radius: 6px;
  background: var(--ivory);
  color: var(--brass-3);
  transition: background-color .3s, border-color .3s;
}
.consent__box svg { width: 14px; height: 14px; opacity: 0; transform: scale(.5); transition: opacity .3s, transform .4s var(--ease); }
.consent input:checked + .consent__box { border-color: var(--ink); background: var(--ink); }
.consent input:checked + .consent__box svg { opacity: 1; transform: none; }
.consent input:focus-visible + .consent__box { outline: 2px solid var(--brass); outline-offset: 3px; }
.consent.has-error .consent__box { border-color: var(--err); }
.consent .text-btn { font-weight: 600; color: var(--ink); }
#f-consent-err { display: block; margin: 8px 0 0 36px; }
#f-consent-err:empty { display: none; }

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.form__note { max-width: 30ch; margin: 0; font-size: 13px; color: var(--muted); }

.form.is-sent > :not(.form__success) { display: none; }
.form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  padding: 24px;
  text-align: center;
  animation: fadein .6s var(--ease);
}
.form__success[hidden] { display: none; }
.form__success-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brass-3);
  box-shadow: 0 0 0 10px rgba(201, 166, 107, .15);
}
.form__success-icon svg { width: 34px; height: 34px; }
.form__success h3 { margin-bottom: 12px; font-size: 32px; font-weight: 350; color: var(--ink); }
.form__success p { max-width: 42ch; color: var(--muted); }
.form__success a { font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.form__success .text-btn { margin-top: 8px; font-weight: 600; color: var(--brass-text); }

/* ---------- Footer ---------- */
.footer { overflow: clip; padding: clamp(72px, 8vw, 110px) 0 36px; background: var(--ink-deep); color: rgba(245, 240, 230, .66); font-size: 15px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.2fr; gap: 48px; padding-bottom: 20px; }
.footer__brand p { max-width: 34ch; margin-top: 24px; }
.footer__h { margin: 6px 0 20px; font-size: 11.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-2); }
.footer ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--paper); }
.footer__big {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 14.2vw, 13.2rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.045em;
  white-space: nowrap;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 166, 107, .28);
  user-select: none;
}
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line-inv);
  font-size: 13px;
  line-height: 1.65;
  color: rgba(245, 240, 230, .48);
}
.footer__legal p { max-width: 78ch; margin: 0; }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-right: 76px; }
.footer__legal .text-btn { text-decoration: none; }
.footer__legal .text-btn:hover { color: var(--paper); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--brass-3);
  box-shadow: 0 16px 32px -14px rgba(12, 23, 38, .6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility 0s linear .4s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: var(--brass-2); stroke-width: 1.5; stroke-dasharray: 138.2; stroke-dashoffset: calc(138.2 - 138.2 * var(--p, 0)); }
.to-top__icon { width: 18px; height: 18px; }

/* ---------- Modal ---------- */
.modal {
  width: min(720px, calc(100% - 32px));
  max-height: min(84vh, 860px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 24px;
  background: var(--paper);
  color: var(--text);
  box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .6);
}
.modal[open] { display: flex; flex-direction: column; animation: modalin .5s var(--ease); }
.modal::backdrop { background: rgba(8, 17, 29, .62); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px clamp(22px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.modal__head h2 { font-size: 28px; font-weight: 350; color: var(--ink); }
.modal__close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; cursor: pointer; transition: background-color .3s, color .3s; }
.modal__close:hover { background: var(--ink); color: var(--paper); }
.modal__close svg { width: 18px; height: 18px; }
.modal__body { padding: 26px clamp(22px, 4vw, 40px) 40px; overflow-y: auto; font-size: 15.5px; color: var(--muted); }
.modal__body h3 { margin: 26px 0 8px; font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.modal__body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.modal__updated { font-size: 13px; font-weight: 600; color: var(--brass-text); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 1.1s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrollline { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 100% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } }
@keyframes fadein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes modalin { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .nav a { padding-inline: 11px; }
  .nav a::after { left: 11px; right: 11px; }
  .register__seal { right: -14px; }
}

@media (max-width: 1060px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
}

@media (max-width: 980px) {
  :root { --header-h: 74px; }

  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { max-width: 560px; margin-inline: auto; }
  .band__mark { display: none; }
  .hero__scroll { display: none; }
  .hero__lines { grid-template-columns: repeat(2, 1fr); }
  .hero__lines span:nth-child(n+3) { display: none; }
  .hero__lines span:nth-child(2) { border-right: 1px solid var(--line); }

  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .section-head .h2 { max-width: 20ch; }

  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__media { width: 100%; max-width: 600px; }

  .stack { grid-auto-rows: auto; }
  .svc,
  .svc--rev { position: relative; top: auto; grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .svc--rev .svc__body { order: 2; }
  .svc--rev .svc__media,
  .svc__media { order: -1; aspect-ratio: 16 / 10; min-height: 0; }

  .approach__grid { grid-template-columns: minmax(0, 1fr); }
  .approach__intro { position: static; }
  .approach__img { display: none; }

  .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .company__grid { grid-template-columns: minmax(0, 1fr); }
  .register__seal { top: -48px; right: 10px; width: 104px; height: 104px; }

  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__intro { position: static; }

  .contact__grid { grid-template-columns: minmax(0, 1fr); }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__brand { grid-column: 1 / -1; }
}

/* short desktop screens: stacked cards must not overflow the viewport */
@media (min-width: 981px) and (max-height: 820px) {
  .svc { position: relative; top: auto; min-height: 0; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }

  .topbar__links { display: none; }
  .topbar__inner { justify-content: center; text-align: center; }

  .brand { gap: 6px; }
  .brand__text { font-size: 13.9px; }
  .brand__mark { width: 38px; height: 36px; }

  .hero { padding-top: 28px; }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
  .hero__actions .btn--line { justify-content: center; }
  .hero__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero__meta > div { margin: 0; padding: 0; border: 0; }
  .hero__meta > div:last-child { grid-column: 1 / -1; }
  .hero__badge { width: 27%; }
  .hero__card { bottom: 0; gap: 10px; padding: 9px 14px 9px 9px; border-radius: 14px; }
  .hero__card-icon { width: 34px; height: 34px; border-radius: 10px; }
  .hero__card strong { font-size: 13px; }
  .hero__card small { font-size: 12px; }

  .about__stamp { width: 100px; height: 100px; box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px rgba(201, 166, 107, .4); }
  .about__stamp-mark { width: 30px; height: 28px; margin-bottom: 6px; }
  .facts li { padding-right: 14px; }
  .facts li:nth-child(even) { padding-left: 16px; }

  .svc__list { grid-template-columns: minmax(0, 1fr); }
  .svc__top { margin-bottom: 28px; }
  .svc__foot .btn { width: 100%; justify-content: space-between; }

  .step { grid-template-columns: 52px minmax(0, 1fr); gap: 20px; }
  .step__num { width: 52px; height: 52px; font-size: 16px; }
  .steps-wrap::before, .steps__fill { left: 25.5px; top: 26px; }
  .step h3 { margin-top: -18px; }
  .step__body { padding-top: 30px; }

  .principles { grid-template-columns: minmax(0, 1fr); }

  .band__def { padding-left: 18px; }

  .register__head { flex-direction: column; align-items: flex-start; gap: 10px; padding-right: 100px; }
  .register__row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 16px 0; }
  .register__foot .btn { width: 100%; justify-content: space-between; }
  .register__seal { top: -40px; right: 4px; width: 92px; height: 92px; }

  .acc__panel p { padding-right: 0; }

  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .form__foot .btn { width: 100%; justify-content: space-between; }

  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .footer__legal { flex-direction: column; align-items: flex-start; padding-bottom: 56px; }
  .footer__legal ul { margin-right: 0; }

  .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; }
}

@media (max-width: 380px) {
  .hero__title { font-size: 2.45rem; }
  .pill span { padding: 9px 14px; font-size: 13.5px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero__fade, .js .hero__logo-u, .js .hero__logo-d, .js .hero__badge, .js .hero__card { opacity: 1; transform: none; }
  .js .hero__title .line > span, .js .hero__logo-img { transform: none; }
  .hero__logo-u, .hero__logo-d { translate: none; }
}

/* ---------- Print ---------- */
@media print {
  .topbar, .header, .mmenu, .marquee, .band, .to-top, .progress, .hero__scroll, .form-wrap { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .svc { position: static; break-inside: avoid; }
  body::after { display: none; }
}
