/* Serelle Web Studio house style. Soft Linen ground, Midnight Blue type,
   Deep Serelle Green for action, Warm Stone for structure, Quiet Brass as a
   fine rule and as small labels on dark grounds only (never as text on
   Linen, where it is too faint to read). */
@font-face { font-family: "Cormorant Garamond"; src: url(/fonts/cormorant-garamond-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(/fonts/cormorant-garamond-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(/fonts/cormorant-garamond-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(/fonts/cormorant-garamond-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --midnight: #0A233A; --green: #25514F; --linen: #F1EBE1; --brass: #A88A58; --stone: #D8CFC2;
  --ink-soft: #2E4357; --paper: #FAF7F2; --on-dark-soft: #C9CFD6; --sage: #95A69F;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --wrap: 1120px; --r: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--linen); color: var(--midnight); font: 400 17px/1.65 var(--sans); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--midnight); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.skip { position: absolute; left: -9999px; } .skip:focus { left: 16px; top: 12px; background: var(--paper); padding: 8px 12px; z-index: 10; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0 0 .4em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
.eyebrow { font: 700 .74rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--green); margin: 0 0 .9rem; }
.rule { width: 44px; height: 2px; background: var(--brass); margin: 0 0 1.4rem; border: 0; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 36rem; }
.muted { color: var(--ink-soft); }
.btn { display: inline-block; font: 700 .95rem/1 var(--sans); padding: .95rem 1.4rem; border-radius: 999px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.btn--primary { background: var(--green); color: var(--linen); }
.btn--primary:hover { background: var(--midnight); color: var(--linen); }
.btn--ghost { border-color: var(--midnight); color: var(--midnight); background: transparent; }
.btn--ghost:hover { background: var(--midnight); color: var(--linen); }
.btn--light { background: var(--linen); color: var(--midnight); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* masthead */
.mast { border-bottom: 1px solid var(--stone); background: var(--linen); position: sticky; top: 0; z-index: 5; }
.mast__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.mast__logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 28px); font-size: .92rem; }
.nav a { color: var(--midnight); text-decoration: none; }
.nav a:hover, .nav a[aria-current] { color: var(--green); text-decoration: underline; }
.nav .btn { padding: .7rem 1.1rem; font-size: .85rem; text-decoration: none; color: var(--linen); }
.nav__toggle { display: none; }
@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 1.5px solid var(--midnight); border-radius: 999px; padding: .5rem .9rem; font: 600 .85rem var(--sans); color: var(--midnight); }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: var(--linen); border-bottom: 1px solid var(--stone); flex-direction: column; align-items: flex-start; padding: 16px clamp(20px, 4vw, 40px) 24px; gap: 14px; }
  .mast[data-open] .nav { display: flex; }
  .mast__logo img { height: 38px; }
}

/* sections */
.sect { padding: clamp(56px, 8vw, 104px) 0; }
.sect + .sect { padding-top: 0; }
.sect--dark { background: var(--midnight); color: var(--linen); padding: clamp(56px, 8vw, 104px) 0; }
.sect--dark + .sect { padding-top: clamp(56px, 8vw, 104px); }
.sect--dark .eyebrow { color: var(--brass); }
.sect--dark .muted, .sect--dark .lede { color: var(--on-dark-soft); }
.sect--dark a:not(.btn) { color: var(--sage); }
.sect--dark .btn--light { color: var(--midnight); }
.sect--stone { background: var(--stone); padding: clamp(48px, 7vw, 88px) 0; }
.sect--stone + .sect { padding-top: clamp(56px, 8vw, 104px); }
.pagehead { padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(28px, 4vw, 44px); }

/* hero */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(40px, 6vw, 72px); }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }
.minis { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini { border-radius: 12px; overflow: hidden; border: 1px solid var(--stone); aspect-ratio: 4 / 3; position: relative; display: block; text-decoration: none; }
.mini__bar { height: 13%; }
.mini__hero { position: absolute; left: 9%; top: 26%; width: 46%; }
.mini__line { height: 7px; border-radius: 4px; margin-bottom: 7px; }
.mini__btn { width: 40%; height: 10px; border-radius: 5px; margin-top: 10px; }
.mini__img { position: absolute; right: 7%; top: 22%; width: 34%; height: 58%; border-radius: 6px; }
.mini__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 7px 10px; font: 600 .72rem/1.2 var(--sans); background: rgba(250, 247, 242, .92); color: var(--midnight); }

