/* =========================================================
   Το Κοινό της Σιών — Ελληνική Επικράτεια
   Palette and type extracted from theprioryofsion.com
   ========================================================= */
:root {
  --navy-deep: #0c0f14;   /* hsl(220 20% 6%)  */
  --navy: #151c27;        /* hsl(220 30% 12%) */
  --card: #161b23;        /* hsl(220 18% 10%) */
  --border: #262c38;      /* hsl(220 15% 18%) */
  --muted: #828a99;       /* hsl(220 10% 55%) */
  --gold: #dba624;        /* hsl(43 72% 50%)  */
  --gold-light: #e8c46b;  /* hsl(43 72% 65%)  */
  --gold-pale: #f6e4b4;
  --gold-dark: #9a7419;   /* hsl(43 72% 35%)  */
  --ivory: #ebe6dc;       /* hsl(40 20% 90%)  */
  --ivory-dim: #c9c2b3;

  --display: "GFS Didot", "Didot", "Bodoni 72", serif;
  --serif: "EB Garamond", "Garamond", Georgia, serif;

  --gutter: clamp(16px, 4vw, 64px);
  --maxw: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gold-grad: linear-gradient(100deg, #9a7419 0%, #e8c46b 28%, #fff4d2 46%, #dba624 62%, #8a6512 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-x: hidden; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--navy-deep); color: var(--ivory);
  font-family: var(--serif); font-size: clamp(17px, 1.15vw, 20px); line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--navy-deep); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* subtle film grain over the whole page */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.05;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.6s steps(1) infinite;
}
@keyframes grain { 0%,100%{transform:translate(0,0)} 25%{transform:translate(-4%,3%)} 50%{transform:translate(3%,-5%)} 75%{transform:translate(-2%,-3%)} }

/* ---------------- INTRO ---------------- */
#intro {
  position: fixed; inset: 0; z-index: 200; background: #05070a;
  display: grid; place-items: center; transition: opacity 0.9s var(--ease), visibility 0.9s;
}
#intro video { width: 100%; height: 100%; object-fit: cover; }
@media (max-aspect-ratio: 1/1) { #intro video { object-fit: contain; } }
#intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
#skip {
  position: absolute; right: var(--gutter); bottom: clamp(20px, 5vh, 48px);
  font: 500 13px/1 var(--serif); letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-light);
  background: rgba(12, 15, 20, 0.4); border: 1px solid rgba(219, 166, 36, 0.4); padding: 14px 22px; cursor: pointer;
  backdrop-filter: blur(6px); transition: background 0.3s, color 0.3s;
}
#skip:hover { background: var(--gold); color: var(--navy-deep); }
.intro-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(219, 166, 36, 0.12); }
.intro-progress span { display: block; height: 100%; width: 0; background: var(--gold); }

/* ---------------- CURSOR ---------------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; mix-blend-mode: difference; display: none; }
.cursor-dot, .cursor-ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 6px; height: 6px; background: var(--gold-light); }
.cursor-ring { width: 38px; height: 38px; border: 1px solid var(--gold-light); transition: width 0.35s var(--ease), height 0.35s var(--ease), background 0.35s; }
.cursor.is-hover .cursor-ring { width: 76px; height: 76px; background: rgba(232, 196, 107, 0.15); }
@media (hover: hover) and (pointer: fine) { .cursor { display: block; } body, a, button { cursor: none; } }

/* ---------------- WEBGL ---------------- */
#webgl { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none; }

