/* ==========================================================================
   MariaSigns — Front-end design system (Phase 1)
   Brand palette: #390517 wine · #A38560 gold · #16302B forest · #03110D ink · #E0E0E0 mist
   ========================================================================== */

:root {
  /* Brand */
  --ink: #03110D;
  --forest: #16302B;
  --forest-2: #1E3D37;
  --gold: #A38560;
  --gold-soft: #C9B08A;
  --gold-pale: #EFE6D6;
  --wine: #390517;
  --wine-2: #520A24;
  --mist: #E0E0E0;

  /* Neutrals */
  --ivory: #F8F5EF;
  --sand: #EFE8DC;
  --paper: #FFFFFF;
  --text: #16201D;
  --muted: #5C6763;
  --line: rgba(3, 17, 13, .10);
  --line-strong: rgba(3, 17, 13, .18);
  --line-light: rgba(255, 255, 255, .12);

  /* Type */
  --serif: "Fraunces", "Georgia", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape & motion */
  --r-sm: 12px;
  --r: 20px;
  --r-lg: 32px;
  --r-xl: 44px;
  --shadow-sm: 0 1px 2px rgba(3, 17, 13, .05), 0 4px 16px -8px rgba(3, 17, 13, .12);
  --shadow: 0 1px 2px rgba(3, 17, 13, .04), 0 24px 60px -24px rgba(3, 17, 13, .28);
  --container: 1220px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.smooth-scroll { scroll-behavior: auto; }
[id] { scroll-margin-top: 90px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 18px; border-radius: 999px; font-weight: 700;
}
.skip:focus { top: 16px; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 48px, 820px); margin-inline: auto; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-optical-sizing: auto;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 .5em;
  color: inherit;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.5rem); line-height: 1.04; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--gold); font-weight: 300; }
.on-dark h1 em, .on-dark h2 em { color: var(--gold-soft); }

.lead { font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.65; color: var(--muted); }
.on-dark .lead, .on-dark p { color: rgba(255, 255, 255, .74); }
.on-dark { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-dark .eyebrow { color: var(--gold-soft); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-head p { color: var(--muted); font-size: 1.125rem; }
.on-dark .section-head p { color: rgba(255, 255, 255, .7); }

/* ---------- Buttons & links ---------- */
.btn {
  --bg: var(--gold); --fg: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease), color .35s;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(163, 133, 96, .7); --bg: var(--gold-soft); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: .9rem; }
.btn-dark { --bg: var(--forest); --fg: #fff; }
.btn-dark:hover { --bg: var(--ink); box-shadow: 0 14px 30px -12px rgba(3, 17, 13, .6); }
.btn-ghost { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-ghost:hover { --bg: rgba(255, 255, 255, .08); box-shadow: none; border-color: var(--gold-soft); }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--forest);
  padding-bottom: 6px; border-bottom: 1px solid var(--gold);
  transition: gap .3s var(--ease), color .3s;
}
.link-arrow svg { width: 18px; height: 18px; }
.link-arrow:hover { gap: 16px; color: var(--gold); }
.on-dark .link-arrow { color: #fff; border-color: var(--gold-soft); }
.on-dark .link-arrow:hover { color: var(--gold-soft); }

/* ---------- Section backgrounds ---------- */
.section { padding: clamp(84px, 10vw, 140px) 0; position: relative; }
.section-sm { padding: clamp(64px, 7vw, 96px) 0; }
.bg-ivory { background: var(--ivory); }
.bg-sand { background: var(--sand); }
.bg-forest { background: var(--forest); color: #fff; }
.bg-ink { background: var(--ink); color: #fff; }
.bg-dark {
  background:
    radial-gradient(ellipse 60% 50% at 85% 0%, rgba(163, 133, 96, .16), transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(57, 5, 23, .45), transparent 60%),
    linear-gradient(165deg, var(--ink) 0%, var(--forest) 100%);
  color: #fff;
}
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07;
  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%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s, transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(3, 17, 13, .82);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: rgba(201, 176, 138, .16);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; transition: height .4s var(--ease); }
.is-scrolled .nav { height: 70px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-family: var(--serif); font-size: 1.7rem; line-height: 1; letter-spacing: -0.01em; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(201, 176, 138, .55);
  color: var(--gold-soft); font-style: italic; font-size: 1.25rem;
  background: radial-gradient(circle at 30% 25%, rgba(201, 176, 138, .25), transparent 70%);
}
.logo em { font-style: italic; color: var(--gold-soft); font-weight: 300; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative; padding: 10px 16px; border-radius: 999px;
  color: rgba(255, 255, 255, .78); font-size: .95rem; font-weight: 600;
  transition: color .3s, background .3s;
}
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-links a[aria-current="page"] { color: var(--gold-soft); }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-soft); transform: translateX(-50%);
}
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-ig { color: rgba(255, 255, 255, .78); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; transition: color .3s, background .3s; }
.nav-ig:hover { color: var(--gold-soft); background: rgba(255, 255, 255, .06); }
.nav-ig svg { width: 20px; height: 20px; }

.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: transparent; cursor: pointer;
  position: relative;
}
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Quick contact rail (sticky) ---------- */
.quick {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 45;
  display: flex; flex-direction: column; gap: 4px; padding: 6px;
  background: rgba(3, 17, 13, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(201, 176, 138, .28);
  border-radius: 999px;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5);
}
.quick a {
  position: relative; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-soft);
  transition: background .3s, color .3s;
}
.quick a svg { width: 19px; height: 19px; }
.quick a:hover { background: var(--gold); color: var(--ink); }
.quick .lbl {
  position: absolute; right: 58px; top: 50%; transform: translate(8px, -50%);
  background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700;
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
  border: 1px solid rgba(201, 176, 138, .25);
}
.quick a:hover .lbl, .quick a:focus-visible .lbl { opacity: 1; transform: translate(0, -50%); }

