/* Shared foundations, typography, header and controls for every page. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&display=swap');
:root{--wine:#730b22;--wine-dark:#4b0718;--ink:#33221e;--gold:#daa03d;--lightgold:#f6d996;--cream:#fffaf0;--paper:#f8f1e7;--sand:#e9ddcd;--muted:#705f56;--line:#e8dac8;--bronze:#a36f2e;--header-height:92px;--page-gutter:64px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:var(--header-height)}
body{margin:0;color:var(--ink);background:var(--cream);font-family:'DM Sans',sans-serif;-webkit-font-smoothing:antialiased;min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
button,a{ -webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:4px}
h1,h2,h3,p{margin-top:0}
h1,h2,h3,.section-heading{font-family:'Playfair Display',Georgia,serif;font-weight:600}
h2,.section-heading{font-size:clamp(2rem,3.7vw,3.55rem);line-height:1.14;letter-spacing:-.035em}
h2 em,h1 em,.heading-emphasis{font-weight:500;color:var(--wine)}
.shell{width:min(var(--shell-width,1180px),calc(100% - var(--page-gutter)));margin:auto}
.eyebrow{font-family:'Manrope',sans-serif;font-size:1.1rem;line-height:1.6;letter-spacing:.21em;font-weight:800;color:var(--lightgold);margin-bottom:calc(25px + 1.6em)}
.eyebrow.dark{color:var(--bronze)}
.skip{position:absolute;left:-9999px;top:0;background:white;padding:12px;z-index:100}
.skip:focus{left:12px}
.header{height:var(--header-height);position:sticky;top:0;z-index:30;flex-shrink:0;background:var(--cream);color:var(--ink);border-bottom:1px solid #ebddca;backdrop-filter:blur(10px)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:100%;gap:30px}
.brand{display:inline-flex;align-items:center;gap:10px;color:var(--wine);min-width:0;flex-shrink:0}
.brand img{width:62px;height:62px;object-fit:cover;object-position:center}
.brand>span{font-family:'Playfair Display',serif;font-size:1.45rem;line-height:1.04;font-weight:700;letter-spacing:.02em}
.brand small{display:block;font:700 .7rem 'Manrope',sans-serif;letter-spacing:.45em;margin-top:5px;color:#b47b34}
.nav-action span,.button span,.under-link span{margin-left:12px}
.button{display:inline-flex;align-items:center;justify-content:space-between;gap:12px;font-size:.86rem;font-weight:700;padding:18px 23px;border-radius:3px;transition:transform .2s,background .2s}
.button:hover{transform:translateY(-2px)}
.button.gold{background:#f2c77a;color:#521a1b}
.button.gold:hover{background:#ffe0a5}
.button.burgundy{background:var(--wine);color:white}
.button.burgundy:hover{background:var(--wine-dark)}
.under-link{display:inline-block;margin-top:15px;border-bottom:1px solid var(--wine);padding-bottom:8px;font-size:.9rem;color:var(--wine);font-weight:700}
@media(max-width:760px){:root{--header-height:76px;--page-gutter:38px}
.brand img{width:54px;height:54px}
.brand>span{font-size:1.2rem}
h2,.section-heading{font-size:clamp(2rem,6.4vw,2.8rem)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}
*,*:before,*:after{transition:none!important;animation:none!important}}
main{flex:1;display:flex;flex-direction:column;justify-content:center}
[hidden]{display:none!important}
main:focus{outline:none}
.navigation,.nav-label{font-size:.83rem;font-weight:700}

/* Keep separators visible and centre phrases as the available space changes. */
.phrase-container{container-type:inline-size}
.phrase-list{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:18px}
.phrase-list>span{white-space:nowrap}
.phrase-list--compact{gap:.5em;font-size:clamp(.9rem,4cqi,1.1rem)}
@container(max-width:24rem){
  .phrase-list--compact{flex-direction:column;gap:6px;font-size:1.1rem}
  .phrase-list--compact>.phrase-separator{font-size:.8em;line-height:1}
}
