:root{
  --navy:#3B465C;
  --navy-2:#141C33;
  --navy-soft:#4E5A72;
  --gold:#C6A15C;
  --gold-deep:#9C7C3E;
  --gold-text:#7A5C22;   /* deeper gold for small text: 5:1 on cream and lavender */
  --gold-pale:#E9D9B6;
  --lavender:#E1E5FE;
  --lavender-deep:#C7CEF2;
  --cream:#F6EFE1;
  --ivory:#FFFCF6;
  --lavender-wash:#F1F2FC;
  --gold-wash:#FBF4E6;
  --ink:#211D2E;
  --ink-soft:#5B5A6E;
  --line:rgba(20,28,51,0.14);
  --line-on-navy:rgba(233,217,182,0.22);
  --bg:var(--ivory);
  --surface:var(--cream);
  --shadow:0 18px 40px -22px rgba(20,28,51,0.35);
  color-scheme:light;
}
*{box-sizing:border-box;}
html{overflow-x:clip;max-width:100%;}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:"Karla",system-ui,-apple-system,sans-serif;
  font-weight:400;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:clip;
  max-width:100%;
  position:relative;
}
body::after{
  content:"";
  position:fixed;inset:0;pointer-events:none;z-index:999;
  opacity:0.025;mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size:120px 120px;
}
h1,h2,h3,.serif{font-family:"Source Serif 4",Georgia,serif;}
h1,h2,h3{text-wrap:balance;margin:0;color:var(--ink);font-weight:500;line-height:1.24;letter-spacing:-0.005em;}
h2{font-size:clamp(1.7rem,3.4vw,2.5rem);font-weight:500;}
p{margin:0;}
a{color:inherit;}
img{max-width:100%;}
[hidden]{display:none!important;}
.wrap{max-width:1180px;margin:0 auto;padding-inline:24px;}
@media (min-width:640px){.wrap{padding-inline:40px;}}

