/* ==========================================================================
   Cura Crown Wellness — main stylesheet
   ========================================================================== */

:root {
  --ink: #30213f;
  --purple: #58259a;
  --cream: #fff8ec;
  --accent: #7644ad;
  --line: #e3d8e8;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font: 16px/1.65 Arial, sans-serif;
  overflow-wrap: break-word;
}

img { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }

a:focus-visible,
button:focus-visible,
summary:focus-visible { outline: 3px solid #6c30aa; outline-offset: 5px; }

/* ---------- SVG icons ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic {
  display: inline-block;
  width: .9em;
  height: .9em;
  flex: none;
  vertical-align: -.08em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ic-after { margin-left: .4em; }

/* ---------- Skip link & review bar ---------- */
.skip { position: absolute; top: -80px; left: 0; }
.skip:focus { top: 0; background: #fff; padding: 12px; z-index: 99; }

.review {
  background: #eee3f2;
  text-align: center;
  font-size: 12px;
  padding: 7px 18px;
  letter-spacing: .02em;
}
.review a { margin-left: 10px; white-space: nowrap; }

/* ---------- Header ---------- */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 5.5%;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  gap: 25px;
}

.brand { text-decoration: none; display: flex; align-items: center; gap: 12px; flex: none; }
.mark { display: inline-flex; color: var(--accent); }
.mark svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.brand strong { font: 19px Georgia, serif; letter-spacing: 2px; display: block; white-space: nowrap; }
.brand small { font-size: 9px; letter-spacing: 5px; }

header nav { display: flex; gap: 27px; align-items: center; font-size: 13px; }
header nav a { text-decoration: none; white-space: nowrap; }

.menu {
  display: none;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 8px 0;
  cursor: pointer;
}
.menu .ic { width: 20px; height: 20px; vertical-align: middle; }
.menu .ic-close { display: none; }
.menu[aria-expanded="true"] .ic-open { display: none; }
.menu[aria-expanded="true"] .ic-close { display: inline-block; }

/* ---------- Buttons & type ---------- */
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--purple);
  color: #fff;
  text-decoration: none;
  padding: 14px 24px;
  font-size: 13px;
  letter-spacing: .03em;
  border: 1px solid var(--purple);
  text-align: center;
}
.btn.light { background: transparent; color: var(--ink); }

.eyebrow {
  font-size: 11px;
  letter-spacing: 2.7px;
  text-transform: uppercase;
  color: #70547e;
  font-weight: 600;
  margin: 0 0 20px;
}

