/* =====================================================================
   Estate Privé — design system
   Mobile-first. Thin gold lines, generous space. No gradients, no shadows.
   ===================================================================== */

:root {
  --charcoal: #2B2622;
  --charcoal-2: #36302B;     /* raised surface on dark */
  --line-dark: #4A423B;      /* hairlines on dark */
  --gold: #C9A35C;
  --gold-dark: #7A5A22;      /* small gold text on light backgrounds */
  --ivory: #F4EEE4;
  --cream: #F1EADB;
  --paper: #FBF8F2;          /* cards on ivory */
  --oxblood: #5C1A26;
  --oxblood-tint: #F6ECEA;
  --stone: #ADA295;
  --line: #E2D8C7;           /* hairlines on light */
  --muted: #675C53;          /* secondary text on light (AA on ivory) */
  --ok: #3F5B3A;

  --font-display: "Cinzel", "Times New Roman", serif;
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 20px;
  --radius: 18px;
  --radius-sm: 12px;
  --pill: 999px;
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-underline-offset: 3px; }
a:hover { color: var(--oxblood); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display); font-weight: 400; letter-spacing: .08em;
  font-size: clamp(1.5rem, 6.4vw, 2.6rem); line-height: 1.25; margin: 0 0 12px;
}
.h1, .h2, .h3 { font-family: var(--font-heading); font-weight: 500; margin: 0; line-height: 1.1; }
.h1 { font-size: clamp(2.1rem, 8vw, 2.8rem); }
.h2 { font-size: 1.6rem; font-weight: 600; }
.h3 { font-size: 1.3rem; }
.eyebrow {
  font-weight: 400; text-transform: uppercase; letter-spacing: .22em; font-size: .72rem;
  margin: 0 0 8px; color: var(--gold-dark);
}
.theme-dark .eyebrow, .on-dark .eyebrow { color: var(--gold); }
.lede { font-family: var(--font-heading); font-style: italic; font-size: 1.25rem; margin: 0 0 28px; }
.muted { color: var(--muted); }
.on-dark .muted, .theme-dark .muted { color: var(--stone); }
.small { font-size: .85rem; }
.tiny { font-size: .75rem; }
.center { text-align: center; }
.price { font-family: var(--font-heading); font-size: 1.25rem; color: var(--oxblood); font-weight: 600; white-space: nowrap; }
.on-dark .price, .theme-dark .price { color: var(--gold); }

