/* Soft Sun Studio site. Brand: primary #7F5A40, accent #F5C46E, soft #F5EBDD, ink #2E2530.
   Fonts: Cormorant Garamond (headings, bundled) + Jost (body; falls back gracefully, see README "Fonts"). No external font CDN. */
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/fonts/cormorant-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
/* @font-face { font-family: "Jost"; src: url("/fonts/jost.woff2") format("woff2"); font-weight: 300 600; font-display: swap; }  -- uncomment once public/fonts/jost.woff2 is added */

:root {
  --soft-sun-primary: #7F5A40; --soft-sun-accent: #F5C46E; --soft-sun-soft: #F5EBDD; --soft-sun-ink: #2E2530;
  --bg: #F5EBDD; --surface: #FBF6EE; --ink: #2E2530; --muted: #5A4D5C; --link: #7F5A40; --line: #D9C7B2;
  --btn-bg: #7F5A40; --btn-ink: #FFFFFF; --tag-bg: #F5C46E; --tag-ink: #2E2530; --focus: #2E2530;
  --head: "Cormorant Garamond", "Cormorant", Garamond, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Jost", "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, system-ui, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #2E2530; --surface: #382E3B; --ink: #F5EBDD; --muted: #D8C9BA; --link: #F5C46E; --line: #5B4D5E; --btn-bg: #F5C46E; --btn-ink: #2E2530; --tag-bg: #F5C46E; --tag-ink: #2E2530; --focus: #F5C46E; }
}
:root[data-theme="dark"] { --bg: #2E2530; --surface: #382E3B; --ink: #F5EBDD; --muted: #D8C9BA; --link: #F5C46E; --line: #5B4D5E; --btn-bg: #F5C46E; --btn-ink: #2E2530; --tag-bg: #F5C46E; --tag-ink: #2E2530; --focus: #F5C46E; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-weight: 400; line-height: 1.65; font-size: 1.0625rem; }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); } h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); } h3, .h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; } a { color: var(--link); text-underline-offset: .2em; } a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: .5rem; top: -4rem; background: var(--btn-bg); color: var(--btn-ink); padding: .6rem 1rem; z-index: 20; }
.skip:focus { top: .5rem; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
header.site { border-bottom: 1px solid var(--line); background: var(--surface); }
header.site .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; padding-block: .9rem; }
.brand { font-family: var(--head); font-size: 1.7rem; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: .01em; display: inline-flex; align-items: center; gap: .55rem; }
.brand svg { width: 1.6rem; height: 1.6rem; }
nav.main ul { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; margin: 0; padding: 0; }
nav.main a { color: var(--ink); text-decoration: none; padding: .35rem 0; border-bottom: 2px solid transparent; }
nav.main a:hover, nav.main a[aria-current="page"] { border-bottom-color: var(--accent-line, #F5C46E); }
.theme { margin-left: auto; background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font: inherit; cursor: pointer; }
.hero { position: relative; isolation: isolate; color: #F5EBDD; background: #2E2530; overflow: hidden; }
.hero > img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(46,37,48,.9), rgba(46,37,48,.78)); z-index: -1; }
.hero .inner { padding: clamp(3rem, 9vw, 7rem) 0; max-width: 40rem; }
.hero.small .inner { padding: clamp(2rem, 6vw, 4rem) 0; }
.hero a { color: #F5C46E; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 500; margin: 0 0 .75rem; }
.hero .eyebrow { color: #F5C46E; } main .eyebrow { color: var(--muted); }
.lede { font-size: 1.25rem; max-width: 36rem; }
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; } .section.alt { background: var(--surface); }
.grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.section.alt .card { background: var(--bg); }
.card .body { padding: 1.1rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card h2, .card h3 { margin: 0; } .card h2 a, .card h3 a { color: var(--ink); text-decoration: none; } .card h2 a:hover, .card h3 a:hover { text-decoration: underline; }
.card .media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.status-line { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin: .25rem 0 .5rem; }
.tag { display: inline-block; background: var(--tag-bg); color: var(--tag-ink); font-weight: 500; font-size: .85rem; letter-spacing: .04em; padding: .2rem .7rem; border-radius: 999px; }
.ptbc { color: var(--muted); font-weight: 500; }
.btn { display: inline-block; background: var(--btn-bg); color: var(--btn-ink); border: 2px solid var(--btn-bg); border-radius: 999px; padding: .65rem 1.4rem; font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; }
.btn:hover { filter: brightness(1.08); } .btn.ghost { background: transparent; color: inherit; border-color: currentColor; }
.hero .btn { background: #F5C46E; color: #2E2530; border-color: #F5C46E; } .hero .btn.ghost { background: transparent; color: #F5EBDD; border-color: #F5EBDD; }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.notice { border-left: 4px solid #F5C46E; background: var(--surface); padding: .9rem 1.1rem; border-radius: 0 10px 10px 0; margin: 1.25rem 0; }
.prose { max-width: 46rem; } .prose h2 { margin-top: 1.6em; } .prose ul, .prose ol { padding-left: 1.2rem; }
.photo-slot { border: 2px dashed var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.photo-slot figcaption { padding: .75rem 1rem; color: var(--muted); font-size: .95rem; }
form.register { display: grid; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; }
.section.alt form.register { background: var(--bg); }
label, legend { font-weight: 500; }
input[type="text"], input[type="email"], textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--muted); border-radius: 8px; padding: .65rem .8rem; }
.section.alt input[type="text"], .section.alt input[type="email"], .section.alt textarea { background: var(--surface); }
textarea { min-height: 7rem; resize: vertical; }
fieldset { border: 1px solid var(--line); border-radius: 10px; padding: .8rem 1rem 1rem; margin: 0; }
.checks { display: grid; gap: .35rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.checks label, .consent label { font-weight: 400; display: flex; gap: .55rem; align-items: flex-start; }
input[type="checkbox"] { width: 1.15rem; height: 1.15rem; margin-top: .3rem; accent-color: var(--btn-bg); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.5em; font-weight: 500; } .status.err { color: var(--ink); border-left: 4px solid var(--link); padding-left: .6rem; }
.faq h2 { font-size: 1.6rem; margin-top: 1.4em; }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 1rem; }
.steps li { counter-increment: s; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.25rem 1.1rem 4rem; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 1.1rem; top: .8rem; font-family: var(--head); font-size: 2rem; color: var(--link); }
footer.site { border-top: 1px solid var(--line); background: var(--surface); padding: 2rem 0; font-size: .95rem; color: var(--muted); }
footer.site ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: 0; margin: 0 0 1rem; }
footer.site a { color: var(--ink); }
.breadcrumb { font-size: .95rem; color: var(--muted); margin-bottom: 1rem; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
@media (max-width: 640px) { .theme { margin-left: 0; } .steps li { padding-left: 3.4rem; } }
