/* ==========================================================================
   La Maison de Saule — No. 6
   Built for iPhone first (~390px). Two breakpoints widen it: 640px for
   tablets and 1024px for desktop. Colours are tokens on :root — change one
   there, not in the markup.
   ========================================================================== */

:root {
  --ground: #FBF6EE;
  --surface: #FFFDF9;
  --surface-2: #F4ECE0;
  --ink: #302A2C;
  --ink-soft: #6C6062;
  --ink-faint: #958A8A;
  --line: #E2D7C7;
  --accent: #6D2B43;
  --accent-bg: #6D2B43;
  --accent-on: #FDF4EE;
  --blush: #B07289;
  --blush-wash: #F5E8EA;
  --sage: #76886A;
  --sage-wash: #E9EDE3;
  --gold: #A98340;
  --shadow: 0 1px 2px rgba(48, 42, 44, .05), 0 8px 24px -14px rgba(48, 42, 44, .2);
  --radius: 14px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: #1B1618;
    --surface: #241E21;
    --surface-2: #2C2427;
    --ink: #F2E8E1;
    --ink-soft: #B7A8A6;
    --ink-faint: #8D7F7E;
    --line: #3C3236;
    --accent: #E7A6BA;
    --accent-bg: #7C3350;
    --accent-on: #FFF2F5;
    --blush: #D7A0AF;
    --blush-wash: #33232A;
    --sage: #A5B996;
    --sage-wash: #262C25;
    --gold: #D7B36F;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 26px -16px rgba(0, 0, 0, .8);
  }
}

:root[data-theme="dark"] {
  --ground: #1B1618;
  --surface: #241E21;
  --surface-2: #2C2427;
  --ink: #F2E8E1;
  --ink-soft: #B7A8A6;
  --ink-faint: #8D7F7E;
  --line: #3C3236;
  --accent: #E7A6BA;
  --accent-bg: #7C3350;
  --accent-on: #FFF2F5;
  --blush: #D7A0AF;
  --blush-wash: #33232A;
  --sage: #A5B996;
  --sage-wash: #262C25;
  --gold: #D7B36F;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 26px -16px rgba(0, 0, 0, .8);
}

* { box-sizing: border-box; }

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

html, body { margin: 0; }

body {
  background: var(--ground);
  color: var(--ink);
  font-family: "Jost", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: "Bodoni Moda", Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-wrap: balance;
  margin: 0;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }

button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--blush); outline-offset: 3px; border-radius: 4px; }

/* ---------- masthead ---------- */

.bar {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.bar-mark { display: flex; align-items: center; gap: 8px; margin-right: auto; min-width: 0; }
.bar-logo { width: 24px; height: auto; flex: none; }
.bar-name {
  font-family: "Parisienne", cursive;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--accent);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 6px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: .82rem;
  cursor: pointer;
}
.bar-btn:hover { border-color: var(--blush); color: var(--accent); }

/* ---------- page frame ---------- */

.wrap { max-width: 640px; margin: 0 auto; padding: 16px; padding-block: 26px 60px; }

.eyebrow {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blush);
  margin: 0 0 10px;
}

.page-title { font-size: clamp(1.85rem, 7vw, 2.4rem); line-height: 1.1; letter-spacing: -.01em; }
.lede { font-size: 1.04rem; color: var(--ink-soft); margin: 12px 0 0; max-width: 34em; }

p { margin: .9em 0 0; max-width: 36em; }

.stack { display: flex; flex-direction: column; gap: 24px; margin-top: 26px; }

/* ---------- home ---------- */

.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.hero-logo { width: min(250px, 58vw); height: auto; }
.hero-script {
  font-family: "Parisienne", cursive;
  font-size: clamp(2rem, 10vw, 2.8rem);
  line-height: 1.1;
  color: var(--accent);
  margin: 6px 0 0;
}
.hero-place {
  font-size: .68rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 8px;
}
.hero-photo { margin-top: 22px; }

.pull {
  margin: 26px 0 0;
  padding: 0 0 0 16px;
  border-left: 2px solid var(--blush);
  font-family: "Bodoni Moda", Georgia, serif;
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.5;
}
.pull footer {
  font-family: "Jost", sans-serif;
  font-style: normal;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 10px;
}

.divider { display: flex; align-items: center; gap: 12px; margin: 30px 0 0; }
.divider::before, .divider::after { content: ""; height: 1px; background: var(--line); flex: 1; }
.divider span { width: 5px; height: 5px; border-radius: 50%; background: var(--blush); flex: none; }

/* ---------- quick help ---------- */

.quick { margin-top: 26px; }
.quick-label { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: .9rem;
  cursor: pointer;
}
.chip:hover { background: var(--blush-wash); border-color: var(--blush); color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--blush); border-color: var(--blush); color: var(--accent-on); }

/* ---------- tiles ---------- */

