/* Nora Whitfield sample: "Slate & linen". Own brand, every rule scoped under .nw (see tests/samples.test.js). */
:root {
  --nw-linen: #f4efe7;
  --nw-ink: #26323b;
  --nw-slate: #4f6b7d;
  --nw-slate-soft: #7d9aab;
  --nw-slate-deep: #34505f;
  --nw-hairline: #dcd3c5;
  --nw-muted: #5f686e;
  --nw-card: #ffffff;
  --nw-arch: #cfd9df;
  --nw-serif: 'Newsreader', Georgia, serif;
  --nw-sans: 'Public Sans', system-ui, sans-serif;
  --nw-radius: 4px;
}

.nw, .nw *, .nw *::before, .nw *::after { box-sizing: border-box; }
.nw [hidden] { display: none !important; }
.nw { background: var(--nw-linen); color: var(--nw-ink); font: 400 17px/1.7 var(--nw-sans); overflow-x: clip; }
.nw h1, .nw h2, .nw h3, .nw p, .nw ol, .nw ul, .nw figure { margin: 0; padding: 0; }
.nw h1, .nw h2, .nw h3 { font-family: var(--nw-serif); font-weight: 400; color: var(--nw-ink); line-height: 1.2; }
.nw h1 { font-size: clamp(32px, 8vw, 50px); margin-bottom: 22px; }
.nw h1 em, .nw h2 em { font-style: italic; color: var(--nw-slate); }
.nw h2 { font-size: clamp(26px, 5.5vw, 34px); margin-bottom: 18px; }
.nw h3 { font-size: 22px; font-weight: 500; margin-bottom: 6px; line-height: 1.25; }
.nw p + p { margin-top: 14px; }
.nw .nw-h1-sm { font-size: clamp(30px, 7vw, 42px); }
.nw .nw-sub { margin-top: 30px; }

.nw .nw-wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 16px; }
.nw .nw-narrow { max-width: 680px; }
.nw .nw-center { text-align: center; }
.nw .nw-band { padding: 48px 0 52px; }
.nw .nw-band--top { padding-top: 44px; }
.nw .nw-band--white { background: var(--nw-card); border-top: 1px solid var(--nw-hairline); border-bottom: 1px solid var(--nw-hairline); }
.nw .nw-band--close { background: var(--nw-linen); border-top: 1px solid var(--nw-hairline); }
.nw .nw-kicker { font-size: 13.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--nw-slate); margin-bottom: 14px; }
.nw .nw-lead { font-size: 18px; color: var(--nw-muted); max-width: 32em; }
.nw .nw-center .nw-lead { margin-left: auto; margin-right: auto; }

/* Header and footer */
.nw .nw-header { border-bottom: 1px solid var(--nw-hairline); }
.nw .nw-header-in { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 16px; padding-top: 16px; padding-bottom: 16px; }
.nw .nw-logo { font: 500 20px/1.2 var(--nw-serif); }
.nw .nw-role { font-size: 14px; color: var(--nw-muted); }
.nw .nw-footer { border-top: 1px solid var(--nw-hairline); padding: 22px 0; }
.nw .nw-disclaimer { font-size: 14px; color: var(--nw-muted); text-align: center; }

/* Buttons and links */
.nw .nw-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 26px; }
.nw .nw-actions--center { align-items: center; }
.nw .nw-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
  background: var(--nw-slate-deep); color: #fff; border: 0; border-radius: 6px; cursor: pointer;
  font: 600 16px/1.2 var(--nw-sans); text-decoration: none; transition: background 0.15s;
}
@media (hover: hover) { .nw .nw-btn:hover { background: var(--nw-ink); } }
.nw .nw-link { color: var(--nw-slate-deep); text-decoration: underline; text-underline-offset: 3px; font-size: 16px; }
.nw .nw-btn:focus-visible, .nw .nw-link:focus-visible, .nw .nw-q summary:focus-visible { outline: 3px solid var(--nw-slate); outline-offset: 3px; }

