/* link.sagetattoo.com — Sage link page. Tokens from ~/sage-landing (paper / ink / gold, square corners). */
@font-face{font-family:"Cormorant Garamond";font-style:normal;font-weight:500;font-display:swap;
  src:url(fonts/cormorant-garamond-500-latin.woff2) format("woff2")}

:root{
  --bg:#E9E4DA; --card:#F1ECE4; --text:#17150F; --body:#3a3730; --muted:#6E685C;
  --line:rgba(23,21,15,.16); --line-strong:rgba(23,21,15,.55);
  --gold:#A9884F; --gold-text:#7d6236;
  --pri-bg:#17150F; --pri-text:#E9E4DA; --pri-sub:#C7A96B;
  --focus:#A9884F;
  --serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --sans:Inter,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color-scheme:light; /* light only (Jordan, Nov 15): phones in dark mode get the same paper look */
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text);font:400 16px/1.5 var(--sans);
  -webkit-font-smoothing:antialiased;min-height:100vh;min-height:100dvh}
a{color:inherit}
:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* Top padding clears the iPhone notch / Dynamic Island (viewport-fit=cover puts content under it).
   Column fills the screen: on tall phones the spare height is split above and below the content (auto margins
   on .profile / .event) and the footer sits at the bottom; on shorter phones it just scrolls. */
.wrap{width:100%;max-width:480px;margin:0 auto;display:flex;flex-direction:column;
  min-height:100vh;min-height:100dvh;
  padding:calc(64px + env(safe-area-inset-top, 0px)) 18px calc(28px + env(safe-area-inset-bottom, 0px))}
@supports not (padding:env(safe-area-inset-top)){.wrap{padding-top:64px}}

/* Event section: question headline, then the event button */
.event{margin-top:48px;margin-bottom:auto;text-align:center}
.event-q{font:500 25px/1.2 var(--serif);margin:0 auto 12px;max-width:24ch;text-wrap:balance}
.event-q::before{content:"";display:block;width:26px;height:1px;background:var(--gold);margin:0 auto 26px}
.event-lede{margin:0 auto 24px;max-width:34ch;color:var(--muted);font-size:14.5px;line-height:1.45;text-wrap:balance}
.event .links{text-align:left}
/* Two event buttons (e.g. RSVP + Learn More): small, side by side, first one filled. */
.event .links.pair{grid-template-columns:1fr 1fr;gap:10px}
.links.pair .btn{min-height:50px;padding:10px 12px;justify-content:center;text-align:center}
.links.pair .btn::before,.links.pair .arrow{display:none}
.links.pair .txt{flex:0 1 auto}
.links.pair .title{font-size:15px}
.links.pair li:first-child .btn{background:var(--text);color:var(--bg);border-color:var(--text)}

/* Profile */
.profile{text-align:center;margin-top:auto;margin-bottom:40px}
.avatar{display:block;width:104px;height:104px;margin:0 auto 22px;border-radius:50%;
  object-fit:cover;background:#fff;box-shadow:0 0 0 1px var(--line),0 0 0 6px var(--bg),0 0 0 7px var(--line)}
.name{font:500 30px/1.1 var(--serif);letter-spacing:.005em;margin:0 0 14px}
/* Tagline: one line on phones >= 360 px wide (10.5px/.14em = ~331 px for the current 42-char tagline);
   narrower screens wrap between phrases, never inside one. */
.bio{margin:0 auto;color:var(--gold-text);font-size:10.5px;font-weight:600;line-height:1.9;
  letter-spacing:.14em;text-transform:uppercase;text-wrap:balance}
.bio .ph{white-space:nowrap}
.bio .dot{color:var(--gold)}
@media (min-width:360px){.bio{white-space:nowrap}}
@media (min-width:640px){.bio{font-size:11px;letter-spacing:.2em}}

/* Buttons */
.links{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.btn{display:flex;align-items:center;gap:14px;min-height:62px;padding:12px 16px 12px 18px;
  background:var(--card);border:1px solid var(--line);text-decoration:none;color:var(--text);
  transition:border-color .15s ease,transform .15s ease;-webkit-tap-highlight-color:transparent}
.btn:hover{border-color:var(--line-strong)}
.btn:active{transform:scale(.985)}
.thumb{width:44px;height:44px;flex-shrink:0;object-fit:cover;display:block}
.txt{flex:1;min-width:0}
.title{display:block;font-weight:600;font-size:15.5px;line-height:1.3;letter-spacing:.005em}
.sub{display:block;margin-top:2px;font-size:13px;line-height:1.35;color:var(--muted)}
.arrow{flex-shrink:0;width:18px;height:18px;opacity:.55;transition:transform .15s ease,opacity .15s ease}
.btn:hover .arrow{transform:translateX(3px);opacity:.9}

/* Current event: same size and type as the other buttons (Jordan, Nov 15); only a gold edge marks it. */
.btn.primary{position:relative}
.btn.primary::before{content:"";position:absolute;left:-1px;top:-1px;bottom:-1px;width:3px;background:var(--gold)}

/* Footer */
.foot{padding-top:44px;text-align:center;font-size:12px;line-height:1.7;color:var(--muted)}
.foot a{color:var(--muted);text-underline-offset:3px}
.foot .addr{display:block;letter-spacing:.04em}

/* Consent banner (only rendered when a Pixel id is set; consent.js reveals it) */
.consent{position:fixed;left:0;right:0;bottom:0;z-index:10;padding:0 12px calc(12px + env(safe-area-inset-bottom))}
.consent[hidden]{display:none}
.consent-in{max-width:456px;margin:0 auto;background:var(--pri-bg);color:var(--pri-text);
  padding:14px 14px 14px 16px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;
  box-shadow:0 8px 30px rgba(0,0,0,.25)}
.consent p{margin:0;flex:1 1 220px;font-size:13px;line-height:1.4}
.consent p a{color:inherit;text-underline-offset:3px;opacity:.85}
.consent-btns{display:flex;gap:8px}
.consent button{font:600 13px/1 var(--sans);padding:11px 16px;border:1px solid currentColor;
  background:transparent;color:inherit;cursor:pointer;border-radius:0}
.consent button.yes{background:var(--pri-text);color:var(--pri-bg);border-color:var(--pri-text)}
body.has-consent .wrap{padding-bottom:140px}

/* Privacy page */
.doc{max-width:600px;display:block}
.doc .back{display:inline-block;font-size:13px;color:var(--muted);text-decoration:none;margin-bottom:26px}
.doc h1{font:500 38px/1.1 var(--serif);margin:0 0 8px}
.doc .lede{color:var(--muted);font-size:13px;margin:0 0 28px}
.doc h2{font:500 23px/1.2 var(--serif);margin:30px 0 8px}
.doc p,.doc li{color:var(--body);font-size:15.5px;line-height:1.6}
.doc ul{padding-left:20px;margin:8px 0}
.doc li{margin:4px 0}
.doc a{text-underline-offset:3px}
.doc button{font:inherit;color:inherit;background:none;border:0;padding:0;text-decoration:underline;text-underline-offset:3px;cursor:pointer}

@media (min-width:640px){
  .wrap{padding-top:calc(88px + env(safe-area-inset-top, 0px))}
  .avatar{width:116px;height:116px}
  .name{font-size:34px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}
