/* ==========================================================================
   House of Lu — Design Concierge refinement layer
   Loaded AFTER style.css. One type system, readable sizes, WCAG-AA contrast,
   consistent interaction states. Delete this file to see the original.

   Type system
     Display  Cormorant Garamond  (headings, pull-quotes, prices)
     UI/body  Inter               (everything you read or click)
   Scale (desktop)  12 / 14 / 16 / 18–19 / 24 / 34 / 44–76 / 56–120
   ========================================================================== */

:root {
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Colour (muted text darkened to >= 7:1 on cream) */
  --ink: #302b25;
  --text: #5c534a;
  --muted: #5c534a;
  --brown: #695746;
  --brown-deep: #54443a;
  --accent: #8a7460;
  --cream: #faf8f4;
  --pale: #eee8df;
  --line: #d6ccbf;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --section-y: clamp(72px, 9vw, 140px);
}

html {
  scroll-padding-top: 104px;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--brown);
  color: var(--cream);
}

/* ---------- Unified type families ---------------------------------------- */

body :is(p, li, a, button, input, select, textarea, label, summary, small, legend, figcaption, output, b, dt, dd) {
  font-family: var(--sans) !important;
}
body :is(h1, h2, h3, h4),
body :is(h1, h2, h3, h4) em,
body .hero-note span,
body .hero-note i,
body .ribbon span,
body .number,
body .starting-price strong,
body .brand,
body .brand span {
  font-family: var(--serif) !important;
}
body .brand small {
  font-family: var(--sans) !important;
}

/* ---------- Headings ----------------------------------------------------- */

body h1 {
  font-size: clamp(56px, 7.6vw, 118px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  font-weight: 400;
}
body h2 {
  font-size: clamp(42px, 4.9vw, 78px);
  line-height: 1;
  letter-spacing: -0.015em;
  font-weight: 400;
}
body h3 {
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.005em;
  font-weight: 400;
}
body h4 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 500;
}
body h1 em,
body h2 em {
  color: var(--accent);
}

/* ---------- Copy --------------------------------------------------------- */

body p,
body li {
  font-weight: 300;
}
body .intro {
  max-width: 34em;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--text);
}
body .section-head p:not(.eyebrow),
body .consult-strip p,
body .in-person-day-copy p:not(.included),
body .features p,
body .questions p,
body .partner-intro,
body .partner-benefits p,
body .partner-steps p,
body .concierge-footer p {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--text);
}
body .features p,
body .partner-steps p {
  font-size: 17px;
}
body .fine,
body .included,
body .starting-price {
  font-size: 13px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--muted);
}
body .starting-price strong {
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
}

/* Eyebrows: small caps labels, kept legible */
body .eyebrow {
  font-size: 12px;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--brown);
}

/* ---------- Header ------------------------------------------------------- */

.concierge-header {
  min-height: 84px;
  background: rgba(250, 248, 244, 0.86);
  backdrop-filter: saturate(1.1) blur(14px);
  -webkit-backdrop-filter: saturate(1.1) blur(14px);
  border-bottom: 1px solid rgba(214, 204, 191, 0.7);
}
.concierge-header .brand {
  font-size: 20px;
  letter-spacing: 0.16em;
}
.concierge-header .brand small {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--muted);
}
.concierge-header #nav > a {
  position: relative;
  padding: 10px 2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink);
  text-decoration: none;
}
.concierge-header #nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.concierge-header #nav > a:hover::after,
.concierge-header #nav > a:focus-visible::after {
  transform: scaleX(1);
}

/* ---------- Buttons & links ---------------------------------------------- */

body .button,
body button.button {
  min-height: 54px;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  border-radius: 2px;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
body .button.small {
  min-height: 46px;
  padding: 0 22px;
  font-size: 12px;
}
body .button:hover {
  background: var(--brown-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -14px rgba(48, 43, 37, 0.55);
}
body .button:active {
  transform: translateY(0);
}
body .button .action-icon,
body .text-link .action-icon {
  transition: transform 0.3s var(--ease);
}
body .button:hover .action-icon,
body .text-link:hover .action-icon {
  transform: translateX(4px);
}
body .text-link {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}

/* One consistent, visible focus ring */
:focus-visible {
  outline: 3px solid var(--brown);
  outline-offset: 3px;
  border-radius: 2px;
}
.dark :focus-visible {
  outline-color: #e6d9c8;
}

/* ---------- Section rhythm ----------------------------------------------- */

body .section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
body .section-head {
  margin-bottom: clamp(36px, 4vw, 64px);
}

/* Tagline ribbon */
body .ribbon span {
  font-size: clamp(20px, 2vw, 28px);
  font-style: italic;
  color: var(--ink);
}

/* "At a glance" proof strip */
.glance {
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.glance ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--gutter, 32px);
  list-style: none;
}
.glance li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px 24px;
  border-left: 1px solid var(--line);
}
.glance li:first-child {
  border-left: 0;
  padding-left: 0;
}
.glance strong {
  font: 500 24px/1.15 var(--serif);
  color: var(--ink);
}
.glance span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------- Cards -------------------------------------------------------- */