/* Chevron rule: echoes the Great Zimbabwe frieze (decorative, not the logo) */
.chevron {
  display: block; width: 140px; height: 8px; margin: 14px 0 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M0 7 L5 1 L10 7' fill='none' stroke='%23C9A35C' stroke-width='1'/%3E%3C/svg%3E") repeat-x left center;
}
.center .chevron, .chevron.center { margin-left: auto; margin-right: auto; }
.rule { width: 64px; border: 0; border-top: 1px solid var(--gold); margin: 28px auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px;
  font: 500 .8rem/1 var(--font-body); text-transform: uppercase; letter-spacing: .18em;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--pill);
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--oxblood); color: var(--ivory); border-color: var(--oxblood); }
.btn--primary:hover { background: #4A1420; color: var(--ivory); }
.btn--gold { background: var(--gold); color: var(--charcoal); border-color: var(--gold); }
.btn--gold:hover { background: #B8924D; color: var(--charcoal); }
.btn--ghost { background: transparent; color: var(--oxblood); border-color: var(--oxblood); }
.btn--ghost:hover { background: var(--oxblood); color: var(--ivory); }
.on-dark .btn--ghost, .theme-dark .btn--ghost { color: var(--gold); border-color: var(--gold); }
.on-dark .btn--ghost:hover, .theme-dark .btn--ghost:hover { background: var(--gold); color: var(--charcoal); }
.btn--link { background: none; border: 0; color: var(--gold-dark); padding: 0 4px; min-height: 44px; text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 400; text-decoration: underline; }
.btn--block { display: flex; width: 100%; }
.btn--small { min-height: 40px; padding: 0 18px; font-size: .72rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }

.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--paper); color: var(--oxblood); cursor: pointer; position: relative; text-decoration: none;
}
.icon-btn .count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--oxblood); color: var(--ivory); font-size: .7rem; font-weight: 500; display: flex; align-items: center; justify-content: center;
}

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label, .label { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; font-weight: 400; color: var(--muted); }
.on-dark .field label, .theme-dark .field label, .theme-dark .label { color: var(--stone); }
.input, .field input[type=text], .field input[type=tel], .field input[type=email], .field input[type=date],
.field input[type=number], .field input[type=password], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--paper); color: var(--charcoal);
  font: 400 16px/1.4 var(--font-body);  /* 16px stops iPhone zooming */
}
.field textarea { min-height: 96px; resize: vertical; }
.on-dark .field input, .on-dark .field select, .theme-dark .field input, .theme-dark .field select {
  background: transparent; border-color: var(--line-dark); color: var(--cream);
}
.theme-dark .field select option { color: var(--charcoal); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field .help { font-size: .8rem; color: var(--muted); margin: 0; }
.on-dark .field .help, .theme-dark .field .help { color: var(--stone); }
.field .error, .errorlist { color: var(--oxblood); font-size: .85rem; margin: 0; padding: 0; list-style: none; }
.theme-dark .field .error, .theme-dark .errorlist { color: #E3A3A8; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; margin-bottom: 18px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--oxblood); flex-shrink: 0; }
.otp-input { text-align: center; letter-spacing: .6em; font-size: 1.4rem !important; font-weight: 500 !important; }
.hp { position: absolute; left: -9999px; }

/* Choice cards (estate picker, plans, slots, payment) */
.choices { display: flex; flex-direction: column; gap: 10px; margin: 0 0 22px; padding: 0; border: 0; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice__body {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 64px; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper);
}
.choice__title { font-family: var(--font-heading); font-size: 1.3rem; line-height: 1.2; display: block; }
.choice__sub { font-size: .8rem; color: var(--muted); display: block; }
.choice__dot { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--stone); flex-shrink: 0; }
.choice input:checked + .choice__body { border-color: var(--gold); background: var(--cream); }
.choice input:checked + .choice__body .choice__dot { border: 5px solid var(--gold); }
.choice input:focus-visible + .choice__body { outline: 2px solid var(--gold); outline-offset: 2px; }
.choice input:disabled + .choice__body { opacity: .5; cursor: not-allowed; }
.theme-dark .choice__body { background: transparent; border-color: var(--line-dark); }
.theme-dark .choice__title { color: var(--cream); }
.theme-dark .choice__sub { color: var(--stone); }
.theme-dark .choice input:checked + .choice__body { background: var(--charcoal-2); border-color: var(--gold); }

/* ---------- Messages ---------- */
.messages { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.msg { padding: 14px 16px; border-radius: var(--radius-sm); border: 1px solid var(--gold); background: var(--paper); font-size: .92rem; }
.msg--error { border-color: var(--oxblood); background: var(--oxblood-tint); color: var(--oxblood); }
.theme-dark .msg { background: var(--charcoal-2); color: var(--cream); }
.notice { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--cream); font-size: .88rem; margin: 0 0 18px; }
.notice--dev { border: 1px dashed var(--gold-dark); background: var(--paper); }
.theme-dark .notice { background: var(--charcoal-2); color: var(--cream); }

/* ---------- Cards & lists ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.card--gold { border-color: var(--gold); }
.card--dark { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.card--dark .muted { color: var(--stone); }
a.card { display: block; text-decoration: none; color: inherit; }
a.card:hover { border-color: var(--gold); color: inherit; }
a.card.row { display: flex; }
.card.list { padding: 0 20px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack-lg { display: flex; flex-direction: column; gap: 28px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-head a { font-size: .85rem; text-decoration: none; }

.badge {
  display: inline-block; padding: 3px 10px; border-radius: var(--pill); font-size: .68rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; background: var(--cream); color: var(--gold-dark); white-space: nowrap;
}
.badge--gold { background: var(--gold); color: var(--charcoal); }
.badge--ox { background: var(--oxblood); color: var(--ivory); }
.badge--ok { background: #E6EBDF; color: var(--ok); }
.badge--muted { background: #ECE6DC; color: var(--muted); }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center;
  min-height: 96px; padding: 14px 6px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper);
  color: var(--charcoal); text-decoration: none; font-size: .85rem;
}
.tile:hover { border-color: var(--gold); color: var(--charcoal); }
.tile svg { color: var(--gold-dark); }
.tile--soon { opacity: .55; }
.tile small { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Feature (marketing) cards */
.features { display: grid; grid-template-columns: 1fr; gap: 14px; }
.feature { padding: 24px 22px; border-top: 1px solid var(--gold); }
.feature h3 { font-family: var(--font-heading); font-weight: 500; font-size: 1.5rem; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); }

