/* ==========================================================================
   Beely Soft — Luxury Software Atelier
   ========================================================================== */

:root {
  --bg: #0a0a0b;
  --bg-2: #0f0f11;
  --surface: #141416;
  --surface-2: #1a1a1d;
  --line: rgba(237, 228, 211, 0.1);
  --line-strong: rgba(237, 228, 211, 0.2);
  --text: #ede6da;
  --muted: #9b9488;
  --dim: #8a8479;
  --gold: #c8a464;
  --gold-light: #e9d29c;
  --gold-deep: #8a6a33;
  --gold-grad: linear-gradient(135deg, #f0dcaa 0%, #c8a464 45%, #9a7638 100%);

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(96px, 14vw, 180px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
em { font-style: italic; }
::selection { background: var(--gold); color: #0a0a0b; }

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

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 10px 16px; background: var(--gold); color: #0a0a0b;
  transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

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

/* ---------- Ambient layers ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 999; pointer-events: none;
  opacity: .05;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(8) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); }
  75% { transform: translate(-2%, -1%); }
}

/* Custom cursor (fine pointers only) */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
  .has-cursor input, .has-cursor textarea { cursor: text; }
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 1001; }
  .cursor__dot, .cursor__ring {
    position: fixed; top: 0; left: 0; border-radius: 50%;
    transform: translate3d(-100px, -100px, 0);
  }
  .cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-light); }
  .cursor__ring {
    width: 36px; height: 36px; margin: -18px 0 0 -18px;
    border: 1px solid rgba(200, 164, 100, .5);
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .35s;
  }
  .cursor.is-hover .cursor__ring {
    width: 64px; height: 64px; margin: -32px 0 0 -32px;
    background: rgba(200, 164, 100, .08); border-color: rgba(233, 210, 156, .7);
  }
  .cursor.is-hidden { opacity: 0; }
}