body #how .paths > a > span {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}
body .paths h3 {
  font-size: clamp(30px, 2.6vw, 38px);
}

/* Imagery: consistent, gentle hover on galleries */
.in-person-gallery img,
.boards img,
.consult-strip img {
  transition: transform 0.9s var(--ease);
}
.in-person-gallery img:hover {
  transform: scale(1.015);
}

body .hero-note {
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.25;
}

/* ---------- Dark partner section ----------------------------------------- */

.dark .eyebrow {
  color: #d9c6ae;
}
.dark p,
.dark li {
  color: #e7dccd;
}
body .dark .partner-benefits p,
body .dark .partner-steps p,
body .dark .partner-intro {
  color: #e2d6c6;
  font-size: 17px;
}
.dark h2 em {
  color: #d9c6ae;
}

/* ---------- FAQ ---------------------------------------------------------- */

body .faq summary {
  padding: 22px 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  cursor: pointer;
}
body .faq details {
  transition: background-color 0.3s var(--ease);
}

/* ---------- Booking form ------------------------------------------------- */

body form label,
body form legend {
  display: block;
  margin: 18px 0 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
body form input:not([type="checkbox"]),
body form select,
body form textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  font-size: 16px; /* 16px stops iOS zooming on focus */
  color: var(--ink);
  background: #fff;
  border: 1px solid #b9ad9d;
  border-radius: 2px;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
body form input:not([type="checkbox"]):focus,
body form select:focus,
body form textarea:focus {
  outline: none;
  border-color: var(--brown);
  box-shadow: 0 0 0 3px rgba(105, 87, 70, 0.25);
}
body form ::placeholder {
  color: #7a7066;
  opacity: 1;
}
body form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-height: 0;
  accent-color: var(--brown);
}
body #service-options {
  grid-template-columns: minmax(0, 1fr);
}
body #service-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 400;
  border: 1px solid var(--line);
  border-radius: 2px;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
body #service-options label:hover {
  border-color: var(--accent);
  background: #fff;
}

/* ---------- Footer ------------------------------------------------------- */

body .concierge-footer nav a,
body .concierge-footer a:not(.brand) {
  font-size: 14px;
  font-weight: 500;
}

/* ---------- Skip link ---------------------------------------------------- */

.skip-link:focus {
  outline: 3px solid var(--brown);
}

/* ---------- Scroll reveal (enabled by concierge-refresh.js) --------------- */

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.js-reveal [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Mobile sticky CTA -------------------------------------------- */

.sticky-cta {
  display: none;
}

/* ---------- Responsive --------------------------------------------------- */

@media (max-width: 900px) {
  .glance ul {
    grid-template-columns: 1fr 1fr;
  }
  .glance li:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .glance li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 800px) {
  body {
    font-size: 16px;
  }
  body h1 {
    font-size: clamp(48px, 14vw, 64px);
  }
  body h2 {
    font-size: clamp(36px, 10vw, 48px);
  }
  .sticky-cta {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    background: var(--brown);
    color: var(--cream);
    font: 500 13px/1 var(--sans);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 2px;
    box-shadow: 0 16px 36px -12px rgba(48, 43, 37, 0.6);
    transform: translateY(140%);
    transition: transform 0.4s var(--ease);
  }
  .sticky-cta.is-visible {
    transform: none;
  }
}

/* ---------- Reduced motion ----------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Logo mark ships on a white square; blend it into the cream background. */
.brand img {
  mix-blend-mode: multiply;
}

body .caption {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
}

body .brand small {
  font-size: 10px;
}


/* ---------- One text system (matches the Design Concept section) ---------- */

/* Card labels use the same label style as every eyebrow. */
body #how .paths > a > span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
}
/* Notes sit under copy in the same colour as paragraphs. */
body .fine,
body .included {
  font-size: 13px;
  line-height: 1.6;
  font-weight: 300;
  color: var(--text);
}

