/* Risqué Agencé — link-in-bio site */
:root {
  --ink: #0b0a0a;
  --ink-2: #141112;
  --ink-3: #1e191a;
  --ivory: #f6efe9;
  --ivory-dim: #cbbfb8;
  --muted: #9b8c86;
  --rose-1: #ecc7b4;
  --rose-2: #c99a8a;
  --rose-3: #9c6763;
  --rose-4: #7e4848;
  --rose-grad: linear-gradient(100deg, var(--rose-1) 0%, var(--rose-2) 40%, var(--rose-3) 75%, var(--rose-4) 100%);
  --line: rgba(236, 199, 180, .2);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --col: 560px;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh;
  background: var(--ink); color: var(--ivory);
  font: 300 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--rose-3); color: var(--ivory); }
:focus-visible { outline: 1px solid var(--rose-1); outline-offset: 4px; }

.visually-hidden, .hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ivory); color: var(--ink); padding: 8px 14px; }
.skip:focus { left: 8px; }

.page-glow {
  position: fixed; inset: -30% -30% auto -30%; height: 120vh; pointer-events: none; z-index: -1;
  background:
    radial-gradient(ellipse 34% 20% at 50% 30%, rgba(255, 255, 255, .06), transparent 70%),
    radial-gradient(ellipse 50% 34% at 50% 34%, rgba(156, 103, 99, .16), transparent 72%);
  transform: rotate(-22deg);
}

main { padding: 0 var(--gutter); }

/* ---------- Link hub ---------- */
.linkhub {
  max-width: var(--col); margin: 0 auto;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 56px 0 64px;
}
.hub-logo { margin: 0; width: min(440px, 100%); animation: rise 1.2s var(--ease) both; }
.hub-kicker {
  margin: 22px 0 6px; font: 500 11.5px/1.9 var(--sans); letter-spacing: .3em; text-transform: uppercase;
  background: var(--rose-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise 1.2s .1s var(--ease) both;
}
.hub-sub { margin: 12px 0 0; font: italic 500 28px/1.2 var(--serif); letter-spacing: .01em; color: var(--ivory); animation: rise 1.2s .18s var(--ease) both; }

.links { width: 100%; display: grid; gap: 12px; margin-top: 34px; }
.link {
  position: relative; display: flex; align-items: center; gap: 14px;
  min-height: 60px; padding: 14px 22px; text-decoration: none; text-align: left;
  border: 1px solid var(--line); background: rgba(20, 17, 18, .72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: border-color .25s, background .25s, transform .25s var(--ease);
  animation: rise 1s var(--ease) both;
}
.links .link:nth-child(1) { animation-delay: .25s; }
.links .link:nth-child(2) { animation-delay: .32s; }
.links .link:nth-child(3) { animation-delay: .39s; }
.links .link:nth-child(4) { animation-delay: .46s; }
.links .link:nth-child(5) { animation-delay: .53s; }
.link:hover { border-color: var(--rose-2); background: rgba(30, 25, 26, .9); transform: translateY(-1px); }
.link:active { transform: translateY(0); }
.link-label { flex: 1; font: 500 13px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.link-meta { display: block; margin-top: 4px; font: 300 14px/1.2 var(--sans); letter-spacing: .02em; text-transform: none; color: var(--muted); }
.link-arrow { font: 400 18px/1 var(--sans); color: var(--rose-2); transition: transform .25s var(--ease); }
.link:hover .link-arrow { transform: translateX(3px); }
.link-glyph { width: 20px; height: 20px; flex: none; }
.link-primary { background: var(--rose-grad); border: 0; padding: 15px 23px; color: var(--ink); }
.link-primary:hover { background: var(--rose-grad); filter: brightness(1.07); border-color: transparent; }
.link-primary .link-arrow { color: var(--ink); }
.link-quiet { background: transparent; }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hub-logo, .hub-kicker, .hub-sub, .link { animation: none; } }

/* ---------- Blocks ---------- */
.block { max-width: var(--col); margin: 0 auto; padding: 72px 0; border-top: 1px solid var(--line); text-align: center; }
.block-wide { max-width: 920px; }
.eyebrow {
  margin: 0 0 14px; font: 500 12px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase;
  background: var(--rose-grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block;
}
.display { margin: 0 0 18px; font: 400 clamp(32px, 7vw, 46px)/1.1 var(--serif); }
.block-lede { margin: 0 auto 30px; color: var(--ivory-dim); max-width: 46ch; }

.services { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 0; }
.services li {
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font: 400 23px/1.25 var(--serif); letter-spacing: .01em;
}
.services li:first-child { border-top: 1px solid var(--line); }
.services-for { margin: 26px auto 0; color: var(--muted); max-width: 44ch; font-size: 15px; }

/* ---------- Gallery ---------- */
.grid { list-style: none; margin: 30px 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.grid li { aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink-3); }
.grid a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; filter: saturate(.95); }
.grid a:hover img, .grid a:focus-visible img { transform: scale(1.05); filter: saturate(1.05); }
@media (min-width: 700px) { .grid { gap: 10px; } }
.text-link { font: 500 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--rose-1); text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 32px; cursor: pointer; text-decoration: none;
  font: 500 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase;
  background: var(--rose-grad); color: var(--ink); border: 0; border-radius: 0;
  transition: filter .25s, border-color .25s;
}
.btn:hover { filter: brightness(1.08); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ivory); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--rose-2); filter: none; }