/* Steps */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 22px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.steps li::before {
  content: counter(s); width: 44px; height: 44px; border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); color: var(--gold);
}
.steps h3 { font-family: var(--font-heading); font-weight: 500; font-size: 1.35rem; margin: 6px 0 2px; }
.steps p { margin: 0; color: var(--stone); }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; gap: 4px; }
.qty button {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent;
  color: var(--oxblood); font-size: 1.15rem; line-height: 1; cursor: pointer;
}
.qty button.plus { background: var(--oxblood); color: var(--ivory); border-color: var(--oxblood); }
.qty output, .qty .n { min-width: 26px; text-align: center; font-weight: 500; }

/* Day picker */
.days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.day { position: relative; }
.day input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.day > span {
  display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--paper); font-size: .85rem;
}
.theme-dark .day > span { background: transparent; border-color: var(--line-dark); color: var(--cream); }
.day input:checked + span { background: var(--oxblood); color: var(--ivory); border-color: var(--oxblood); }
.theme-dark .day input:checked + span { background: var(--gold); color: var(--charcoal); border-color: var(--gold); }
.day input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Order status tracker */
.track { list-style: none; margin: 0; padding: 0; }
.track li { position: relative; padding: 0 0 22px 34px; color: var(--muted); }
.track li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid var(--stone); background: var(--ivory);
}
.track li::after { content: ""; position: absolute; left: 8px; top: 22px; bottom: 0; border-left: 1px solid var(--line); }
.track li:last-child::after { display: none; }
.track li.done { color: var(--charcoal); }
.track li.done::before { background: var(--gold); border-color: var(--gold); }
.track li.current { color: var(--charcoal); font-weight: 500; }
.track li.current::before { background: var(--oxblood); border-color: var(--oxblood); }

/* Product */
.product { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; }
.product__img {
  width: 76px; height: 76px; border-radius: 14px; background: var(--cream); object-fit: cover;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product__img .ph { width: 44px; opacity: .6; }
.product__name { font-family: var(--font-heading); font-size: 1.25rem; line-height: 1.15; margin: 0; }
.product__name a { color: inherit; text-decoration: none; }
.product__meta { font-size: .8rem; color: var(--muted); margin: 2px 0 0; }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.hero-img { width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--cream); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img .ph { width: 120px; opacity: .55; }
.ph-icon { color: var(--gold-dark); opacity: .6; display: flex; }
.actionbar .price { color: var(--gold); }

/* Summary table */
.summary { width: 100%; border-collapse: collapse; font-size: .95rem; }
.summary td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.summary td:last-child { text-align: right; white-space: nowrap; }
.summary tr.total td { border-bottom: 0; font-family: var(--font-heading); font-size: 1.35rem; font-weight: 600; padding-top: 14px; }

/* ---------- Public site ---------- */
.theme-dark { background: var(--charcoal); color: var(--cream); }
.topbar {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--gutter); background: var(--charcoal); border-bottom: 1px solid var(--line-dark);
}
.topbar__brand img { height: 30px; width: auto; }
.topbar a.signin { color: var(--gold); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

.hero {
  min-height: min(calc(100svh - 55px), 820px); display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 56px var(--gutter) 64px; background: var(--charcoal); color: var(--cream);
}
.hero > * { max-width: 100%; text-wrap: balance; }
.hero__logo { width: min(260px, 70vw); }
.hero .lede { color: var(--cream); opacity: .9; }
.hero__cta { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 320px; }

.section { padding: 72px var(--gutter); }
.section--dark { background: var(--charcoal); color: var(--cream); }
.section--cream { background: var(--cream); }
.wrap { max-width: 1040px; margin: 0 auto; }
.narrow { max-width: 520px; margin: 0 auto; }
.section h2 { font-family: var(--font-heading); font-weight: 500; font-size: clamp(2rem, 7vw, 2.8rem); line-height: 1.1; margin: 0; }
.section .intro { margin: 18px 0 36px; max-width: 36em; }

.estates { display: grid; gap: 12px; }
.estate { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.estate__name { font-family: var(--font-heading); font-size: 1.5rem; }

.foot { background: var(--charcoal); color: var(--stone); text-align: center; padding: 44px var(--gutter) 40px; font-size: .85rem; border-top: 1px solid var(--gold); }
.foot p { margin: 0 0 6px; }
.foot .tag { font-family: var(--font-heading); font-style: italic; font-size: 1.15rem; color: var(--cream); }
.foot a { color: var(--stone); }
.foot__legal { font-size: .72rem; letter-spacing: .06em; }
.foot__mark { width: 64px; margin: 0 auto 16px; }

/* ---------- Auth screens (dark, like the approved welcome screen) ---------- */
.auth { min-height: 100svh; display: flex; flex-direction: column; padding: 48px var(--gutter) 28px; max-width: 460px; margin: 0 auto; }
.auth__brand { text-align: center; margin-bottom: 28px; }
.auth__brand img { width: 170px; margin: 0 auto; }
.auth__brand .lede { color: var(--gold); margin: 14px 0 0; font-size: 1.15rem; }
.auth__divider { border: 0; border-top: 1px solid var(--line-dark); margin: 0 0 26px; }
.auth__foot { margin-top: auto; padding-top: 28px; text-align: center; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--stone); }

/* ---------- Resident app shell ---------- */
.app { min-height: 100svh; padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 24px); }
.app__main { max-width: 640px; margin: 0 auto; padding: 28px var(--gutter) 0; }
.app__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
.app__head .h1 { margin: 0; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: .88rem; text-decoration: none; margin: -8px 0 8px; }
.estate-link { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; text-decoration: none; min-height: 32px; }