/* Keep the One-Day Design note identical to the Design Concept note. */
body #in-person .in-person-day-copy > .included {
  font-size: 13px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  padding: 15px 0 0;
  border-top: 1px solid #cabead;
}
/* Partner CTA: one line, sized to its text with the same padding and height
   as the other primary buttons (e.g. "Move forward with your design"). */
body .partner-head .button {
  flex: none;
  width: auto;
  min-width: 0;
  min-height: 54px;
  padding: 15px 24px;
  white-space: nowrap;
}
@media (max-width: 800px) {
  body .partner-head .button {
    width: 100%;
    justify-content: space-between;
  }
}

/* ---------- Weight pass: everything reads in the same light voice ---------- */

/* FAQ questions: light, like the answers beneath them. */
body .faq summary {
  font-weight: 300;
}

/* Titles inside lists/steps match the other serif headings (regular, not medium). */
body h4,
body .glance strong {
  font-weight: 400;
}
body .features li > span,
body .partner-steps li > span {
  font-family: var(--serif) !important;
}

/* Quiet UI links and option labels. */
body .text-link,
body .concierge-footer a:not(.brand) {
  font-weight: 400;
}
body #service-options label {
  font-weight: 300;
}

/* Light text on the dark partners section reads heavier than dark-on-light at
   the same weight, so step one notch thinner to match the other sections. */
body .dark :is(p, li):not(.eyebrow),
body .dark .partner-benefits p,
body .dark .partner-steps p,
body .dark .partner-intro {
  font-weight: 200;
}

/* ---------- Booking form: same text system as the rest of the page --------- */

/* Field labels = the same small-caps label style as every eyebrow. */
body form label,
body form legend {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown);
}

/* What people type reads like body copy: light, 17px. */
body form input:not([type="checkbox"]),
body form select,
body form textarea {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
}
body form ::placeholder {
  font-weight: 300;
  color: #7a7066;
}

/* Option checkboxes: paragraph colour and weight, no label-caps. */
body form #service-options label {
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text);
}

/* Short bullet list beside the form matches paragraphs. */
body #book ul li {
  font-size: 17px;
  line-height: 1.7;
  font-weight: 300;
  color: var(--text);
}

/* Messages */
body #form-error {
  font-size: 13px;
  font-weight: 300;
}

/* Dropdowns: custom chevron with breathing room from the right edge */
body form select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 52px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%235a4636' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 22px center;
  background-size: 14px 9px;
}
body form input[type="date"]::-webkit-calendar-picker-indicator { margin-right: 6px; }

