/* Brands That Rise — Daybreak Terrace */
@import url("https://fonts.googleapis.com/css2?family=Libre+Caslon+Display&family=Mulish:ital,wght@0,400;0,700;1,400;1,700&display=swap");

:root {
  --aubergine: #2e1a2c;
  --cream: #fbf4ea;
  --apricot: #e8a15c;
  --apricot-ink: #8a4e1a;
  --rose: #9c7a82;
  --shell: #fcf9f4;
  --display: "Libre Caslon Display", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --body: "Mulish", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --pad-y: clamp(5.5rem, 8vw, 7.75rem);
  --wrap: 1120px;
  --radius-arc: 48% 48% 14px 14px / 22% 22% 14px 14px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--aubergine);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--apricot);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 0 0 0.85rem;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 5.1rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

ul.plain,
ol.plain { margin: 0 0 1.1rem; padding-left: 1.15rem; }
ul.plain li,
ol.plain li { margin-bottom: 0.4rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.4rem));
  margin-inline: auto;
}

.measure { max-width: 40.5rem; }
.measure-wide { max-width: 48rem; }

.surface-aubergine { background: var(--aubergine); color: var(--shell); }
.surface-cream { background: var(--cream); color: var(--aubergine); }
.surface-shell { background: var(--shell); color: var(--aubergine); }
.surface-apricot { background: var(--apricot); color: var(--aubergine); }

.section { padding-block: var(--pad-y); }
.section-tight { padding-block: clamp(4.5rem, 6vw, 5.75rem); }
.page-open { padding-top: clamp(4.25rem, 7vw, 6.25rem); }

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--apricot-ink);
  margin-bottom: 0.85rem;
}

.surface-aubergine .eyebrow { color: var(--apricot); }

.lede {
  font-size: 1.15rem;
  max-width: 40rem;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  background: var(--apricot);
  color: var(--aubergine);
  padding: 0.4rem 0.75rem;
  z-index: 80;
}

.skip:focus { top: 0.75rem; }

/* Header */
.mast {
  background: var(--cream);
  border-bottom: 1px solid color-mix(in srgb, var(--apricot) 45%, transparent);
}

.mast-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  background: var(--aubergine);
  color: var(--apricot);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50% 50% 8px 8px / 40% 40% 8px 8px;
}

.brand-name { font-size: 0.92rem; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--apricot);
  color: currentColor;
  font-family: inherit;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

.nav-list {
  display: flex;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
}

.nav-list a { text-decoration: none; }
.nav-list a:hover,
.nav-list a[aria-current="page"] { text-decoration: underline; }

/* Rising arcs */
.rising-arc {
  display: block;
  height: 42px;
  width: min(220px, 50%);
  border: 0;
  border-top: 1px solid var(--apricot);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  margin: 0 0 1.4rem;
  background: transparent;
}

.rising-arc.wide { width: min(420px, 80%); }

.arc-mat {
  background: var(--apricot);
  padding: 11px 11px 16px;
  border-radius: var(--radius-arc);
}

.arc-mat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 46% 46% 10px 10px / 20% 20% 10px 10px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary,
.surface-apricot.btn,
a.btn-primary {
  background: var(--apricot);
  color: var(--aubergine);
  border-color: var(--apricot);
}

.btn-secondary {
  background: transparent;
  color: currentColor;
  border-color: currentColor;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

/* Sunrise Frame hero */
.hero-sunrise {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem 0 1.75rem;
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--apricot-ink);
  margin-bottom: 2rem;
}

.hero-mono {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--aubergine);
  color: var(--apricot);
  border-radius: 50% 50% 8px 8px / 42% 42% 8px 8px;
  letter-spacing: 0;
  font-size: 0.78rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr min(44%, 34rem);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: end;
  flex: 1;
}

.hero-copy h1 { margin-bottom: 1rem; }

.rise-word {
  color: var(--apricot-ink);
  font-style: italic;
  font-family: var(--display);
}

.hero-sub {
  font-size: 1.12rem;
  max-width: 34rem;
}

.trust-strip {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--apricot);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--rose);
}

.hero-frame {
  min-height: 58vh;
}

.hero-frame .arc-mat,
.hero-frame .arc-mat img { height: 100%; min-height: 58vh; }

/* Frosted glass trio */
.frost-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.frost-card {
  background: rgba(252, 249, 244, 0.14);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid color-mix(in srgb, var(--apricot) 55%, transparent);
  border-radius: 2.2rem 2.2rem 0.7rem 0.7rem;
  padding: 1.6rem 1.4rem 1.5rem;
  min-height: 100%;
}

.surface-cream .frost-card,
.surface-shell .frost-card {
  background: rgba(46, 26, 44, 0.06);
  backdrop-filter: blur(14px);
}

.frost-card h3 { margin-bottom: 0.6rem; }

.frost-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--apricot);
  margin-bottom: 0.7rem;
}

.surface-cream .frost-label,
.surface-shell .frost-label { color: var(--apricot-ink); }

/* Quote slab */
.quote-slab {
  max-width: 46rem;
}

.quote-slab .apricot-rule {
  width: 92px;
  height: 3px;
  background: var(--apricot);
  border: 0;
  margin: 0 0 1.5rem;
}

.quote-slab blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 2.55rem);
  line-height: 1.28;
  font-style: italic;
}

.quote-slab cite {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--body);
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--apricot);
}

/* Mosaic */
.portrait-mosaic {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.9fr;
  grid-template-rows: auto auto;
  gap: 0.9rem;
}