/* Hero and photo */
.nw .nw-hero { padding: 44px 0 0; border-bottom: 1px solid var(--nw-hairline); }
.nw .nw-hero-grid { display: grid; gap: 36px; align-items: end; }
.nw .nw-hero-copy { align-self: center; }
.nw .nw-hero-media { display: flex; justify-content: center; }
.nw .nw-photo { width: 100%; max-width: 260px; aspect-ratio: 4 / 5; border-radius: 999px 999px 4px 4px; background: var(--nw-arch); border: 1px solid var(--nw-hairline); overflow: hidden; }
.nw .nw-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.nw .nw-photo--placeholder { display: flex; align-items: center; justify-content: center; color: var(--nw-slate-deep); font: 400 clamp(48px, 14vw, 76px)/1 var(--nw-serif); letter-spacing: 0.04em; }
.nw .nw-photo--tiny { width: 44px; max-width: 44px; flex: none; }
.nw .nw-photo--tiny.nw-photo--placeholder { font-size: 15px; }
/* Hero: Nora cut out inside a slate arch that stands on the bottom of the hero. */
.nw .nw-photo--hero { max-width: 300px; border: 0; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, var(--nw-arch) 0%, #b9c8d2 100%); }
.nw .nw-photo--hero img { object-fit: cover; object-position: 70% 100%; }

/* Lists and boxes */
.nw .nw-list { list-style: none; }
.nw .nw-list li { background: var(--nw-card); border: 1px solid var(--nw-hairline); border-left: 4px solid var(--nw-slate-soft); border-radius: var(--nw-radius); padding: 16px 18px; }
.nw .nw-list li + li { margin-top: 12px; }
.nw .nw-box { background: var(--nw-card); border: 1px solid var(--nw-hairline); border-left: 4px solid var(--nw-slate-soft); border-radius: var(--nw-radius); padding: 20px 22px; }
.nw .nw-band--white .nw-box { background: var(--nw-linen); }
.nw .nw-box-title { font-size: 13.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nw-slate); margin-bottom: 8px; }
.nw .nw-ticks { list-style: none; }
.nw .nw-ticks li { position: relative; padding-left: 26px; }
.nw .nw-ticks li + li { margin-top: 6px; }
.nw .nw-ticks li::before { content: ''; position: absolute; left: 2px; top: 0.75em; width: 12px; height: 2px; background: var(--nw-slate); }

/* Process: serif numerals on a thin line */
.nw .nw-process { list-style: none; position: relative; margin-top: 34px; }
.nw .nw-pstep { display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; position: relative; padding-bottom: 28px; }
.nw .nw-pstep:last-child { padding-bottom: 0; }
.nw .nw-pstep::before { content: ''; position: absolute; left: 14px; top: 44px; bottom: 8px; width: 1px; background: var(--nw-slate-soft); }
.nw .nw-pstep:last-child::before { display: none; }
.nw .nw-pnum { font: 400 40px/1 var(--nw-serif); color: var(--nw-slate); }

/* Fees: hairline rows */
.nw .nw-fees { width: 100%; border-collapse: collapse; margin-top: 8px; }
.nw .nw-fees th, .nw .nw-fees td { text-align: left; padding: 16px 0; border-top: 1px solid var(--nw-hairline); vertical-align: baseline; }
.nw .nw-fees tr:last-child th, .nw .nw-fees tr:last-child td { border-bottom: 1px solid var(--nw-hairline); }
.nw .nw-fees th { font-weight: 400; padding-right: 16px; }
.nw .nw-fees td { text-align: right; font: 500 22px/1.3 var(--nw-serif); white-space: nowrap; }
.nw .nw-fine { font-size: 14px; color: var(--nw-muted); margin-top: 12px; }
.nw .nw-fine-lead { margin-top: 14px; }

/* FAQ */
.nw .nw-q { border-top: 1px solid var(--nw-hairline); }
.nw .nw-q:last-child { border-bottom: 1px solid var(--nw-hairline); }
.nw .nw-q summary { list-style: none; cursor: pointer; padding: 16px 36px 16px 0; position: relative; font-weight: 600; }
.nw .nw-q summary::-webkit-details-marker { display: none; }
.nw .nw-q summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 26px/1 var(--nw-serif); color: var(--nw-slate); }
.nw .nw-q[open] summary::after { content: '\2212'; }
.nw .nw-q p { padding: 0 0 18px; color: var(--nw-ink); }

@media (min-width: 720px) {
  .nw { font-size: 18px; }
  .nw .nw-hero { padding: 64px 0 0; }
  .nw .nw-hero-grid { grid-template-columns: 1.5fr 1fr; gap: 56px; }
  .nw .nw-hero-copy { padding-bottom: 72px; }
  .nw .nw-photo { max-width: 340px; }
  .nw .nw-photo--hero { max-width: 380px; }
  .nw .nw-band { padding: 64px 0 68px; }
  .nw .nw-actions { flex-direction: row; align-items: center; gap: 28px; }
  .nw .nw-actions--center { justify-content: center; }
  .nw .nw-pstep { grid-template-columns: 56px 1fr; }
  .nw .nw-pstep::before { left: 18px; }
}

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