body form input:disabled { background: #f3eee6; border-color: #d8cfc2; color: #8b7f70; cursor: not-allowed; }
body form input:disabled::placeholder { color: #a99d8e; }

/* Radios in the "what you need" group look like the checkbox cards. */
body form input[type="radio"] {
  width: 20px;
  height: 20px;
  min-height: 0;
  padding: 0;
  border: 0;
  background: none;
  accent-color: var(--brown);
}
body form input[type="file"] {
  padding: 14px 16px;
  cursor: pointer;
}
body form label .opt {
  margin-left: 8px;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #7a7066;
}

/* Consultation form: room between the fields and the step buttons */
#request .actions {
  margin-top: 28px;
}

/* Switched-off dropdowns (date and time for partnership inquiries) */
body form select:disabled,
body form input[type="date"]:disabled {
  background-color: #f3eee6;
  border-color: #d8cfc2;
  color: #8b7f70;
  cursor: not-allowed;
}

/* ---------- Service cards: Concept Planning / Virtual Design / One-Day Styling ---------- */
body #how .paths.service-cards > a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 190px;
  gap: 16px;
  padding: 32px 20px;
  text-align: center;
  border: 1px solid var(--line);
}
body #how .paths.service-cards > a > h3 {
  margin: 0;
  font-size: clamp(30px, 2.8vw, 36px);
  line-height: 1.05;
}
body #how .paths.service-cards > a > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}
@media (max-width: 1000px) {
  body #how .paths.service-cards {
    grid-template-columns: minmax(0, 1fr);
    max-width: 420px;
    margin-inline: auto;
  }
}
/* ---------- Concierge footer: centered, copyright under the tagline ---------- */
footer.concierge-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}
footer.concierge-footer .foot-tagline {
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
}
footer.concierge-footer .foot-tagline em {
  color: var(--brown);
}
footer.concierge-footer .concierge-copyright {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* Hero: a little less space above and below the content. */
body .hero {
  min-height: 630px;
  padding-top: 44px;
  padding-bottom: 70px;
}
@media (min-width: 1500px) {
  body .hero {
    min-height: 710px;
  }
}

/* Resident Experiences: an editorial collection within the Concierge palette. */
.resident-experiences { position: relative; isolation: isolate; overflow: hidden; }
.resident-heading { width: 100%; margin-bottom: clamp(40px,5vw,64px); }
.resident-heading h2 { margin-bottom: 28px; text-align: left; }
.resident-heading .eyebrow { text-align: left; }
.resident-heading p:not(.eyebrow) { max-width: none; font-size: 17px; line-height: 1.7; }
.resident-heading .resident-lead { color: #f5efe6; margin-bottom: 12px; }
.resident-experience-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-auto-rows: 1fr; gap: 22px; }
.resident-card {
  position: relative; min-width: 0; padding: clamp(38px,4.5vw,64px) clamp(30px,3.8vw,56px); border-radius: 2px;
  border: 1px solid rgba(194,167,138,.25); background: rgba(250,248,244,.025);
  transition: border-color .5s var(--ease), background-color .5s var(--ease);
}
.resident-card:hover { border-color: rgba(194,167,138,.65); background: rgba(250,248,244,.055); }
body .resident-card h3 { display: flex; align-items: baseline; gap: 18px; font-size: clamp(28px,2.5vw,36px); margin: 0 0 22px; }
body .resident-number { flex: 0 0 28px; color: #c2a78a; font: 400 24px/1.2 var(--serif); font-variant-numeric: lining-nums; }
.resident-card > p:not(.eyebrow) { font-size: 17px; line-height: 1.7; min-height: 5.1em; max-width: 48ch; margin: 0; text-wrap: pretty; }
.resident-invitation { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 24px 40px; margin-top: 52px; padding-top: 40px; border-top: 1px solid #6b5c4d; }
.resident-invitation > .eyebrow { grid-column: 1 / -1; margin: 0; }
body .resident-invitation h3 { font-size: clamp(30px,3vw,44px); line-height: 1.15; margin-bottom: 0; }
.resident-invitation h3 em { color: #d9c6ae; }
.resident-invitation .button { flex: none; width: auto; max-width: 100%; padding-inline: 24px; white-space: normal; text-align: left; margin-left: auto; }
.resident-welcome { margin-top: 28px; max-width: 82ch; }
.resident-welcome p { font-size: 14px; line-height: 1.8; margin: 0; }
.resident-welcome a { color: inherit; text-underline-offset: 5px; text-decoration-color: #a8937b; }
@media (max-width: 900px) { .resident-invitation { grid-template-columns: 1fr; gap: 26px; } .resident-invitation .button { margin-left: 0; justify-self: start; } }
@media (max-width: 600px) {
  .resident-experience-grid { grid-template-columns: 1fr; gap: 16px; }
  .resident-invitation { margin-top: 36px; padding-top: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .resident-card { transition: none; }
}

@media (max-width: 600px) {
  body .resident-card h3 { gap: 14px; }
  body .resident-number { flex-basis: 24px; font-size: 21px; }
}

/* Consultation photography uses the same generous 4:3 framing as the galleries. */
body .consult-strip {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) minmax(0, 2fr);
  gap: 30px;
  align-items: center;
}
body .consult-strip img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 3px;
}
body .consult-strip > div { min-width: 0; }
@media (max-width: 700px) {
  body .consult-strip {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 20px;
  }
  body .consult-strip > .number { align-self: start; }
  body .consult-strip > div { grid-column: 1 / -1; }
}

/* Three partnership offerings retain the existing card treatment. */
body .resident-card > .eyebrow { margin: 0 0 20px; min-height: 2.8em; line-height: 1.4; }
body .resident-card h3 {
  font-size: clamp(22px, 1.9vw, 28px);
  white-space: nowrap;
  min-height: calc(clamp(28px, 2.5vw, 36px) * 2.24);
}
.resident-invitation .partnership-support { margin: 20px 0 0; max-width: 54ch; font-size: 17px; line-height: 1.7; }
@media (max-width: 1100px) {
  .resident-experience-grid { grid-template-columns: 1fr; }
}

/* Keep the existing spacious card heights while using one consistent body style. */
.resident-card > p:not(.eyebrow) {
  width: 100%;
  min-height: 11.9em;
  text-wrap: balance;
}
@media (max-width: 1100px) {
  .resident-card > p:not(.eyebrow) { min-height: 6.8em; }
}
@media (max-width: 600px) {
  .resident-card > p:not(.eyebrow) { min-height: 10.2em; }
}
