/* ===== Fonts: self-hosted from /assets/fonts/ (complete character sets; SIL Open Font License, see OFL-*.txt) ===== */
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/assets/fonts/DMSans-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("/assets/fonts/LibreBaskerville-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("/assets/fonts/LibreBaskerville-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Libre Baskerville"; src: url("/assets/fonts/LibreBaskerville-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("/assets/fonts/CourierPrime-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("/assets/fonts/CourierPrime-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #1f2f46; --sage: #8a9f7e; --sage-dark: #495841; --pink: #e3a7a1; --blush: #f2d8d3;
  --ivory: #faf7f0; --white: #fffdfa;
  --serif: "Libre Baskerville", Georgia, serif; --sans: "DM Sans", "Open Sans", Arial, sans-serif;
  --wrap: 76rem; --gutter: clamp(1.25rem, 4vw, 3.5rem); --section-space: clamp(5rem, 9vw, 8.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: var(--sans); line-height: 1.65; -webkit-font-smoothing: antialiased; text-wrap: pretty; }
img { display: block; max-width: 100%; } a { color: inherit; }
.wrap { width: min(calc(100% - (2 * var(--gutter))), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: .75rem; left: .75rem; padding: .7rem 1rem; color: var(--ivory); background: var(--ink); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); } :focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgb(31 47 70 / 14%); background: rgb(250 247 240 / 94%); backdrop-filter: blur(12px); }
.header-inner { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { flex: 0 0 auto; } .brand img { width: clamp(10.5rem, 17vw, 14.5rem); }
.mobile-contact-link { display: none; }
.site-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.25rem); font-size: .92rem; font-weight: 600; }
.site-nav a:not(.button) { text-decoration-thickness: 1px; text-underline-offset: .35rem; text-decoration-color: transparent; }
.site-nav a[href]:not(.button):hover { text-decoration-color: currentColor; } .future-link { opacity: .44; cursor: default; }
.rei-header-nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.25rem); font-size: .92rem; font-weight: 600; }
.rei-main-site-link { text-decoration-thickness: 1px; text-underline-offset: .35rem; text-decoration-color: transparent; }
.rei-main-site-link:hover, .rei-main-site-link:focus-visible { text-decoration-color: currentColor; }
.button { display: inline-flex; min-height: 3rem; align-items: center; justify-content: center; padding: .78rem 1.35rem; border: 2px solid var(--ink); border-radius: .2rem; color: var(--ivory); background: var(--ink); font-size: .95rem; font-weight: 700; line-height: 1.2; text-decoration: none; transition: color 150ms ease, background-color 150ms ease, transform 150ms ease; }
.button:hover { color: var(--ink); background: transparent; transform: translateY(-2px); } .button-small { min-height: 2.7rem; padding: .65rem 1.15rem; }
.menu-toggle { display: none; width: 3rem; height: 3rem; padding: .7rem; border: 2px solid var(--ink); border-radius: .2rem; color: var(--ink); background: transparent; cursor: pointer; }
.menu-toggle > span[aria-hidden] { display: block; width: 100%; height: 2px; margin: .28rem 0; background: currentColor; transition: transform 150ms ease, opacity 150ms ease; }
.rei-banner { position: relative; z-index: 10; color: var(--ink); background: var(--sage); }
.rei-banner a { display: block; padding: .55rem var(--gutter); font-size: .86rem; font-weight: 700; line-height: 1.4; text-align: center; text-decoration: none; }
.rei-banner a:hover, .rei-banner a:focus-visible { text-decoration: underline; text-underline-offset: .25rem; }
.hero { position: relative; min-height: min(46rem, calc(100svh - 5.25rem)); display: grid; align-items: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: 0; left: 30%; right: 0; top: 47%; bottom: 0; opacity: .5; background-image: repeating-linear-gradient(to bottom, transparent 0 2.7rem, rgb(73 88 65 / 11%) 2.7rem calc(2.7rem + 1px)), repeating-linear-gradient(to right, transparent 0 7.5rem, rgb(73 88 65 / 9%) 7.5rem calc(7.5rem + 1px)), linear-gradient(to right, transparent 0 68%, rgb(227 167 161 / 15%) 68% calc(68% + 1px), transparent calc(68% + 1px)); -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24%), linear-gradient(to bottom, transparent 0, #000 28%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent 0, #000 24%), linear-gradient(to bottom, transparent 0, #000 28%); mask-composite: intersect; pointer-events: none; }
.hero::after { content: ""; position: absolute; right: -4rem; bottom: 0; width: min(33vw, 28rem); border-bottom: 1px solid var(--sage-dark); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.1fr) minmax(22rem,.9fr); align-items: center; gap: clamp(3rem,7vw,7rem); padding-block: clamp(5rem,10vw,8.5rem); }
.eyebrow { margin: 0 0 1rem; color: var(--sage-dark); font-size: .76rem; font-weight: 700; letter-spacing: .18em; line-height: 1.3; text-transform: uppercase; }
h1,h2,h3 { margin-top: 0; font-family: var(--serif); font-weight: 400; line-height: 1.16; text-wrap: balance; }
h4 { text-wrap: balance; }
h1 { max-width: 12ch; margin-bottom: 1.65rem; font-size: clamp(2.65rem,5.4vw,5.25rem); letter-spacing: -.035em; }
.hero-lede { max-width: 39rem; margin: 0 0 2rem; font-size: clamp(1.05rem,1.6vw,1.25rem); line-height: 1.7; }
.hero-art { position: relative; width: clamp(34rem,50vw,56rem); min-height: clamp(27rem,42vw,39rem); justify-self: end; transform: translateX(max(var(--gutter), calc((100vw - var(--wrap)) / 2))); isolation: isolate; }
.hero-papers { position: absolute; z-index: 2; width: 72%; max-width: none; left: -4%; bottom: -12%; }
.hero-asterisk { position: absolute; z-index: 1; width: 52%; max-width: none; top: 0; right: -10%; transform: rotate(7deg); }
.section { padding-block: var(--section-space); } .services { position: relative; padding-block: clamp(3.75rem, 6vw, 5.75rem); background: var(--white); }
.services::before { content: ""; position: absolute; top: 0; left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); width: clamp(4rem,9vw,8rem); height: .45rem; background: var(--pink); }
.section-heading { display: flex; align-items: baseline; gap: clamp(1.5rem, 4vw, 3.5rem); margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.section-heading h2 { margin: 0; font-size: clamp(2.75rem, 5.5vw, 5rem); letter-spacing: -.035em; }
.section-heading > p { margin: 0; color: var(--sage-dark); font-family: var(--serif); font-size: clamp(1rem, 1.6vw, 1.25rem); font-style: italic; }
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-block: 1px solid rgb(31 47 70 / 30%); }
.service-item { min-width: 0; display: grid; grid-template-columns: clamp(5rem, 7vw, 6.5rem) 1fr; align-items: start; gap: clamp(1.25rem, 2vw, 2rem); padding: clamp(1.75rem, 3vw, 2.5rem); }
.service-item + .service-item { border-left: 1px solid rgb(31 47 70 / 35%); }
.service-art { width: 100%; height: 7rem; display: grid; place-items: center; margin: 0; }
.existing-art img { width: clamp(4.25rem, 6vw, 5.6rem); max-height: 6.5rem; }
.service-art-monthly img { width: clamp(3.7rem, 5.2vw, 4.85rem); max-height: 5.65rem; }
.placeholder-art { position: relative; color: var(--sage-dark); }
.placeholder-shape { position: absolute; width: clamp(3.8rem, 5.5vw, 4.8rem); height: clamp(4.6rem, 6.5vw, 5.6rem); border: 1.5px dashed var(--sage-dark); }
.placeholder-ledger::before,.placeholder-ledger::after,.placeholder-stack::before,.placeholder-stack::after { content: ""; position: absolute; border: 1px solid var(--pink); }
.placeholder-ledger::before { inset: 1rem -1rem -1rem 1rem; } .placeholder-ledger::after { width: 3rem; top: 1.5rem; left: 1.1rem; border-width: 1px 0 0; }
.placeholder-stack { transform: rotate(3deg); } .placeholder-stack::before { inset: -.65rem .65rem .65rem -.65rem; } .placeholder-stack::after { inset: .65rem -.65rem -.65rem .65rem; }
.placeholder-label { position: relative; padding: .3rem .4rem; background: var(--white); font-size: .58rem; font-weight: 700; line-height: 1.25; text-align: center; text-transform: uppercase; letter-spacing: .07em; }
.service-copy h3 { margin-bottom: .55rem; font-size: clamp(1.2rem, 1.8vw, 1.55rem); }
.service-copy p { max-width: 24ch; margin: 0; line-height: 1.5; }
.about { position: relative; overflow: hidden; }
.about::before { content: "*"; position: absolute; right: -0.04em; top: 27rem; color: rgb(227 167 161 / 20%); font-family: var(--sans); font-size: clamp(16rem, 31vw, 32rem); font-weight: 700; line-height: .7; pointer-events: none; }
.about h2 { font-size: clamp(2.15rem, 4vw, 3.9rem); letter-spacing: -.025em; }
.about-intro { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(18rem, .75fr); align-items: center; gap: clamp(3rem, 8vw, 7rem); padding-bottom: var(--section-space); }
.about-copy { max-width: 43rem; }
.about-copy h2 { margin-bottom: 1.3rem; }
.about-copy > p:last-child { margin-bottom: 0; }
.lead-serif { margin: 0 0 1.7rem; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.55; }
.headshot { width: min(100%, 20rem); justify-self: center; margin: 0; }
.headshot img { width: 100%; height: auto; aspect-ratio: 1398 / 2048; object-fit: contain; border: 1px solid var(--sage-dark); }
.about-block { position: relative; padding-block: var(--section-space); border-top: 1px solid rgb(31 47 70 / 30%); }
.who-work-with { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 8vw, 7rem); padding-block: clamp(5.5rem, 8vw, 7.5rem) clamp(6.5rem, 10vw, 9rem); }
.who-work-with h2 { max-width: 14ch; margin-bottom: 0; }
.prose { max-width: 42rem; font-size: clamp(1rem, 1.25vw, 1.13rem); }
.prose p:first-child { margin-top: 0; } .prose p:last-child { margin-bottom: 0; }
.footnote-ref { margin-left: .1em; font-size: .7em; font-weight: 700; vertical-align: super; }
.footnote-ref a { color: var(--sage-dark); text-underline-offset: .15rem; }
.expectations { display: grid; grid-template-columns: minmax(13rem, .6fr) minmax(0, 1.4fr); gap: clamp(3rem, 8vw, 7rem); margin-inline: calc(-1 * var(--gutter)); padding: clamp(6.5rem, 10vw, 9.5rem) var(--gutter); background: rgb(138 159 126 / 6%); }
.expect-heading { align-self: start; position: sticky; top: 8rem; }
.expect-heading h2 { max-width: 10ch; }
.expectation-list article { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 0 0 2.4rem; }
.expectation-list article + article { padding-top: 2.4rem; border-top: 1px solid rgb(31 47 70 / 25%); }
.expectation-list article > span { color: #a3544e; font-size: .75rem; font-weight: 700; letter-spacing: .13em; }
.expectation-list h3 { margin-bottom: .7rem; font-size: clamp(1.45rem, 2.4vw, 2rem); }
.expectation-list p { max-width: 42rem; margin: 0; }
.about-tail { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.personal-notes, .why-footnote { padding: clamp(2rem, 5vw, 4.5rem); }
.personal-notes { padding-left: 0; border-right: 1px solid rgb(31 47 70 / 30%); }
.why-footnote { padding-right: clamp(2rem, 5vw, 4.5rem); background: rgb(138 159 126 / 10%); }
.about-tail h2 { margin-bottom: 2rem; font-size: clamp(1.9rem, 3vw, 2.8rem); }
.personal-notes ul { margin: 0; padding: 0; list-style: none; }
.personal-notes li { position: relative; padding: 1rem 0 1rem 1.8rem; border-top: 1px solid rgb(31 47 70 / 22%); }
.personal-notes li::before { content: "*"; position: absolute; left: 0; top: 1.08rem; color: #a3544e; font-family: var(--sans); font-size: 1.2em; font-weight: 700; line-height: 1; }
.why-footnote p:last-child { margin-bottom: 0; }
.footnotes { padding-top: 3rem; border-top: 1px solid rgb(31 47 70 / 30%); font-size: .88rem; }
.footnotes h2 { font-family: var(--sans); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.footnotes ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 4rem; margin: 0; padding-left: 1.4rem; }
.footnote-back { margin-left: .25rem; color: var(--sage-dark); font-weight: 700; text-decoration: none; }
.packages { position: relative; color: var(--ivory); background: var(--ink); overflow: hidden; }
.packages::before { content: "*"; position: absolute; right: -.05em; top: -.12em; color: rgb(227 167 161 / 12%); font-family: var(--sans); font-size: clamp(18rem, 36vw, 36rem); font-weight: 700; line-height: 1; pointer-events: none; }
.packages .eyebrow { color: #c2d0ba; }
.package-heading { position: relative; margin-bottom: clamp(4rem, 7vw, 6.5rem); }
.package-heading h2 { max-width: 17ch; margin: 0; font-size: clamp(2.15rem, 4vw, 3.9rem); letter-spacing: -.025em; }
.package-shared-note { max-width: 33rem; margin: 1.5rem 0 0; color: rgb(250 247 240 / 78%); }
.package-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; padding-top: 1.5rem; }
.package-card { position: relative; min-width: 0; display: flex; flex-direction: column; padding: clamp(2rem, 3.5vw, 3.25rem); border-block: 1px solid rgb(250 247 240 / 40%); }
.package-card + .package-card { border-left: 1px solid rgb(250 247 240 / 40%); }
.package-popular { margin-top: -1.5rem; padding-top: calc(clamp(2rem, 3.5vw, 3.25rem) + 1.5rem); color: var(--ink); background: var(--ivory); border: 0; box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 22%); }
.package-popular + .package-card { border-left: 0; }
.popular-flag { position: absolute; top: 0; left: 0; width: 100%; margin: 0; padding: .45rem 1rem; color: var(--ink); background: var(--pink); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-align: center; text-transform: uppercase; }
.package-kicker { margin: 0 0 1.3rem; color: #c2d0ba; font-size: .75rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.package-popular .package-kicker { color: var(--sage-dark); }
.package-card h3 { margin-bottom: 1.5rem; font-size: clamp(1.65rem, 2.5vw, 2.2rem); }
.package-price { margin: 0 0 1.4rem; font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.8rem); }
.package-price span { display: block; margin-bottom: .2rem; font-family: var(--sans); font-size: .7rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.package-description { margin: 0 0 1rem; color: rgb(250 247 240 / 78%); }
.package-popular .package-description { color: var(--ink); }
.package-card ul { margin: 0 0 2rem; padding: 0; list-style: none; }
.package-card li { position: relative; padding: .75rem 0 .75rem 1.5rem; border-top: 1px solid rgb(250 247 240 / 22%); }
.package-popular li { border-top-color: rgb(31 47 70 / 20%); }
.package-card li::before { content: "*"; position: absolute; left: 0; top: .83rem; color: var(--pink); font-family: var(--sans); font-size: 1.2em; font-weight: 700; line-height: 1; }
.package-card .package-sublist { margin: .55rem 0 0; }
.package-card .package-sublist li { padding: .3rem 0 .3rem 1.15rem; border: 0; font-size: .92em; line-height: 1.45; }
.package-card .package-sublist li:last-child { padding-bottom: 0; }
.package-card .package-sublist li::before { content: "–"; top: .3rem; color: currentColor; font-size: 1em; font-weight: 400; }
.package-card .button, .package-link { margin-top: auto; align-self: flex-start; }
.package-popular .button:hover { background: transparent; }
.package-link { min-height: 3rem; display: inline-flex; align-items: center; gap: .65rem; font-weight: 700; text-underline-offset: .35rem; }
.package-link:hover, .package-link:focus { text-decoration: none; }
.package-link span { color: var(--pink); font-size: 1.35rem; }
.package-pricing-note { position: relative; max-width: 46rem; margin: clamp(2rem, 4vw, 3rem) 0 0; color: rgb(250 247 240 / 72%); font-size: .92rem; }
.reference-band { background: rgb(138 159 126 / 12%); border-bottom: 1px solid rgb(31 47 70 / 14%); }
.reference-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding-block: clamp(2.5rem, 5vw, 3.75rem); }
.reference-band-copy { max-width: 44rem; }
.reference-band h2 { margin-bottom: .6rem; font-size: clamp(1.6rem, 2.6vw, 2.25rem); letter-spacing: -.02em; }
.reference-band p { margin: 0; }
.reference-band .button { flex: none; }
.inquiry-reference { max-width: 46rem; margin: clamp(2rem, 4vw, 3rem) 0 0; padding-top: 1.5rem; border-top: 1px solid rgb(31 47 70 / 20%); }
.inquiry-reference-link { font-weight: 700; text-underline-offset: .3rem; white-space: nowrap; }
.inquiry-reference-link span { color: #a3544e; }
@media (max-width: 800px) {
  .reference-band-inner { flex-direction: column; align-items: flex-start; }
}
.faq { background: var(--white); }
.faq-inner { display: grid; grid-template-columns: minmax(16rem, .72fr) minmax(0, 1.28fr); gap: clamp(3rem, 8vw, 8rem); }
.faq-heading { align-self: start; position: sticky; top: 8rem; }
.faq-heading h2 { max-width: 11ch; margin: 0; font-size: clamp(2.15rem, 4vw, 3.9rem); letter-spacing: -.025em; }
.faq-list { border-top: 1px solid rgb(31 47 70 / 35%); }
.faq-list details { border-bottom: 1px solid rgb(31 47 70 / 35%); }
.faq-list summary { min-height: 5.5rem; display: grid; grid-template-columns: 1fr 2.75rem; align-items: center; gap: 1.5rem; padding-block: 1.2rem; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.4; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { position: relative; width: 2.75rem; height: 2.75rem; border: 1px solid var(--ink); border-radius: 50%; }
.faq-list summary > span::before, .faq-list summary > span::after { content: ""; position: absolute; top: 50%; left: 50%; width: .9rem; height: 1px; background: var(--ink); transform: translate(-50%, -50%); }
.faq-list summary > span::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 150ms ease; }
.faq-list details[open] summary > span::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer { max-width: 42rem; padding: 0 4.25rem 1.75rem 0; color: var(--ink); }
.faq-answer p { margin: 0; font-style: normal; }
.faq-answer p + p { margin-top: 1rem; }
.final-cta { position: relative; color: var(--ink); background: var(--blush); overflow: hidden; }
.final-cta-inner { min-height: clamp(34rem, 55vw, 45rem); display: grid; grid-template-columns: minmax(15rem, .7fr) minmax(0, 1.3fr); align-items: center; gap: clamp(3rem, 8vw, 8rem); padding-block: var(--section-space); }
.cta-art { position: relative; min-height: 20rem; }
.cta-art img { position: absolute; width: clamp(17rem, 31vw, 29rem); max-width: none; top: 50%; right: -3%; filter: brightness(0) saturate(100%) invert(18%) sepia(18%) saturate(1349%) hue-rotate(174deg) brightness(91%) contrast(92%); transform: translateY(-50%) rotate(8deg); opacity: .13; }
.cta-copy { position: relative; max-width: 47rem; }
.cta-copy .eyebrow { color: var(--ink); }
.cta-copy h2 { max-width: 12ch; margin-bottom: 1.5rem; font-size: clamp(2.5rem, 5vw, 4.9rem); letter-spacing: -.035em; }
.cta-lede { max-width: 38rem; margin-bottom: 2rem; font-size: clamp(1.08rem, 1.6vw, 1.25rem); }
.site-footer { color: var(--ivory); background: #172437; }
.footer-inner { display: grid; grid-template-columns: .65fr .8fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(3rem, 6vw, 5rem); }
.footer-logo { width: clamp(8rem, 12vw, 11rem); max-height: 11rem; }
.footer-identity { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.footer-identity p, .footer-future p { margin: .25rem 0; font-size: .82rem; color: rgb(250 247 240 / 70%); }
.footer-legal { display: flex; flex-wrap: wrap; gap: .25rem .55rem; margin-top: .35rem; color: rgb(250 247 240 / 76%); font-size: .78rem; }
.footer-legal a { text-underline-offset: .2rem; }
.footer-legal a:hover, .footer-legal a:focus-visible { color: var(--ivory); }
.footer-legal-separator { color: rgb(250 247 240 / 38%); }
.footer-future { padding-left: clamp(1.5rem, 3vw, 3rem); border-left: 1px solid rgb(250 247 240 / 25%); }
.footer-future .footer-heading { margin-bottom: .55rem; color: var(--ivory); font-weight: 700; }
.footer-future a { color: inherit; text-underline-offset: .2rem; }
.rei-hero { position: relative; overflow: hidden; border-bottom: 1px solid rgb(31 47 70 / 14%); }
.rei-hero::before { content: ""; position: absolute; right: 0; bottom: 0; width: 58%; height: 58%; opacity: .42; background-image: repeating-linear-gradient(to bottom, transparent 0 2.7rem, rgb(73 88 65 / 11%) 2.7rem calc(2.7rem + 1px)), repeating-linear-gradient(to right, transparent 0 7.5rem, rgb(73 88 65 / 9%) 7.5rem calc(7.5rem + 1px)); -webkit-mask-image: linear-gradient(to right, transparent, #000 28%), linear-gradient(to bottom, transparent, #000 28%); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 28%), linear-gradient(to bottom, transparent, #000 28%); mask-composite: intersect; pointer-events: none; }
.rei-hero-inner { position: relative; z-index: 1; min-height: clamp(34rem, 64vw, 45rem); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(16rem, .65fr); align-items: center; gap: clamp(2.5rem, 7vw, 7rem); padding-block: clamp(5rem, 9vw, 8rem) clamp(3rem, 5vw, 4.5rem); }
.rei-copy h1 { max-width: 15ch; font-size: clamp(2.7rem, 5.5vw, 5.1rem); }
.rei-lede { max-width: 42rem; margin: 0 0 1.5rem; font-size: clamp(1.12rem, 1.7vw, 1.35rem); line-height: 1.65; }
.rei-copy-body { max-width: 43rem; }
.rei-copy-body p { margin: 0; }
.rei-copy-body p + p { margin-top: 1rem; }
.rei-art { position: relative; min-height: clamp(18rem, 34vw, 30rem); }
.rei-art img { position: absolute; width: clamp(18rem, 31vw, 31rem); max-width: none; top: 50%; left: 50%; transform: translate(-40%, -50%) rotate(7deg); opacity: .82; }
.rei-conversation { background: var(--white); }
.rei-conversation-inner { padding-block: clamp(3rem, 6vw, 5rem) var(--section-space); }
.rei-conversation-copy { max-width: 52rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.rei-conversation-copy h2 { margin-bottom: 1.25rem; font-size: clamp(2.4rem, 4.8vw, 4.5rem); letter-spacing: -.03em; }
.rei-conversation-copy p { max-width: 46rem; margin-bottom: 0; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.rei-conversation-copy p + p { margin-top: 1rem; }
.rei-help { max-width: 52rem; margin-bottom: clamp(3rem, 6vw, 4.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); border-bottom: 1px solid rgb(31 47 70 / 25%); }
.rei-help h2 { margin-bottom: 1.25rem; font-size: clamp(2rem, 3.6vw, 3.1rem); letter-spacing: -.025em; }
.rei-help p { max-width: 46rem; margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.rei-help-list { max-width: 46rem; margin: 1rem 0 1.5rem; padding: 0; list-style: none; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.rei-help-list li { position: relative; padding: .55rem 0 .55rem 1.6rem; border-top: 1px solid rgb(31 47 70 / 18%); }
.rei-help-list li:last-child { border-bottom: 1px solid rgb(31 47 70 / 18%); }
.rei-help-list li::before { content: "*"; position: absolute; left: 0; top: .62rem; color: #a3544e; font-family: var(--sans); font-size: 1.2em; font-weight: 700; line-height: 1; }
.rei-scheduler-embed { width: 100%; max-width: 64rem; margin-right: auto; padding: 0; border: 1px solid rgb(31 47 70 / 25%); background: var(--ivory); overflow: hidden; }
.rei-scheduler-embed iframe { display: block; width: 100%; max-width: 100%; min-height: 46.875rem; border: 0; }
.scheduler-page { min-width: 0; }
.scheduler-header .header-inner { justify-content: flex-start; }
.scheduler-main { background: var(--white); }
.scheduler-inner { padding-block: clamp(3.5rem, 7vw, 6rem); }
.scheduler-intro { max-width: 48rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.scheduler-intro h1 { max-width: 18ch; margin-bottom: 1.25rem; font-size: clamp(2.5rem, 5vw, 4.25rem); }
.scheduler-intro > p:not(.eyebrow) { max-width: 43rem; margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.scheduler-intro > p:not(.eyebrow) + p { margin-top: 1rem; }
.scheduler-embed { width: 100%; max-width: 68rem; border: 1px solid rgb(31 47 70 / 25%); background: var(--ivory); overflow: hidden; }
.scheduler-iframe { display: block; width: 100%; max-width: 100%; min-height: 46.875rem; border: 0; }
.inquiry-page { min-width: 0; }
.inquiry-intro { background: var(--blush); }
.inquiry-intro-inner { padding-block: clamp(3.75rem, 7vw, 6rem); }
.inquiry-intro-copy { max-width: 52rem; }
.inquiry-intro .eyebrow { color: var(--ink); }
.inquiry-intro h1 { max-width: 16ch; margin-bottom: 1.5rem; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.inquiry-intro-copy > p:not(.eyebrow) { max-width: 47rem; margin: 0; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.inquiry-intro-copy > p:not(.eyebrow) + p { margin-top: 1rem; }
.inquiry-form-section { background: var(--white); }
.inquiry-form-inner { width: min(calc(100% - (2 * var(--gutter))), 64rem); margin-inline: auto; padding-block: clamp(3.5rem, 7vw, 6rem); }
.inquiry-form-frame { width: 100%; min-width: 0; padding-left: clamp(1.5rem, 3vw, 2rem); border-left: 3px solid var(--ink); }
.form-loading-message { margin: 0 0 .75rem; color: var(--ink); font-family: var(--sans); font-size: .88rem; line-height: 1.5; }
.inquiry-form-frame iframe { display: block; width: 100%; max-width: 100%; min-height: 46.875rem; border: 0; }
.legal-page { min-width: 0; }
.legal-main { background: rgb(138 159 126 / 10%); }
.legal-inner { width: min(calc(100% - (2 * var(--gutter))), 54rem); margin-inline: auto; padding-block: clamp(4rem, 8vw, 7rem); }
.legal-header { margin-bottom: 1.75rem; padding-bottom: 0; border-bottom: 0; }
.legal-header .eyebrow { margin-bottom: .4rem; }
.legal-header h1 { max-width: none; margin-bottom: .5rem; font-size: clamp(2.75rem, 6vw, 5rem); }
.legal-dates { display: grid; gap: 0; margin: 0; font-size: .92rem; line-height: 1.5; }
.legal-dates p { margin: 0; }
.legal-document { font-size: clamp(.98rem, 1.25vw, 1.08rem); line-height: 1.75; }
.legal-document section + section { margin-top: clamp(2.5rem, 5vw, 4rem); }
.legal-document .legal-intro + section { margin-top: 2rem; }
.legal-document h2 { margin-bottom: 1rem; font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -.02em; }
.legal-document h3 { margin: 2rem 0 .65rem; font-size: clamp(1.15rem, 2vw, 1.4rem); }
.legal-document h4 { margin: 1.65rem 0 .55rem; font-family: var(--sans); font-size: 1rem; font-weight: 700; line-height: 1.4; }
.legal-document p { margin: 0 0 1rem; }
.legal-document ul { margin: .75rem 0 1.25rem; padding-left: 1.35rem; }
.legal-document li + li { margin-top: .35rem; }
.legal-document a { text-decoration-thickness: 1px; text-underline-offset: .2rem; }
.legal-document a:hover, .legal-document a:focus-visible { text-decoration-thickness: 2px; }
.legal-defined-terms { margin: 1.5rem 0; padding: 1.25rem 0; border-block: 1px solid rgb(31 47 70 / 20%); }
.legal-defined-terms p { margin: 0; }
.legal-defined-terms p + p { margin-top: .65rem; }
.legal-provider-list { margin: .5rem 0 1rem; padding: 0; list-style: none; }
.legal-provider-list li + li { margin-top: .2rem; }
.legal-copyright { margin-bottom: clamp(2.75rem, 5vw, 4rem); padding: clamp(1.25rem, 3vw, 1.75rem); border-left: 3px solid var(--pink); background: rgb(250 247 240 / 72%); font-size: .9rem; line-height: 1.65; }
.legal-copyright h2 { margin-bottom: .65rem; font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.legal-copyright p:last-child { margin-bottom: 0; }
.legal-intro { max-width: 46rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgb(31 47 70 / 25%); }
.legal-intro h2 { max-width: 18ch; margin-bottom: .75rem; font-size: clamp(1.8rem, 3.5vw, 2.8rem); letter-spacing: -.02em; }
.legal-intro p { max-width: 42rem; margin: 0; font-family: var(--sans); font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.75; }
.legal-placeholder { min-height: clamp(24rem, 45vw, 34rem); display: flex; flex-direction: column; justify-content: center; }
.legal-placeholder .legal-header { margin-bottom: 0; border-bottom: 0; }
.legal-placeholder .legal-header p { max-width: 38rem; margin: 0; font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.notfound { background: var(--blush); }
.notfound-inner { min-height: clamp(34rem, 70svh, 46rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(19rem, 31rem); align-items: center; gap: clamp(3rem, 7vw, 6.5rem); padding-block: clamp(4.5rem, 9vw, 7.5rem); }
.notfound-copy { max-width: 36rem; }
.notfound-copy .eyebrow { color: var(--ink); }
.notfound-copy h1 { max-width: 13ch; font-size: clamp(2.5rem, 5vw, 4.4rem); }
.notfound-lede { margin: 0 0 1.25rem; font-size: clamp(1.08rem, 1.6vw, 1.25rem); }
.notfound-copy > p:not(.eyebrow):not(.notfound-lede) { margin: 0 0 1.25rem; }
.notfound-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.75rem; margin-bottom: 2rem; }
.notfound-link { min-height: 3rem; display: inline-flex; align-items: center; font-weight: 700; text-underline-offset: .35rem; }
.notfound-link:hover { text-decoration-thickness: 2px; }
.notfound-copy > .notfound-note { max-width: 32rem; margin: 0; padding-top: 1.25rem; border-top: 1px solid rgb(31 47 70 / 25%); font-size: .92rem; }
.notfound-note a { text-underline-offset: .2rem; }
.notfound-card-wrap { position: relative; padding: 1rem 1.5rem 2.5rem 0; }
.notfound-card { position: relative; border: 1.5px solid rgb(31 47 70 / 22%); border-radius: .35rem; background: var(--white); transform: rotate(-2.5deg); font-family: "Courier Prime", "Courier New", monospace; font-size: clamp(.95rem, 1.4vw, 1.08rem); line-height: 1.45; overflow: hidden; }
.catalog-card-call { width: 5.75rem; flex: none; align-self: stretch; display: flex; align-items: center; padding-left: 1.25rem; border-right: 2px solid rgb(227 167 161 / 75%); }
.catalog-card-head { display: flex; min-height: 4.5rem; border-bottom: 2.5px solid var(--pink); }
.catalog-card-title { display: flex; align-items: flex-start; gap: .3rem; padding: 1.3rem 1rem .9rem 1.25rem; font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.2; letter-spacing: -.02em; }
.catalog-card-title img { width: .85rem; height: .85rem; flex: none; margin-top: .05rem; }
.catalog-card-row { display: flex; min-height: 2.6rem; border-bottom: 2px solid #c9d5e6; }
.catalog-card-row > span:last-child { align-self: center; padding: .45rem 1rem .45rem 1.25rem; }
.catalog-card-row > .catalog-card-indent { padding-left: 2.75rem; }
.catalog-card-foot { position: relative; display: flex; height: 3.5rem; }
.catalog-card-hole { position: absolute; top: 1.1rem; left: 50%; width: 1.4rem; height: 1.4rem; margin-left: -.7rem; border: 1.5px solid rgb(31 47 70 / 22%); border-radius: 50%; background: var(--blush); }
.catalog-card-stamp { position: absolute; right: 1.5rem; bottom: 3.9rem; padding: .35rem .8rem; border: 3px solid #a3544e; border-radius: .2rem; color: #a3544e; font-family: "Courier Prime", "Courier New", monospace; font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 700; letter-spacing: .12em; line-height: 1.1; text-transform: uppercase; transform: rotate(-7deg); pointer-events: none; }
@media (max-width: 800px) {
  .notfound-inner { min-height: auto; grid-template-columns: 1fr; gap: 2.5rem; padding-block: 4rem 4.5rem; }
  .notfound-card-wrap { max-width: 31rem; padding: 0 .5rem 1rem; }
  .notfound-card { transform: rotate(-1.5deg); }
}
@media (max-width: 420px) {
  .catalog-card-call { width: 4.6rem; padding-left: .8rem; }
  .catalog-card-row > .catalog-card-indent { padding-left: 1.75rem; }
  .catalog-card-stamp { right: .75rem; }
}
@media (max-width: 1100px) {
  .service-grid { grid-template-columns: 1fr; }
  .service-item { grid-template-columns: 6.5rem minmax(0, 1fr); gap: 2rem; padding: 1.75rem clamp(1.25rem, 4vw, 2.5rem); }
  .service-item + .service-item { border-top: 1px solid rgb(31 47 70 / 35%); border-left: 0; }
  .service-copy p { max-width: 42rem; }
}
@media (min-width: 1600px) {
  .hero-asterisk { right: -8%; }
}
@media (max-width: 1300px) and (min-width: 801px) {
  .hero-asterisk { right: -9%; }
}
@media (max-width: 1100px) and (min-width: 901px) {
  .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(17rem, .85fr); gap: clamp(1.25rem, 3vw, 2rem); }
  .hero-art { width: clamp(25rem, 42vw, 31rem); min-height: clamp(25rem, 45vw, 31rem); }
  .hero-papers { width: 66%; left: 10%; bottom: -10%; }
  .hero-asterisk { width: 50%; top: 0; right: -8%; }
}
@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 4.5rem 3.25rem; }
  .hero::before { left: 18%; top: 62%; opacity: .38; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-art { width: min(calc(100% + var(--gutter)), 43rem); min-height: clamp(18rem, 62vw, 26rem); justify-self: end; margin-right: calc(-1 * var(--gutter)); transform: none; }
  .hero-papers { width: 70%; left: -2%; bottom: -10%; }
  .hero-asterisk { width: 52%; top: 1%; right: -8%; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: 5.25rem; } .header-inner { min-height: 4.75rem; gap: .65rem; }
  .mobile-contact-link { min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; margin-left: auto; padding: .35rem .15rem; font-size: .88rem; font-weight: 700; line-height: 1; text-decoration: none; text-underline-offset: .3rem; }
  .mobile-contact-link:hover { text-decoration: underline; }
  .menu-toggle { display: block; flex: 0 0 auto; }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; top: 100%; left: 0; width: 100%; display: none; align-items: stretch; gap: 0; padding: .75rem var(--gutter) 1.25rem; border-bottom: 1px solid rgb(31 47 70 / 20%); background: var(--ivory); box-shadow: 0 1rem 2rem rgb(31 47 70 / 9%); }
  .menu-toggle[aria-expanded="true"] + .site-nav { display: grid; } .site-nav a:not(.button) { min-height: 3rem; display: flex; align-items: center; } .site-nav .button { display: none; }
  .section-heading { align-items: baseline; }
  .service-item { grid-template-columns: 6rem 1fr; column-gap: 1.5rem; }
  .service-art { height: 7rem; }
  .about-intro { grid-template-columns: 1fr; gap: 3rem; }
  .headshot { justify-self: start; }
  .who-work-with, .expectations { grid-template-columns: 1fr; gap: 2.5rem; }
  .expect-heading { position: static; }
  .about-tail { grid-template-columns: 1fr; }
  .personal-notes, .why-footnote { padding-inline: 0; }
  .personal-notes { border-right: 0; }
  .why-footnote { padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); }
  .package-grid { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 0; }
  .package-card, .package-popular { margin: 0; padding: 2.5rem; border: 1px solid rgb(250 247 240 / 40%); }
  .package-popular + .package-card { border-left: 1px solid rgb(250 247 240 / 40%); }
  .package-popular { padding-top: 4rem; border: 0; }
  .package-description { min-height: auto; }
  .faq-inner { grid-template-columns: 1fr; gap: 3rem; }
  .faq-heading { position: static; }
  .final-cta-inner { grid-template-columns: .45fr 1fr; gap: 2rem; }
  .cta-art img { right: auto; left: 50%; transform: translate(-50%, -50%) rotate(8deg); }
  .footer-inner { grid-template-columns: .6fr 1fr; }
  .footer-future { grid-column: 1 / -1; padding: 1.5rem 0 0; border-left: 0; border-top: 1px solid rgb(250 247 240 / 25%); }
  .rei-hero-inner { grid-template-columns: 1fr; gap: 1rem; padding-block: 4.5rem 3rem; }
  .rei-copy h1 { max-width: 14ch; }
  .rei-art { min-height: clamp(13rem, 44vw, 20rem); }
  .rei-art img { width: clamp(14rem, 48vw, 22rem); left: auto; right: -4%; transform: translateY(-52%) rotate(7deg); }
  .rei-hero::before { width: 82%; height: 45%; }
}
@media (max-width: 520px) {
  .brand img { width: clamp(8.5rem, 38vw, 10.25rem); } h1 { font-size: clamp(2.45rem,12vw,3.35rem); } .hero-lede { font-size: 1rem; }
  .section-heading { display: block; } .section-heading h2 { margin-bottom: .35rem; }
  .headshot { width: min(100%, 16.7rem); }
  .expectation-list article { grid-template-columns: 2rem 1fr; }
  .footnotes ol { grid-template-columns: 1fr; }
  .faq-list summary { grid-template-columns: 1fr 2.5rem; gap: 1rem; }
  .faq-list summary > span { width: 2.5rem; height: 2.5rem; }
  .faq-answer { padding-right: 0; }
  .final-cta-inner { grid-template-columns: 1fr; }
  .cta-art { min-height: 10rem; }
  .cta-art img { width: 15rem; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-logo { width: 8rem; }
  .footer-future { grid-column: auto; }
  .rei-banner a { padding-block: .65rem; font-size: .8rem; }
  .rei-hero-inner { padding-block: 3.75rem 2.5rem; }
  .rei-art { min-height: 12rem; }
  .rei-art img { width: 14.5rem; right: -8%; }
  .rei-site-header .header-inner { gap: .75rem; }
  .rei-header-nav { margin-left: auto; gap: .75rem; font-size: .86rem; }
  .rei-header-nav .button-small { min-height: 2.75rem; padding: .62rem .9rem; font-size: .86rem; }
  .scheduler-inner { padding-block: 3rem; }
  .scheduler-intro { margin-bottom: 2rem; }
  .scheduler-iframe { min-height: 56rem; }
  .inquiry-intro-inner { padding-block: 3.5rem; }
  .inquiry-form-frame { padding-left: 1rem; border-left-width: 2px; }
  .inquiry-form-frame iframe { min-height: 56rem; }
  .legal-inner { padding-block: 3.5rem; }
  .legal-header { margin-bottom: 1.25rem; }
  .legal-copyright { padding: 1.1rem 1.15rem; border-left-width: 2px; }
}
@media (max-width: 520px) {
  .rei-site-header .brand img { width: clamp(7.8rem, 35vw, 9.5rem); }
  .rei-site-header .header-inner { gap: .45rem; }
  .rei-header-nav { gap: .5rem; font-size: .78rem; white-space: nowrap; }
  .rei-header-nav .button-small { min-height: 2.6rem; padding: .55rem .65rem; font-size: .78rem; }
}
@media (max-width: 420px) {
  .service-item { grid-template-columns: 1fr; }
  .service-art { width: 6rem; height: 6rem; margin-bottom: .75rem; }
  .service-copy p { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *,*::before,*::after { transition-duration: .01ms !important; } }

/* ===== Cookie banner and settings dialog (formerly consent.css; paired with consent.js) ===== */
.cookie-banner,
.cookie-dialog {
  color: #1f2f46;
  font-family: "DM Sans", sans-serif;
}

.cookie-banner .sr-only,
.cookie-dialog .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cookie-banner[hidden] { display: none; }

.cookie-banner {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  width: min(calc(100% - 2rem), 54rem);
  margin-inline: auto;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgb(31 47 70 / 20%);
  border-top: 4px solid #e3a7a1;
  border-radius: .75rem;
  background: #faf7f0;
  box-shadow: 0 .8rem 2.2rem rgb(31 47 70 / 18%);
}

.cookie-banner-heading {
  display: flex;
  align-items: baseline;
  gap: .65rem;
}

.cookie-banner h2,
.cookie-dialog h2,
.cookie-dialog h3 {
  color: #1f2f46;
  font-family: "Libre Baskerville", serif;
}

.cookie-banner h2 {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.35;
}

.cookie-banner-asterisk {
  color: #e3a7a1;
  font-family: "Libre Baskerville", serif;
  font-size: 1.45rem;
  font-weight: 700;
}

.cookie-banner p {
  margin: .75rem 0 1rem;
  font-size: .92rem;
  line-height: 1.55;
}

.cookie-banner a,
.cookie-dialog a { color: inherit; text-underline-offset: .18em; }

.cookie-banner-actions,
.cookie-dialog-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
}

.cookie-button {
  min-height: 2.65rem;
  padding: .62rem .85rem;
  border: 1px solid #1f2f46;
  border-radius: .3rem;
  color: #1f2f46;
  background: transparent;
  font: 700 .84rem/1.2 "DM Sans", sans-serif;
  cursor: pointer;
}

.cookie-button:hover { background: rgb(31 47 70 / 7%); }

.cookie-button-primary {
  color: #faf7f0;
  background: #1f2f46;
}

.cookie-button-primary:hover { background: #2b3e5a; }

.cookie-button:focus-visible,
.cookie-dialog-close:focus-visible,
.cookie-settings-link:focus-visible,
.cookie-switch input:focus-visible + .cookie-switch-track {
  outline: 3px solid #e3a7a1;
  outline-offset: 3px;
}

.cookie-settings-link {
  margin: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .18em;
  cursor: pointer;
}

.cookie-settings-link:hover { color: #faf7f0; }

.cookie-dialog {
  width: min(calc(100% - 2rem), 36rem);
  padding: 0;
  border: 1px solid rgb(31 47 70 / 24%);
  border-radius: .75rem;
  background: #faf7f0;
  box-shadow: 0 1rem 3rem rgb(31 47 70 / 24%);
}

.cookie-dialog::backdrop { background: rgb(31 47 70 / 52%); }
.cookie-dialog-inner { padding: clamp(1.25rem, 4vw, 2rem); }

.cookie-dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-dialog-kicker {
  margin: 0 0 .35rem;
  color: #68785f;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cookie-dialog h2 { margin: 0; font-size: clamp(1.35rem, 4vw, 1.8rem); }
.cookie-dialog h3 { margin: 0 0 .35rem; font-size: 1rem; }
.cookie-dialog p { margin: 1rem 0; font-size: .92rem; line-height: 1.6; }
.cookie-category p { margin: 0; }

.cookie-dialog-close {
  width: 2.2rem;
  height: 2.2rem;
  border: 0;
  color: #1f2f46;
  background: transparent;
  font: 400 1.6rem/1 "DM Sans", sans-serif;
  cursor: pointer;
}

.cookie-category {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.25rem;
  margin: 1.35rem 0;
  padding: 1rem;
  border-left: 3px solid #e3a7a1;
  background: rgb(138 159 126 / 13%);
}

.cookie-switch { position: relative; display: inline-flex; cursor: pointer; }
.cookie-switch input { position: absolute; opacity: 0; pointer-events: none; }
.cookie-switch-track {
  position: relative;
  display: block;
  width: 3rem;
  height: 1.65rem;
  border: 1px solid #1f2f46;
  border-radius: 2rem;
  background: #faf7f0;
  transition: background-color 150ms ease;
}

.cookie-switch-track::after {
  content: "";
  position: absolute;
  top: .18rem;
  left: .2rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #1f2f46;
  transition: transform 150ms ease, background-color 150ms ease;
}

.cookie-switch input:checked + .cookie-switch-track { background: #8a9f7e; }
.cookie-switch input:checked + .cookie-switch-track::after {
  background: #faf7f0;
  transform: translateX(1.35rem);
}

.cookie-dialog-actions { grid-template-columns: 1fr 1fr; }

@media (max-width: 620px) {
  .cookie-banner { bottom: .6rem; right: .6rem; left: .6rem; width: auto; padding: 1rem; }
  .cookie-banner-actions { grid-template-columns: 1fr; }
  .cookie-button { width: 100%; }
  .cookie-dialog-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-switch-track,
  .cookie-switch-track::after { transition: none; }
}