/* ---------------- NAV ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--gutter); transition: padding 0.5s var(--ease), background 0.5s, border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { padding-top: 12px; padding-bottom: 12px; background: rgba(12, 15, 20, 0.72); backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: rgba(219, 166, 36, 0.14); }
.nav.is-hidden { transform: translateY(-100%); }
.nav { transition: transform 0.6s var(--ease), padding 0.5s var(--ease), background 0.5s, border-color 0.5s; }
.brand { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-size: 21px; color: var(--gold-light); white-space: nowrap; }
.brand img { width: 30px; height: auto; filter: drop-shadow(0 0 10px rgba(219, 166, 36, 0.35)); }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); }
.nav-links a { position: relative; font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory-dim); transition: color 0.3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav-links a:hover, .nav-links a.is-active { color: var(--gold-light); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-links .nav-cta { border: 1px solid rgba(219, 166, 36, 0.5); padding: 10px 18px; color: var(--gold-light); }
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--gold); color: var(--navy-deep); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid rgba(219, 166, 36, 0.4); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1px; background: var(--gold-light); transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .burger { display: block; }
  .brand span { font-size: 18px; }
  .nav-links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 28px;
    background: rgba(8, 10, 14, 0.97); backdrop-filter: blur(10px);
    clip-path: circle(0% at calc(100% - 44px) 40px); transition: clip-path 0.8s var(--ease);
  }
  .nav-links.is-open { clip-path: circle(150% at calc(100% - 44px) 40px); }
  .nav-links a { font-family: var(--display); font-size: 30px; letter-spacing: 0.04em; text-transform: none; }
}

/* ---------------- BUTTON ---------------- */
.btn-gold {
  position: relative; display: inline-flex; align-items: center; gap: 12px; overflow: hidden;
  padding: 18px 34px; border: 1px solid var(--gold); color: var(--gold-light);
  font-size: 13px; letter-spacing: 0.28em; text-transform: uppercase; background: rgba(12, 15, 20, 0.35);
  backdrop-filter: blur(6px); transition: color 0.5s var(--ease);
}
.btn-gold::before { content: ""; position: absolute; inset: 0; background: var(--gold-grad); background-size: 200% 100%; transform: translateY(101%); transition: transform 0.6s var(--ease); }
.btn-gold span { position: relative; }
.btn-gold:hover { color: var(--navy-deep); }
.btn-gold:hover::before { transform: translateY(0); animation: sheen 2.4s linear infinite; }
@keyframes sheen { from { background-position: 0% 0; } to { background-position: 200% 0; } }

/* ---------------- HERO ---------------- */
.hero { position: relative; z-index: 2; height: 100svh; min-height: 560px; overflow: hidden; background: #05070a; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,7,10,0.55) 0%, rgba(5,7,10,0) 22%, rgba(5,7,10,0) 62%, rgba(12,15,20,0.92) 100%); }
.hero-foot {
  position: absolute; left: 0; right: 0; bottom: clamp(36px, 8vh, 90px); padding: 0 var(--gutter);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.hero-lede { max-width: 440px; margin: 0; font-style: italic; font-size: clamp(17px, 1.3vw, 21px); color: var(--ivory-dim); }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 1px; height: 64px; background: rgba(219,166,36,0.25); overflow: hidden; }
.scroll-cue span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--gold-light); animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { to { top: 110%; } }
.hero-meta { position: absolute; top: 50%; right: var(--gutter); transform: translateY(-50%) rotate(90deg); transform-origin: right center; display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: 0.5em; color: rgba(232,196,107,0.6); }
.hero-meta i { display: block; width: 60px; height: 1px; background: rgba(219,166,36,0.5); }
@media (max-width: 760px) {
  .hero-meta { display: none; }
  .hero-foot { flex-direction: column; align-items: flex-start; bottom: 100px; }
}
/* portrait screens: show the whole 16:9 film so the Greek titles are never cropped */
@media (max-aspect-ratio: 1/1) {
  .hero { background: radial-gradient(ellipse 120% 60% at 50% 42%, #141a26 0%, #05070a 70%); }
  .hero-video { inset: auto 0 auto 0; top: 42%; height: auto; aspect-ratio: 16 / 9; transform-origin: 50% 50%; translate: 0 -50%; object-fit: cover;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%); }
  .hero-meta { display: none; }
}

/* ---------------- SECTIONS ---------------- */
main { position: relative; z-index: 1; overflow-x: clip; }
.section { position: relative; padding: clamp(96px, 16vh, 200px) 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 16px; font-size: 13px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.eyebrow i { display: block; width: 48px; height: 1px; background: var(--gold); }
.eyebrow.center { justify-content: center; }
.display {
  font-family: var(--display); font-weight: 400; margin: 0 0 clamp(40px, 6vw, 80px);
  font-size: clamp(46px, 7.4vw, 124px); line-height: 1.02; letter-spacing: -0.005em;
  background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.08em;
}
.display .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.display .line > span { display: inline-block; background: var(--gold-grad); background-size: 200% 100%; background-position: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; }
.lead { font-size: clamp(20px, 1.6vw, 26px); line-height: 1.55; color: var(--ivory); }
p { margin: 0 0 1.4em; color: var(--ivory-dim); }

/* ---------------- ABOUT ---------------- */
.about { background: linear-gradient(180deg, var(--navy-deep) 0%, rgba(12,15,20,0.6) 30%, rgba(12,15,20,0.6) 70%, var(--navy-deep) 100%); }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.frame { position: relative; margin: 0; padding: 18px; border: 1px solid rgba(219,166,36,0.25); background: rgba(21,28,39,0.5); transform-style: preserve-3d; }
.frame-img { overflow: hidden; aspect-ratio: 4 / 5; }
.frame-img img { width: 100%; height: 120%; object-fit: cover; filter: sepia(0.25) contrast(1.08) brightness(0.9); }
.frame figcaption { margin-top: 16px; font-style: italic; font-size: 15px; color: var(--muted); text-align: center; }
.corner { position: absolute; width: 22px; height: 22px; border-color: var(--gold); border-style: solid; }
.corner.tl { top: -1px; left: -1px; border-width: 2px 0 0 2px; } .corner.tr { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.corner.bl { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; } .corner.br { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.pillars { margin-top: clamp(80px, 12vw, 160px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; perspective: 1200px; }
.pillar, .value {
  position: relative; padding: clamp(32px, 3vw, 48px); border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(27,34,48,0.75), rgba(12,15,20,0.75)); backdrop-filter: blur(8px);
  transform-style: preserve-3d; transition: border-color 0.5s;
  overflow: hidden;
}
.pillar::before, .value::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.5s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(219,166,36,0.16), transparent 60%);
}
.pillar:hover, .value:hover { border-color: rgba(219,166,36,0.5); }
.pillar:hover::before, .value:hover::before { opacity: 1; }
.pillar-num { position: absolute; top: 22px; right: 26px; font-family: var(--display); font-size: 15px; color: var(--gold-dark); letter-spacing: 0.2em; }
.pillar-icon { width: 54px; height: 54px; fill: none; stroke: var(--gold); stroke-width: 1; margin-bottom: 28px; transform: translateZ(40px); }
.pillar h3, .value h3 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 2.4vw, 40px); margin: 0 0 14px; color: var(--gold-light); transform: translateZ(30px); }
.pillar p, .value p { margin: 0; font-size: 17px; transform: translateZ(20px); }