/* Booking form, confirmation and email */
.nw .nw-privacy { margin: 28px 0 28px; }
.nw .nw-form { background: var(--nw-card); border: 1px solid var(--nw-hairline); border-radius: var(--nw-radius); padding: 22px 18px 26px; }
.nw .nw-fields { display: grid; gap: 16px; margin-bottom: 24px; }
.nw .nw-field { display: block; }
.nw .nw-field > span { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.nw .nw-field input, .nw .nw-field textarea { width: 100%; font: 400 17px/1.4 var(--nw-sans); color: var(--nw-ink); background: var(--nw-linen); border: 1px solid var(--nw-slate); border-radius: var(--nw-radius); padding: 12px 14px; min-height: 48px; }
.nw .nw-field textarea { resize: vertical; }
.nw .nw-field--note { margin-top: 16px; }
.nw .nw-field input:focus-visible, .nw .nw-field textarea:focus-visible, .nw .nw-opt input:focus-visible + span { outline: 3px solid var(--nw-slate); outline-offset: 2px; }
.nw .nw-fieldset { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.nw .nw-fieldset legend { font-weight: 600; padding: 0; margin-bottom: 10px; }
.nw .nw-opts { display: grid; gap: 10px; }
.nw .nw-opt { display: block; position: relative; cursor: pointer; }
.nw .nw-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.nw .nw-opt span { display: block; padding: 13px 16px 13px 44px; min-height: 48px; background: var(--nw-linen); border: 1px solid var(--nw-hairline); border-radius: var(--nw-radius); position: relative; }
.nw .nw-opt span::before { content: ''; position: absolute; left: 15px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 1.5px solid var(--nw-slate); border-radius: 50%; background: var(--nw-card); }
.nw .nw-opt input:checked + span { border-color: var(--nw-slate); background: var(--nw-card); box-shadow: inset 4px 0 0 var(--nw-slate-soft); }
.nw .nw-opt input:checked + span::before { background: radial-gradient(circle, var(--nw-slate-deep) 0 4px, var(--nw-card) 5px); border-color: var(--nw-slate-deep); }
.nw .nw-form .nw-btn { width: 100%; }

.nw .nw-block { margin-top: 40px; }
.nw .nw-process--tight { margin-top: 22px; }
.nw .nw-slotcard { background: var(--nw-card); border: 1px solid var(--nw-hairline); border-left: 4px solid var(--nw-slate-soft); border-radius: var(--nw-radius); padding: 20px 22px; display: grid; gap: 6px; justify-items: start; }
.nw .nw-slotcard-when { font: 500 clamp(26px, 6vw, 34px)/1.2 var(--nw-serif); }
.nw .nw-slotcard-meta { color: var(--nw-muted); font-size: 15px; }
.nw .nw-block + .nw-btn, .nw .nw-mail + .nw-btn { margin-top: 36px; }

.nw .nw-mail { background: var(--nw-card); border: 1px solid var(--nw-hairline); border-radius: var(--nw-radius); margin-top: 28px; overflow: hidden; }
.nw .nw-mail-head { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-bottom: 1px solid var(--nw-hairline); }
.nw .nw-mail-from, .nw .nw-mail-to { font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.nw .nw-mail-to { color: var(--nw-muted); margin: 0; }
.nw .nw-mail p + p.nw-mail-to { margin-top: 0; }
.nw .nw-mail-subject { font: 500 22px/1.3 var(--nw-serif); padding: 16px 18px 0; }
.nw .nw-mail-body { padding: 14px 18px 22px; }
.nw .nw-mail-fine { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--nw-hairline); font-size: 14px; color: var(--nw-muted); }
.nw .nw-mail-fine p + p { margin-top: 8px; }

@media (min-width: 720px) {
  .nw .nw-form { padding: 30px 32px 34px; }
  .nw .nw-fields { grid-template-columns: 1fr 1fr; }
  .nw .nw-opts--row { grid-template-columns: 1fr 1fr; }
  .nw .nw-form .nw-btn { width: auto; }
  .nw .nw-mail-head, .nw .nw-mail-body { padding-left: 28px; padding-right: 28px; }
  .nw .nw-mail-subject { padding-left: 28px; padding-right: 28px; }
}

.nw .nw-mail-call { margin-top: 20px; padding: 14px 16px; background: var(--nw-linen); border-left: 4px solid var(--nw-slate-soft); border-radius: var(--nw-radius); font-size: 16px; }
.nw .nw-mail-call p + p { margin-top: 6px; }