/* ---------- Hero ---------- */
.hero { padding: clamp(140px, 16vw, 190px) 0 clamp(80px, 9vw, 120px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero h1 { margin-bottom: 28px; }
.hero .lead { max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px; margin-bottom: 28px;
  border: 1px solid rgba(201, 176, 138, .3); border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .85);
}
.chip b { background: var(--gold); color: var(--ink); padding: 3px 10px; border-radius: 999px; font-size: .75rem; letter-spacing: .04em; }

.meta-list { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 36px 0 0; padding: 0; list-style: none; font-size: .9rem; color: rgba(255, 255, 255, .66); font-weight: 600; }
.meta-list li { display: inline-flex; align-items: center; gap: 8px; }
.meta-list li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-soft); }
.meta-list li:first-child::before { width: 8px; height: 8px; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .18); }

.hero-media { position: relative; }
.float-card {
  position: absolute; z-index: 2;
  background: rgba(248, 245, 239, .96); color: var(--ink);
  border-radius: 18px; padding: 16px 20px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55);
  display: flex; align-items: center; gap: 14px;
  animation: floaty 6s ease-in-out infinite;
}
.float-card .num { font-family: var(--serif); font-size: 2.1rem; line-height: 1; color: var(--wine); }
.float-card small { display: block; font-size: .78rem; font-weight: 700; color: var(--muted); line-height: 1.35; }
.float-card.fc-1 { left: -36px; bottom: 56px; }
.float-card.fc-2 { right: -20px; top: 40px; animation-delay: -3s; padding: 12px 16px; }
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--forest); color: var(--gold-soft); }
.float-card .ic svg { width: 18px; height: 18px; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-center { text-align: center; }
.hero-center .lead { margin-inline: auto; }
.hero-center .hero-actions { justify-content: center; }

/* Hero ring ornament */
.ornament { position: absolute; border: 1px solid rgba(201, 176, 138, .16); border-radius: 50%; pointer-events: none; }

/* ---------- Media placeholders ---------- */
.ph {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center; text-align: center;
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, #24463F 0%, #0C221D 100%);
  color: rgba(255, 255, 255, .78);
  aspect-ratio: 4 / 3;
  padding: 24px;
}
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 30% 20%, rgba(201, 176, 138, .22), transparent 55%),
    repeating-linear-gradient(135deg, rgba(201, 176, 138, .07) 0 1px, transparent 1px 16px);
}
.ph::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(201, 176, 138, .25); border-radius: calc(var(--r-lg) - 10px); z-index: -1;
}
.ph-inner { max-width: 300px; }
.ph-ic {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 14px;
  display: grid; place-items: center;
  border: 1px solid rgba(201, 176, 138, .5); color: var(--gold-soft);
}
.ph-ic svg { width: 22px; height: 22px; }
.ph-label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 6px; }
.ph-sub { display: block; font-size: .88rem; line-height: 1.5; }
.ph.light { background: linear-gradient(150deg, #F1EADF 0%, #E3D7C4 100%); color: #6E5D45; }
.ph.light::before { background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .6), transparent 55%), repeating-linear-gradient(135deg, rgba(163, 133, 96, .10) 0 1px, transparent 1px 16px); }
.ph.light::after { border-color: rgba(163, 133, 96, .35); }
.ph.light .ph-label, .ph.light .ph-ic { color: var(--gold); border-color: rgba(163, 133, 96, .5); }
.ph.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-lg) var(--r-lg); }
.ph.arch::after { border-radius: 999px 999px calc(var(--r-lg) - 10px) calc(var(--r-lg) - 10px); }
.ph.portrait { aspect-ratio: 4 / 5; }
.ph.wide { aspect-ratio: 16 / 9; }
.ph.square { aspect-ratio: 1; }