/* grids and cards */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--stone); border-radius: var(--r); padding: clamp(20px, 2.6vw, 30px); }
.card--dark { background: transparent; border-color: #2C4157; }
.card h3 { margin-bottom: .3em; }
.tier__name { font: 700 .74rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.sect--dark .tier__name { color: var(--brass); }
.tier__price { font-family: var(--serif); font-size: 2.3rem; line-height: 1.1; margin: .25em 0 .3em; }
.tier--feature { background: var(--linen); color: var(--midnight); border-color: var(--linen); }
.tier--feature .tier__name { color: var(--green); }
.tier--feature .muted { color: var(--ink-soft); }
.ticks { list-style: none; padding: 0; margin: 1rem 0 0; }
.ticks li { padding-left: 1.4em; position: relative; margin-bottom: .45em; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7em; height: 2px; background: var(--brass); }

/* steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; gap: 0; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--stone); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 500 2rem/1 var(--serif); color: var(--green); }
.steps h3 { font-size: 1.4rem; margin-bottom: .2em; }

/* catalog */
.variant { display: grid; grid-template-columns: 280px 1fr; gap: 28px; padding: 30px 0; border-top: 1px solid var(--stone); }
@media (max-width: 860px) { .variant { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: .4rem 0 1rem; }
.chip { font-size: .78rem; padding: .25rem .6rem; border: 1px solid var(--stone); border-radius: 999px; color: var(--ink-soft); background: var(--paper); }
.palettes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; margin: .4rem 0 1rem; }
@media (max-width: 560px) { .palettes { grid-template-columns: 1fr; } }
.pal { display: flex; align-items: center; gap: 10px; font-size: .88rem; }
.pal__sw { display: flex; border-radius: 6px; overflow: hidden; border: 1px solid var(--stone); flex: none; }
.pal__sw span { width: 22px; height: 22px; }

/* forms */
.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form .row2 { grid-template-columns: 1fr; } }
label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], select, textarea { width: 100%; font: 400 1rem var(--sans); color: var(--midnight); background: var(--paper); border: 1px solid #BFB4A4; border-radius: 8px; padding: .8rem .9rem; }
textarea { min-height: 140px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font: 500 1.5rem var(--serif); margin-bottom: .6rem; }
.choices { display: grid; gap: 10px; }
.choice { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; background: var(--paper); border: 1px solid var(--stone); border-radius: 10px; padding: 14px 16px; cursor: pointer; font-weight: 400; margin: 0; }
.choice:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.choice b { display: block; } .choice small { color: var(--ink-soft); }
.choice__price { font-family: var(--serif); font-size: 1.3rem; white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.note { font-size: .92rem; color: var(--ink-soft); }
.status { font-weight: 600; min-height: 1.4em; }
.status--ok { color: var(--green); } .status--err { color: #8A2E2E; }
.summary { position: sticky; top: 96px; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; margin: 0 0 1rem; }
.summary dt { color: var(--ink-soft); } .summary dd { margin: 0; text-align: right; }
.summary .total { font-family: var(--serif); font-size: 1.9rem; }
.startgrid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .startgrid { grid-template-columns: 1fr; } .summary { position: static; } }

/* prose (terms, privacy) */
.prose { max-width: 46rem; }
.prose h2 { font-size: 1.9rem; margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }

/* footer */
.foot { background: var(--midnight); color: var(--on-dark-soft); padding: 56px 0 40px; font-size: .9rem; }
.foot__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .foot__in { grid-template-columns: 1fr; } }
.foot img { height: 52px; width: auto; margin-bottom: 14px; }
.foot a { color: var(--linen); text-decoration: none; } .foot a:hover { text-decoration: underline; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot__tag { font: italic 400 1.25rem var(--serif); color: var(--stone); }
.foot__legal { border-top: 1px solid #2C4157; margin-top: 36px; padding-top: 18px; font-size: .8rem; }
