/* Typefaces hosted on this site (SIL Open Font License; see fonts/LICENSE files) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300; font-display: swap; src: url("fonts/cormorant-garamond-latin-300-italic.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/jost-latin-300-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/jost-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* Layout: one continuous dark-emerald page. A faceted emerald-cut outline sits behind the
   wordmark; below it, an asymmetric family statement, three quiet principles, and a private
   inquiry form. Gold is used only for hairlines, labels and the single call to action. */
:root {
  color-scheme: dark;
  --ink: #05130e;
  --deep: #082017;
  --emerald: #0d3325;
  --emerald-lit: #2f8f69;
  --gold: #c8a96a;
  --gold-bright: #e6d3a4;
  --gold-line: rgba(200, 169, 106, 0.3);
  --gold-faint: rgba(200, 169, 106, 0.14);
  --ivory: #ece6d6;
  --ivory-soft: rgba(236, 230, 214, 0.72);
  --ivory-faint: rgba(236, 230, 214, 0.45);
  --error: #e8ab96;
  --display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --gutter-l: max(24px, env(safe-area-inset-left, 0px));
  --gutter-r: max(24px, env(safe-area-inset-right, 0px));
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Fine grain over the whole page, so the greens read as material and not flat colour */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

a { color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 1px solid var(--gold-bright); outline-offset: 4px; }

.wrap {
  width: min(100%, 72rem);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

.label {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.6875rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}
@media (max-width: 480px) { .label { letter-spacing: 0.2em; } }
@media (max-width: 380px) { .label { font-size: 0.625rem; letter-spacing: 0.14em; } }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  padding-block: calc(1.5rem + env(safe-area-inset-top, 0px)) 1.5rem;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory);
}
.brand svg { width: 15px; height: 20px; color: var(--gold); flex: none; }
.site-nav { display: flex; gap: 2.25rem; }
.site-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory-soft);
  padding-block: 0.4rem;
  transition: color 0.4s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0.3em; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--gold-bright); }
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  padding-block: 8rem 6.5rem;
  background:
    radial-gradient(ellipse 70% 55% at 50% 44%, rgba(31, 110, 80, 0.5) 0%, rgba(13, 51, 37, 0.55) 42%, rgba(5, 19, 14, 0) 76%),
    linear-gradient(180deg, var(--deep) 0%, var(--ink) 100%);
}
.hero-gem {
  position: absolute;
  top: 47%;
  left: 50%;
  width: min(74vw, 540px);
  height: auto;
  transform: translate(-50%, -50%);
  overflow: visible;
}
.hero-gem .ring { fill: none; stroke: var(--gold); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-gem .ring-outer { stroke-opacity: 0.42; }
.hero-gem .ring-inner { stroke-opacity: 0.16; }
.hero-gem .ring-table { stroke-opacity: 0.26; }
.hero-gem .rays line { stroke: var(--gold); stroke-opacity: 0.16; stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-gem .facet { fill: var(--emerald-lit); animation: glint 11s ease-in-out infinite; }
.hero-gem .facet:nth-child(1) { fill-opacity: 0.20; animation-delay: 0s; }
.hero-gem .facet:nth-child(2) { fill-opacity: 0.15; animation-delay: -1.4s; }
.hero-gem .facet:nth-child(3) { fill-opacity: 0.10; animation-delay: -2.8s; }
.hero-gem .facet:nth-child(4) { fill-opacity: 0.05; animation-delay: -4.2s; }
.hero-gem .facet:nth-child(5) { fill-opacity: 0.03; animation-delay: -5.6s; }
.hero-gem .facet:nth-child(6) { fill-opacity: 0.05; animation-delay: -7s; }
.hero-gem .facet:nth-child(7) { fill-opacity: 0.09; animation-delay: -8.4s; }
.hero-gem .facet:nth-child(8) { fill-opacity: 0.14; animation-delay: -9.8s; }
.hero-gem .table { fill: var(--emerald-lit); fill-opacity: 0.08; }
@keyframes glint {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.hero-content > * { animation: rise 1.5s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.hero-content > :nth-child(1) { animation-delay: 0.15s; }
.hero-content > :nth-child(2) { animation-delay: 0.35s; }
.hero-content > :nth-child(3) { animation-delay: 0.6s; }
.hero-content > :nth-child(4) { animation-delay: 0.85s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.hero h1 {
  margin: 1.9rem 0 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.6rem, 13vw, 8.75rem);
  line-height: 0.95;
  letter-spacing: 0.07em;
  text-indent: 0.07em;
  text-transform: uppercase;
  color: var(--ivory);
}
.hero h1 .sub {
  display: block;
  margin-top: 1.35em;
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(0.72rem, 1.5vw, 0.9rem);
  line-height: 1;
  letter-spacing: 0.72em;
  text-indent: 0.72em;
  color: var(--gold);
}
.hero-tagline {
  margin: 2.6rem 0 0;
  max-width: 30ch;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  line-height: 1.35;
  color: var(--ivory-soft);
  text-wrap: balance;
}
.button {
  display: inline-block;
  margin-top: 3rem;
  padding: 1.05rem 2.4rem 1.05rem 2.72rem;
  border: 1px solid var(--gold-line);
  background: transparent;
  color: var(--gold-bright);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.6875rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: 0;
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}
.button:hover, .button:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.button[disabled] { opacity: 0.55; cursor: default; }

.hero-cue {
  position: absolute;
  left: 50%;
  bottom: calc(1.75rem + env(safe-area-inset-bottom, 0px));
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(180deg, rgba(200, 169, 106, 0) 0%, var(--gold) 100%);
  opacity: 0.6;
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(5.5rem, 12vw, 9.5rem); }

.ornament {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: min(100%, 22rem);
  margin-inline: auto;
}
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; }
.ornament::before { background: linear-gradient(90deg, rgba(200, 169, 106, 0), var(--gold-line)); }
.ornament::after { background: linear-gradient(90deg, var(--gold-line), rgba(200, 169, 106, 0)); }
.ornament span { width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); flex: none; }

.family-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 7vw, 6.5rem);
  align-items: start;
}
.family-grid > * { min-width: 0; }
.section h2 {
  margin: 1.5rem 0 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: 0.005em;
  color: var(--ivory);
  text-wrap: balance;
}
.section h2 em { font-style: italic; color: var(--gold-bright); }
.lead {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
  line-height: 1.55;
  color: var(--ivory);
}
.body-text { margin: 1.6rem 0 0; max-width: 34rem; color: var(--ivory-soft); }

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(4rem, 9vw, 7rem);
}
.principle { border-top: 1px solid var(--gold-line); padding-top: 1.6rem; min-width: 0; }
.principle h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1.2;
  color: var(--ivory);
}
.principle p { margin: 0.75rem 0 0; color: var(--ivory-soft); max-width: 24rem; }