.frame { position: relative; isolation: isolate; }
.frame::before {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
  border: 1px solid var(--gold); border-radius: var(--r-lg);
}
.frame.arch-frame::before { border-radius: 999px 999px var(--r-lg) var(--r-lg); }
.on-dark .frame::before { border-color: rgba(201, 176, 138, .45); }

/* Video */
.video { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.video .ph { aspect-ratio: 16 / 9; border-radius: var(--r-lg); }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
  width: 92px; height: 92px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--gold); color: var(--ink);
  display: grid; place-items: center;
  transition: transform .4s var(--ease), background .3s;
}
.play svg { width: 28px; height: 28px; margin-left: 4px; }
.play::before, .play::after {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px solid rgba(201, 176, 138, .55); animation: ring 2.6s var(--ease) infinite;
}
.play::after { animation-delay: 1.3s; }
.play:hover { transform: translate(-50%, -50%) scale(1.06); background: var(--gold-soft); }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.5); opacity: 0; } }
.video .ph .ph-inner { margin-top: 150px; }
.video-caption { position: absolute; left: 24px; bottom: 22px; z-index: 3; display: flex; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(3, 17, 13, .6); color: var(--gold-soft); border: 1px solid rgba(201, 176, 138, .3);
  backdrop-filter: blur(8px);
}

/* ---------- Trust / stats / logos ---------- */
.trust-intro { font-family: var(--serif); font-size: clamp(1.4rem, 2.3vw, 2rem); line-height: 1.35; text-align: center; max-width: 860px; margin: 0 auto 56px; color: var(--ink); text-wrap: balance; }
.trust-intro em { color: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.stat { padding: 40px 28px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line-strong); }
.stat-num { font-family: var(--serif); font-size: clamp(3.2rem, 6vw, 5rem); line-height: 1; color: var(--wine); letter-spacing: -0.03em; }
.stat-num span { color: var(--gold); }
.stat-label { margin-top: 10px; font-size: .82rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

.logos-label { text-align: center; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 64px 0 24px; }
.logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.logo-cell {
  height: 104px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line);
  display: grid; place-items: center; padding: 18px; overflow: hidden;
  transition: border-color .3s, box-shadow .3s, transform .3s var(--ease);
}
.logo-cell img { max-height: 62px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .72; mix-blend-mode: multiply; transition: filter .4s, opacity .4s; }
.logo-cell:hover { border-color: rgba(163, 133, 96, .5); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.logo-cell:hover img { filter: none; opacity: 1; }
.logo-cell.zoom { padding: 14px 16px; }
.logo-cell.zoom img { width: 100%; height: 72px; max-height: none; object-fit: cover; object-position: 55% 48.5%; }

.event-photos { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin-top: 56px; }
.event-photos .ph { aspect-ratio: auto; min-height: 340px; }

/* Logo marquee: transparent logos in their real colours, endless loop, thin gold rules */
.logo-marquee {
  --gap: clamp(56px, 7vw, 104px);
  position: relative; display: flex; overflow: hidden; margin-top: 56px; padding: 30px 0;
  border-top: 1px solid rgba(163, 133, 96, .55);
  border-bottom: 1px solid rgba(163, 133, 96, .55);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.logo-track {
  list-style: none; margin: 0; padding: 0 var(--gap) 0 0; flex-shrink: 0;
  display: flex; align-items: center; gap: var(--gap);
  animation: marquee 40s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.logo-item { position: relative; height: 72px; aspect-ratio: var(--ar); flex-shrink: 0; }
/* thin gold divider between logos, with a small diamond in the middle */
.logo-item::before, .logo-item::after { content: ""; position: absolute; left: calc(100% + var(--gap) / 2); pointer-events: none; }
.logo-item::before { top: 50%; width: 1px; height: 56px; transform: translate(-50%, -50%); background: linear-gradient(transparent, var(--gold) 30%, var(--gold) 70%, transparent); }
.logo-item::after { top: 50%; width: 5px; height: 5px; transform: translate(-50%, -50%) rotate(45deg); background: var(--ivory); border: 1px solid var(--gold); }
.logo-item img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.logo-item:hover img { transform: scale(1.07); }
@media (prefers-reduced-motion: reduce) {
  .logo-marquee { -webkit-mask-image: none; mask-image: none; justify-content: center; }
  .logo-track { flex-wrap: wrap; justify-content: center; padding: 0; }
  .logo-track[aria-hidden] { display: none; }
}

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(26px, 3vw, 36px);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(163, 133, 96, .45); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 1rem; }

.icon-badge {
  width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center; margin-bottom: 26px;
  background: var(--gold-pale); color: var(--forest);
  transition: background .4s, color .4s, transform .4s var(--ease);
}
.icon-badge svg { width: 24px; height: 24px; }
.card:hover .icon-badge { background: var(--forest); color: var(--gold-soft); transform: rotate(-6deg); }
.card-num { position: absolute; top: 28px; right: 32px; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold); }

/* Bento (homepage services) */
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.bento .card { display: flex; flex-direction: column; min-height: 250px; }
.bento .card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--forest); font-size: .95rem; }
.bento .card .more svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.bento .card:hover .more svg { transform: translate(3px, -3px); }
.bento .feature {
  grid-row: span 2; background: var(--forest); color: #fff; border-color: transparent; padding: 0; overflow: hidden;
}
.bento .feature .feature-body { padding: clamp(28px, 3vw, 40px); }
.bento .feature h3 { font-size: clamp(1.8rem, 2.6vw, 2.4rem); }
.bento .feature .icon-badge { background: rgba(201, 176, 138, .16); color: var(--gold-soft); }
.bento .feature .ph { border-radius: 0; aspect-ratio: auto; flex: 1; min-height: 260px; }
.bento .feature .ph::after { display: none; }
.bento .feature .more { color: var(--gold-soft); }
.bento .card.span-2 { grid-column: span 2; min-height: 0; flex-direction: row; align-items: center; gap: 28px; }
.bento .card.span-2 .icon-badge { margin: 0; flex-shrink: 0; }
.bento .card.span-2 .more { margin: 0 0 0 auto; }
.bento .card.span-2 h3 { margin: 0; }