.tiles { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
.tile {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 62px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.tile:hover { border-color: var(--blush); }
.tile-name { font-family: "Bodoni Moda", Georgia, serif; font-size: 1.08rem; line-height: 1.25; }
.tile-meta { font-size: .82rem; color: var(--ink-faint); }
.tile.feature { background: var(--sage-wash); border-color: transparent; }
.tile.arrival { background: var(--blush-wash); border-color: transparent; }

/* ---------- content pieces ---------- */

.card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.card h3 { font-size: 1.14rem; }
.card > p:first-of-type { margin-top: 6px; }

.note { padding: 15px 18px; border-radius: var(--radius); background: var(--sage-wash); }
.note p { margin-top: 6px; }
.note p:first-child { margin-top: 0; }
.note-title {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage);
  font-weight: 500;
}

/* Key/value instruction rows. Stacked on a phone, side by side once there
   is room — a fixed label column squeezes the text at 390px. */
.step { padding: 11px 0; border-top: 1px solid var(--line); }
.step:first-of-type { border-top: 0; padding-top: 0; }
.step-key {
  display: block;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 3px;
}
.step-val { margin: 0; }
.step-val strong { font-weight: 500; color: var(--accent); }

/* Outstanding items. Delete the whole <p class="todo"> once answered. */
.todo {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 14px 0 0;
  padding: 11px 14px;
  border-left: 2px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: color-mix(in srgb, var(--gold) 12%, var(--ground));
  font-size: .9rem;
  color: var(--ink-soft);
}
.todo b {
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

ul.plain { margin: 10px 0 0; padding-left: 1.1em; }
ul.plain li { margin-bottom: 5px; }
ul.plain li::marker { color: var(--blush); }

.pairs { display: grid; gap: 10px; margin-top: 16px; grid-template-columns: repeat(2, 1fr); }
.pair { padding: 13px 14px; border-radius: var(--radius); background: var(--surface-2); }
.pair dt { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }
.pair dd { margin: 3px 0 0; font-family: "Bodoni Moda", Georgia, serif; font-size: 1.02rem; }

.dials { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); margin-top: 16px; }
.dial { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: var(--radius); background: var(--blush-wash); }
.dial b {
  font-family: "Bodoni Moda", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.dial span { font-size: .8rem; color: var(--ink-soft); line-height: 1.25; }

.callnow {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin-top: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--accent-bg);
  color: var(--accent-on);
  font-size: 1rem;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}

/* ---------- photos ---------- */

figure { margin: 0; }

/* Sources are mostly 3:4 phone portraits, so that is the default and nothing
   is cropped. .land / .wide / .sq are for landscape originals only. */
figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--surface-2);
}
figure img.arch {
  border-radius: 46% 46% var(--radius) var(--radius) / 26% 26% var(--radius) var(--radius);
  aspect-ratio: 4 / 4.6;
}
figure img.land { aspect-ratio: 4 / 3; }
figure img.wide { aspect-ratio: 16 / 10; }
figure img.sq { aspect-ratio: 1 / 1; }
figure img.free { aspect-ratio: auto; object-fit: contain; }

/* A single portrait photo sits centred rather than stranded on the left. */
figure.narrow { max-width: 300px; margin-inline: auto; }
figure.narrow figcaption { text-align: center; }

.ph-frame {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 5px;
  aspect-ratio: 3 / 4;
  max-width: 100%;
  padding: 13px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, transparent 0 11px, color-mix(in srgb, var(--blush) 8%, transparent) 11px 12px),
    var(--surface-2);
  overflow: hidden;
}
.ph-frame.arch { border-radius: 46% 46% var(--radius) var(--radius) / 26% 26% var(--radius) var(--radius); aspect-ratio: 4 / 4.6; }
.ph-frame.land { aspect-ratio: 4 / 3; }
.ph-frame.wide { aspect-ratio: 16 / 10; }

.ph-tag {
  align-self: flex-start;
  padding: 3px 9px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.ph-file {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: .7rem;
  line-height: 1.3;
  color: var(--ink-soft);
  word-break: break-word;
}

figcaption { margin-top: 7px; font-size: .82rem; color: var(--ink-faint); }

.gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); margin-top: 18px; }
/* odd one out on the two-column grid sits centred rather than stranded left */
.gallery > figure:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 5px); }

/* ---------- if you love… ---------- */

.loves { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.love { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; font-size: .86rem; background: var(--surface); }

/* ---------- review form ---------- */

.rate { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); flex-wrap: wrap; }
.rate-label { flex: 1 1 9rem; font-size: .94rem; }
.pips { display: flex; gap: 6px; }
.pip {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
  padding: 0;
}
.pip[aria-pressed="true"] { background: var(--blush); border-color: var(--blush); }

textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  resize: vertical;
}
label.field { display: block; margin-top: 16px; font-size: .9rem; color: var(--ink-soft); }

/* ---------- foot nav ---------- */

.foot { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.foot button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: .9rem;
  cursor: pointer;
}
.foot button:hover { border-color: var(--blush); color: var(--accent); }
.foot .primary { background: var(--accent-bg); border-color: var(--accent-bg); color: var(--accent-on); }

.closing { text-align: center; padding: 38px 0 0; }
.closing h2 { font-family: "Parisienne", cursive; font-size: 1.9rem; color: var(--accent); font-weight: 400; }
.closing p { margin: 10px auto 0; max-width: 24em; color: var(--ink-soft); }
.closing .hero-place { margin-top: 16px; }

/* Build notes. Remove before real guests see the site. */
.builder {
  margin-top: 34px;
  padding: 14px 16px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-size: .84rem;
  color: var(--ink-faint);
}
.builder b { color: var(--ink-soft); font-weight: 500; }

/* ---------- utilities ---------- */

h2.sub { font-size: 1.4rem; }
.mt-l { margin-top: 24px; }

.tile, .chip, .bar-btn, .foot button {
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

/* ---------- wider screens ---------- */

@media (min-width: 640px) {
  .wrap { padding: 20px; padding-block: 34px 72px; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tile.wide { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: 10px; flex-wrap: wrap; }
  .tile.wide .tile-meta { margin-left: auto; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .gallery > figure:last-child:nth-child(odd) { grid-column: auto; justify-self: stretch; width: auto; }
  .pairs, .dials { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .step { display: grid; grid-template-columns: 6rem 1fr; gap: 14px; align-items: baseline; }
  .step-key { margin-bottom: 0; font-size: .72rem; }
  figure.narrow { max-width: 340px; }
}

@media (min-width: 1024px) {
  .wrap { max-width: 720px; }
  .page-title { font-size: 2.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