h1, h2, h3 { font-family: Georgia, serif; font-weight: 400; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(48px, 5.5vw, 81px); letter-spacing: -2px; }
h1 em, h2 em { color: #6e38a2; font-weight: 400; }
h2 { font-size: clamp(35px, 3.5vw, 50px); letter-spacing: -1px; }
h3 { font-size: 27px; }
p { margin: 18px 0; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; }
.hero-copy { padding: 76px 10% 45px 11%; }
.hero-copy > p:not(.eyebrow) { max-width: 420px; color: #65566d; font-size: 16px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0; }

.hero-photo { position: relative; min-height: 550px; background: #e7dece; overflow: hidden; }
.hero-photo picture,
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; object-position: center; }

.photo-note {
  position: absolute;
  bottom: 32px;
  left: 30px;
  right: 30px;
  background: #fff8ecf0;
  padding: 19px 24px;
  font: 21px Georgia, serif;
}
.photo-note small { display: block; font: 10px Arial, sans-serif; letter-spacing: 2px; margin-bottom: 6px; }

.micro { font-size: 12px !important; color: #6b5a74 !important; }

/* ---------- Trust strip ---------- */
.trust {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  padding: 25px 5%;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 1px;
}
.trust span { display: inline-flex; align-items: center; }
.trust .ic { width: 11px; height: 11px; margin-right: 12px; fill: var(--accent); stroke: none; }

/* ---------- Sections ---------- */
section { padding: 85px 7%; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 45px; margin-bottom: 38px; }
.section-head > p { max-width: 380px; color: #685770; }

/* Services */
.services { display: grid; grid-template-columns: 1.2fr 1fr 1fr; border: 1px solid var(--line); }
.service { padding: 35px; border-right: 1px solid var(--line); }
.service:last-child { border: 0; }
.service:first-child { background: #f0e6f4; }
.number { display: block; font: 13px Georgia, serif; color: #7544a2; margin-bottom: 40px; }
.service p { font-size: 14px; color: #65566d; }
.service a { font-size: 13px; text-underline-offset: 6px; }

/* Coverage */
.coverage { background: #f2eaf6; display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.coverage p { font-size: 15px; }
.status { border-left: 3px solid var(--accent); padding: 5px 20px; margin-top: 30px; }
.status strong { font-size: 13px; }
.status p { font-size: 13px; margin: 8px 0; }

.panel { background: var(--cream); padding: 30px 35px; min-width: 0; }
.tabs { display: flex; border-bottom: 1px solid var(--line); gap: 25px; margin-bottom: 26px; }
.tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  padding: 0 0 13px;
  color: #6a5778;
  cursor: pointer;
}
.tabs button[aria-selected="true"] { border-color: var(--purple); color: var(--purple); }
.panel h3 { font-size: 28px; }
.panel ul { padding-left: 20px; font-size: 14px; }
.small { font-size: 12px !important; color: #685770; }

.insurance-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: #fff;
  padding: 24px 18px;
  margin: 24px 0 16px;
  border: 1px solid var(--line);
}
.insurance-logos img { width: 28%; height: 58px; object-fit: contain; }
.insurance-logos img:first-child { height: 42px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 45px; }
.steps article { border-top: 1px solid var(--line); padding-top: 22px; }
.steps b { font: 30px Georgia, serif; color: var(--accent); display: block; margin-bottom: 20px; }
.steps h3 { font-size: 25px; }
.steps p { font-size: 14px; color: #685770; }

/* Founder */
.founder { display: grid; grid-template-columns: .9fr 1.1fr; padding: 0; background: #3c1767; color: #fff8ec; }
.founder img { display: block; width: 100%; height: 540px; object-fit: cover; object-position: center 25%; }
.founder > div { padding: 70px 12%; }
.founder .eyebrow { color: #ded0eb; }
.founder p { color: #eee1f5; }
.founder .signature { font: 27px Georgia, serif; color: #fff0d9; }
.founder-title { color: #ded0eb; }

/* FAQ */
.faq { max-width: 1000px; margin: auto; }
.faq h2 { margin-bottom: 35px; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary {
  cursor: pointer;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
summary::-webkit-details-marker { display: none; }
.toggle { width: 16px; height: 16px; flex: none; stroke: #7544a2; stroke-width: 1.6; stroke-linecap: round; fill: none; }
.toggle .v { transition: opacity .2s; }
details[open] .toggle .v { opacity: 0; }
details p { font-size: 14px; max-width: 760px; color: #65566d; }

/* Contact */
.contact { text-align: center; background: #f0e6f4; }
.contact p { max-width: 560px; margin: 22px auto; }
.contact .actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { padding: 40px 7%; display: flex; justify-content: space-between; gap: 35px; font-size: 12px; }
.footer-links { display: flex; gap: 12px 20px; flex-wrap: wrap; }

.sources { padding: 25px 7%; border-top: 1px solid var(--line); font-size: 11px; color: #685770; }
.sources a { margin-right: 18px; display: inline-block; }

.review-notes { margin: 25px 7%; padding: 24px; background: #fff8ec; border: 1px solid #ddcae7; }
.review-notes h3 { font-size: 24px; }
.review-notes li { margin: 10px 0; font-size: 13px; }

/* ---------- Dialogs ---------- */
dialog {
  max-width: 650px;
  width: calc(100% - 32px);
  border: 1px solid var(--line);
  padding: 35px;
  color: var(--ink);
  background: var(--cream);
}
dialog::backdrop { background: #30134fb3; }
dialog .close { float: right; background: none; border: 0; cursor: pointer; padding: 6px; margin: -6px -6px 0 12px; display: inline-flex; }
dialog .close .ic { width: 16px; height: 16px; }
dialog p { font-size: 14px; }

[hidden] { display: none !important; }

/* ==========================================================================
   Multi-page components
   ========================================================================== */

/* ---------- Navigation: current page + services dropdown ---------- */
header nav a[aria-current="page"] { color: var(--purple); text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
header nav a.btn[aria-current="page"] { color: #fff; text-decoration: none; }

.dropdown { position: relative; display: flex; align-items: center; gap: 4px; }
.drop-toggle {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: none;
  padding: 4px;
  cursor: pointer;
  color: inherit;
}
.drop-toggle .ic { width: 12px; height: 12px; margin: 0; transition: transform .2s; }
.dropdown.open .drop-toggle .ic { transform: rotate(180deg); }
.drop-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -22px;
  min-width: 270px;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px -22px #30134f55;
  padding: 10px 0;
  display: none;
  z-index: 30;
}
.drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 15px; }
.drop-menu a { display: block; padding: 10px 22px; }
.drop-menu a:hover { background: #f0e6f4; }
.dropdown:hover .drop-menu,
.dropdown:focus-within .drop-menu,
.dropdown.open .drop-menu { display: block; }
.dropdown.suppress .drop-menu { display: none; }

header { position: relative; z-index: 20; }

/* ---------- Announcement bar ---------- */
.notice a { margin-left: 10px; white-space: nowrap; }

/* ---------- Inner-page hero ---------- */
.page-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 460px;
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.page-hero .hero-copy { padding: 64px 9% 56px 11%; align-self: center; }
.page-hero h1 { font-size: clamp(42px, 4.6vw, 68px); }
.page-hero .hero-photo { min-height: 420px; }
.page-hero.text-only { grid-template-columns: 1fr; min-height: 0; background: #f2eaf6; }
.page-hero.text-only .hero-copy { padding: 70px 7% 64px; max-width: 980px; }
.page-hero.text-only .hero-copy > p:not(.eyebrow) { max-width: 620px; }

.breadcrumb { font-size: 12px; letter-spacing: .04em; color: #70547e; margin: 0 0 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.breadcrumb a { text-underline-offset: 4px; }
.breadcrumb .ic { width: 10px; height: 10px; }

/* ---------- Lead / intro blocks ---------- */
.lead-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.lead-grid .lead-copy p { color: #65566d; }
.lead-grid .lead-copy p:first-child { margin-top: 0; font: 22px/1.45 Georgia, serif; color: var(--ink); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-top: 50px; }
.stat { padding: 30px 32px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: flex; align-items: center; min-height: 52px; font: 48px/1 Georgia, serif; color: var(--purple); }
.stat strong .ic { width: 58px; height: 34px; stroke-width: 1.6; }
.stat span { display: block; margin-top: 10px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #70547e; }

/* ---------- Service cards (4-up) ---------- */
.services.four { grid-template-columns: repeat(4, 1fr); }
.services.four .service { display: flex; flex-direction: column; }
.services.four .service p { flex: 1; }
.services.four .service h3 { font-size: 24px; }
.service .service-ic { width: 34px; height: 34px; color: var(--accent); stroke-width: 1.5; margin-bottom: 22px; }

/* ---------- Service rows (services overview) ---------- */
.service-rows { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 50px;
  padding: 50px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-row .row-num { font: 30px Georgia, serif; color: var(--accent); }
.service-row h3 { font-size: 34px; margin-bottom: 16px; }
.service-row p { color: #65566d; font-size: 15px; margin-top: 0; }
.service-row .btn { margin-top: 10px; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.check-list li:last-child { border-bottom: 0; }
.check-list .ic { width: 16px; height: 16px; margin-top: 3px; color: var(--accent); }

/* ---------- Feature cards ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); margin-top: 45px; }
.feature { padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--cream); }
.feature:nth-child(3n) { border-right: 0; }
.features.no-bottom .feature { border-bottom: 0; }
.feature .ic { width: 30px; height: 30px; color: var(--accent); stroke-width: 1.5; margin-bottom: 22px; }
.feature h3 { font-size: 23px; }
.feature p { font-size: 14px; color: #65566d; margin-bottom: 0; }
.tint { background: #f2eaf6; }
.tint .feature { background: #fffaf2; }

/* ---------- Content + sidebar ---------- */
.split { display: grid; grid-template-columns: 1fr 360px; gap: 70px; align-items: start; }
.prose h2 { margin-bottom: 10px; }
.prose h3 { font-size: 26px; margin-top: 44px; }
.prose p { color: #65566d; }
.prose > p:first-of-type { font: 21px/1.5 Georgia, serif; color: var(--ink); }

.aside-card { background: #f0e6f4; padding: 34px 32px; position: sticky; top: 24px; }
.aside-card h3 { font-size: 26px; }
.aside-card p { font-size: 14px; color: #65566d; }
.aside-card .btn { width: 100%; margin-top: 6px; }
.aside-card .btn + .btn { margin-top: 10px; }
.aside-links { list-style: none; padding: 0; margin: 26px 0 0; border-top: 1px solid #dccbe6; }
.aside-links li { border-bottom: 1px solid #dccbe6; }
.aside-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0; font-size: 14px; text-decoration: none; }
.aside-links a:hover { color: var(--purple); }
.aside-links .label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #70547e; margin: 24px 0 4px; display: block; }

.note {
  border-left: 3px solid var(--accent);
  background: #f7f0f9;
  padding: 18px 22px;
  margin: 30px 0;
  font-size: 14px;
  color: #574767;
}
.note strong { color: var(--ink); }

/* ---------- Quote ---------- */
.quote { position: relative; margin: 34px 0 0; padding: 0; }
.quote .ic { width: 34px; height: 34px; color: #cdb6e6; stroke-width: 1.4; margin-bottom: 8px; }
.quote p { font: italic 26px/1.4 Georgia, serif; color: #fff0d9 !important; margin: 0 0 14px; }
.quote cite { font-style: normal; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #ded0eb; }
.quote.dark p { color: var(--ink) !important; }
.quote.dark .ic { color: var(--accent); }
.quote.dark cite { color: #70547e; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 45px; }
.pillar { border-top: 2px solid var(--purple); padding-top: 26px; }
.pillar .ic { width: 32px; height: 32px; color: var(--accent); stroke-width: 1.5; margin-bottom: 18px; }
.pillar h3 { font-size: 26px; }
.pillar p { font-size: 14px; color: #685770; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; }
.contact-list li { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list .ic-wrap { width: 46px; height: 46px; flex: none; display: grid; place-items: center; background: #f0e6f4; color: var(--accent); }
.contact-list .ic-wrap .ic { width: 20px; height: 20px; stroke-width: 1.6; }
.contact-list small { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #70547e; }
.contact-list a, .contact-list span.value { font: 19px Georgia, serif; text-decoration: none; }
.contact-list a:hover { color: var(--purple); }

.form-card { background: #fffaf2; border: 1px solid var(--line); padding: 40px; }
.form-card h2 { font-size: clamp(30px, 3vw, 40px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: #5d4a6b; font-weight: 600; padding: 0; }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea {
  font: 15px Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid #d9c9e2;
  border-radius: 0;
  padding: 13px 14px;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237644ad' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:not([type="radio"]):not([type="checkbox"]):focus, .field select:focus, .field textarea:focus { outline: 2px solid #6c30aa; outline-offset: 1px; border-color: #6c30aa; }
.field .hint { font-size: 12px; color: #6b5a74; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.radios { display: flex; gap: 22px; flex-wrap: wrap; }
.radios label, .consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ink); cursor: pointer; }
.radios input, .consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--purple); flex: none; }
.consent { font-size: 13px; color: #574767; grid-column: 1 / -1; flex-direction: row; }
.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.form-actions .btn { cursor: pointer; font-family: inherit; }
.form-status { font-size: 13px; color: var(--purple); margin: 0; }

/* ---------- Site footer ---------- */
.site-footer { background: #2d1150; color: #eee1f5; padding: 70px 7% 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 45px; padding-bottom: 50px; }
.site-footer .brand { color: #fff8ec; }
.site-footer .mark { color: #cdb6e6; }
.footer-about p { font-size: 14px; color: #d9c8e8; max-width: 320px; }
.footer-col h4 { margin: 6px 0 18px; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: #cdb6e6; font-weight: 600; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 11px; font-size: 14px; }
.footer-col li a { display: inline-flex; align-items: center; gap: 10px; }
.footer-col .ic { width: 15px; height: 15px; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid #5b3a82; }
.social a:hover { background: #3f1c6a; }
.social .ic { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid #4a2b70;
  padding: 24px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 16px 30px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #bfa9d6;
}
.footer-bottom .footer-links { gap: 10px 22px; }
.footer-bottom .disclaimer { flex-basis: 100%; margin: 0; font-size: 11px; color: #a891c2; }
.footer-bottom .disclaimer a { text-decoration: underline; text-underline-offset: 3px; margin-right: 14px; }

/* ---------- Misc ---------- */
.center { text-align: center; }
.more-link { display: inline-flex; align-items: center; margin-top: 28px; font-size: 14px; text-underline-offset: 6px; }
.section-head.solo { display: block; max-width: 760px; }
.section-head.solo > p { max-width: 620px; }
.coverage .panel .btn { margin-top: 6px; }
.hsa-list { margin-top: 0; }

/* ---------- Utilities ---------- */
.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; }
.ic-crown { fill: none; stroke: currentColor; stroke-linejoin: round; stroke-linecap: round; }
.hero-photo img.pos-right { object-position: 70% center; }
.hero-photo img.pos-left { object-position: 20% center; }
.small.tight { margin: 4px 0 0; }
.note > .ic { width: 16px; height: 16px; color: var(--accent); vertical-align: -3px; margin-right: 4px; }
.founder .more-link { color: #fff0d9; }
.founder img { height: 100%; min-height: 540px; }

/* ---------- Form: spam trap, sending state, errors ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-actions .btn[disabled] { opacity: .65; cursor: progress; }
.form-status.error { color: #a1263b; }

/* ---------- Thank-you page ---------- */
.thanks-mark {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  margin-bottom: 28px;
}
.thanks-mark .ic { width: 28px; height: 28px; stroke-width: 2.4; }
.lead-copy .check-list { margin: 10px 0 6px; }
/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1240px) {
  header nav { gap: 22px; }
  .services.four { grid-template-columns: repeat(2, 1fr); }
  .services.four .service:nth-child(2) { border-right: 0; }
  .services.four .service:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services.four .service:last-child { border-right: 0; }
  .services.four .service:nth-child(3) { border-right: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Tablet: collapse the navigation before it gets crushed */
@media (max-width: 1100px) {
  header { flex-wrap: wrap; padding: 18px 6%; }
  .menu { display: inline-flex; }
  header nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 14px;
    padding-top: 8px;
  }
  header nav.open { display: flex; }
  header nav > a:not(.btn), .dropdown > a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  header nav .btn { margin-top: 16px; }
  .dropdown { display: block; }
  .dropdown > a { display: block; }
  .drop-toggle { display: none; }
  .drop-menu {
    display: block;
    position: static;
    min-width: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 4px 0 8px 18px;
    border-bottom: 1px solid var(--line);
  }
  .drop-menu::before { display: none; }
  .dropdown.suppress .drop-menu { display: block; }
  .drop-menu a { padding: 9px 0; font-size: 13px; color: #5d4a6b; }
  .drop-menu a:hover { background: none; color: var(--purple); }
  .split { grid-template-columns: 1fr 300px; gap: 45px; }
}

/* Small tablet */
@media (max-width: 1024px) and (min-width: 801px) {
  .hero-copy { padding: 60px 7% 45px 6%; }
  .page-hero .hero-copy { padding: 56px 6% 50px; }
  .service { padding: 28px; }
  .coverage { gap: 40px; }
  .founder > div { padding: 55px 8%; }
  .features:not(.no-bottom) { grid-template-columns: repeat(2, 1fr); }
  .features:not(.no-bottom) .feature:nth-child(3n) { border-right: 1px solid var(--line); }
  .features:not(.no-bottom) .feature:nth-child(2n) { border-right: 0; }
  .features.no-bottom .feature { padding: 28px 24px; }
  .service-row { grid-template-columns: 60px 1fr; }
  .service-row > :last-child { grid-column: 2; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 800px) {
  .hero, .page-hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy, .page-hero .hero-copy { padding: 50px 7%; }
  .page-hero.text-only .hero-copy { padding: 50px 7%; }
  .hero-photo, .page-hero .hero-photo { min-height: 380px; }
  .trust { flex-wrap: wrap; font-size: 10px; }
  .section-head { display: block; }
  .services, .coverage, .steps, .founder, .lead-grid, .pillars, .split, .contact-grid { grid-template-columns: 1fr; }
  .services.four { grid-template-columns: 1fr; }
  .service, .services.four .service, .services.four .service:nth-child(3) { border-right: 0; border-bottom: 1px solid var(--line); }
  .services.four .service:last-child { border-bottom: 0; }
  .number { margin-bottom: 20px; }
  section { padding: 55px 7%; }
  .coverage, .lead-grid, .split, .contact-grid { gap: 30px; }
  .pillars { gap: 34px; }
  .panel { padding: 25px; }
  .founder img { height: 420px; min-height: 0; }
  .founder > div { padding: 45px 7%; }
  h1 { letter-spacing: -1px; }
  .review { font-size: 10px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); padding: 24px; }
  .stat:last-child { border-bottom: 0; }
  .features { grid-template-columns: 1fr; }
  .feature, .feature:nth-child(3n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .features .feature:last-child { border-bottom: 0; }
  .features.no-bottom .feature:not(:last-child) { border-bottom: 1px solid var(--line); }
  .service-row { grid-template-columns: 1fr; gap: 18px; padding: 38px 0; }
  .service-row h3 { font-size: 30px; }
  .aside-card { position: static; }
  .form-card { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .site-footer { padding-top: 55px; }
}

/* Small phones */
@media (max-width: 480px) {
  .brand { gap: 10px; }
  .mark svg { width: 26px; height: 26px; }
  .brand strong { font-size: 16px; letter-spacing: 1.5px; }
  .brand small { font-size: 8px; letter-spacing: 4px; }
  h1, .page-hero h1 { font-size: clamp(38px, 12vw, 48px); }
  .actions .btn { width: 100%; }
  .contact .actions .btn { width: auto; min-width: 240px; }
  .hero-photo, .page-hero .hero-photo { min-height: 320px; }
  .photo-note { left: 16px; right: 16px; bottom: 16px; padding: 16px 18px; font-size: 18px; }
  .trust { justify-content: flex-start; gap: 14px 20px; padding: 22px 7%; }
  .trust span { width: calc(50% - 10px); }
  .tabs { gap: 20px; }
  .panel { padding: 22px 18px; }
  .founder img { height: 360px; }
  dialog { padding: 26px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .quote p { font-size: 22px; }
  .lead-grid .lead-copy p:first-child { font-size: 19px; }
  .prose > p:first-of-type { font-size: 19px; }
  .contact-list a, .contact-list span.value { font-size: 17px; }
  .feature, .service { padding: 28px 24px; }
}

@media (max-width: 420px) {
  .insurance-logos { gap: 12px; padding: 20px 12px; }
  .insurance-logos img { height: 44px; }
}

@media (max-width: 360px) {
  .trust span { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toggle .v, .drop-toggle .ic { transition: none; }
}

/* ==========================================================================
   Shop page (shop.html) — The Crown Collection
   ========================================================================== */

/* Filters */
.shop-tools { display: flex; justify-content: space-between; align-items: flex-end; gap: 22px 40px; flex-wrap: wrap; margin-bottom: 26px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  border: 1px solid #d9c9e2;
  background: transparent;
  color: var(--ink);
  padding: 11px 20px;
  font-size: 13px;
  letter-spacing: .03em;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.shop-selectors { display: flex; gap: 16px; flex-wrap: wrap; }
.shop-selectors .field { width: 230px; }
.shop-count { margin: 0 0 22px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #70547e; }
.shop-count strong { font: 26px Georgia, serif; letter-spacing: 0; color: var(--purple); margin-right: 8px; }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 26px; }
.product-card { display: flex; flex-direction: column; min-width: 0; }
.card-photo { position: relative; aspect-ratio: 4 / 5; background: #e7dece; border: 1px solid var(--line); overflow: hidden; }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card-open { position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: pointer; }
.card-open:focus-visible { outline-offset: -6px; }
.product-card:hover .card-photo img { transform: scale(1.04); }
.card-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: #fff8ecf0;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  pointer-events: none;
}
.card-meta { margin: 18px 0 8px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #70547e; }
.card-title-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.card-title-row h3 { font-size: 25px; }
.card-price { font: 22px Georgia, serif; color: var(--purple); white-space: nowrap; text-align: right; }
.card-price small { display: block; font: 10px Arial, sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: #70547e; margin-top: 3px; }
.card-desc { margin: 8px 0 12px; font-size: 14px; color: #65566d; }
.card-link { align-self: flex-start; border: 0; background: none; padding: 0; cursor: pointer; font-size: 13px; text-decoration: underline; text-underline-offset: 6px; }
.card-link:hover { color: var(--purple); }
.no-results { grid-column: 1 / -1; text-align: center; padding: 70px 20px; border: 1px solid var(--line); background: #fffaf2; }
.no-results p { color: #65566d; }
.no-results .btn { cursor: pointer; }
.shop-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; margin-top: 60px; padding-top: 34px; border-top: 1px solid var(--line); }
.shop-foot p { margin: 0; font: 22px/1.4 Georgia, serif; }

/* Fit & measuring */
.measure-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.measure-card { padding: 40px; background: var(--cream); }
.measure-card + .measure-card { border-left: 1px solid var(--line); }
.measure-card.feature-card { background: #f0e6f4; }
.measure-card h3 { font-size: 32px; }
.measure-card > p:not(.eyebrow) { font-size: 15px; color: #65566d; }
.measure-steps { list-style: none; counter-reset: step; padding: 0; margin: 24px 0 0; }
.measure-steps li { counter-increment: step; display: flex; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14px; }
.measure-steps li::before { content: counter(step); font: 20px/1.2 Georgia, serif; color: var(--accent); flex: none; width: 22px; }
.measure-card .actions { margin-bottom: 0; }

.size-chart { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; margin-top: 60px; }
.size-chart h3 { font-size: 30px; }
.size-chart p { font-size: 14px; color: #65566d; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); background: var(--cream); }
.size-chart table { width: 100%; border-collapse: collapse; font-size: 15px; }
.size-chart th, .size-chart td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); font-weight: 400; }
.size-chart thead th { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #70547e; font-weight: 600; background: #f0e6f4; }
.size-chart tbody th { font-family: Georgia, serif; font-size: 18px; }
.size-chart tr:last-child th, .size-chart tr:last-child td { border-bottom: 0; }
.size-chart .small { margin-top: 14px; }
.section-head + .pillars { margin-top: 0; }
.tint .more-link { margin-top: 40px; }

/* Product dialog */
.product-dialog { max-width: 1020px; width: calc(100% - 32px); max-height: calc(100vh - 32px); padding: 0; overflow: auto; position: fixed; }
.product-dialog .close { position: absolute; top: 14px; right: 14px; z-index: 3; float: none; margin: 0; padding: 10px; background: #fff8ecf0; border: 1px solid var(--line); }
.product-dialog .close .ic { width: 18px; height: 18px; }
.pd-grid { display: grid; grid-template-columns: .9fr 1.1fr; }
.pd-gallery { background: #f2eaf6; padding: 26px; }
.pd-photo { position: relative; aspect-ratio: 4 / 5; background: #e7dece; overflow: hidden; }
.pd-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff8ecf0; cursor: pointer; }
.pd-arrow:hover { background: #fff; }
.pd-arrow.back { left: 12px; }
.pd-arrow.forward { right: 12px; }
.pd-arrow .ic { width: 18px; height: 18px; }
.pd-label { position: absolute; left: 12px; bottom: 12px; background: #fff8ecf0; padding: 6px 12px; font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase; }
.pd-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.pd-thumbs button { border: 1px solid var(--line); background: var(--cream); padding: 0; cursor: pointer; text-align: left; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: #5d4a6b; }
.pd-thumbs button[aria-pressed="true"] { border-color: var(--purple); box-shadow: 0 0 0 1px var(--purple); }
.pd-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: center top; }
.pd-thumbs span { display: block; padding: 7px 8px; }
.pd-copy { padding: 46px 40px 40px; }
.pd-copy h2 { font-size: clamp(32px, 3vw, 42px); }
.pd-price { font: 30px Georgia, serif; color: var(--purple); margin: 14px 0 4px; }
.pd-price small { display: block; font: 11px Arial, sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: #70547e; margin-top: 4px; }
.pd-copy > p { font-size: 15px; color: #65566d; }
.pd-specs { margin: 22px 0; border-top: 1px solid var(--line); }
.pd-specs div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.pd-specs dt { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #70547e; align-self: center; }
.pd-specs dd { margin: 0; text-align: right; }
.pd-copy .actions { margin: 24px 0 14px; }
body:has(dialog[open]) { overflow: hidden; }

@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .measure-grid, .size-chart, .pd-grid { grid-template-columns: 1fr; }
  .measure-card + .measure-card { border-left: 0; border-top: 1px solid var(--line); }
  .size-chart { gap: 30px; }
  .pd-copy { padding: 34px 26px 30px; }
}

@media (max-width: 800px) {
  .shop-selectors, .shop-selectors .field { width: 100%; }
  .measure-card { padding: 30px 24px; }
  .shop-foot { margin-top: 44px; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; gap: 38px; }
  .chip { padding: 10px 16px; }
  .pd-gallery { padding: 16px; }
  .product-dialog { width: calc(100% - 16px); max-height: calc(100vh - 16px); }
}

@media (prefers-reduced-motion: reduce) {
  .card-photo img, .chip { transition: none; }
  .product-card:hover .card-photo img { transform: none; }
}