/* ---------- Typography ---------- */
.display, .h1, .h2, .hero__title, .manifesto, .case__title, .plan__price, .quote blockquote, .footer__word {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.015em;
}
/* Cormorant defaults to old-style figures; lining figures read cleaner in large numerals */
.stat__num, .plan__price, .case__metrics strong, .section-num, .acc__num, .post h3 {
  font-variant-numeric: lining-nums;
}
.display em, .h1 em, .h2 em, .hero__title em, .footer__word em, .footer__tagline em {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  padding-right: .06em;
}
.h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); line-height: 1.02; }
.h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); line-height: 1.05; }
.display { font-size: clamp(3rem, 7.5vw, 6.6rem); line-height: .98; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow__line { width: 48px; height: 1px; background: var(--gold); opacity: .7; }

.section { padding-block: var(--section); position: relative; }
.section-head {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: clamp(40px, 6vw, 72px);
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
}
.section-num { font-family: var(--serif); font-style: italic; font-size: 18px; letter-spacing: 0; color: var(--gold); }
.section-label { color: var(--muted); display: inline-flex; align-items: center; gap: 16px; }
.section-label::before { content: ""; width: 40px; height: 1px; background: var(--line-strong); }

.split-head {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end;
  margin-bottom: clamp(48px, 7vw, 96px);
}
.split-head .muted { max-width: 440px; justify-self: end; }
.split-head .link-underline { justify-self: end; }

/* ---------- Buttons & links ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 18px 32px;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  border-radius: 999px; overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .5s var(--ease);
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { padding: 12px 22px; font-size: 11.5px; }
.btn--block { width: 100%; }

.btn--gold { background: var(--gold-grad); color: #141008; box-shadow: 0 10px 40px -12px rgba(200, 164, 100, .45); }
.btn--gold::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--text); transform: translateY(101%); transition: transform .6s var(--ease);
}
.btn--gold:hover::before { transform: translateY(0); }

.btn--ghost { border: 1px solid var(--line-strong); color: var(--text); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.btn--ghost:hover { color: #141008; border-color: transparent; }
.btn--ghost:hover::before { transform: scaleX(1); transform-origin: left; }

.link-underline {
  position: relative; display: inline-block; padding-bottom: 4px;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text);
}
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--gold); transform-origin: right; transition: transform .6s var(--ease);
}
.link-underline:hover::after { transform: scaleX(0); }

.icon-btn {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line-strong);
  transition: border-color .4s, background-color .4s, color .4s;
}
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.icon-btn:hover { border-color: var(--gold); background: var(--gold); color: #141008; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding-block: 26px;
  pointer-events: none;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  pointer-events: auto;
  transition: opacity .5s var(--ease), transform .7s var(--ease), visibility .7s;
}
/* Scrolled: the full header steps aside for the notch + bottom dock */
.is-scrolled .header__inner { opacity: 0; transform: translateY(-28px); visibility: hidden; pointer-events: none; }
.menu-open .header__inner { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }

/* ---------- Notch (scrolled state) ---------- */
.notch {
  --ns: 1;      /* crest scale, set by main.js on narrow screens */
  --strip: 12px; /* height of the full-width top bar */
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  height: 124px;
  pointer-events: none;
  transform: translateY(-110%);
  transition: transform .8s var(--ease);
}
.is-scrolled .notch { transform: none; }
.menu-open .notch { transform: translateY(-110%); }
.notch__shape { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: visible; }
.notch__crest {
  position: absolute; left: 50%; top: var(--strip);
  width: 520px; height: 112px; margin-left: -260px;
  transform: scale(var(--ns)); transform-origin: 50% 0;
  pointer-events: auto;
}
.notch__fill { fill: url(#notchFill); }
.notch__line { fill: none; stroke: url(#notchLine); stroke-width: 1; }

/* Comet travelling along the outline (head, tapered tail and sparks are drawn by main.js) */
.notch__comet { pointer-events: none; }

/* Crest wordmark: letters either side of the medallion; main.js splits them into .notch__ch
   so each one can light up as the comet head passes underneath */
.notch__wordmark {
  position: absolute; left: 50%; top: 34px;
  display: grid; grid-template-columns: 1fr 116px 1fr; align-items: center; width: 440px;
  font-family: "DynaPuff", var(--sans); font-size: 24px; font-weight: 500; line-height: 1;
  text-transform: uppercase; white-space: nowrap;
  color: var(--gold);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .6s var(--ease) .35s;
}
.notch__wordmark > span:first-child { justify-self: end; margin-right: -.24em; /* drop the last letter's spacing */ }
.notch__wordmark > span:last-child { justify-self: start; }
.is-scrolled .notch__wordmark { opacity: 1; }
.notch__ch {
  display: inline-block; margin-right: .24em;
  background: linear-gradient(180deg, #f6e6bb 0%, #c8a464 55%, #9a7638 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform-origin: 50% 85%;
  transition: margin .9s var(--ease);
}
.notch__ch.is-lit { animation: ch-lit 1s cubic-bezier(.22, 1, .36, 1); }
@keyframes ch-lit {
  0% { transform: none; filter: brightness(1) drop-shadow(0 0 0 rgba(255, 246, 220, 0)) drop-shadow(0 0 0 rgba(233, 210, 156, 0)); }
  20% { transform: translateY(-5px) scale(1.45); filter: brightness(1.75) drop-shadow(0 0 4px rgba(255, 246, 220, .95)) drop-shadow(0 0 14px rgba(233, 210, 156, .85)); }
  100% { transform: none; filter: brightness(1) drop-shadow(0 0 0 rgba(255, 246, 220, 0)) drop-shadow(0 0 0 rgba(233, 210, 156, 0)); }
}
.notch__crest:hover .notch__ch { margin-right: .3em; }
.notch__crest:hover .notch__wordmark > span:first-child { margin-right: -.3em; }

/* Medallion hanging in the pendant */
.notch__bee {
  position: absolute; left: 50%; top: 28px;
  width: 72px; height: 72px; margin-left: -36px;
  padding: 2px; border-radius: 50%; overflow: hidden;
  background: #8a6a33;
  box-shadow: 0 0 0 4px #131210, 0 0 0 5px rgba(200, 164, 100, .4), 0 16px 30px -12px rgba(233, 210, 156, .5);
  transform: scale(.3) rotate(-25deg); opacity: 0;
  transition: transform .8s cubic-bezier(.34, 1.56, .64, 1) .2s, opacity .4s .2s;
}
/* rotating gold ring */
.notch__bee::before {
  content: ""; position: absolute; inset: -40%;
  background: conic-gradient(#8a6a33, #e9d29c, #fffaf0, #c8a464, #8a6a33, #c8a464, #f3e2b4, #8a6a33);
  animation: spin 6s linear infinite;
}
.notch__bee > span {
  position: relative;
  display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 32%, #4a3a1c 0%, #1b1712 62%, #121110 100%);
}
.is-scrolled .notch__bee { transform: none; opacity: 1; }
.notch__bee img {
  width: 100%; height: 100%; object-fit: cover;
  transform: translateY(3px) scale(1.12);
  animation: bee-bob 3.2s ease-in-out infinite;
}
.notch__crest:hover .notch__bee img { animation: bee-wiggle .7s ease-in-out; }

/* Finale: the comet has passed the last letter */
.notch__bee.is-finale { animation: bee-finale 1.1s cubic-bezier(.22, 1, .36, 1); }
.notch__bee.is-finale img { animation: bee-wiggle .9s ease-in-out; }
@keyframes bee-finale {
  0%, 100% { transform: none; box-shadow: 0 0 0 4px #131210, 0 0 0 5px rgba(200, 164, 100, .4), 0 16px 30px -12px rgba(233, 210, 156, .5); }
  25% { transform: scale(1.22); box-shadow: 0 0 0 4px #131210, 0 0 0 6px rgba(255, 236, 190, .95), 0 0 38px 10px rgba(255, 226, 160, .55); }
  50% { transform: scale(.95); }
  75% { transform: scale(1.04); }
}
.notch__burst {
  position: absolute; left: 50%; top: 28px;
  width: 72px; height: 72px; margin-left: -36px;
  pointer-events: none;
}
.notch__burst::before, .notch__burst::after { content: ""; position: absolute; border-radius: 50%; opacity: 0; }
.notch__burst::before { inset: 0; border: 1.5px solid rgba(255, 240, 200, .9); }
.notch__burst::after {
  inset: -60%;
  background: repeating-conic-gradient(rgba(255, 236, 190, .85) 0deg 3deg, transparent 3deg 22.5deg);
  -webkit-mask: radial-gradient(circle closest-side, transparent 46%, #000 52%, transparent 100%);
          mask: radial-gradient(circle closest-side, transparent 46%, #000 52%, transparent 100%);
}
.notch__burst.is-on::before { animation: burst-ring 1s var(--ease); }
.notch__burst.is-on::after { animation: burst-rays 1.2s var(--ease); }
@keyframes burst-ring { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(2.4); } }
@keyframes burst-rays { 0% { opacity: 0; transform: scale(.6) rotate(0); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(1.3) rotate(25deg); } }
@keyframes bee-bob { 0%, 100% { transform: translateY(3px) scale(1.12); } 50% { transform: translateY(0) scale(1.12); } }
@keyframes bee-wiggle {
  0%, 100% { transform: translateY(3px) scale(1.12) rotate(0); }
  25% { transform: translateY(1px) scale(1.18) rotate(-8deg); }
  60% { transform: translateY(1px) scale(1.18) rotate(6deg); }
}

/* ---------- Bottom dock (scrolled state) ---------- */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: rgba(10, 10, 11, .8);
  backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-top: 1px solid var(--line);
  transform: translateY(101%);
  transition: transform .8s var(--ease);
}
.is-scrolled .dock { transform: none; }
.menu-open .dock { transform: translateY(101%); }
.dock__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.dock__list { flex: 1; display: flex; justify-content: space-between; }
.dock__list a {
  position: relative; display: block; padding: 8px 0;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  transition: color .4s;
}
.dock__list a::before {
  content: ""; position: absolute; left: 50%; top: -2px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); transform: translateX(-50%) scale(0); transition: transform .4s var(--ease);
}
.dock__list a:hover, .dock__list a.is-active { color: var(--text); }
.dock__list a:hover::before, .dock__list a.is-active::before { transform: translateX(-50%) scale(1); }
.dock__menu, .dock__cta { display: none; }
.dock__menu {
  align-items: center; gap: 12px;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--text);
}
.dock__menu-icon { position: relative; width: 22px; height: 10px; }
.dock__menu-icon i { position: absolute; left: 0; right: 0; height: 1px; background: currentColor; }
.dock__menu-icon i:first-child { top: 0; }
.dock__menu-icon i:last-child { bottom: 0; right: 6px; }

/* Logo: bee medallion + DynaPuff wordmark, matching the scrolled-state crest */
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand__mark {
  position: relative; flex: none; width: 50px; height: 50px; padding: 2px;
  border-radius: 50%; overflow: hidden; background: #8a6a33;
  box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px rgba(200, 164, 100, .35), 0 10px 24px -10px rgba(233, 210, 156, .55);
  transition: transform .8s cubic-bezier(.34, 1.56, .64, 1), box-shadow .6s var(--ease);
}
.brand__mark::before { /* rotating gold ring */
  content: ""; position: absolute; inset: -40%;
  background: conic-gradient(#8a6a33, #e9d29c, #fffaf0, #c8a464, #8a6a33, #c8a464, #f3e2b4, #8a6a33);
  animation: spin 6s linear infinite;
}
.brand__mark > span {
  position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 32%, #4a3a1c 0%, #1b1712 62%, #121110 100%);
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; transform: translateY(3px) scale(1.12); animation: bee-bob 3.2s ease-in-out infinite; }
.brand:hover .brand__mark img { animation: bee-wiggle .7s ease-in-out; }
.brand:hover .brand__mark { transform: scale(1.08) rotate(-6deg); box-shadow: 0 0 0 3px var(--bg), 0 0 0 4px rgba(233, 210, 156, .7), 0 0 26px 2px rgba(233, 210, 156, .35); }
.brand__text { display: grid; gap: 6px; line-height: 1; }
.brand__name {
  display: inline-flex; align-items: center;
  font-family: "DynaPuff", var(--sans); font-size: 21px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  background: linear-gradient(100deg, #9a7638 0%, #c8a464 30%, #f3dfa8 45%, #fffdf6 50%, #f3dfa8 55%, #c8a464 70%, #9a7638 100%);
  background-size: 250% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: background-position 1.4s var(--ease);
}
.brand:hover .brand__name { background-position: 0 0; } /* light sweeps across on hover */
.brand__name i { /* tiny honey dot between the words */
  width: 5px; height: 5px; margin: 0 .55em 0 .41em; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 8px rgba(233, 210, 156, .8);
}
.brand__tag {
  display: flex; align-items: center; gap: 8px;
  font-size: 9.5px; font-weight: 600; letter-spacing: .38em; text-transform: uppercase; color: var(--muted);
}
.brand__tag::before { content: ""; width: 16px; height: 1px; background: var(--gold); opacity: .7; }

.nav__list { display: flex; gap: clamp(20px, 2.6vw, 40px); }
.nav__list a {
  position: relative; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  transition: color .4s;
}
.nav__list a::after {
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold); transform: translateX(-50%) scale(0); transition: transform .4s var(--ease);
}
.nav__list a:hover, .nav__list a.is-active { color: var(--text); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: translateX(-50%) scale(1); }

.header__actions { display: flex; align-items: center; gap: 16px; }

.menu-toggle { display: none; width: 44px; height: 44px; position: relative; }
.menu-toggle span {
  position: absolute; left: 10px; right: 10px; height: 1px; background: var(--text);
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-open .menu-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain;
  padding: 112px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-in-out);
  visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu nav { margin-block: auto; }
.mobile-menu ol { display: grid; gap: 4px; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 18px;
  font-family: var(--serif); font-size: clamp(1.9rem, min(7.5vw, 5.4vh), 3.2rem); font-weight: 300; line-height: 1.15;
  opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.mobile-menu nav a i { min-width: 22px; font-size: 14px; color: var(--gold); font-family: var(--sans); letter-spacing: .1em; font-style: normal; }
.mobile-menu nav a:hover { color: var(--gold-light); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.menu-open .mobile-menu li:nth-child(1) a { transition-delay: .25s; }
.menu-open .mobile-menu li:nth-child(2) a { transition-delay: .3s; }
.menu-open .mobile-menu li:nth-child(3) a { transition-delay: .35s; }
.menu-open .mobile-menu li:nth-child(4) a { transition-delay: .4s; }
.menu-open .mobile-menu li:nth-child(5) a { transition-delay: .45s; }
.menu-open .mobile-menu li:nth-child(6) a { transition-delay: .5s; }
.menu-open .mobile-menu li:nth-child(7) a { transition-delay: .55s; }
.menu-open .mobile-menu li:nth-child(8) a { transition-delay: .6s; }
.menu-open .mobile-menu li:nth-child(9) a { transition-delay: .65s; }
.mobile-menu__foot { margin-top: 32px; color: var(--muted); font-size: 14px; letter-spacing: .08em; }
.mobile-menu__foot a { transition: color .3s; }
.mobile-menu__foot a:hover { color: var(--gold-light); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 128px; overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__glow {
  position: absolute; top: -25%; right: -18%; width: 90vw; height: 90vw; max-width: 1200px; max-height: 1200px;
  background: radial-gradient(closest-side, rgba(200, 164, 100, .2), rgba(200, 164, 100, .05) 55%, transparent 75%);
}
.hero__comb { /* honeycomb texture concentrated behind the hive */
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16.2v32.4L28 64.8 0 48.6V16.2Z M28 64.8V97' fill='none' stroke='%23e9d29c' stroke-opacity='.07'/%3E%3C/svg%3E");
  background-size: 84px 145px;
  -webkit-mask-image: radial-gradient(60% 70% at 75% 45%, #000 0%, transparent 75%);
          mask-image: radial-gradient(60% 70% at 75% 45%, #000 0%, transparent 75%);
}
.hero__beam { /* slow diagonal sweep of light */
  position: absolute; inset: -20% -40%;
  background: linear-gradient(105deg, transparent 42%, rgba(233, 210, 156, .055) 50%, transparent 58%);
  animation: beam 14s ease-in-out infinite;
}
@keyframes beam { 0%, 100% { transform: translateX(-18%); } 50% { transform: translateX(18%); } }
.hero__spot { /* soft light that follows the pointer */
  position: absolute; inset: 0;
  background: radial-gradient(520px circle at var(--sx, 72%) var(--sy, 42%), rgba(233, 210, 156, .07), transparent 70%);
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero__inner {
  position: relative; z-index: 2; flex: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(24px, 4vw, 64px);
  padding-bottom: 36px;
}
.hero__title {
  margin: 24px 0 30px;
  font-size: clamp(3.2rem, 5.6vw, 6.8rem);
  line-height: .92; letter-spacing: -.025em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .07em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line--indent { padding-left: .9em; } /* typeset stagger */
.hero__title em { /* a slow sheen of light across "crafted" */
  background: linear-gradient(100deg, #9a7638 0%, #c8a464 30%, #f3dfa8 44%, #fff8e6 50%, #f3dfa8 56%, #c8a464 70%, #9a7638 100%);
  background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen { 0%, 15% { background-position: 100% 0; } 55%, 100% { background-position: 0 0; } }
.hero__lead {
  max-width: 500px; margin: 0 0 38px; padding-left: 24px;
  border-left: 1px solid rgba(200, 164, 100, .45);
  font-size: 17px; line-height: 1.7; color: var(--muted);
}
.hero__cta { display: flex; align-items: center; gap: 20px 34px; flex-wrap: wrap; }
.hero__link {
  display: inline-flex; align-items: center; gap: 16px;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--text);
  transition: color .4s;
}
.hero__link-ring {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--gold-light);
  transition: background-color .5s var(--ease), border-color .5s, color .5s, box-shadow .5s;
}
.hero__link-ring svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .6s var(--ease); }
.hero__link:hover { color: var(--gold-light); }
.hero__link:hover .hero__link-ring { background: var(--gold); border-color: var(--gold); color: #141008; box-shadow: 0 12px 30px -12px rgba(200, 164, 100, .6); }
.hero__link:hover .hero__link-ring svg { transform: translateX(3px); }

/* proof strip: three real figures, set like an engraved plate */
.hero__proof { /* one row spanning the full rule: each column takes its figure's width plus an equal share of the rest */
  display: grid; grid-template-columns: repeat(3, auto); margin: 44px 0 0; padding-top: 24px; max-width: 580px;
  border-top: 1px solid var(--line);
}
.hero__proof div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 0 clamp(16px, 2.2vw, 32px); border-left: 1px solid var(--line); }
.hero__proof div:first-child { padding-left: 0; border-left: 0; }
.hero__proof dd {
  display: flex; align-items: baseline; gap: 10px; margin: 0; white-space: nowrap;
  font-family: var(--serif); font-size: clamp(2rem, 2.6vw, 2.6rem); font-weight: 300; line-height: 1; font-variant-numeric: lining-nums;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__stars { font-family: var(--sans); font-size: 10px; letter-spacing: .16em; -webkit-text-fill-color: var(--gold); color: var(--gold); text-shadow: 0 0 10px rgba(233, 210, 156, .35); }
.hero__proof dt { font-size: 10.5px; font-weight: 500; line-height: 1.6; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }

/* ---------- The Hive ---------- */
.hive {
  --w: clamp(104px, 9.6vw, 156px);            /* hexagon width (pointy-top) */
  --h: calc(var(--w) * 1.1547);
  --gx: calc(var(--w) * 1.075);              /* column step incl. gap */
  --gy: calc(var(--h) * .75 + var(--w) * .07);
  position: relative;
  width: calc(var(--gx) * 3 + var(--w));
  height: calc(var(--gy) * 2 + var(--h));
  margin-right: calc(var(--gutter) * -1);
}
.hex {
  position: absolute;
  left: calc(50% + var(--x) * var(--gx) - var(--w) / 2);
  top: calc(50% + var(--y) * var(--gy) - var(--h) / 2);
  width: var(--w); height: var(--h);
  transform: translate3d(calc(var(--px, 0) * var(--z) * 9px), calc(var(--py, 0) * var(--z) * 9px), 0);
  transition: transform 1.1s var(--ease);
}
.hex__float { display: block; width: 100%; height: 100%; animation: hex-float 8s ease-in-out infinite; animation-delay: calc(var(--i) * -1.1s); transition: filter .6s var(--ease); }
@keyframes hex-float { 0%, 100% { transform: translateY(-5px); } 50% { transform: translateY(6px); } }
.hex__frame, .hex__in { display: block; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
/* Entrance: the bee blooms first, then the six projects unfold from beneath it one by one,
   clockwise from top-left (--i 1-6), then the outline cells and the caption.
   Held until the hive scrolls into view (.is-in, set by main.js). */
.hex__frame {
  position: relative; width: 100%; height: 100%;
  background: linear-gradient(160deg, #f0dcaa, #c8a464 40%, #6e5428 75%, #c8a464);
  animation: hex-in 1.1s var(--ease) both; animation-delay: calc(.85s + (var(--i) - 1) * .16s);
}
@keyframes hex-in { /* travels out from the centre cell to its place */
  from { opacity: 0; transform: translate(calc(var(--x) * var(--gx) * -1), calc(var(--y) * var(--gy) * -1)) scale(.5); }
  35% { opacity: 1; }
  to { opacity: 1; transform: none; }
}
.js .hive:not(.is-in) .hex__frame, .js .hive:not(.is-in) .hive__caption { animation-play-state: paused; }
.hex__in { position: absolute; inset: 1.5px; overflow: hidden; background: #121110; }
.hex__in img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.02); filter: saturate(.95) brightness(.9);
  transition: transform 1.2s var(--ease), filter .6s var(--ease);
}
.hex__in::after { /* bottom vignette for the label */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(8, 7, 6, .85) 100%);
  opacity: .55; transition: opacity .6s var(--ease);
}
.hex__in b {
  position: absolute; left: 0; right: 0; bottom: 22%; z-index: 1; text-align: center;
  font-family: var(--serif); font-weight: 400; font-style: italic; font-size: calc(var(--w) * .13); color: #fff6e3;
  opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
a.hex:hover .hex__float, a.hex:focus-visible .hex__float { filter: drop-shadow(0 0 22px rgba(233, 210, 156, .45)); }
a.hex:hover .hex__in img, a.hex:focus-visible .hex__in img { transform: scale(1.12); filter: none; }
a.hex:hover .hex__in::after, a.hex:focus-visible .hex__in::after { opacity: 1; }
a.hex:hover .hex__in b, a.hex:focus-visible .hex__in b { opacity: 1; transform: none; }
a.hex:focus-visible { outline: none; }

/* centre cell: the bee in a living gold frame */
@property --ring { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.hex--core .hex__frame {
  background: conic-gradient(from var(--ring), #8a6a33, #e9d29c, #fffaf0, #c8a464, #8a6a33, #c8a464, #f3e2b4, #8a6a33);
  animation: core-in 1s cubic-bezier(.34, 1.36, .64, 1) both, ring-turn 6s linear infinite;
  animation-delay: .1s, 0s;
}
@keyframes core-in { from { opacity: 0; transform: scale(.3); filter: blur(6px) brightness(1.8); } 60% { opacity: 1; filter: none; } to { opacity: 1; transform: none; filter: none; } }
@keyframes ring-turn { to { --ring: 360deg; } }
.hex--core .hex__in { inset: 3px; background: radial-gradient(circle at 50% 38%, #4a3a1c 0%, #1b1712 60%, #0f0e0c 100%); }
.hex--core .hex__in::after { display: none; }
.hex--core .hex__in img { inset: 0; width: 100%; height: 100%; object-fit: contain; filter: none; transform-origin: 50% 42%; scale: 1.32; translate: 2% 6%; animation: bee-bob 3.2s ease-in-out infinite; }
.hex--core .hex__float { animation-name: hex-float, core-glow; animation-duration: 8s, 4s; }
@keyframes core-glow { 0%, 100% { filter: drop-shadow(0 0 18px rgba(233, 210, 156, .25)); } 50% { filter: drop-shadow(0 0 38px rgba(233, 210, 156, .55)); } }

/* outline-only cells that extend the comb */
.hex--ghost { pointer-events: none; }
.hex--ghost .hex__frame { background: rgba(200, 164, 100, .32); }
.hex--ghost .hex__in { background: #0e0d0c; }
.hex--ghost .hex__in::after { display: none; }
.hex--ghost .hex__float { opacity: .55; }
.hex--ghost .hex__frame { animation-name: ghost-in; animation-duration: 1.4s; animation-delay: calc(1.9s + (var(--i) - 7) * .12s); }
@keyframes ghost-in { from { opacity: 0; } to { opacity: 1; } }

.hive__caption {
  position: absolute; left: var(--gx); bottom: calc(100% + 18px); z-index: 5; white-space: nowrap;
  display: grid; gap: 8px; padding-left: 18px;
  border-left: 1px solid rgba(200, 164, 100, .5);
  animation: badge-in 1.2s var(--ease) both 2.2s;
}
@keyframes badge-in { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
.hive__caption-title { font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); transition: color .4s; }
.hive__caption-hint { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--muted); }
.hive__caption:hover .hive__caption-title { color: var(--gold-light); }
@media (hover: none) { .hive__caption-hint { font-size: 0; } .hive__caption-hint::before { content: "Tap a cell to explore"; font-size: 1.05rem; } }

.hero__meta {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: 24px;
  /* a rule that spans the text, not the container's gutters */
  background: linear-gradient(var(--line), var(--line)) 50% 0 / calc(100% - var(--gutter) * 2) 1px no-repeat;
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.hero__meta > span:first-child { display: inline-flex; align-items: center; gap: 12px; }
.pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.pulse::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--gold);
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }

.hero__scroll {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); transition: color .4s;
}
.hero__scroll span { position: relative; width: 1px; height: 38px; overflow: hidden; background: var(--line-strong); }
.hero__scroll span::after {
  content: ""; position: absolute; left: 0; top: -45%; width: 1px; height: 45%;
  background: linear-gradient(180deg, transparent, var(--gold-light));
  animation: scroll-drop 2.4s var(--ease-in-out) infinite;
}
@keyframes scroll-drop { 0% { top: -45%; } 100% { top: 100%; } }
.hero__scroll:hover { color: var(--text); }

/* ---------- Marquee ---------- */
.marquee {
  padding-block: 44px;
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  overflow: hidden;
}
.marquee__label {
  text-align: center; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--dim);
  margin-bottom: 28px;
}
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 40s linear infinite;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex-shrink: 0; }
.marquee__list li {
  display: flex; align-items: center; gap: 72px; padding-right: 72px;
  font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-weight: 400; font-style: italic;
  color: var(--muted); white-space: nowrap;
  transition: color .4s;
}
.marquee__list li::after { content: "⬡"; font-style: normal; font-size: .5em; color: var(--gold); opacity: .6; }
.marquee__list li:hover { color: var(--text); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Studio ---------- */
.manifesto {
  font-size: clamp(1.9rem, 4.2vw, 3.6rem);
  line-height: 1.18;
  max-width: 1150px;
}
.manifesto .w { color: var(--dim); opacity: .45; transition: color .5s, opacity .5s; }
.manifesto .w.is-lit { color: var(--text); opacity: 1; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(72px, 10vw, 140px);
  border-top: 1px solid var(--line);
}
.stat { padding: 36px 24px 0 0; display: grid; gap: 8px; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat__num {
  font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 6vw, 5.4rem); line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.promise { margin-top: clamp(96px, 12vw, 160px); }
.promise__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.promise__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.promise__grid li {
  padding: 40px 32px 44px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transition: background-color .6s var(--ease);
}
.promise__grid li:hover { background: var(--surface); }
.promise__icon {
  display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 32px;
  border: 1px solid var(--line-strong); border-radius: 50%;
}
.promise__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.promise__grid h3 { font-family: var(--serif); font-weight: 400; font-size: 1.65rem; line-height: 1.15; margin-bottom: 12px; }
.promise__grid p { color: var(--muted); font-size: 15px; }

/* ---------- Services accordion ---------- */
.services { background: var(--bg-2); }
.accordion { border-top: 1px solid var(--line); }
.accordion.is-instant .acc__body { transition: none; }
.acc { border-bottom: 1px solid var(--line); position: relative; scroll-margin-top: 140px; }
.plan { scroll-margin-top: 140px; }
.acc::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease);
}
.acc:hover::before, .acc.is-open::before { transform: scaleX(1); }
.acc__head {
  width: 100%; display: grid; grid-template-columns: 80px 1fr auto 56px; align-items: center; gap: 24px;
  padding: 34px 0; text-align: left;
}
.acc__num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold); }
.acc__title {
  font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 3.2vw, 2.8rem); line-height: 1.1;
  transition: transform .6s var(--ease), color .4s;
}
.acc__head:hover .acc__title { transform: translateX(14px); }
.acc.is-open .acc__title { color: var(--gold-light); }
.acc__time { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.acc__icon {
  position: relative; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong);
  justify-self: end; transition: background-color .4s, border-color .4s, transform .6s var(--ease);
}
.acc__icon::before, .acc__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 1px; margin: -.5px 0 0 -7px; background: currentColor;
  transition: transform .5s var(--ease);
}
.acc__icon::after { transform: rotate(90deg); }
.acc.is-open .acc__icon { background: var(--gold); border-color: var(--gold); color: #141008; transform: rotate(180deg); }
.acc.is-open .acc__icon::after { transform: rotate(0); }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.acc.is-open .acc__body { grid-template-rows: 1fr; }
.acc__inner { overflow: hidden; padding-left: 104px; padding-right: 80px; }
.acc__inner p { max-width: 640px; color: var(--muted); font-size: 17px; padding-bottom: 20px; }
.acc__inner .tags { padding-bottom: 36px; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags li {
  padding: 7px 16px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 12px; letter-spacing: .08em; color: var(--text);
}

/* ---------- Work ---------- */
.work__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 88px) clamp(24px, 4vw, 56px); }
.case { display: grid; gap: 28px; }
.case--wide { grid-column: 1 / -1; grid-template-columns: 1.5fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.case--reverse { grid-template-columns: 1fr 1.5fr; }
.case--reverse .case__visual { order: 2; }

.case__visual {
  position: relative; aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  isolation: isolate;
}
.case--wide .case__visual { aspect-ratio: 16 / 10; }
.case__visual::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16.2v32.4L28 64.8 0 48.6V16.2Z M28 64.8V97' fill='none' stroke='%23ffffff' stroke-opacity='.05'/%3E%3C/svg%3E");
  transition: transform 1.4s var(--ease);
}
.case:hover .case__visual::before { transform: scale(1.08); }
.case__visual--img { aspect-ratio: 16 / 10; } /* showcase images are 1600x1000 */
.case__visual--img img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.case:hover .case__visual--img img { transform: scale(1.04); }
.case__link { justify-self: start; margin-top: 10px; }
.case__links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 10px; }
.case__info { display: grid; gap: 14px; align-content: start; }
.case__meta { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.case__meta span:last-child { color: var(--dim); }
.case__title { font-size: clamp(2.2rem, 3.6vw, 3.2rem); line-height: 1; }
.case__info > p { color: var(--muted); max-width: 520px; }
.case__metrics { display: flex; gap: 40px; margin-top: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.case__metrics li { display: grid; gap: 2px; }
.case__metrics strong { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--gold-light); }
.case__metrics span { font-size: 12.5px; color: var(--muted); }

/* the open cell: the last card invites the visitor to be the next project */
.case__title em { font-style: italic; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .06em; }
.case__cta { justify-self: start; margin-top: 14px; }
.yours {
  container-type: inline-size; /* everything inside scales with the panel */
  border-color: rgba(200, 164, 100, .22);
  background:
    radial-gradient(55% 75% at 40% 52%, rgba(200, 164, 100, .17), transparent 70%),
    linear-gradient(160deg, #18140e, #0d0c0b 62%);
}
.yours__brand { position: absolute; top: 5.5cqw; left: 5.5cqw; display: grid; gap: .8cqw; }
.yours__brand b { font-family: var(--serif); font-weight: 400; font-size: max(15px, 3.2cqw); line-height: 1; color: var(--text); }
.yours__brand small { font-size: max(8.5px, 1.2cqw); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.yours__cell {
  position: absolute; left: 40%; top: 54%; width: 29cqw; aspect-ratio: 100 / 115.47; translate: -50% -50%;
  display: grid; place-items: center; align-content: center; gap: 2cqw; text-align: center;
}
.yours__cell svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.yours__cell polygon { /* a dashed outline that slowly circles the empty cell */
  fill: rgba(200, 164, 100, .05); stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 6 7;
  vector-effect: non-scaling-stroke; animation: cell-march 16s linear infinite; transition: fill .6s var(--ease);
}
@keyframes cell-march { to { stroke-dashoffset: -260; } }
.yours__plus {
  position: relative; display: grid; place-items: center; width: max(16px, 4.6cqw); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(200, 164, 100, .55); animation: plus-pulse 2.8s var(--ease) infinite;
}
.yours__plus::before, .yours__plus::after { content: ""; position: absolute; width: 42%; height: 1px; background: var(--gold-light); }
.yours__plus::after { rotate: 90deg; }
@keyframes plus-pulse { 0% { box-shadow: 0 0 0 0 rgba(233, 210, 156, .4); } 70%, 100% { box-shadow: 0 0 0 1.6cqw rgba(233, 210, 156, 0); } }
.yours__label { position: relative; font-family: var(--serif); font-size: max(13px, 2.6cqw); line-height: 1.1; color: var(--text); }
.yours__label em { font-style: italic; color: var(--gold-light); }
.yours__bee { /* faces the empty cell with a thumbs-up */
  position: absolute; right: 6%; bottom: 3%; width: 36cqw; height: auto;
  transform-origin: 50% 80%; animation: bee-bob 3.2s ease-in-out infinite;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .55));
}
.case--yours:hover .yours__cell polygon { fill: rgba(200, 164, 100, .14); }

/* ---------- Process ---------- */
.process { background: var(--bg-2); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 28px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--gold), var(--line-strong) 60%, transparent);
}
.step { position: relative; padding: 0 32px 0 0; display: grid; gap: 14px; align-content: start; }
.step__num {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 18px;
  border-radius: 50%; background: var(--bg-2); border: 1px solid var(--gold);
  font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--gold);
  position: relative; z-index: 1;
  transition: background-color .5s, color .5s;
}
.step:hover .step__num { background: var(--gold); color: #141008; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.1; }
.step p { color: var(--muted); font-size: 15px; }
.step__time { font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-top: 6px; }

/* ---------- Engagements ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 18px;
  padding: 40px 32px 32px; border: 1px solid var(--line); border-radius: 4px;
  background: linear-gradient(180deg, var(--surface), var(--bg));
  transition: border-color .5s, transform .7s var(--ease);
}
.plan:hover { border-color: var(--line-strong); transform: translateY(-6px); }
.plan--featured {
  border-color: rgba(200, 164, 100, .55);
  background: radial-gradient(120% 60% at 50% 0%, rgba(200, 164, 100, .16), transparent 70%), linear-gradient(180deg, #17150f, var(--bg));
}
.plan--featured:hover { border-color: var(--gold); }
.plan__badge {
  position: absolute; top: -12px; left: 32px; padding: 4px 14px; border-radius: 999px;
  background: var(--gold-grad); color: #141008; font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.plan__tier { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.plan__price { font-size: clamp(2.6rem, 3.6vw, 3.4rem); line-height: 1; display: flex; align-items: baseline; gap: 10px; }
.plan__price small { font-family: var(--sans); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.plan__price--text { font-style: italic; }
.plan__desc { color: var(--muted); font-size: 15px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan ul { display: grid; gap: 12px; margin-bottom: 12px; flex: 1; }
.plan li { position: relative; padding-left: 26px; font-size: 14.5px; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 1px; background: var(--gold);
}
.plan .btn { padding: 16px 18px; font-size: 11.5px; letter-spacing: .12em; white-space: nowrap; }
.fineprint { margin-top: 32px; font-size: 13px; color: var(--dim); text-align: center; }

/* ---------- Technology: the Bee House ---------- */
.tech { background: var(--bg-2); border-block: 1px solid var(--line); overflow: hidden; }
.tech__glow { position: absolute; right: -10%; top: 50%; width: 900px; height: 900px; transform: translateY(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(200, 164, 100, .14), rgba(200, 164, 100, .03) 60%, transparent 75%); }
.tech__inner { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) auto; gap: clamp(40px, 6vw, 100px); align-items: center; }
.tech__inner .h2 { margin-bottom: 24px; }
.tech__inner .muted { max-width: 420px; }

.tech__legend { margin-top: 40px; border-top: 1px solid var(--line); max-width: 460px; }
.tech__legend li { border-bottom: 1px solid var(--line); }
.tech__legend button {
  width: 100%; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px;
  padding: 15px 4px; text-align: left; position: relative;
}
.tech__legend button::before { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.tech__num { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--gold); font-variant-numeric: lining-nums; }
.tech__cat { font-family: var(--serif); font-size: 1.45rem; line-height: 1.1; color: var(--text); transition: color .4s, transform .6s var(--ease); }
.tech__cat small { display: block; margin-top: 3px; font-family: var(--sans); font-size: 12.5px; color: var(--dim); transition: color .4s; }
.tech__count { min-width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 12px; color: var(--muted); transition: all .4s var(--ease); }
.tech__legend button:hover::before, .tech__legend button.is-on::before { transform: scaleX(1); }
.tech__legend button:hover .tech__cat, .tech__legend button.is-on .tech__cat { color: var(--gold-light); transform: translateX(6px); }
.tech__legend button:hover small, .tech__legend button.is-on small { color: var(--muted); }
.tech__legend button:hover .tech__count, .tech__legend button.is-on .tech__count { background: var(--gold); border-color: var(--gold); color: #141008; }

.beehouse {
  --w: clamp(84px, 8.6vw, 124px);
  --h: calc(var(--w) * 1.1547);
  --gx: calc(var(--w) * 1.06);
  --gy: calc(var(--h) * .75 + var(--w) * .06);
  position: relative;
  width: calc(var(--gx) * 4 + var(--w));
  height: calc(var(--gy) * 4 + var(--h));
}
.beehouse__comb { position: absolute; inset: 0; }
.tcell {
  position: absolute; width: var(--w); height: var(--h);
  left: calc(50% + var(--x) * var(--gx) - var(--w) / 2);
  top: calc(50% + var(--y) * var(--gy) - var(--h) / 2);
  transition: opacity .5s var(--ease), filter .5s var(--ease);
}
.tcell__frame, .tcell__in { display: block; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.tcell__frame {
  position: relative; width: 100%; height: 100%;
  background: linear-gradient(160deg, rgba(240, 220, 170, .55), rgba(200, 164, 100, .28) 45%, rgba(110, 84, 40, .4));
  transition: transform .6s var(--ease), background .5s;
}
.tcell__in {
  position: absolute; inset: 1px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: radial-gradient(90% 70% at 50% 0%, rgba(233, 210, 156, .07), transparent 70%), linear-gradient(180deg, #1a1813, #0f0e0c);
}
.tcell__logo {
  width: calc(var(--w) * .3); height: calc(var(--w) * .3);
  fill: #e6ddcd; opacity: .82; transition: opacity .5s, transform .6s var(--ease);
}
.tcell__name { font-size: calc(var(--w) * .095); font-weight: 500; letter-spacing: .04em; color: var(--muted); text-align: center; line-height: 1.1; padding: 0 10%; transition: color .4s; }

/* entrance: cells pop in, in reading order */
.js .beehouse:not(.is-in) .tcell { opacity: 0; }
.js .beehouse.is-in .tcell { animation: tcell-in 1s cubic-bezier(.34, 1.4, .64, 1) backwards; animation-delay: calc(var(--i) * 45ms); }
@keyframes tcell-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }

/* hover / active category */
.tcell:hover .tcell__frame, .tcell.is-lit .tcell__frame { background: linear-gradient(160deg, #f0dcaa, #c8a464 45%, #8a6a33); transform: scale(1.06); }
.tcell:hover .tcell__logo, .tcell.is-lit .tcell__logo { fill: url(#techGold); opacity: 1; transform: translateY(-2px) scale(1.08); }
.tcell:hover .tcell__name, .tcell.is-lit .tcell__name { color: var(--text); }
.tcell:hover, .tcell.is-lit { filter: drop-shadow(0 0 18px rgba(233, 210, 156, .35)); z-index: 2; }
.beehouse.has-focus .tcell:not(.is-lit):not(.tcell--core) { opacity: .28; }

/* centre: the bee */
@property --tring { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.tcell--core .tcell__frame { background: conic-gradient(from var(--tring), #8a6a33, #e9d29c, #fffaf0, #c8a464, #8a6a33, #c8a464, #f3e2b4, #8a6a33); animation: tring 6s linear infinite; }
@keyframes tring { to { --tring: 360deg; } }
.tcell--core .tcell__in { inset: 2.5px; background: radial-gradient(circle at 50% 38%, #4a3a1c 0%, #1b1712 60%, #0f0e0c 100%); }
/* full-figure craftsman: zoom onto the face, loupe and hexagon */
.tcell--core img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transform-origin: 60% 48%; scale: 1.55; translate: -9% 3%; animation: bee-bob 3.2s ease-in-out infinite; }
.tcell--core { filter: drop-shadow(0 0 24px rgba(233, 210, 156, .4)); }

/* "+ Your stack" honey cell */
.tcell--more .tcell__frame { background: linear-gradient(160deg, #f0dcaa, #c8a464 45%, #8a6a33); }
.tcell--more .tcell__in { background: linear-gradient(160deg, rgba(200, 164, 100, .32), rgba(110, 84, 40, .5)), #15120c; gap: 4px; }
.tcell--more b { font-family: var(--serif); font-weight: 300; font-size: calc(var(--w) * .34); line-height: 1; color: #fff3d6; }
.tcell--more .tcell__name { color: #f3e2b4; }
.tcell--more:hover .tcell__frame { transform: scale(1.06); }

.tcell--ghost .tcell__frame { background: rgba(200, 164, 100, .25); }
.tcell--ghost .tcell__in { background: #0f0e0d; }
.tcell--ghost { opacity: .55; }

/* ---------- Testimonials ---------- */
.quotes { position: relative; max-width: 1080px; }
.quotes__mark { width: 56px; fill: var(--gold); opacity: .8; margin-bottom: 40px; }
.quotes__track { display: grid; }
.quote {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), visibility .9s;
}
.quote.is-active { opacity: 1; visibility: visible; transform: none; }
.quote blockquote { font-size: clamp(1.8rem, 3.8vw, 3.3rem); line-height: 1.2; }
.quote figcaption { display: flex; align-items: center; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.quote figcaption strong { font-weight: 500; font-size: 15px; letter-spacing: .04em; }
.quote figcaption span { color: var(--muted); font-size: 14px; }
.quote figcaption strong::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--gold); margin-left: 16px; vertical-align: middle; }
.quotes__nav { display: flex; align-items: center; gap: 20px; margin-top: 56px; }
.quotes__count { font-size: 13px; letter-spacing: .14em; color: var(--muted); min-width: 72px; text-align: center; }
.quotes__count b { color: var(--text); font-weight: 500; }

.rating {
  display: flex; align-items: center; gap: 28px;
  margin-top: clamp(72px, 9vw, 120px); padding-top: 40px; border-top: 1px solid var(--line);
}
.rating strong {
  font-family: var(--serif); font-weight: 300; font-size: clamp(3.6rem, 6vw, 5rem); line-height: 1; font-variant-numeric: lining-nums;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rating__meta { display: grid; gap: 8px; padding-left: 28px; border-left: 1px solid var(--line-strong); }
.rating__stars { color: var(--gold); font-size: 20px; letter-spacing: .22em; text-shadow: 0 0 14px rgba(233, 210, 156, .45); }
.rating em { font-style: normal; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* ---------- Journal ---------- */
.journal { background: var(--bg-2); }
.journal__grid {
  display: grid; grid-template-columns: 1.18fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: stretch;
}

/* Cover plates: framed, typographic line-art instead of stock imagery */
.plate {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); border-radius: 2px;
  background: radial-gradient(80% 80% at 50% 45%, #2a2214, #0d0c0a 78%);
  transition: border-color .8s var(--ease);
}
.plate--blueprint { background: radial-gradient(80% 80% at 50% 45%, #1a2423, #0b0d0d 78%); }
.plate--restraint { background: radial-gradient(80% 80% at 50% 60%, #2b1f17, #0d0b0a 78%); }
/* passe-partout frame */
.plate::before {
  content: ""; position: absolute; inset: 14px; z-index: 1; pointer-events: none;
  border: 1px solid rgba(233, 210, 156, .14);
  transition: inset .9s var(--ease), border-color .9s var(--ease);
}
/* sheen sweep on hover */
.plate::after {
  content: ""; position: absolute; inset: -20%; z-index: 2; pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, rgba(240, 220, 170, .09) 50%, transparent 62%);
  transform: translateX(-70%); transition: transform 1.4s var(--ease);
}
.plate__art {
  position: absolute; inset: 0; margin: auto; width: 62%; height: 62%; overflow: visible;
  fill: none; stroke: var(--gold-light); stroke-width: 1; stroke-opacity: .55; vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 18px rgba(200, 164, 100, .18));
  transition: transform 1.6s var(--ease), stroke-opacity .8s;
}
.plate__art * { vector-effect: non-scaling-stroke; }
.plate__art .f { fill: var(--gold-light); stroke: none; }
.plate__no {
  position: absolute; top: 26px; left: 28px; z-index: 3;
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--gold); font-variant-numeric: lining-nums;
}
.plate__mark {
  position: absolute; bottom: 26px; right: 28px; z-index: 3;
  font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--dim);
}
.post a:hover .plate { border-color: rgba(200, 164, 100, .45); }
.post a:hover .plate::before { inset: 10px; border-color: rgba(233, 210, 156, .3); }
.post a:hover .plate::after { transform: translateX(70%); }
.post a:hover .plate__art { transform: scale(1.06) rotate(-4deg); stroke-opacity: .85; }
.post--row a:hover .plate__art { transform: scale(1.08); }

.post__meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim);
}
.post__meta span:first-child { color: var(--gold); }
.post__meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.post h3 {
  font-family: var(--serif); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance;
  transition: color .5s;
}
.post a:hover h3 { color: var(--gold-light); }
.post svg:not(.plate__art) { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform .6s var(--ease); }
.post a:hover svg:not(.plate__art) { transform: translateX(6px); }

/* Featured essay */
.post--feature a { display: grid; gap: 36px; }
.post--feature .plate { aspect-ratio: 16 / 11; }
.post--feature .post__body { display: grid; gap: 20px; }
.post--feature h3 { font-size: clamp(2rem, 3.2vw, 2.9rem); }
.post__excerpt { color: var(--muted); max-width: 520px; font-size: 16px; }
.post__cta {
  display: inline-flex; align-items: center; gap: 14px; justify-self: start; margin-top: 8px; padding-bottom: 6px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--text);
  border-bottom: 1px solid var(--gold);
}

/* Index of further essays */
.journal__index { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.post--row { border-bottom: 1px solid var(--line); }
.post--row a {
  display: grid; grid-template-columns: clamp(132px, 13vw, 184px) 1fr; gap: clamp(20px, 2.4vw, 32px); align-items: center;
  padding-block: clamp(28px, 3vw, 40px);
}
.post--row .plate { aspect-ratio: 4 / 5; }
.post--row .plate::before { inset: 9px; }
.post--row a:hover .plate::before { inset: 6px; }
.post--row .plate__no { top: 18px; left: 18px; font-size: .95rem; }
.post--row .plate__art { width: 76%; height: 76%; }
.post--row .post__body { display: grid; gap: 14px; }
.post--row h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); }
.post__time {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); transition: color .5s;
}
.post a:hover .post__time { color: var(--gold); }

.journal__letter {
  margin-top: auto; display: grid; gap: 10px; padding: 32px 0 4px;
}
.journal__letter-label { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.journal__letter-text { font-family: var(--serif); font-size: clamp(1.35rem, 1.8vw, 1.6rem); line-height: 1.2; font-weight: 300; }
.journal__letter-text em { color: var(--gold-light); }
.journal__letter-cta {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 6px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .5s;
}
.journal__letter-cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform .6s var(--ease); }
.journal__letter:hover .journal__letter-cta { color: var(--text); }
.journal__letter:hover .journal__letter-cta svg { transform: translateX(6px); }

/* ---------- Begin (contact) ---------- */
.begin { overflow: hidden; }
/* gold aura with hairline rings radiating from behind the enquiry letter */
.begin__aura {
  position: absolute; left: 34%; top: 58%; width: min(1200px, 130vw); aspect-ratio: 1;
  transform: translate(-50%, -50%); pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(200, 164, 100, .13), transparent 68%),
    repeating-radial-gradient(circle, transparent 0 89px, rgba(233, 210, 156, .07) 89px 90px);
  -webkit-mask: radial-gradient(closest-side, #000 25%, transparent 100%);
  mask: radial-gradient(closest-side, #000 25%, transparent 100%);
}

.begin__top {
  position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end;
  margin-bottom: clamp(72px, 8vw, 112px);
}
.begin__lede { justify-self: end; display: grid; gap: 22px; max-width: 400px; }
.begin__lede .muted { font-size: 17px; }
.begin__avail {
  justify-self: start; display: inline-flex; align-items: center; gap: 14px;
  padding: 10px 18px 10px 16px; border: 1px solid rgba(200, 164, 100, .3); border-radius: 999px;
  background: rgba(200, 164, 100, .06);
  font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-light);
}

.begin__grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(48px, 6vw, 104px); align-items: start;
}

/* The letter of enquiry: framed stationery with a bee seal */
.enquiry {
  --p: 0;
  position: relative; isolation: isolate; margin-top: 40px;
  border: 1px solid rgba(200, 164, 100, .22); border-radius: 2px;
  background:
    radial-gradient(110% 55% at 50% 0%, rgba(200, 164, 100, .1), transparent 62%),
    linear-gradient(180deg, #18171a 0%, #0f0f11 100%);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 240, 210, .06);
}
/* passe-partout frame */
.enquiry::before {
  content: ""; position: absolute; inset: 12px; z-index: -1; pointer-events: none;
  border: 1px solid rgba(233, 210, 156, .09);
}
/* gilded corners on the frame */
.enquiry::after {
  --c: rgba(233, 210, 156, .6);
  content: ""; position: absolute; inset: 12px; z-index: -1; pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 22px 1px, linear-gradient(var(--c), var(--c)) 0 0 / 1px 22px,
    linear-gradient(var(--c), var(--c)) 100% 0 / 22px 1px, linear-gradient(var(--c), var(--c)) 100% 0 / 1px 22px,
    linear-gradient(var(--c), var(--c)) 0 100% / 22px 1px, linear-gradient(var(--c), var(--c)) 0 100% / 1px 22px,
    linear-gradient(var(--c), var(--c)) 100% 100% / 22px 1px, linear-gradient(var(--c), var(--c)) 100% 100% / 1px 22px;
  background-repeat: no-repeat;
}
.enquiry__seal {
  position: absolute; left: 50%; top: 0; z-index: 3;
  width: 76px; height: 76px; margin: -38px 0 0 -38px; padding: 2px;
  border-radius: 50%; overflow: hidden; background: #8a6a33;
  box-shadow: 0 0 0 7px var(--bg), 0 0 0 8px rgba(200, 164, 100, .28), 0 18px 36px -12px rgba(233, 210, 156, .5);
}
.enquiry__seal::before {
  content: ""; position: absolute; inset: -40%;
  background: conic-gradient(#8a6a33, #e9d29c, #fffaf0, #c8a464, #8a6a33, #c8a464, #f3e2b4, #8a6a33);
  animation: spin 6s linear infinite;
}
.enquiry__seal > span {
  position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 32%, #4a3a1c 0%, #1b1712 62%, #121110 100%);
}
/* the poses are full figures: zoom onto the face, keeping the quill / thumbs-up in frame.
   scale/translate compose with the bee-bob transform animation. */
.enquiry__seal img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform-origin: 58% 48%; scale: 1.72; translate: -8% 4%;
  animation: bee-bob 3.2s ease-in-out infinite;
  transition: opacity .6s var(--ease);
}
.enquiry__seal .seal__sent { opacity: 0; }
.enquiry.is-sent .seal__idle { opacity: 0; }
.enquiry.is-sent .seal__sent { opacity: 1; }
.enquiry.is-sent .enquiry__seal { animation: seal-stamp 1s var(--ease); }
@keyframes seal-stamp {
  0% { transform: none; }
  35% { transform: scale(1.18) rotate(-8deg); box-shadow: 0 0 0 7px var(--bg), 0 0 0 8px rgba(233, 210, 156, .8), 0 0 48px 8px rgba(233, 210, 156, .45); }
  100% { transform: none; }
}
/* progress: a gold line that spreads from the seal along the top edge as the letter is completed */
.enquiry__progress { position: absolute; left: -1px; right: -1px; top: -1px; z-index: 2; height: 1px; pointer-events: none; }
.enquiry__progress i {
  display: block; height: 100%;
  background: linear-gradient(90deg, rgba(200, 164, 100, .2), var(--gold-light) 50%, rgba(200, 164, 100, .2));
  box-shadow: 0 0 14px rgba(233, 210, 156, .55);
  transform: scaleX(var(--p)); transition: transform 1.1s var(--ease);
}

.form {
  --gap: 36px;
  --s: 0; /* current step, set by main.js */
  position: relative; display: grid; gap: var(--gap);
  padding: clamp(64px, 6vw, 80px) clamp(28px, 4.6vw, 64px) clamp(40px, 4.4vw, 56px);
}
.form__head {
  display: flex; justify-content: center; align-items: center; gap: 16px;
  font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
}
.form__title { color: var(--gold); }

/* step rail: four numerals joined by a hairline that gilds as you advance */
.stages { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.stages::before, .stages::after {
  content: ""; position: absolute; left: 12.5%; top: 18px; height: 1px; pointer-events: none;
}
.stages::before { right: 12.5%; background: var(--line-strong); }
.stages::after {
  width: 75%; background: linear-gradient(90deg, var(--gold-deep), var(--gold-light));
  box-shadow: 0 0 10px rgba(233, 210, 156, .45);
  transform: scaleX(calc(var(--s) / 3)); transform-origin: left; transition: transform .9s var(--ease);
}
.stage { position: relative; z-index: 1; display: grid; justify-items: center; gap: 12px; width: 100%; }
.stage i {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: #161518;
  font-family: var(--serif); font-size: 1rem; color: var(--dim); font-variant-numeric: lining-nums;
  transition: background-color .6s var(--ease), color .6s, border-color .6s, box-shadow .6s;
}
.stage span { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); transition: color .4s; }
.stage:hover span { color: var(--text); }
.stage:hover i { border-color: rgba(200, 164, 100, .6); }
.stage.is-done i { border-color: rgba(200, 164, 100, .6); color: var(--gold); }
.stage.is-current i {
  background: var(--gold-grad); border-color: transparent; color: #141008;
  box-shadow: 0 0 0 5px rgba(200, 164, 100, .12), 0 0 24px rgba(233, 210, 156, .35);
}
.stage.is-current span { color: var(--gold-light); }

/* panels share one grid cell, so the letter keeps the height of its tallest step */
.panels { display: grid; padding-top: 8px; border-top: 1px solid var(--line); }
.panel { min-width: 0; margin: 0; padding: 28px 0 0; border: 0; }
.panel:focus { outline: none; }
.js .panel {
  grid-area: 1 / 1;
  opacity: 0; visibility: hidden; transform: translateX(32px);
  transition: opacity .5s var(--ease), transform .8s var(--ease), visibility 0s .5s;
}
.js .panel.is-past { transform: translateX(-32px); }
.js .panel.is-active {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .7s var(--ease) .12s, transform .9s var(--ease) .12s, visibility 0s;
}
.panel__q {
  float: left; width: 100%; padding: 0; margin-bottom: 34px;
  font-family: var(--serif); font-size: clamp(2rem, 2.8vw, 2.6rem); font-weight: 300; line-height: 1.06; letter-spacing: -.015em;
  text-wrap: balance;
}
.panel__q em {
  font-style: italic; padding-right: .06em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.panel > :not(legend) { clear: both; }
.panel > :not(legend) + :not(legend) { margin-top: 30px; }
.panel__hint { margin-top: -20px; font-size: 14.5px; color: var(--muted); }
.panel__hint b { font-weight: 500; letter-spacing: .04em; color: var(--gold-light); }
.panel > .panel__hint + * { margin-top: 26px; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }

.field { position: relative; }
.field input, .field textarea {
  display: block; width: 100%; padding: 24px 0 13px; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong);
  border-radius: 0; color: var(--text); font: inherit; font-size: 18px; outline: none; resize: vertical;
  transition: border-color .4s;
}
.field textarea { min-height: 132px; line-height: 1.6; }
.field input:-webkit-autofill {
  -webkit-text-fill-color: var(--text); caret-color: var(--text);
  transition: background-color 9999s ease-out;
}
.field label {
  position: absolute; left: 0; top: 24px; color: var(--muted); font-size: 17px; pointer-events: none;
  transform-origin: left top; transition: transform .45s var(--ease), color .45s;
}
.field label small { font-size: .82em; color: var(--dim); }
/* gold underline that draws in on focus */
.field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left;
  transition: transform .8s var(--ease);
}
.field:focus-within::after { transform: scaleX(1); }
.field input:focus + label, .field textarea:focus + label,
.field input:not(:placeholder-shown) + label, .field textarea:not(:placeholder-shown) + label {
  transform: translateY(-24px) scale(.72); color: var(--gold);
}
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #c9725e; }
.field.is-invalid label { color: #d98b77; }
.field.is-invalid::after { background: #c9725e; transform: scaleX(1); }
.field__msg {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px);
  font-size: 12.5px; line-height: 1.3; color: #e09a87; pointer-events: none;
}

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-flex; align-items: center; gap: 12px; padding: 13px 24px 13px 19px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 15px; color: var(--muted); user-select: none;
  transition: color .4s, border-color .4s, background-color .4s;
}
.chips span::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1px solid currentColor; opacity: .55;
  transition: background-color .4s, border-color .4s, box-shadow .4s, opacity .4s;
}
.chips label:hover span { border-color: rgba(200, 164, 100, .6); color: var(--text); }
.chips input:checked + span { border-color: var(--gold); background: rgba(200, 164, 100, .1); color: var(--gold-light); }
.chips input:checked + span::before { background: var(--gold-light); border-color: var(--gold-light); opacity: 1; box-shadow: 0 0 10px rgba(233, 210, 156, .8); }
.chips input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }

/* investment: four tiers as tiles that gild when chosen */
.scale { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.scale label { position: relative; min-width: 0; }
.scale input { position: absolute; opacity: 0; pointer-events: none; }
.scale span {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; justify-items: center; gap: 8px; padding: 20px 6px 18px; text-align: center; user-select: none;
  border: 1px solid var(--line-strong); border-radius: 2px;
  transition: border-color .4s, background-color .4s;
}
.scale span::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold-grad); transform: scaleY(0); transform-origin: bottom;
  transition: transform .7s var(--ease);
}
.scale b { font-family: var(--serif); font-size: clamp(1.1rem, 1.3vw, 1.3rem); font-weight: 400; line-height: 1; white-space: nowrap; font-variant-numeric: lining-nums; transition: color .4s; }
.scale em { font-style: normal; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); transition: color .4s; }
.scale label:hover span { border-color: rgba(200, 164, 100, .6); background: rgba(200, 164, 100, .05); }
.scale input:checked + span { border-color: transparent; }
.scale input:checked + span::before { transform: none; }
.scale input:checked + span b { color: #141008; }
.scale input:checked + span em { color: rgba(20, 16, 8, .7); }
.scale input:focus-visible + span { outline: 1px solid var(--gold); outline-offset: 3px; }

.form__foot {
  display: flex; align-items: center; gap: 20px 28px;
  padding-top: 32px; border-top: 1px solid var(--line);
}
.form__back {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  transition: color .4s, opacity .4s;
}
.form__back svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; transition: transform .5s var(--ease); }
.form__back:hover { color: var(--text); }
.form__back:hover svg { transform: translateX(-4px); }
.form.is-first .form__back { opacity: 0; visibility: hidden; }
.form__note { flex: 1; text-align: right; font-size: 12.5px; line-height: 1.5; color: var(--dim); }
.form__foot .btn { flex: none; padding: 20px 38px; }
.form__status {
  position: absolute; left: clamp(28px, 4.6vw, 64px); right: clamp(28px, 4.6vw, 64px); bottom: clamp(14px, 1.6vw, 20px);
  font-size: 13.5px; line-height: 1.4; color: var(--gold-light);
}
.form__status.is-error { color: #d98b77; }

/* without JS every part shows, stacked */
html:not(.js) .stages, html:not(.js) .form__back { display: none; }

/* What happens next + direct lines */
.begin__aside { position: sticky; top: 150px; display: grid; gap: clamp(56px, 6vw, 80px); padding-top: 40px; }
.begin__kicker {
  display: flex; align-items: center; gap: 16px; margin-bottom: 30px;
  font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}
.begin__kicker::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.next__list { display: grid; gap: 32px; }
.next__list li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 22px; }
/* rail joining each step to the next */
.next__list li:not(:last-child)::before {
  content: ""; position: absolute; left: 19.5px; top: 40px; bottom: -32px; width: 1px;
  background: linear-gradient(180deg, rgba(200, 164, 100, .5), rgba(200, 164, 100, .14));
}
.next__num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(200, 164, 100, .4); background: var(--bg);
  font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--gold); font-variant-numeric: lining-nums;
}
.next__list h4 { margin: 6px 0 6px; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; line-height: 1.15; }
.next__list p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

.lines ul { border-top: 1px solid var(--line); }
.lines .line { position: relative; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--line); }
.lines .line::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease);
}
.lines .line:hover::after { transform: scaleX(1); }
.lines .line a { flex: 1; min-width: 0; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 18px; padding-block: 20px; }
.line__icon {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--gold-light);
  transition: background-color .5s var(--ease), border-color .5s, color .5s;
}
.line__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.line__text { display: grid; gap: 2px; min-width: 0; }
.line__label { font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
.line__value {
  font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; font-variant-numeric: lining-nums;
  overflow-wrap: anywhere; transition: color .4s;
}
.line__arrow { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 1.3; transition: transform .6s var(--ease), stroke .4s; }
.lines .line:hover .line__icon { background: var(--gold); border-color: var(--gold); color: #141008; }
.lines .line:hover .line__value { color: var(--gold-light); }
.lines .line:hover .line__arrow { stroke: var(--gold); transform: translate(3px, -3px); }
.line__copy {
  flex: none; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  transition: color .4s, border-color .4s, background-color .4s;
}
.line__copy:hover { border-color: var(--gold); color: var(--text); }
.line__copy.is-copied { border-color: var(--gold); background: rgba(200, 164, 100, .12); color: var(--gold-light); }
.lines__foot { margin-top: 24px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.lines__foot span { margin-right: 8px; color: var(--gold); }
.lines__foot b { display: block; margin-top: 8px; padding-left: 22px; font-weight: inherit; } /* second line, aligned past the star */

/* ---------- Footer ---------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.footer {
  position: relative; overflow: hidden; isolation: isolate;
  padding-top: clamp(96px, 11vw, 150px);
  background: linear-gradient(180deg, var(--bg-2) 0%, #0b0a09 100%);
}
/* gilded top edge */
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 164, 100, .35) 25%, var(--gold-light) 50%, rgba(200, 164, 100, .35) 75%, transparent);
}
/* warm glow rising behind the wordmark */
.footer__aura {
  position: absolute; left: 50%; bottom: -25%; z-index: -1; width: min(1500px, 150vw); height: 75%;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(200, 164, 100, .12), transparent 75%);
}

.footer__top {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(48px, 8vw, 140px); align-items: end;
}
.footer__tagline { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 4.6vw, 4.5rem); line-height: 1; letter-spacing: -.02em; }
.footer__rating {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-top: 44px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.footer__stars { color: var(--gold); font-size: 14px; letter-spacing: .2em; text-shadow: 0 0 12px rgba(233, 210, 156, .4); }
.footer__rating b {
  padding-right: 16px; border-right: 1px solid var(--line-strong);
  font-family: var(--serif); font-size: 1.35rem; font-weight: 400; line-height: 1; letter-spacing: 0;
  color: var(--text); font-variant-numeric: lining-nums;
}

/* The Atelier Letter: editorial, unboxed — a single serif line to write on */
.letter__kicker {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}
.letter__kicker::before { content: ""; width: 32px; height: 1px; background: var(--gold); opacity: .7; }
.letter__title {
  margin-top: 22px; max-width: 460px; text-wrap: pretty;
  font-family: var(--serif); font-size: clamp(1.45rem, 1.9vw, 1.75rem); font-weight: 300; line-height: 1.3;
}
.letter__title em {
  font-style: italic; padding-right: .06em;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.letter__row {
  position: relative; display: flex; align-items: center; gap: 16px; margin-top: 34px;
  border-bottom: 1px solid var(--line-strong);
}
.letter__row::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease);
}
.letter__row:focus-within::after { transform: scaleX(1); }
.letter__row input {
  flex: 1; min-width: 0; padding: 16px 0 18px; background: none; border: 0; border-radius: 0; outline: none;
  color: var(--text); font-family: var(--serif); font-size: clamp(1.5rem, 2.1vw, 1.95rem); font-weight: 300;
}
.letter__row input::placeholder { color: var(--dim); font-style: italic; }
.letter__row input:-webkit-autofill { -webkit-text-fill-color: var(--text); transition: background-color 9999s ease-out; }
.letter__send {
  flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid rgba(200, 164, 100, .45); color: var(--gold-light);
  transition: background-color .5s var(--ease), border-color .5s, color .5s, box-shadow .5s;
}
.letter__send svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .6s var(--ease); }
.letter__send:hover, .letter__row:focus-within .letter__send {
  background: var(--gold-grad); border-color: transparent; color: #141008;
  box-shadow: 0 12px 30px -12px rgba(200, 164, 100, .6);
}
.letter__send:hover svg { transform: translateX(3px); }
.letter__note { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.letter__status { font-size: 12.5px; color: var(--dim); }
/* thank-you: the bee with its sealed letter appears beside the confirmation */
.letter__bee {
  position: relative; flex: none; width: 0; height: 52px; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 50% 38%, #4a3a1c 0%, #1b1712 62%, #121110 100%);
  box-shadow: 0 0 0 1px rgba(200, 164, 100, .5), 0 10px 24px -10px rgba(233, 210, 156, .5);
  opacity: 0; scale: .6; margin-right: -14px;
  transition: width .6s var(--ease), margin .6s var(--ease), opacity .5s var(--ease) .15s, scale .7s cubic-bezier(.34, 1.56, .64, 1) .15s;
}
.letter__bee img { width: 100%; height: 100%; object-fit: cover; transform-origin: 64% 55%; scale: 1.7; translate: -12% -3%; }
.letter.is-done .letter__bee { width: 52px; margin-right: 0; opacity: 1; scale: 1; }
.letter__status.is-ok { color: var(--gold-light); }
.letter__status.is-error { color: #d98b77; }
.letter.is-invalid .letter__row { border-bottom-color: #c9725e; }
.letter.is-invalid .letter__row::after { background: #c9725e; transform: scaleX(1); }

/* hairline rule with a gold lozenge */
.footer__rule {
  position: relative; height: 1px; margin-block: clamp(80px, 9vw, 120px) clamp(56px, 6vw, 80px);
  background: linear-gradient(90deg, transparent, var(--line-strong) 18%, var(--line-strong) 82%, transparent);
}
.footer__rule span {
  position: absolute; left: 50%; top: 50%; width: 11px; height: 11px;
  border: 1px solid var(--gold); background: #0f0f10;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 0 8px #0f0f10, 0 0 18px rgba(233, 210, 156, .35);
}
.footer__rule span::after { content: ""; position: absolute; inset: 3px; background: var(--gold-light); }

.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__cols h4 { margin-bottom: 26px; font-size: 11px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }
.footer__cols ul { display: grid; gap: 14px; justify-items: start; }
.footer__cols ul a {
  position: relative; display: inline-flex; align-items: center; gap: 8px; padding-bottom: 2px;
  font-size: 15px; color: var(--muted); transition: color .4s;
}
.footer__cols ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.footer__cols ul a:hover { color: var(--text); }
.footer__cols ul a:hover::after { transform: scaleX(1); transform-origin: left; }
/* engagements: plan name with its starting price */
.footer__cols .footer__plans a { flex-direction: column; align-items: flex-start; gap: 3px; }
.footer__plans small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); transition: color .4s; }
.footer__cols .footer__plans a:hover small { color: var(--gold); }

/* Wordmark: "Beely" in gold hairline, "Soft" gilded; on fine pointers a gold light follows the cursor */
.footer__word {
  position: relative; margin-top: clamp(88px, 10vw, 150px);
  font-size: clamp(4.4rem, 19vw, 19rem); line-height: 1; letter-spacing: -.04em; white-space: nowrap;
  text-align: center; user-select: none;
}
.footer__word > span { display: block; padding: 0 .04em .14em; }
.footer__word-base { color: transparent; -webkit-text-stroke: 1px rgba(233, 210, 156, .26); }
.footer__word-base em { -webkit-text-stroke: 0; }
.footer__word-lit {
  position: absolute; inset: 0; pointer-events: none;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-mask: radial-gradient(circle clamp(120px, 16vw, 260px) at var(--mx, 50%) var(--my, 50%), #000 0%, transparent 100%);
  mask: radial-gradient(circle clamp(120px, 16vw, 260px) at var(--mx, 50%) var(--my, 50%), #000 0%, transparent 100%);
  opacity: 0; transition: opacity .6s var(--ease);
}
@property --mx { syntax: "<length-percentage>"; inherits: true; initial-value: 50%; }
@media (hover: hover) { .footer__word:hover .footer__word-lit { opacity: 1; } }
.footer__word.is-sweeping .footer__word-lit { animation: word-sweep 3.4s var(--ease-in-out) both; }
@keyframes word-sweep {
  0% { --mx: -12%; opacity: 0; }
  18%, 82% { opacity: 1; }
  100% { --mx: 112%; opacity: 0; }
}

.footer__bottom {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  padding-block: 28px 104px; border-top: 1px solid var(--line);
  font-size: 12.5px; letter-spacing: .03em; color: var(--dim);
}
.footer__legal { display: flex; align-items: center; gap: 14px; }
.footer__legal i { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); }
.footer__legal a { transition: color .4s; }
.footer__legal a:hover { color: var(--text); }
.footer__up {
  justify-self: end; display: inline-flex; align-items: center; gap: 16px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); transition: color .4s;
}
.footer__up-ring {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--gold-light);
  transition: background-color .5s var(--ease), border-color .5s, color .5s, box-shadow .5s;
}
.footer__up-ring svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; transition: transform .6s var(--ease); }
.footer__up:hover { color: var(--text); }
.footer__up:hover .footer__up-ring { background: var(--gold); border-color: var(--gold); color: #141008; box-shadow: 0 10px 30px -10px rgba(200, 164, 100, .6); }
.footer__up:hover .footer__up-ring svg { transform: translateY(-3px); }

/* ---------- Reveal animations ---------- */
.js [data-reveal] {
  opacity: 0; transform: translateY(32px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="up"] { opacity: 1; transform: translateY(110%); transition-duration: 1.3s; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* laptops (1181–1319px): tighten the header so all seven links still fit */
@media (max-width: 1319px) {
  .header__inner { gap: 20px; }
  .nav__list { gap: 18px; }
  .nav__list a { font-size: 12px; letter-spacing: .1em; }
  .header__actions .btn { padding-inline: 18px; }
  .brand__tag, .header__actions .btn { white-space: nowrap; }
  .scale em { letter-spacing: .1em; }
  .scale b { font-size: 1rem; }
}

@media (max-width: 1180px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .plans { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .promise__grid { grid-template-columns: repeat(2, 1fr); }
  .begin__grid { grid-template-columns: 1fr; gap: 72px; }
  .begin__aside { position: static; grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 0; }
  .begin__aura { left: 50%; top: 52%; }
}

@media (max-width: 960px) {
  .dock__list { display: none; }
  .dock__menu { display: inline-flex; }
  .dock__cta { display: inline-flex; }
  .dock__inner { height: 60px; }
  .split-head { grid-template-columns: 1fr; gap: 24px; }
  .split-head .muted, .split-head .link-underline { justify-self: start; }
  .hero__inner { grid-template-columns: 1fr; gap: 64px; padding-bottom: 48px; }
  .hero__title { font-size: clamp(3.2rem, 9.6vw, 5.8rem); }
  .hive { --w: clamp(64px, calc((100vw - var(--gutter) * 2) / 4.3), 140px); margin: 0 auto 88px; } /* comb (4.225 cells wide) never exceeds the content width */
  .hive__caption { left: 50%; top: calc(100% + 28px); translate: -50% 0; padding-left: 0; border-left: 0; text-align: center; justify-items: center; white-space: nowrap; animation: none; }
  .hex--ghost { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { margin-top: 32px; border-top: 1px solid var(--line); }
  .work__grid { grid-template-columns: 1fr; }
  .case--wide, .case--reverse { grid-template-columns: 1fr; }
  .case--reverse .case__visual { order: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .steps::before { display: none; }
  .tech__inner { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: minmax(0, 1fr); }
  .beehouse { margin: 0 auto; }
  .journal__grid { grid-template-columns: 1fr; }
  .begin__top { grid-template-columns: 1fr; gap: 32px; }
  .begin__lede { justify-self: start; }
  .begin__aside { grid-template-columns: 1fr; }
  .acc__head { grid-template-columns: 52px 1fr 48px; }
  .acc__time { display: none; }
  .acc__inner { padding-left: 76px; padding-right: 0; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .header__actions .btn { display: none; }
  .hero { padding-top: 120px; }
  .hero__cta { gap: 22px; }
  .hero__cta .btn { width: 100%; }
  .hero__proof { margin-top: 40px; }
  .hero__proof div { padding: 0 12px; }
  .hero__proof dd { flex-wrap: wrap; gap: 4px 8px; font-size: clamp(1.35rem, 6.4vw, 1.7rem); }
  .hero__scroll { font-size: 0; gap: 0; }
  .hero__proof dt { font-size: 9.5px; letter-spacing: .16em; }
  .hero__lead { padding-left: 18px; }
  .hide-sm { display: none; }
  .hero__meta { font-size: 10.5px; letter-spacing: .12em; }
  .stat, .stat + .stat { padding: 28px 12px 0 0; }
  .stat:nth-child(2), .stat:nth-child(4) { padding-left: 16px; }
  .promise__grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; row-gap: 44px; }
  .beehouse { --w: clamp(56px, 16.5vw, 84px); }
  .tech__cat { font-size: 1.25rem; }
  .post--feature .plate { aspect-ratio: 4 / 3; }
  .post--row a { grid-template-columns: 104px 1fr; gap: 20px; }
  .post--row .plate__no { top: 12px; left: 12px; font-size: .85rem; }
  .case__metrics { gap: 28px; }
  .acc__head { grid-template-columns: 36px 1fr 44px; gap: 12px; padding: 26px 0; }
  .acc__icon { width: 40px; height: 40px; }
  .acc__inner { padding-left: 48px; }
  .form { padding-inline: 24px; --gap: 30px; }
  .form__status { left: 24px; right: 24px; }
  .form__row { grid-template-columns: 1fr; gap: 30px; }
  .stage span { display: none; }
  .panel__q { margin-bottom: 28px; }
  .scale { grid-template-columns: 1fr 1fr; }
  .scale span { padding: 18px 12px 16px; }
  .scale b { font-size: 1.35rem; }
  .chips span { padding: 11px 20px 11px 16px; font-size: 14px; }
  .form__foot { flex-wrap: wrap; }
  .form__note { order: 3; flex-basis: 100%; text-align: left; }
  .form__foot .btn { flex: 1; padding-inline: 24px; }
  .panel[data-part="brief"] textarea { min-height: 292px; }
  .enquiry__seal { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
  .line__value { font-size: 1.2rem; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
  .footer__cols > nav:last-child { grid-column: 1 / -1; }
  .footer__cols .footer__plans { grid-template-columns: 1fr 1fr; gap: 18px 24px; }
  .footer__bottom { grid-template-columns: 1fr; justify-items: start; gap: 18px; }
  .footer__up { justify-self: start; }
  .footer__rating { margin-top: 30px; }
  .letter__send { width: 48px; height: 48px; }
  .footer__rating b { padding-right: 0; border-right: 0; }
}

/* small phones: keep the hero button label on one line */
@media (max-width: 380px) {
  .hero__cta .btn { padding-inline: 18px; font-size: 11.5px; letter-spacing: .08em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .manifesto .w { opacity: 1; color: var(--text); }
}