/* ---------- Form ---------- */
.form { text-align: left; display: grid; gap: 22px; background: var(--ink-2); border: 1px solid var(--line); padding: 28px 22px; }
@media (min-width: 600px) { .form { padding: 36px; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.field label { font: 500 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--ivory-dim); }
.opt { text-transform: none; letter-spacing: .02em; color: var(--muted); font-weight: 300; }
.field input, .field select, .field textarea {
  width: 100%; font: 300 16px/1.5 var(--sans); color: var(--ivory); color-scheme: dark;
  background: transparent; border: 0; border-bottom: 1px solid rgba(246, 239, 233, .24);
  padding: 9px 0; border-radius: 0; transition: border-color .25s;
}
.field ::placeholder { color: #6f625d; }
.field textarea { resize: vertical; min-height: 110px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 22px;
  background-image: linear-gradient(45deg, transparent 50%, var(--rose-2) 50%), linear-gradient(135deg, var(--rose-2) 50%, transparent 50%);
  background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--ink-2); color: var(--ivory); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--rose-1); }
.field [aria-invalid="true"] { border-bottom-color: #d77a6e; }
.consent { margin: 0; font-size: 13px; color: var(--muted); }
.consent a, .legal a, .footer-links a { color: var(--rose-1); text-underline-offset: 3px; }
.form .btn { justify-self: stretch; }
.form-status { margin: 0; min-height: 1.4em; font-size: 15px; }
.form-status.ok { color: var(--rose-1); }
.form-status.err { color: #e59a8f; }
.cf-turnstile:empty { display: none; }

.join .small-print { margin: 18px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { max-width: var(--col); margin: 0 auto; padding: 50px var(--gutter) 40px; border-top: 1px solid var(--line); text-align: center; }
.footer-mark { width: 48px; height: 48px; margin: 0 auto 18px; }
.footer-slogan { margin: 0 0 12px; font: italic 500 22px/1.2 var(--serif); background: var(--rose-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-links { margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.footer-links a { text-decoration: none; }
.legal { margin: 0; font-size: 12px; line-height: 1.6; color: #7c6f6a; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 7, 7, .96); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); max-height: calc(100svh - 140px); object-fit: contain; }
.lb-count { font: 400 12px/1 var(--sans); letter-spacing: .26em; color: var(--muted); }
.lightbox button { position: absolute; background: none; border: 0; color: var(--ivory); cursor: pointer; font: 300 44px/1 var(--serif); width: 56px; height: 56px; display: grid; place-items: center; opacity: .75; }
.lightbox button:hover { opacity: 1; color: var(--rose-1); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 60px 10px; } .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; } }

/* ---------- Reveal ---------- */
.js .block > * { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .block:not(.in) > * { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) { .js .block:not(.in) > * { opacity: 1; transform: none; } }

/* ---------- Secondary pages (privacy, 404) ---------- */
.site-header { display: flex; justify-content: center; padding: 22px var(--gutter); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand-word { font: 500 15px/1 var(--serif); letter-spacing: .32em; text-transform: uppercase; }
.page { padding: 60px 0 90px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 0 var(--gutter); }
.page h1 { font: 400 clamp(36px, 6vw, 52px)/1.1 var(--serif); margin: 0 0 26px; }
.page h2 { font: 500 24px/1.3 var(--serif); margin: 36px 0 8px; }
.page p { color: var(--ivory-dim); }
.page a { color: var(--rose-1); }
.hero { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px var(--gutter); gap: 26px; }
.hero-glow { display: none; }
.hero-tag { margin: 0; font: italic 400 26px/1.3 var(--serif); color: var(--ivory-dim); }
.btn-primary { background: var(--rose-grad); }
@media (max-width: 420px) { .hub-kicker { letter-spacing: .16em; font-size: 11px; } }