/* ---------------- HISTORY ---------------- */
.history { background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(21,28,39,0.65), rgba(12,15,20,0.85)); }
.big-quote {
  margin: 0 0 clamp(60px, 8vw, 120px); max-width: 1000px; padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--gold);
  font-family: var(--display); font-size: clamp(24px, 2.4vw, 38px); line-height: 1.4; color: var(--ivory);
}
.timeline { position: relative; padding: 40px 0 clamp(60px, 8vw, 120px); }
.timeline-track { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 64px); }
.tl-line { position: absolute; left: var(--gutter); right: var(--gutter); top: clamp(92px, 9vw, 150px); height: 1px; background: rgba(219,166,36,0.18); }
.tl-line span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; }
.tl-item { position: relative; }
.tl-year {
  display: block; font-family: var(--display); font-size: clamp(64px, 7.5vw, 130px); line-height: 1; margin-bottom: 30px;
  background: var(--gold-grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: lining-nums tabular-nums;
}
.tl-dot { display: block; width: 13px; height: 13px; border: 1px solid var(--gold); background: var(--navy-deep); transform: rotate(45deg); margin: 0 0 30px 2px; box-shadow: 0 0 0 6px var(--navy-deep), 0 0 24px rgba(219,166,36,0.6); }
.tl-item h3 { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 1.8vw, 28px); line-height: 1.3; color: var(--ivory); margin: 0 0 12px; }
.tl-item p { font-size: 16px; }
.history-copy { columns: 2; column-gap: clamp(40px, 5vw, 80px); }
.history-copy p { break-inside: avoid; }