.center-cta { text-align: center; margin-top: 52px; }

/* ---------- Split layouts ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.split.wide-left { grid-template-columns: 1.1fr .9fr; }
.split.reverse > :first-child { order: 2; }
.split .lead { margin-bottom: 24px; }

.big-quote { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.3; color: var(--wine); margin: 0 0 24px; }
.on-dark .big-quote { color: var(--gold-soft); }

.pull {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.35;
  margin: 0 0 28px; padding-left: 24px; border-left: 2px solid var(--gold);
  color: var(--gold-soft);
}
.pull.dark { color: var(--wine); }
.pull.center { border: 0; padding: 0; text-align: center; margin-top: 8px; }

/* ---------- Why section (numbered features) ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 64px; }
.why-item { padding-top: 28px; border-top: 1px solid rgba(201, 176, 138, .3); position: relative; }
.why-item::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 1px; background: var(--gold-soft); transition: width .6s var(--ease); }
.why-item:hover::before { width: 100%; }
.why-num { font-family: var(--serif); font-style: italic; color: var(--gold-soft); font-size: 1rem; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.why-num .icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(201, 176, 138, .12); color: var(--gold-soft); }
.why-num .icon svg { width: 20px; height: 20px; }
.why-item h3 { font-size: 1.35rem; margin-bottom: 12px; }
.why-item p { font-size: .97rem; color: rgba(255, 255, 255, .68); }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: 120px; }
.faq-aside p { color: var(--muted); }
.faq-aside .btn { margin-top: 12px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 0;
  font-family: var(--serif); font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.3; color: var(--ink);
  transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold); }
.faq-item summary h3 { font-size: inherit; margin: 0; font-weight: inherit; }
.faq-toggle {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong); position: relative; transition: background .3s, border-color .3s, transform .45s var(--ease);
}
.faq-toggle::before, .faq-toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .45s var(--ease); }
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-toggle { background: var(--forest); border-color: var(--forest); color: var(--gold-soft); }
.faq-item.is-open .faq-toggle::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer { color: var(--muted); }
.faq-answer > p { padding: 0 64px 30px 0; margin: 0; }
.faq-item.is-open summary { color: var(--forest); }
.faq-answer a { color: var(--forest); font-weight: 700; border-bottom: 1px solid var(--gold); }
.faq-answer a:hover { color: var(--gold); }

/* ---------- Inquiry / form ---------- */
.inquiry {
  border-radius: var(--r-xl); overflow: hidden; position: relative; isolation: isolate;
  background:
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(163, 133, 96, .22), transparent 60%),
    radial-gradient(ellipse 60% 60% at 100% 100%, rgba(3, 17, 13, .55), transparent 60%),
    linear-gradient(140deg, var(--wine-2) 0%, var(--wine) 55%, #22020D 100%);
  color: #fff;
  padding: clamp(36px, 5.5vw, 80px);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 80px); align-items: start;
}
.inquiry h2 { color: #fff; }
.inquiry p { color: rgba(255, 255, 255, .76); }
.inquiry .btn { margin-top: 12px; }
.inquiry-contacts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; }
.inquiry-contacts a { display: inline-flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .88); font-weight: 600; transition: color .3s; }
.inquiry-contacts a:hover { color: var(--gold-soft); }
.inquiry-contacts .ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(201, 176, 138, .4); color: var(--gold-soft); }
.inquiry-contacts .ic svg { width: 18px; height: 18px; }