/* ---------- Inquiries ---------- */
.inquiries {
  background: linear-gradient(180deg, rgba(8, 32, 23, 0) 0%, var(--deep) 22%, var(--deep) 78%, rgba(8, 32, 23, 0) 100%);
}
.inquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}
.inquiry-grid > * { min-width: 0; }
.direct { margin-top: 2.75rem; padding-top: 1.6rem; border-top: 1px solid var(--gold-line); }
.direct a {
  display: inline-block;
  margin-top: 0.7rem;
  font-family: var(--display);
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--ivory);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-line);
  overflow-wrap: anywhere;
  transition: color 0.4s ease, border-color 0.4s ease;
}
.direct a:hover, .direct a:focus-visible { color: var(--gold-bright); border-color: var(--gold); }

.form-panel {
  border: 1px solid var(--gold-faint);
  background: rgba(5, 19, 14, 0.45);
  padding: clamp(1.75rem, 4.5vw, 3.25rem);
}
form { margin: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.1rem 2.25rem; }
.field { min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label, .field .legend {
  display: block;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}
.field .optional { letter-spacing: 0.12em; text-transform: none; color: var(--ivory-faint); font-size: 0.75rem; }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  margin: 0.35rem 0 0;
  padding: 0.7rem 0;
  border: 0;
  border-bottom: 1px solid var(--gold-line);
  border-radius: 0;
  background-color: transparent;
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}
.field textarea { min-height: 7.5rem; resize: vertical; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 1.75rem;
  cursor: pointer;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23c8a96a' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.2rem center;
}
.field select:required:invalid { color: var(--ivory-faint); }
.field select option { background: #082017; color: #ece6d6; }
.field input::placeholder, .field textarea::placeholder { color: var(--ivory-faint); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold-bright);
  box-shadow: 0 1px 0 0 var(--gold-bright);
}
.field [aria-invalid="true"] { border-bottom-color: var(--error); }
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #ece6d6;
  -webkit-box-shadow: 0 0 0 1000px #071a13 inset;
  caret-color: #ece6d6;
  transition: background-color 9999s ease-out 0s;
}
.phone-row { display: grid; grid-template-columns: minmax(0, 12.5rem) minmax(0, 1fr); gap: 1.5rem; }
.field-error { margin: 0.55rem 0 0; font-size: 0.8125rem; line-height: 1.4; color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  margin-top: 2.75rem;
}
.form-foot .button { margin-top: 0; }
.form-note { margin: 0; flex: 1 1 14rem; font-size: 0.8125rem; line-height: 1.6; color: var(--ivory-faint); }
.form-status { margin: 1.75rem 0 0; font-size: 0.9375rem; line-height: 1.65; color: var(--ivory); }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
.form-status a { color: var(--gold-bright); }