.portrait-mosaic .tile:first-child {
  grid-row: span 2;
}

.tile-note {
  background: var(--aubergine);
  color: var(--shell);
  border-radius: var(--radius-arc);
  padding: 1.5rem 1.3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 12rem;
}

.mosaic-3 {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.9fr;
  gap: 0.9rem;
  align-items: stretch;
}

.mosaic-3 .arc-mat { height: 100%; }
.mosaic-3 .arc-mat img { min-height: 280px; }

/* Chips */
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 1.4rem;
}

.chip {
  border: 1px solid var(--apricot);
  color: currentColor;
  border-radius: 999px;
  padding: 0.22rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Intro strip */
.intro-strip {
  border-top: 3px solid var(--apricot);
  border-bottom: 1px solid var(--apricot);
  padding-block: 1.4rem;
}

.intro-strip p {
  margin: 0;
  font-size: 1.12rem;
  max-width: 46rem;
}

/* Engagement cards */
.engage-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem 1.6rem;
}

.engage-card {
  border-top: 1px solid var(--apricot);
  padding-top: 1.1rem;
}

.case-notes {
  display: grid;
  gap: 1.2rem;
}

.case-note {
  padding: 1.2rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--apricot) 50%, transparent);
}

/* Contact */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  align-items: stretch;
}

.map-tile {
  min-height: 440px;
  height: 100%;
  border-radius: var(--radius-arc);
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--apricot);
}

.map-tile iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  border: 0;
  filter: brightness(0.96) saturate(0.94) sepia(0.10);
}

.map-fallback {
  padding: 1.5rem;
}

/* Forms */
form label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  font: inherit;
  color: var(--aubergine);
  background: var(--shell);
  border: 1px solid color-mix(in srgb, var(--rose) 55%, var(--apricot));
  border-radius: 0.7rem;
  padding: 0.7rem 0.8rem;
}

textarea { min-height: 9.5rem; resize: vertical; }

.field-error {
  display: block;
  min-height: 1.1em;
  color: #7a2438;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.field-invalid input,
.field-invalid textarea {
  border-color: #7a2438;
  outline: 1px solid #7a2438;
}

.consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-weight: 400;
}

.consent input { margin-top: 0.3rem; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-grid { display: grid; gap: 1rem; position: relative; }

.banner {
  padding: 0.9rem 1rem;
  border-radius: 0.8rem;
  margin-bottom: 1rem;
}

.banner-ok {
  background: color-mix(in srgb, var(--apricot) 28%, var(--shell));
  border: 1px solid var(--apricot);
}

.banner-bad {
  background: #f3e4e6;
  border: 1px solid #7a2438;
  color: var(--aubergine);
}

.fine { font-size: 0.9rem; color: var(--rose); }

/* FAQ */
.faq-layout {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: 2rem;
  align-items: start;
}

.faq-jump {
  position: sticky;
  top: 1rem;
}

.faq-jump ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.faq-jump a {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

.faq-item {
  border-top: 1px solid var(--apricot);
  padding: 1rem 0 1.2rem;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.25rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item[open] summary { color: var(--apricot-ink); }

.faq-item .answer { margin-top: 0.75rem; }

/* Footer */
.site-end {
  background: var(--aubergine);
  color: var(--shell);
  padding-block: 3.5rem 2.5rem;
  border-top: 1px solid var(--apricot);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
}

.footer-mark {
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  background: var(--apricot);
  color: var(--aubergine);
  font-weight: 700;
  border-radius: 50% 50% 8px 8px / 40% 40% 8px 8px;
  margin-bottom: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.1rem;
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
}

.host-note,
.disclaimer,
.legal-meta { font-size: 0.88rem; }

.disclaimer { margin-top: 1rem; max-width: 48rem; }

/* Cookie banner */
.cookie-banner {
  position: sticky;
  bottom: 0;
  z-index: 40;
  background: var(--shell);
  color: var(--aubergine);
  border-top: 1px solid var(--apricot);
  padding: 1rem 0 1.15rem;
}

.cookie-banner.is-hidden { display: none; }

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.cookie-panel {
  margin-top: 0.8rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--apricot);
}

/* Mini faq / legal article */
.legal-article h2 { margin-top: 2rem; }
.legal-article h3 { margin-top: 1.4rem; }

.cta-band p { max-width: 40rem; }

.preview-list {
  display: grid;
  gap: 0.85rem;
}

.preview-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid color-mix(in srgb, var(--apricot) 40%, transparent);
}

.preview-item span.mark {
  color: var(--apricot-ink);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Reveal — only when JS is on, never at rest without .js */
.js .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .hero-sunrise { min-height: 82vh; }
  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .hero-frame { order: -1; }
  .hero-frame .arc-mat,
  .hero-frame .arc-mat img { min-height: 38vh; }
  .frost-trio,
  .engage-grid,
  .contact-split,
  .footer-grid,
  .portrait-mosaic,
  .mosaic-3,
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .portrait-mosaic .tile:first-child { grid-row: auto; }
  .nav-toggle { display: inline-flex; }
  .nav-list {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 4.25rem;
    background: var(--cream);
    border-bottom: 1px solid var(--apricot);
    flex-direction: column;
    padding: 0.8rem 1.2rem 1.1rem;
    z-index: 30;
  }
  .nav-list.is-open { display: flex; }
  .mast { position: relative; }
  .faq-jump { position: static; display: none; }
}

@media (max-width: 640px) {
  h1 { font-size: clamp(2.2rem, 11vw, 3.1rem); }
  .btn-row .btn { width: 100%; }
}