.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: center;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom)); padding: 6px 6px env(safe-area-inset-bottom);
  background: var(--paper); border-top: 1px solid var(--line);
}
.bottom-nav a {
  min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--muted); font-size: .7rem; text-decoration: none; letter-spacing: .02em;
}
.bottom-nav a[aria-current="page"] { color: var(--oxblood); font-weight: 500; }
.bottom-nav .plus {
  justify-self: center; width: 54px; height: 54px; border-radius: 50%; background: var(--oxblood); color: var(--ivory);
}
.bottom-nav .plus:hover { color: var(--ivory); }

.emergency-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 50px; padding: 0 18px;
  border-radius: var(--pill); border: 1px solid #C9A9AE; background: var(--oxblood-tint); color: var(--oxblood);
  text-decoration: none; font-size: .85rem;
}
.emergency-btn strong { font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.emergency-btn:hover { color: var(--oxblood); border-color: var(--oxblood); }

.contact { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.contact a.call { white-space: nowrap; }

/* Sticky action bar above the bottom nav (basket total etc.) */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); z-index: 15;
  background: var(--charcoal); color: var(--cream); padding: 12px var(--gutter);
}
.actionbar .inner { max-width: 640px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.has-actionbar { padding-bottom: calc(var(--nav-h) + 80px + env(safe-area-inset-bottom)); }

/* ---------- Larger screens ---------- */
@media (min-width: 720px) {
  :root { --gutter: 40px; }
  .hero__logo { width: 320px; }
  .hero__cta { flex-direction: row; max-width: none; justify-content: center; }
  .features { grid-template-columns: repeat(3, 1fr); gap: 20px 28px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bottom-nav { max-width: 640px; margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); border-radius: 18px 18px 0 0; }
}

/* =====================================================================
   Severina concierge
   ===================================================================== */
.plus--severina { background: var(--charcoal) !important; color: var(--gold) !important; border: 1px solid var(--gold); }
.severina-card {
  display: flex; gap: 16px; align-items: center; padding: 20px 22px; border-radius: var(--radius);
  background: var(--charcoal); color: var(--cream); text-decoration: none; border: 1px solid var(--gold);
}
.severina-card:hover { color: var(--cream); }
.severina-card__crown {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
}
.severina-card__name { display: block; font-family: var(--font-display); letter-spacing: .12em; font-size: 1.35rem; }

.concierge-page .app__main { padding-bottom: 150px; }
.concierge-head { text-align: center; padding: 6px 0 18px; border-bottom: 1px solid var(--line-dark); margin-bottom: 20px; }
.concierge-head img { width: 120px; margin: 0 auto 6px; }
.concierge-head__name { font-family: var(--font-display); font-weight: 400; letter-spacing: .22em; font-size: 1.6rem; margin: 0; color: var(--cream); }
.concierge-head__role { font-family: var(--font-heading); font-style: italic; color: var(--gold); margin: 2px 0 0; font-size: 1.05rem; }
.concierge-head__new { margin-top: 4px; }

.thread { display: flex; flex-direction: column; gap: 12px; }
.bubble { max-width: 86%; padding: 12px 16px; border-radius: 16px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble--severina {
  align-self: flex-start; background: var(--charcoal-2); color: var(--cream); border: 1px solid var(--line-dark);
  border-top-left-radius: 4px; font-family: var(--font-heading); font-size: 1.12rem;
}
.bubble--severina.thinking { color: var(--stone); font-style: italic; }
.bubble--severina.resting { border-color: var(--stone); color: var(--stone); }
.bubble--me {
  align-self: flex-end; background: var(--oxblood); color: var(--ivory); border-top-right-radius: 4px; font-size: .95rem;
}

.suggestion {
  align-self: stretch; background: var(--ivory); color: var(--charcoal); border: 1px solid var(--gold);
  border-radius: var(--radius); padding: 16px 18px;
}
.suggestion .eyebrow { color: var(--gold-dark); }
.suggestion__title { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 600; margin: 0 0 6px; }
.suggestion__lines { list-style: none; margin: 0 0 8px; padding: 0; font-size: .92rem; }
.suggestion__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.suggestion__total { font-weight: 500; border-bottom: 0 !important; }
.suggestion__detail { margin: 0 0 6px; font-weight: 400; }
.suggestion__note { margin: 0 0 10px; font-size: .8rem; color: var(--muted); }
.suggestion__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.suggestion .btn--link { color: var(--gold-dark); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.chip {
  min-height: 40px; padding: 0 14px; border-radius: var(--pill); border: 1px solid var(--line-dark);
  background: transparent; color: var(--cream); font: 400 .85rem var(--font-body); cursor: pointer;
}
.chip:hover { border-color: var(--gold); color: var(--gold); }

.composer {
  position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); z-index: 15;
  display: flex; gap: 8px; align-items: center; padding: 10px var(--gutter);
  background: var(--charcoal); border-top: 1px solid var(--line-dark);
}
.composer input {
  flex: 1; min-height: 48px; border-radius: var(--pill); border: 1px solid var(--line-dark); background: var(--charcoal-2);
  color: var(--cream); padding: 0 18px; font: 400 16px var(--font-body);
}
.composer input:focus { outline: none; border-color: var(--gold); }
.composer__send, .composer__mic {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--gold);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.composer__send { background: var(--gold); color: var(--charcoal); }
.composer__mic { background: transparent; color: var(--gold); }
.composer__mic.recording { background: var(--oxblood); border-color: var(--oxblood); color: var(--ivory); animation: ep-pulse 1.2s infinite; }
@keyframes ep-pulse { 50% { opacity: .65; } }
/* Severina: the big round talk button */
.talk {
  position: fixed; left: 0; right: 0; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); z-index: 15;
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px var(--gutter) 12px;
  background: linear-gradient(to top, var(--charcoal) 78%, rgba(43, 38, 34, 0));
}
.talk[hidden] { display: none; }
.talk__button {
  --level: 0; position: relative; width: 96px; height: 96px; border-radius: 50%; cursor: pointer;
  border: 2px solid var(--gold); background: radial-gradient(circle at 50% 35%, #3a332d, var(--charcoal));
  color: var(--gold); display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .35); transition: transform .15s ease, background .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.talk__button:active { transform: scale(.96); }
.talk__button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.talk__ring {
  position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--gold); opacity: 0; pointer-events: none;
}
.talk__button.is-idle .talk__ring { animation: ep-breathe 2.6s ease-in-out infinite; }
.talk__button.is-listening { background: var(--oxblood); border-color: var(--oxblood); color: var(--ivory); }
.talk__button.is-listening .talk__ring {
  opacity: .55; border-color: var(--oxblood); transform: scale(calc(1.08 + var(--level) * .45)); transition: transform .08s linear;
}
.talk__dots { display: none; gap: 6px; }
.talk__dots i { width: 9px; height: 9px; border-radius: 50%; background: currentColor; animation: ep-dot 1s infinite ease-in-out; }
.talk__dots i:nth-child(2) { animation-delay: .15s; } .talk__dots i:nth-child(3) { animation-delay: .3s; }
.talk__button.is-thinking .talk__mic, .talk__button.is-speaking .talk__mic { display: none; }
.talk__button.is-thinking .talk__dots, .talk__button.is-speaking .talk__dots { display: inline-flex; }
.talk__button.is-thinking { opacity: .85; cursor: progress; }
.talk__button.is-speaking { background: var(--gold); color: var(--charcoal); }
.talk__status { margin: 0; font-size: .82rem; color: var(--cream); letter-spacing: .02em; min-height: 1.3em; text-align: center; }
.talk__type {
  position: absolute; right: var(--gutter); bottom: 46px; display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  background: transparent; border: 0; color: var(--stone); font: 400 .7rem var(--font-body); cursor: pointer; padding: 6px;
}
.talk__type:hover { color: var(--gold); }
body.talk-mode.concierge-page .app__main { padding-bottom: 210px; }
@keyframes ep-breathe { 0%, 100% { opacity: 0; transform: scale(1); } 50% { opacity: .5; transform: scale(1.12); } }
@keyframes ep-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-6px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .talk__ring, .talk__dots i { animation: none !important; } }
html.easy .talk__button { width: 124px; height: 124px; }
html.easy .talk__status { font-size: 1.1rem; }
html.easy body.talk-mode.concierge-page .app__main { padding-bottom: 250px; }
@media (min-width: 1024px) { .talk { left: var(--side); } }