/* ---------------- MISSION ---------------- */
.mission { padding-top: 0; background: var(--navy-deep); }
.mission-banner { position: relative; height: clamp(420px, 78vh, 820px); overflow: hidden; margin-bottom: clamp(80px, 10vw, 140px); }
.mission-banner-img { position: absolute; inset: -15% 0; }
.mission-banner-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35) sepia(0.55) brightness(0.48) contrast(1.15); }
.mission-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy-deep) 0%, rgba(12,15,20,0.1) 30%, rgba(12,15,20,0.25) 60%, var(--navy-deep) 100%); }
.mission-banner-text { position: absolute; z-index: 2; left: 0; right: 0; bottom: clamp(30px, 6vw, 80px); max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.mission-banner-text .display { margin-bottom: 0; }
.mission-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.arch { position: sticky; top: 120px; margin: 0; transform-style: preserve-3d; }
.arch-img { overflow: hidden; aspect-ratio: 3 / 4.2; border-radius: 999px 999px 4px 4px; border: 1px solid rgba(232,196,107,0.55); box-shadow: 0 30px 80px rgba(0,0,0,0.5), 0 0 60px rgba(219,166,36,0.12); }
.arch-img img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 80%; filter: sepia(0.35) brightness(0.72) contrast(1.15); }
.arch figcaption { margin-top: 18px; font-style: italic; font-size: 15px; color: var(--muted); text-align: center; }
.seal { display: flex; align-items: center; gap: 20px; margin-top: 40px; padding: 24px 28px; border: 1px solid rgba(219,166,36,0.3); background: rgba(21,28,39,0.5); }
.seal img { width: 44px; height: auto; }
.seal span { font-family: var(--display); font-size: 22px; line-height: 1.3; color: var(--gold-light); }

/* ---------------- MASTERS (3D carousel) ---------------- */
.masters { padding: 0; background: radial-gradient(ellipse 70% 50% at 50% 55%, rgba(27,34,48,0.8), rgba(12,15,20,0.92) 70%); }
.masters-pin { position: relative; height: 100vh; min-height: 680px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 80px; }
.masters-head { text-align: center; position: relative; z-index: 3; }
.masters-head .display { margin-bottom: 14px; font-size: clamp(44px, 6vw, 96px); }
.masters-intro { max-width: 660px; margin: 0 auto; font-style: italic; font-size: 17px; }
.carousel-stage { position: relative; flex: 1; min-height: 340px; perspective: 1700px; perspective-origin: 50% 40%; cursor: grab; touch-action: pan-y; }
.carousel-stage:active { cursor: grabbing; }
.carousel { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; }
.m-card {
  position: absolute; left: -110px; top: -150px; width: 220px; height: 300px; padding: 26px 20px;
  display: flex; flex-direction: column; justify-content: space-between; text-align: center;
  border: 1px solid rgba(219,166,36,0.4); background: linear-gradient(170deg, rgba(31,39,54,0.95), rgba(12,15,20,0.95));
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: inset 0 0 0 6px rgba(12,15,20,0.9), inset 0 0 0 7px rgba(219,166,36,0.18);
}
.m-card .m-num { font-family: var(--display); font-size: 54px; line-height: 1; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.m-card .m-name { font-family: var(--display); font-size: 23px; line-height: 1.2; color: var(--ivory); }
.m-card .m-years { font-size: 14px; letter-spacing: 0.24em; color: var(--gold); }
.m-card .m-orn { width: 40px; height: 1px; margin: 0 auto; background: var(--gold); }
.m-card.is-front { border-color: var(--gold-light); box-shadow: inset 0 0 0 6px rgba(12,15,20,0.9), inset 0 0 0 7px rgba(219,166,36,0.35), 0 0 60px rgba(219,166,36,0.25); }
.masters-hint { text-align: center; font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); margin: 0 0 40px; }
.masters-coda { text-align: center; padding-top: clamp(60px, 8vw, 120px); padding-bottom: clamp(96px, 14vh, 180px); }
.coda-quote { max-width: 900px; margin: 0 auto 24px; font-family: var(--display); font-size: clamp(24px, 2.6vw, 40px); line-height: 1.4; color: var(--ivory); }
.coda-ask { font-style: italic; font-size: clamp(19px, 1.5vw, 24px); color: var(--gold-light); }
@media (max-width: 760px) {
  .m-card { left: -80px; top: -112px; width: 160px; height: 224px; padding: 18px 14px; }
  .m-card .m-num { font-size: 38px; } .m-card .m-name { font-size: 18px; }
}