.form-success { text-align: center; padding-block: clamp(1.5rem, 5vw, 3.5rem); }
.form-success:focus { outline: none; }
.form-success h3 {
  margin: 1.5rem 0 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.15;
  color: var(--ivory);
}
.form-success p { margin: 1rem auto 0; max-width: 28rem; color: var(--ivory-soft); }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: 4.5rem calc(3rem + env(safe-area-inset-bottom, 0px));
  text-align: center;
}
.site-footer svg { width: 21px; height: 28px; color: var(--gold); }
.footer-name {
  margin: 1.4rem 0 0;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--ivory);
}
.footer-line {
  margin: 0.9rem 0 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ivory-soft);
}
.footer-legal { margin: 1.5rem 0 0; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--ivory-faint); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Consent ---------- */
.consent { min-width: 0; }
.check { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.95rem; align-items: start; }
.check input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.2rem 0 0;
  padding: 0;
  border: 1px solid var(--gold-line);
  border-radius: 0;
  background-color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: border-color 0.4s ease, background-color 0.4s ease;
}
.check input[type="checkbox"]:hover { border-color: var(--gold); }
.check input[type="checkbox"]:checked {
  border-color: var(--gold);
  background-color: var(--gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' viewBox='0 0 12 10'%3E%3Cpath d='M1 5.2l3.4 3.3L11 1.5' fill='none' stroke='%2305130e' stroke-width='1.6'/%3E%3C/svg%3E");
}
.check input[type="checkbox"][aria-invalid="true"] { border-color: var(--error); }
.check-text { font-size: 0.875rem; line-height: 1.7; color: var(--ivory-soft); cursor: pointer; }
.link-button {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font: inherit;
  color: var(--gold-bright);
  text-decoration: underline;
  text-decoration-color: var(--gold-line);
  text-underline-offset: 4px;
  cursor: pointer;
  transition: text-decoration-color 0.4s ease;
}
.link-button:hover, .link-button:focus-visible { text-decoration-color: var(--gold-bright); }

/* ---------- Legal ---------- */
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2.25rem;
  margin-top: 2.5rem;
}
.legal-nav button {
  padding: 0.4rem 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.625rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ivory-soft);
  cursor: pointer;
  transition: color 0.4s ease;
}
.legal-nav button:hover, .legal-nav button:focus-visible { color: var(--gold-bright); }

html.dialog-open { overflow: hidden; }
dialog.legal {
  width: min(calc(100% - 2rem), 46rem);
  max-width: none;
  max-height: min(86vh, 54rem);
  max-height: min(86dvh, 54rem);
  padding: 0;
  border: 1px solid var(--gold-line);
  border-radius: 0;
  background: var(--deep);
  color: var(--ivory);
  overflow: hidden;
}
dialog.legal[open] { display: flex; flex-direction: column; }
dialog.legal::backdrop { background: rgba(3, 12, 9, 0.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.legal-head {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem clamp(1.5rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--gold-faint);
}
.legal-close {
  padding: 0.5rem 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ivory-soft);
  cursor: pointer;
  transition: color 0.4s ease;
}
.legal-close:hover, .legal-close:focus-visible { color: var(--gold-bright); }
.legal-tools { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.legal-lang { display: flex; align-items: center; gap: 0.9rem; }
.legal-lang button {
  padding: 0.5rem 0;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  background: none;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  color: var(--ivory-faint);
  cursor: pointer;
  transition: color 0.4s ease, border-color 0.4s ease;
}
.legal-lang button:hover, .legal-lang button:focus-visible { color: var(--gold-bright); }
.legal-lang button[aria-pressed="true"] { color: var(--gold-bright); border-bottom-color: var(--gold); }
@media (max-width: 520px) { .legal-head .label { display: none; } .legal-tools { width: 100%; justify-content: space-between; } }
.legal-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.75rem) clamp(2.25rem, 5vw, 3.25rem);
}
.legal-body h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.15;
  color: var(--ivory);
}
.legal-date { margin: 0.9rem 0 0; font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--ivory-faint); }
.legal-body h3 {
  margin: 2.1rem 0 0.5rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--gold-bright);
}
.legal-body p, .legal-body li { font-size: 0.9375rem; line-height: 1.75; color: var(--ivory-soft); }
.legal-body p { margin: 0 0 0.9rem; }
.legal-body ul { margin: 0 0 0.9rem; padding-left: 1.15rem; }
.legal-body li { margin-bottom: 0.35rem; }
.legal-body li::marker { color: var(--gold); }
.legal-body .contact { color: var(--ivory); overflow-wrap: anywhere; }

/* ---------- Reveal on scroll (only when scripting is available) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.3s ease, transform 1.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Smaller screens ---------- */
@media (max-width: 860px) {
  .family-grid, .inquiry-grid { grid-template-columns: minmax(0, 1fr); }
  .principles { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
}
@media (max-width: 600px) {
  :root { --gutter-l: max(20px, env(safe-area-inset-left, 0px)); --gutter-r: max(20px, env(safe-area-inset-right, 0px)); }
  .site-nav a.nav-family { display: none; }
  .brand { letter-spacing: 0.24em; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .phone-row { grid-template-columns: minmax(0, 1fr); gap: 0.6rem; }
  .hero h1 .sub { letter-spacing: 0.55em; text-indent: 0.55em; }
  .form-foot .button { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-content > *, .hero-gem .facet { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .button, .site-nav a, .site-nav a::after { transition: none; }
}