/* Home: big round "talk to Severina" button */
.talk-home { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 6px 0 22px; text-decoration: none; }
.talk-home .talk__button { width: 112px; height: 112px; }
.talk-home__label { font: 500 1.3rem var(--font-heading); color: var(--charcoal); }
.talk-home__sub { font-size: .78rem; color: var(--stone); margin-top: -6px; }
html.easy .talk-home .talk__button { width: 140px; height: 140px; }
html.easy .talk-home__label { font-size: 1.5rem; }
html.easy .talk-home__sub { font-size: 1.05rem; color: var(--charcoal); opacity: .75; }

.concierge-foot { font-size: .72rem; color: var(--stone); text-align: center; margin: 22px 0 0; }
.concierge-foot a { color: var(--gold); }

.notice-overlay {
  position: fixed; inset: 0; z-index: 40; background: rgba(43, 38, 34, .86);
  display: flex; align-items: center; justify-content: center; padding: var(--gutter);
}
.notice-box { background: var(--ivory); border-radius: var(--radius); padding: 26px 22px; max-width: 440px; text-align: center; border: 1px solid var(--gold); }
.notice-box li { margin-bottom: 6px; }

@media (min-width: 720px) {
  .composer { max-width: 640px; margin: 0 auto; border-left: 1px solid var(--line-dark); border-right: 1px solid var(--line-dark); }
}
.voice-switch { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .8rem; color: var(--stone); cursor: pointer; }
.voice-switch input { accent-color: var(--gold); width: 18px; height: 18px; }