/* ---------------- PHILOSOPHY ---------------- */
.philosophy { background: linear-gradient(180deg, rgba(12,15,20,0.92), rgba(12,15,20,0.6) 40%, rgba(12,15,20,0.92)); }
.philo-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); margin-bottom: clamp(60px, 8vw, 110px); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1200px; }
.value span { display: block; font-family: var(--display); font-size: 15px; letter-spacing: 0.2em; color: var(--gold-dark); margin-bottom: 40px; }
.value h3 { font-size: clamp(24px, 1.9vw, 32px); }

/* ---------------- CONTACT ---------------- */
.contact { padding-bottom: 0; background: radial-gradient(ellipse 60% 50% at 50% 40%, rgba(219,166,36,0.08), rgba(12,15,20,0.95) 70%); }
.contact-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact-emblem { width: clamp(84px, 9vw, 120px); height: auto; margin-bottom: 40px; filter: drop-shadow(0 0 30px rgba(219,166,36,0.45)); }
.contact .display { margin-bottom: 30px; }
.contact-lede { max-width: 560px; font-style: italic; font-size: clamp(18px, 1.4vw, 22px); margin-bottom: 44px; }
.footer { margin-top: clamp(100px, 14vw, 180px); padding-top: 32px; padding-bottom: 40px; border-top: 1px solid rgba(219,166,36,0.15); display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 14px; }
.footer p { margin: 0; color: var(--muted); }
.footer nav { display: flex; gap: 28px; }
.footer nav a { color: var(--ivory-dim); letter-spacing: 0.16em; text-transform: uppercase; font-size: 12px; }
.footer nav a:hover { color: var(--gold-light); }

/* contact email */
.contact-mail { margin-top: 26px; font-size: clamp(16px, 1.3vw, 20px); letter-spacing: 0.08em; color: var(--gold-light); border-bottom: 1px solid rgba(219,166,36,0.35); padding-bottom: 4px; overflow-wrap: anywhere; transition: color 0.3s, border-color 0.3s; }
.contact-mail:hover { color: var(--gold-pale); border-color: var(--gold); }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 1000px) {
  .about-grid, .mission-grid, .philo-intro { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .history-copy { columns: 1; }
  .arch { position: relative; top: 0; max-width: 420px; margin: 0 auto; }
  .frame { max-width: 480px; }
}
@media (max-width: 1080px) {
  .nav.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; transform: none !important; background: transparent; border-bottom-color: transparent; }
}
@media (max-width: 760px) {
  #webgl { opacity: 0.45; }
  .section { padding: 84px 0; }
  .display { font-size: clamp(40px, 11.5vw, 64px); margin-bottom: 36px; }
  .lead { font-size: 19px; }
  .eyebrow { font-size: 11px; letter-spacing: 0.32em; gap: 12px; margin-bottom: 20px; }
  .eyebrow i { width: 28px; }
  .btn-gold { padding: 16px 26px; font-size: 12px; letter-spacing: 0.22em; }
  .hero-foot .btn-gold { width: 100%; justify-content: center; }
  .hero-lede { font-size: 17px; }
  .big-quote { font-size: 22px; }
  .pillars { margin-top: 64px; gap: 16px; }
  .pillar, .value { padding: 28px 24px; }
  .frame { padding: 12px; }
  .mission-banner { height: 62vh; min-height: 380px; }
  .seal { padding: 18px 20px; } .seal span { font-size: 19px; }
  .masters-pin { height: 100svh; min-height: 600px; padding-top: 70px; }
  .masters-head .display { font-size: 44px; }
  .masters-intro { font-size: 16px; padding: 0 4px; }
  .masters-hint { margin-bottom: 24px; font-size: 10px; }
  .coda-quote { font-size: 22px; }
  .brand { gap: 10px; } .brand img { width: 26px; } .brand span { font-size: 17px; }
  .nav { padding: 14px var(--gutter); }
  body::after { opacity: 0.035; }
  .timeline-track { grid-template-columns: 1fr; gap: 56px; }
  .tl-line { left: calc(var(--gutter) + 8px); right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .tl-line span { transform-origin: top; }
  .tl-item { padding-left: 40px; }
  .tl-dot { position: absolute; left: 2px; top: 14px; margin: 0; }
  .values { grid-template-columns: 1fr; }
  .footer { flex-direction: column; text-align: center; }
}

/* ---------------- REDUCED MOTION ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  body::after { display: none; }
}