/* ---------- arch shapes ---------- */
.arch{clip-path:url(#archClip);-webkit-clip-path:url(#archClip);background:var(--navy);position:relative;overflow:hidden;}
.arch::after{
  content:"";position:absolute;inset:0;clip-path:url(#archClip);-webkit-clip-path:url(#archClip);
  box-shadow:inset 0 14px 26px rgba(0,0,0,0.5),inset 0 -10px 20px rgba(0,0,0,0.32),inset 0 0 0 2px rgba(0,0,0,0.22);
  pointer-events:none;
}
.gold-frame{
  padding:2px 2px 3px;clip-path:url(#archClip);-webkit-clip-path:url(#archClip);
  background:linear-gradient(150deg, #FCEFD2 0%, #E7C787 22%, #D4B06A 50%, #C29B52 80%, #F3DFAE 100%);
}
.gold-frame-inner{
  padding:1.5px;clip-path:url(#archClip);-webkit-clip-path:url(#archClip);width:100%;height:100%;
  background:linear-gradient(150deg, #6E5227 0%, #9C7C3E 35%, #7A5C2C 70%, #6E5227 100%);
}
.gold-frame .arch{width:100%;height:100%;}
.arch-outline{
  position:absolute;inset:0;clip-path:url(#archClip);-webkit-clip-path:url(#archClip);
  border:1px solid var(--line-on-navy);pointer-events:none;
}
.placeholder-photo{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;
  background:radial-gradient(120% 90% at 50% 0%, rgba(198,161,92,0.35), transparent 60%),linear-gradient(160deg, var(--navy-2), var(--navy) 65%);
  color:var(--gold-pale);text-align:center;padding:18px;
}
.placeholder-photo svg.icon{width:34px;height:34px;opacity:0.85;}
.placeholder-photo .ph-label{font-size:0.68rem;letter-spacing:0.12em;text-transform:uppercase;opacity:0.75;max-width:220px;}
.arch-photo{display:block;width:100%;height:100%;object-fit:cover;}

.eyebrow{font-size:0.72rem;letter-spacing:0.22em;text-transform:uppercase;color:var(--gold-text);}

/* ---------- buttons ---------- */
.btn{
  position:relative;z-index:0;display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font-family:"Karla",sans-serif;font-size:0.78rem;letter-spacing:0.08em;text-transform:uppercase;font-weight:500;
  padding:14px 30px;border-radius:999px;text-decoration:none;cursor:pointer;border:1px solid transparent;
  transition:transform .15s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
  white-space:nowrap;
}
.btn::before{
  content:"";position:absolute;inset:-4px;z-index:-1;border-radius:999px;background:var(--gold);
  opacity:0;filter:blur(9px);transition:opacity .3s ease;pointer-events:none;
}
.btn:hover{transform:translateY(-1px);}
.btn:hover::before{opacity:.5;}
.btn:active{transform:translateY(1px) scale(0.97);transition-duration:.08s;}
.btn-gold{
  color:var(--navy);font-weight:500;border-color:rgba(122,92,44,0.35);
  background-image:
    linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0) 38%, rgba(255,255,255,0.55) 46%, rgba(255,255,255,0.95) 50%, rgba(255,255,255,0.55) 54%, rgba(255,255,255,0) 62%, rgba(255,255,255,0) 100%),
    linear-gradient(180deg, hsl(36 55% 66%) 0%, hsl(34 50% 60%) 55%, hsl(32 46% 54%) 100%);
  background-size:100% 300%, 100% 100%;
  background-position:0 0%, 0 0;
  background-repeat:no-repeat, no-repeat;
  box-shadow:inset 0 1px 0 hsl(40 50% 80% / .6), inset 0 -2px 4px hsl(24 45% 18% / .3), 0 5px 14px -4px hsl(26 38% 28% / .35);
  text-shadow:0 1px 2px hsl(24 45% 15% / .35);
  animation:brass-sheen 8s ease-in-out infinite;
}
@keyframes brass-sheen{0%,100%{background-position:0 0%, 0 0;}50%{background-position:0 100%, 0 0;}}
.btn-gold:hover{box-shadow:inset 0 1px 0 hsl(40 50% 85% / .65), inset 0 -2px 4px hsl(24 45% 18% / .55), 0 8px 18px -6px hsl(26 38% 28% / .45);}
.btn-gold:active{animation-play-state:paused;box-shadow:inset 0 2px 5px hsl(24 45% 15% / .5), inset 0 -1px 0 hsl(40 50% 80% / .3), 0 3px 6px -4px hsl(26 38% 28% / .4);}
.btn-ghost{border-color:var(--line-on-navy);color:var(--gold-pale);}
.btn-ghost:hover{border-color:var(--gold);}
.btn-outline{border-color:var(--navy);color:var(--navy);}
.btn-outline:hover{background:var(--navy);color:var(--ivory);}
.btn-dark{border-color:var(--line);color:var(--ink);}
.btn-dark:hover{border-color:var(--navy);}
@media (prefers-reduced-motion: reduce){.btn,.btn::before{transition:none;}.btn-gold{animation:none;background-position:0 33%, 0 0;}}

/* ---------- section shell ---------- */
section{padding-block:72px;}
.section-head{max-width:640px;margin-bottom:44px;}
.section-head.center{margin-inline:auto;text-align:center;}
.section-head h2{line-height:1.18;}
.section-head .eyebrow{color:var(--gold-text);}
.section-head p{margin-top:14px;color:var(--ink-soft);font-size:1rem;max-width:56ch;}

blockquote.pull{
  font-family:"Source Serif 4",Georgia,serif;font-weight:400;font-size:clamp(1.2rem,2.4vw,1.55rem);
  color:var(--ink);line-height:1.5;margin:0 0 20px;letter-spacing:-0.005em;
}

/* ---------- team profile pages ---------- */
.profile-header{padding-block:20px;background:var(--lavender);border-bottom:1px solid var(--line);}
.profile-header .row{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.profile-logo{display:block;height:46px;line-height:0;}
.profile-logo img{height:100%;width:auto;display:block;}
.profile-back{display:inline-flex;align-items:center;gap:6px;font-size:0.85rem;color:var(--ink-soft);text-decoration:none;}
.profile-back:hover{color:var(--ink);}
.profile-hero{background:var(--lavender);padding-block:56px;}
.profile-hero .grid{display:grid;gap:40px;align-items:center;}
@media (min-width:820px){.profile-hero .grid{grid-template-columns:0.9fr 1.1fr;}}
.profile-art{aspect-ratio:4/5;width:100%;max-width:380px;margin-inline:auto;}
.profile-hero h1{margin-top:10px;font-size:clamp(1.8rem,3.6vw,2.6rem);}
.profile-lede{margin-top:16px;color:var(--ink-soft);font-size:1rem;max-width:56ch;line-height:1.65;}

/* ---------- motion: reveal on scroll ---------- */
.reveal{opacity:0;transform:translateY(22px);transition:opacity .7s ease, transform .7s ease;}
.reveal.is-visible{opacity:1;transform:none;}
.reveal-img{opacity:0;transform:scale(1.06);transition:opacity .9s ease, transform .9s ease;}
.reveal-img.is-visible{opacity:1;transform:scale(1);}
.reveal-stagger.is-visible{transition-delay:calc(var(--d, 0) * 90ms);}
@media (prefers-reduced-motion: reduce){.reveal,.reveal-img{transition:none;opacity:1;transform:none;}}

/* ---------- footer ---------- */
footer{background:var(--navy);color:var(--gold-pale);padding-block:0 34px;}
/* The logo sits on a lavender band that runs the full width of the footer, edge to edge. */
.foot-brand{display:flex;justify-content:center;background:var(--lavender);margin-inline:calc(50% - 50vw);padding:52px 24px;margin-bottom:56px;}
.foot-logo-wrap{width:100%;max-width:380px;}
.foot-logo-arch{clip-path:none;-webkit-clip-path:none;background:transparent;overflow:visible;}
.foot-logo-arch::after{display:none;}
.foot-logo-arch img{width:100%;height:auto;display:block;}
.foot-grid{display:grid;gap:32px;padding-bottom:32px;border-bottom:1px solid var(--line-on-navy);}
@media (min-width:760px){.foot-grid{grid-template-columns:1.3fr 1fr 1fr;}}
.foot-grid h2,.foot-grid h3{font-family:"Karla",sans-serif;font-weight:600;line-height:1.4;font-size:0.72rem;letter-spacing:0.14em;text-transform:uppercase;color:#D9BC7E;margin-bottom:14px;}
.foot-grid p, .foot-grid a{font-size:0.9rem;color:var(--gold-pale);opacity:0.85;text-decoration:none;display:block;margin-bottom:8px;}
.foot-grid a:hover{opacity:1;text-decoration:underline;}
.foot-tagline{font-family:"Source Serif 4",Georgia,serif;font-weight:400;font-size:1.15rem;color:var(--ivory);max-width:32ch;margin-top:10px;}
.foot-bottom{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;padding-top:24px;font-size:0.76rem;color:var(--gold-pale);opacity:0.72;}

/* ---------- mobile sticky call / book bar (every page) ---------- */
/* Always pinned to the bottom on phones, so the header Book buttons step aside there. */
.sticky-cta{
  position:fixed;left:0;right:0;bottom:0;z-index:50;
  display:flex;gap:10px;
  padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px));
  background:var(--ivory);border-top:1px solid var(--line);
}
.sticky-cta .btn{flex:1;padding:14px 16px;font-size:0.72rem;}
@media (min-width:720px){.sticky-cta{display:none;}}
/* Room for the Marley chat bubble (bottom right). The bubble is 56px, so a 72px zone above the bar holds it.
   The chat script should position itself with: bottom:var(--chat-bubble-bottom); right:16px; */
:root{--sticky-cta-h:0px;--chat-bubble-bottom:16px;}
@media (max-width:719px){
  :root{--sticky-cta-h:74px;--chat-bubble-bottom:calc(var(--sticky-cta-h) + 8px + env(safe-area-inset-bottom,0px));}
  footer{padding-bottom:calc(var(--sticky-cta-h) + 72px + 32px);}
  .profile-header .btn-gold{display:none;}
}
.foot-credit{color:inherit;text-decoration:underline;text-decoration-color:rgba(233,217,182,0.4);text-underline-offset:3px;}
.foot-credit:hover{color:var(--gold);text-decoration-color:var(--gold);}

/* ---------- phone tap targets: every link at least 44px tall ---------- */
@media (max-width:719px){
  .foot-grid a{padding-block:11px;margin-bottom:0;}
  .foot-bottom a{display:inline-block;padding-block:13px;}
  .profile-back,.about-meta a{display:inline-flex;align-items:center;min-height:44px;}
  .profile-logo{display:flex;align-items:center;min-height:44px;}
}

/* ---------- fit to the screen ----------
   Halfway between full size and the earlier shrink-to-fit steps (2026-09-30). */
@media (min-width:900px) and (max-height:900px){:root{--z:.985;}}
@media (min-width:900px) and (max-height:820px){:root{--z:.955;}}
@media (min-width:900px) and (max-height:760px){:root{--z:.925;}}
@media (min-width:900px) and (max-height:680px){:root{--z:.905;}}
@media (min-width:900px) and (max-height:600px){:root{--z:.885;}}
@media (min-width:900px){body{zoom:var(--z,1);}}