/* =====================================================================
   Easy mode (Profile → Easy mode): bigger text, stronger contrast,
   large buttons. Switched on per person with <html class="easy">.
   ===================================================================== */
html.easy { font-size: 118.75%; }                /* 19px base instead of 16px */
html.easy body { font-size: 1rem; font-weight: 400; line-height: 1.55; }
html.easy { --muted: #4A4038; --stone: #D3CABE; --gold-dark: #6A4C17; }
html.easy .small { font-size: .95rem; }
html.easy .tiny { font-size: .85rem; }
html.easy .eyebrow { font-size: .8rem; letter-spacing: .14em; }
html.easy .btn { min-height: 60px; font-size: .9rem; letter-spacing: .1em; }
html.easy .btn--small { min-height: 52px; font-size: .85rem; }
html.easy .btn--link { font-size: 1rem; }
html.easy .bottom-nav a { font-size: .8rem; }
html.easy .composer__send, html.easy .composer__mic { width: 60px; height: 60px; }
html.easy .composer__mic { border-width: 2px; }
html.easy .composer input { min-height: 60px; font-size: 19px; }
html.easy .concierge-foot { font-size: .85rem; }
html.easy .bubble { font-size: 1.05rem; }
html.easy .voice-switch { font-size: .95rem; }
html.easy .voice-switch input { width: 24px; height: 24px; }

.easy-hello { font-family: var(--font-heading); font-weight: 600; font-size: 2.1rem; line-height: 1.1; margin: 0; }
.easy-actions { display: grid; gap: 14px; }
.easy-actions form { margin: 0; }
.easy-btn {
  display: flex; align-items: center; gap: 18px; width: 100%; min-height: 96px; padding: 18px 20px;
  background: var(--paper); color: var(--charcoal); border: 2px solid var(--line); border-radius: var(--radius);
  text-align: left; text-decoration: none; font: inherit; cursor: pointer;
}
.easy-btn:hover, .easy-btn:focus-visible { border-color: var(--gold); color: var(--charcoal); }
.easy-btn__icon { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--ivory); color: var(--oxblood); border: 1px solid var(--gold); }
.easy-btn__title { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 1.55rem; line-height: 1.15; }
.easy-btn__sub { display: block; font-size: .95rem; color: var(--muted); margin-top: 2px; }
.easy-btn--dark { background: var(--charcoal); color: var(--cream); border-color: var(--gold); }
.easy-btn--dark:hover, .easy-btn--dark:focus-visible { color: var(--cream); }
.easy-btn--dark .easy-btn__icon { background: transparent; color: var(--gold); }
.easy-btn--dark .easy-btn__sub { color: var(--stone); }
.easy-btn--emergency { background: var(--oxblood); color: var(--ivory); border-color: var(--oxblood); }
.easy-btn--emergency:hover, .easy-btn--emergency:focus-visible { color: var(--ivory); border-color: var(--gold); }
.easy-btn--emergency .easy-btn__icon { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.easy-btn--emergency .easy-btn__sub { color: var(--oxblood-tint); }
.easy-offer { text-align: center; margin: 4px 0 0; }
.easy-hint { text-align: center; color: var(--gold); font-size: 1rem; margin: 10px 0 0; }
.suggestion__read { display: block; margin: 6px 0 0; }
html.easy .concierge-page .app__main { padding-bottom: 190px; }

/* ---------- Daily check-in ---------- */
.checkin-card { margin: 0; }
.checkin-card__btn {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 88px; padding: 16px 20px; text-align: left;
  background: var(--ok); color: var(--ivory); border: 0; border-radius: var(--radius); font: inherit; cursor: pointer;
}
.checkin-card__btn:hover, .checkin-card__btn:focus-visible { filter: brightness(1.08); }
.checkin-card--late .checkin-card__btn { background: var(--oxblood); }
.checkin-card__tick { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; border: 2px solid var(--ivory);
  display: inline-flex; align-items: center; justify-content: center; }
.checkin-card__title { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 1.6rem; line-height: 1.1; }
.checkin-card__sub { display: block; font-size: .9rem; opacity: .92; margin-top: 2px; }
.checkin-done { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ok); font-weight: 400; }
.check-row { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; cursor: pointer; }
.check-row input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--oxblood); flex-shrink: 0; }
.card--ok { border-color: var(--ok); }
.card--alert { border-color: var(--oxblood); background: var(--oxblood-tint); }