.form-card { background: var(--paper); color: var(--text); border-radius: var(--r-lg); padding: clamp(26px, 3.5vw, 44px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 700; color: var(--ink); }
.field label .opt { font-weight: 500; color: var(--muted); }
.field label .req { color: var(--wine); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line-strong); background: var(--ivory);
  border-radius: 14px; padding: 14px 16px; font-size: 1rem; color: var(--ink);
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2316302B' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(163, 133, 96, .6); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(163, 133, 96, .18); }
.field.invalid input, .field.invalid textarea { border-color: #b42318; }
.form-card .btn { margin-top: 26px; }
.form-note { margin-top: 14px; font-size: .82rem; color: var(--muted); text-align: center; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success .ic { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; background: var(--gold-pale); color: var(--forest); }
.form-success .ic svg { width: 32px; height: 32px; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--muted); }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; animation: rise .6s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--r-xl); position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(48px, 7vw, 100px) clamp(28px, 6vw, 90px);
  text-align: center;
  background:
    radial-gradient(ellipse 60% 70% at 50% 120%, rgba(163, 133, 96, .35), transparent 60%),
    linear-gradient(160deg, var(--forest) 0%, var(--ink) 100%);
  color: #fff;
}
.cta-band h2 { max-width: 820px; margin-inline: auto; }
.cta-band p { max-width: 620px; margin: 0 auto 34px; color: rgba(255, 255, 255, .75); font-size: 1.125rem; }
.cta-band .ornament { width: 520px; height: 520px; left: -160px; top: -260px; }
.cta-band .ornament.o2 { width: 380px; height: 380px; left: auto; right: -120px; top: auto; bottom: -220px; }
.cta-band.wine { background: radial-gradient(ellipse 60% 70% at 50% 120%, rgba(163, 133, 96, .35), transparent 60%), linear-gradient(160deg, var(--wine-2) 0%, #22020D 100%); }

/* ---------- About page ---------- */
.intro-hello { text-align: center; }
.intro-hello .hi { font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 5rem); line-height: 1.05; color: var(--forest); letter-spacing: -0.03em; display: block; }
.intro-hello .how { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(1.3rem, 2.2vw, 1.8rem); color: var(--gold); display: block; margin-top: 10px; }
.intro-hello .rule { width: 1px; height: 80px; background: linear-gradient(var(--gold), transparent); margin: 36px auto 0; }

.prose p { color: var(--muted); font-size: 1.08rem; }
.prose p.first::first-letter { font-family: var(--serif); float: left; font-size: 4.6rem; line-height: .82; padding: 8px 14px 0 0; color: var(--wine); }
.prose .highlight { font-family: var(--serif); font-size: 1.35rem; line-height: 1.45; color: var(--ink); font-style: italic; font-weight: 300; }

.timeline { position: relative; margin-top: 56px; padding-left: 44px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 1px; background: linear-gradient(var(--gold), rgba(163, 133, 96, .15)); }
.tl-item { position: relative; padding-bottom: 48px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -44px; top: 8px; width: 23px; height: 23px; border-radius: 50%; background: var(--paper); border: 1px solid var(--gold); box-shadow: inset 0 0 0 5px var(--paper), inset 0 0 0 12px var(--gold); }
.bg-ivory .tl-item::before { background: var(--ivory); box-shadow: inset 0 0 0 5px var(--ivory), inset 0 0 0 12px var(--gold); }
.tl-marker { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: var(--forest); color: var(--gold-soft); padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.tl-item h3 { margin-bottom: 14px; }
.tl-item p { color: var(--muted); }
.tl-item.today::before { width: 31px; height: 31px; left: -48px; top: 14px; background: var(--wine); border-color: var(--wine); box-shadow: 0 0 0 8px rgba(57, 5, 23, .12); }
.tl-item.today .tl-marker { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 400; letter-spacing: -0.02em; text-transform: none; background: none; color: var(--wine); padding: 0; line-height: 1; font-style: italic; }

/* ---------- Services page ---------- */
.service-index { background: rgba(255, 255, 255, .04); border: 1px solid rgba(201, 176, 138, .25); border-radius: var(--r-lg); padding: 10px; backdrop-filter: blur(8px); }
.service-index a { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: 22px; transition: background .35s; }
.service-index a + a { border-top: 1px solid rgba(255, 255, 255, .07); }
.service-index a:hover { background: rgba(201, 176, 138, .1); }
.service-index .n { font-family: var(--serif); font-style: italic; color: var(--gold-soft); width: 28px; }
.service-index .t { font-family: var(--serif); font-size: 1.45rem; flex: 1; }
.service-index .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(201, 176, 138, .35); color: var(--gold-soft); transition: background .35s, color .35s, transform .35s var(--ease); }
.service-index .ic svg { width: 18px; height: 18px; }
.service-index a:hover .ic { background: var(--gold); color: var(--ink); transform: rotate(-45deg); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card { padding: clamp(30px, 3.5vw, 48px); }
.service-card h3 { font-size: clamp(1.6rem, 2.2vw, 2rem); }

.format { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; padding: clamp(40px, 5vw, 72px) 0; }
.format + .format { border-top: 1px solid var(--line); }
.format:nth-child(even) > :first-child { order: 2; }
.format-num { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--gold); display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.format-num::after { content: ""; width: 60px; height: 1px; background: var(--gold); }
.format h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 18px; }
.format p { color: var(--muted); font-size: 1.08rem; }

.online-visual { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: linear-gradient(150deg, #24463F, #0C221D); padding: 28px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; gap: 14px; overflow: hidden; }
.online-visual .tile { border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(201, 176, 138, .2); display: grid; place-items: center; color: var(--gold-soft); position: relative; }
.online-visual .tile svg { width: 40px; height: 40px; opacity: .8; }
.online-visual .tile.main { grid-column: 1 / -1; background: rgba(201, 176, 138, .12); }
.online-visual .tile span:not(.live-dot) { position: absolute; left: 14px; bottom: 12px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; color: rgba(255, 255, 255, .7); text-transform: uppercase; }
.online-visual .bar { grid-column: 1 / -1; display: flex; justify-content: center; gap: 10px; }
.online-visual .bar i { width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: #fff; }
.online-visual .bar i:last-child { background: var(--wine-2); }
.online-visual .bar svg { width: 18px; height: 18px; }
.live-dot { position: absolute; top: 14px; left: 14px; display: inline-flex; gap: 6px; align-items: center; font-size: .7rem; font-weight: 800; letter-spacing: .12em; color: #fff; background: rgba(57, 5, 23, .85); padding: 5px 10px; border-radius: 999px; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff5a5a; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }

.lang-card { position: relative; overflow: hidden; background: rgba(255, 255, 255, .04); border: 1px solid rgba(201, 176, 138, .22); border-radius: var(--r-lg); padding: clamp(30px, 4vw, 56px); }
.lang-card .glyph { font-family: var(--serif); font-size: clamp(3.4rem, 6vw, 5.2rem); line-height: 1; color: var(--gold-soft); margin-bottom: 26px; letter-spacing: -0.03em; font-weight: 300; }
.lang-card .glyph em { font-style: italic; }
.lang-card h3 { color: #fff; }
.lang-card p { color: rgba(255, 255, 255, .7); }

.who-card { display: flex; flex-direction: column; }
.who-card h3 { font-size: 1.3rem; }
.who-card.highlight { grid-column: span 2; background: var(--forest); color: #fff; border-color: transparent; }
.who-card.highlight p { color: rgba(255, 255, 255, .74); }
.who-card.highlight .icon-badge { background: rgba(201, 176, 138, .16); color: var(--gold-soft); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: step; }
.steps::before { content: ""; position: absolute; top: 36px; left: 12%; right: 12%; height: 1px; background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 10px; }
.step-n { width: 72px; height: 72px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 1.7rem; background: var(--paper); color: var(--wine); border: 1px solid var(--gold); box-shadow: 0 0 0 8px var(--ivory); transition: background .4s, color .4s; }
.step:hover .step-n { background: var(--forest); color: var(--gold-soft); border-color: var(--forest); }
.step h3 { font-size: 1.3rem; }
.step p { color: var(--muted); font-size: .98rem; }

/* ---------- Contact page ---------- */
.contact-list { display: grid; gap: 14px; }
.contact-item {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 24px; border-radius: 22px;
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
a.contact-item:hover { transform: translateX(6px); border-color: rgba(163, 133, 96, .5); box-shadow: var(--shadow-sm); }
.contact-item .ic { width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0; display: grid; place-items: center; background: var(--forest); color: var(--gold-soft); }
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item small { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.contact-item strong { display: block; font-size: 1.08rem; color: var(--ink); font-weight: 700; word-break: break-word; }
.contact-item .go { margin-left: auto; color: var(--muted); transition: color .3s, transform .3s var(--ease); }
.contact-item .go svg { width: 20px; height: 20px; }
a.contact-item:hover .go { color: var(--gold); transform: translate(3px, -3px); }

.form-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.form-section .form-card { box-shadow: var(--shadow); border: 1px solid var(--line); }

.contact-actions { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.contact-actions a {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px;
  font-size: .86rem; font-weight: 700; color: var(--forest); border: 1px solid var(--line-strong);
  transition: background .3s, color .3s, border-color .3s;
}
.contact-actions a svg { width: 16px; height: 16px; }
.contact-actions a:hover { background: var(--forest); color: var(--gold-soft); border-color: var(--forest); }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post .ph { border-radius: 0; aspect-ratio: 16 / 11; }
.post .ph::after { display: none; }
.post-body { padding: 26px 28px 30px; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.skel { height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--sand) 0%, #F7F2E9 50%, var(--sand) 100%); background-size: 200% 100%; animation: shimmer 2.2s infinite linear; margin-bottom: 10px; }
.skel.t { height: 20px; width: 88%; margin-bottom: 14px; }
.skel.s { width: 60%; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: clamp(72px, 8vw, 110px) 0 0; position: relative; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 64px; }
.footer-brand p { margin-top: 18px; max-width: 300px; font-size: .95rem; color: rgba(255, 255, 255, .6); }
.footer-h { font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 22px; font-family: var(--sans); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: .97rem; }
.footer-links a { transition: color .3s; }
.footer-links a:hover { color: var(--gold-soft); }
.footer-ig { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; border: 1px solid rgba(201, 176, 138, .3); color: #fff; font-weight: 600; transition: background .3s, border-color .3s; }
.footer-ig .ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); }
.footer-ig .ic svg { width: 18px; height: 18px; }
.footer-ig:hover { background: rgba(201, 176, 138, .1); border-color: var(--gold-soft); }
.footer-wordmark {
  font-family: var(--serif); font-size: clamp(4rem, 16vw, 15rem); line-height: .8; letter-spacing: -0.05em; white-space: nowrap;
  text-align: center; color: rgba(201, 176, 138, .05); -webkit-text-stroke: 2px rgba(201, 176, 138, .55);
  margin-bottom: -0.12em; user-select: none; pointer-events: none;
}
.footer-wordmark em { font-style: italic; font-weight: 400; }
@media (max-width: 680px) { .footer-wordmark { -webkit-text-stroke-width: 1.4px; } }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .86rem; color: rgba(255, 255, 255, .5); position: relative; z-index: 1; background: var(--ink); }
.to-top { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .7); }
.to-top:hover { color: var(--gold-soft); }
.to-top svg { width: 16px; height: 16px; transform: rotate(-90deg); }

/* ---------- Sign-language hand line art ---------- */
.hero > .container, .section > .container, .site-footer > .container { position: relative; z-index: 1; }
.has-hands { position: relative; overflow: hidden; }
.hand {
  position: absolute; z-index: 0; pointer-events: none;
  width: var(--w, 320px); color: var(--gold-soft); opacity: var(--o, .3);
}
.hand svg { width: 100%; height: auto; overflow: visible; }
.hand path {
  fill: none; stroke: currentColor; stroke-width: var(--sw, 1.1);
  stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke;
}
.hand .motion { stroke-dasharray: .02 .025; }
.js .hand[data-draw] path:not(.motion) { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.8s var(--ease); }
.js .hand[data-draw] .motion { opacity: 0; transition: opacity 1s 1.8s; }
.js .hand[data-draw].is-visible path:not(.motion) { stroke-dashoffset: 0; }
.js .hand[data-draw].is-visible .motion { opacity: 1; }
.hand.dark { color: var(--gold); }
.on-dark .hand:not(.dark), .site-footer .hand, .inquiry .hand, .cta-band .hand { opacity: min(1, calc(var(--o, .3) * 2.1)); --sw: 1.3; }
.hand.sway svg { animation: sway 9s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2.5deg); } }
.frame .hand { z-index: 3; }
main, .site-footer { overflow-x: clip; }
.inquiry > :not(.hand), .cta-band > :not(.hand):not(.ornament) { position: relative; z-index: 1; }

/* ---------- Reveal animation ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-cta { display: none; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 28px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .menu-btn { display: block; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: stretch; gap: 4px;
    padding: 100px 32px 40px;
    background: radial-gradient(ellipse at 80% 0%, rgba(163, 133, 96, .18), transparent 60%), var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
  }
  .nav-links a { font-family: var(--serif); font-size: 2rem; font-weight: 400; padding: 14px 8px; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); color: #fff; }
  .nav-links a[aria-current="page"]::after { left: auto; right: 12px; top: 50%; width: 8px; height: 8px; }
  .menu-open .nav-links { opacity: 1; visibility: visible; transform: none; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { background: transparent; border-color: transparent; backdrop-filter: none; }

  .hero-grid, .split, .split.wide-left, .faq-grid, .inquiry, .format, .form-section { grid-template-columns: 1fr; }
  .split.reverse > :first-child, .format:nth-child(even) > :first-child { order: 0; }
  .hero-media { max-width: 460px; margin-inline: auto; width: 100%; }
  .float-card.fc-1 { left: -8px; }
  .float-card.fc-2 { right: -8px; }
  .faq-aside { position: static; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento .feature { grid-column: 1 / -1; grid-row: auto; }
  .bento .card.span-2 { grid-column: 1 / -1; }
  .grid-3, .posts { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 44px 20px; }
  .steps::before { display: none; }
  .event-photos { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .logo-item { height: 54px; }
  .logo-marquee { --gap: 48px; margin-top: 40px; padding: 22px 0; }
  .logo-item::before { height: 40px; }
  .hand { width: calc(var(--w, 320px) * .55); }
  .hand.hide-sm { display: none; }
  .frame .hand { right: -8px !important; bottom: -40px !important; }
  .online-visual { aspect-ratio: auto; padding: 16px; gap: 10px; grid-template-rows: 150px 96px auto; }
  .online-visual .tile svg { width: 28px; height: 28px; margin-bottom: 14px; }
  .online-visual .tile span:not(.live-dot) { left: 10px; bottom: 8px; font-size: .62rem; }
  .timeline { padding-left: 34px; }
  .contact-item { padding: 16px; gap: 14px; }
  .contact-item .ic { width: 44px; height: 44px; border-radius: 14px; }
  .contact-item strong { font-size: .95rem; word-break: normal; overflow-wrap: anywhere; }
  .contact-item .go { display: none; }
  .contact-item.multi { flex-wrap: wrap; }
  .contact-actions { margin-left: 58px; }
  .tl-item::before { left: -34px; }
  .tl-item.today::before { left: -38px; }
  .cta-band p { text-align: left; }
  .cta-band { text-align: left; }
  body { font-size: 1rem; padding-bottom: 84px; }
  .container, .container-narrow { width: min(100% - 36px, var(--container)); }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line-strong); }
  .stat { padding: 28px 16px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .bento, .grid-2, .grid-3, .grid-4, .posts, .why-grid, .steps { grid-template-columns: 1fr; }
  .bento .card.span-2 { flex-direction: column; align-items: flex-start; }
  .bento .card.span-2 .more { margin: 0; }
  .who-card.highlight { grid-column: auto; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-answer > p { padding-right: 0; }
  .float-card.fc-2 { display: none; }
  .float-card.fc-1 { left: 50%; transform: translateX(-50%); bottom: -24px; animation: none; white-space: nowrap; }
  .inquiry, .cta-band { border-radius: 28px; }
  .hero-actions .btn { width: 100%; }

  /* Quick contact becomes a bottom bar */
  .quick {
    top: auto; bottom: 12px; left: 12px; right: 12px; transform: none;
    flex-direction: row; justify-content: space-around; border-radius: 22px; padding: 6px;
  }
  .quick a { width: auto; height: auto; flex: 1; border-radius: 16px; padding: 8px 4px; display: flex; flex-direction: column; gap: 3px; align-items: center; }
  .quick .lbl { position: static; opacity: 1; transform: none; background: none; border: 0; padding: 0; font-size: .72rem; color: rgba(255, 255, 255, .8); }
  .quick a:hover .lbl { color: var(--ink); transform: none; }
}