/* =====================================================================
   Desktop and tablet-landscape (Windows/Linux apps, big browsers):
   the bottom menu becomes a charcoal sidebar, content gets room.
   Phones are unchanged.
   ===================================================================== */
.nav-label { display: none; }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
@media (min-width: 1024px) {
  :root { --side: 256px; --gutter: 48px; }
  .app { padding-left: var(--side); padding-bottom: 56px; }
  .app__main { max-width: 1060px; padding: 44px var(--gutter) 0; }
  .app__head { margin-bottom: 30px; }

  .bottom-nav {
    top: 0; bottom: 0; left: 0; right: auto; width: var(--side); height: auto; max-width: none; margin: 0;
    display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 30px 18px;
    background: var(--charcoal); border: 0; border-right: 1px solid var(--line-dark); border-radius: 0;
    grid-template-columns: none !important;
  }
  .bottom-nav::before {
    content: ""; display: block; order: -2; height: 104px; margin: 0 0 26px;
    background: url("../brand/EstatePrive_O1_Primary_Logo_for-dark-backgrounds.svg") no-repeat center / contain;
  }
  .bottom-nav a {
    flex-direction: row; justify-content: flex-start; gap: 14px; min-height: 50px; padding: 0 16px;
    border-radius: 12px; color: var(--stone); font-size: .95rem; letter-spacing: .02em;
  }
  .bottom-nav a:hover { background: var(--charcoal-2); color: var(--cream); }
  .bottom-nav a[aria-current="page"] { background: var(--charcoal-2); color: var(--gold); font-weight: 400; }
  .bottom-nav .plus, .bottom-nav .plus--severina {
    order: -1; justify-self: auto; width: auto; height: auto; min-height: 56px; margin-bottom: 14px;
    border-radius: 14px; background: transparent !important; border: 1px solid var(--gold);
    color: var(--gold) !important; font-family: var(--font-display); letter-spacing: .16em; font-size: 1rem;
  }
  .bottom-nav .plus:hover { background: var(--charcoal-2) !important; }
  .nav-label { display: inline; }

  .actionbar { left: var(--side); bottom: 0; padding: 14px var(--gutter); }
  .actionbar .inner { max-width: 964px; }
  .has-actionbar { padding-bottom: 120px; }

  .composer { left: var(--side); bottom: 0; }
  .composer { max-width: none !important; margin: 0 !important; border-left: 0 !important; border-right: 0 !important;
              padding-left: max(var(--gutter), calc((100vw - var(--side) - 820px) / 2)); padding-right: max(var(--gutter), calc((100vw - var(--side) - 820px) / 2)); }
  .concierge-page .app__main { max-width: 900px; padding-bottom: 130px; }
  html.easy .concierge-page .app__main { padding-bottom: 150px; }

  .list:has(> .product) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .list:has(> .product) > li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
  .easy-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .easy-actions > :first-child { grid-column: 1 / -1; }
  .h1 { font-size: 3rem; }
}
@media (min-width: 1440px) {
  .app__main { max-width: 1180px; }
}

/* ---------- Help at home and providers ---------- */
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.help-tile {
  display: flex; flex-direction: column; gap: 6px; padding: 18px 16px; min-height: 128px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--charcoal); text-decoration: none;
}
.help-tile:hover { border-color: var(--gold); color: var(--charcoal); }
.help-tile__icon { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold); color: var(--oxblood);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--ivory); }
.help-tile__name { font-family: var(--font-heading); font-weight: 600; font-size: 1.2rem; line-height: 1.15; }
.help-tile__sub { font-size: .8rem; color: var(--muted); }
.help-card { padding: 18px 20px; }
.provider-row { display: flex; align-items: center; gap: 14px; color: inherit; text-decoration: none; padding: 4px 0; }
.provider-row:hover { color: var(--oxblood); }
.provider-row__logo { width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px; overflow: hidden; background: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; color: var(--gold-dark); }
.provider-row__logo img { width: 100%; height: 100%; object-fit: cover; }
.provider-row__logo--big { width: 76px; height: 76px; border-radius: 18px; }
.provider-row__name { display: block; font-family: var(--font-heading); font-weight: 600; font-size: 1.25rem; }
.stars { color: var(--gold-dark); letter-spacing: .08em; }
.rate-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rate-form input[type=text] { flex: 1; min-width: 160px; min-height: 40px; border: 1px solid var(--line); border-radius: var(--pill); padding: 0 14px; font: inherit; background: var(--paper); }
.rate-stars { display: inline-flex; flex-direction: row-reverse; }
.rate-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-stars label { font-size: 1.6rem; color: var(--line); cursor: pointer; padding: 0 2px; }
.rate-stars input:checked ~ label, .rate-stars label:hover, .rate-stars label:hover ~ label { color: var(--gold); }
.rate-stars input:focus-visible + label { outline: 2px solid var(--gold); }
.portal { padding-bottom: 60px; }
@media (min-width: 720px) { .help-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .help-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
