/* Cedar Rose palette — sampled from the custom artwork and the physical space */
:root{
  /* Ground — from the lightest print + cream upholstery */
  --cr-linen:#F7F2EC;
  --cr-canvas:#EEE7E1;      /* print-light dominant */
  --cr-veil:#E6DCD6;        /* print-light shadow */
  /* Wall — blush plaster of the lounge */
  --cr-blush-100:#F1E3DA;
  --cr-blush-200:#E6CFC2;
  --cr-blush-300:#D6B6A6;
  /* Rose clay — pillows, social headline rose */
  --cr-clay-400:#B48A7C;
  --cr-clay-600:#8E5448;    /* AA on linen (5.3:1) */
  --cr-clay-700:#74423A;
  /* Umber + ochre — the darker prints */
  --cr-umber-700:#6A4234;
  --cr-umber-800:#4A2F26;
  --cr-ochre-400:#C99A55;
  --cr-ochre-200:#E9D2A8;
  /* Wood + fibre */
  --cr-oak:#C9AA80;
  --cr-jute:#B9A283;
  /* Ink */
  --cr-ink-900:#2E211C;
  --cr-ink-700:#4D3D36;
  --cr-ink-500:#6E5D55;     /* AA on linen (5.6:1) */
  --cr-ink-300:#A8978E;     /* decorative lines only */
  --cr-white:#FFFDFB;
  /* B · Cedar House */
  --cr-cedar-600:#7A3B26;--cr-cedar-900:#3F1F16;--cr-eucalyptus-100:#DCE0D4;--cr-eucalyptus-500:#6E7C66;--cr-oak-100:#EADFCF;
  /* C · Still Room */
  --cr-chalk:#F3F2EF;--cr-stone:#D9D7D2;--cr-graphite:#1B1B19;--cr-slate-500:#64625D;--cr-rose-trace:#9A6457;
  /* Semantic utility */
  --cr-focus:#8E5448;
  --cr-success:#5E6B4E;
  --cr-error:#9A3B2E;

  /* Semantic aliases — default theme = Painted Light */
  --surface-page:var(--cr-linen);
  --surface-raised:var(--cr-white);
  --surface-sunk:var(--cr-canvas);
  --surface-accent:var(--cr-blush-200);
  --surface-inverse:var(--cr-umber-800);
  --text-strong:var(--cr-ink-900);
  --text-body:var(--cr-ink-700);
  --text-muted:var(--cr-ink-500);
  --text-accent:var(--cr-clay-600);
  --text-on-inverse:var(--cr-linen);
  --line:rgba(46,33,28,.14);
  --line-strong:rgba(46,33,28,.32);
  --action-bg:var(--cr-ink-900);
  --action-fg:var(--cr-linen);
  --action-bg-hover:var(--cr-clay-700);
}

:root{
  --font-cormorant:'Cormorant Garamond',Garamond,'Times New Roman',serif;
  --font-jost:'Jost','Futura','Helvetica Neue',sans-serif;
  --font-schibsted:'Schibsted Grotesk','Helvetica Neue',Arial,sans-serif;
  --font-sourceserif:'Source Serif 4',Georgia,serif;
  --font-instrument:'Instrument Sans','Helvetica Neue',Arial,sans-serif;
  --font-instrument-serif:'Instrument Serif',Georgia,serif;
  --font-plexmono:'IBM Plex Mono',ui-monospace,Menlo,monospace;
  --font-hanken:var(--font-instrument);

  /* Semantic — default theme = Painted Light */
  --font-display:var(--font-cormorant);
  --font-body:var(--font-jost);
  --font-label:var(--font-jost);
  --display-weight:300;/* @kind font */
  --label-tracking:.18em;/* @kind font */
  --label-case:uppercase;/* @kind font */

  /* Fluid scale (mobile → desktop) */
  --fs-hero:clamp(48px,7.4vw,112px);/* @kind font */
  --fs-h1:clamp(40px,5vw,72px);/* @kind font */
  --fs-h2:clamp(30px,3.4vw,48px);/* @kind font */
  --fs-h3:clamp(22px,2vw,28px);/* @kind font */
  --fs-lead:clamp(18px,1.4vw,21px);/* @kind font */
  --fs-body:16px;/* @kind font */
  --fs-small:14px;/* @kind font */
  --fs-label:12px;/* @kind font */
  --lh-tight:1.02;/* @kind font */
  --lh-heading:1.12;/* @kind font */
  --lh-body:1.65;/* @kind font */
}

:root{
  --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--space-8:64px;--space-9:96px;--space-10:144px;
  --section-y:clamp(72px,10vw,160px);/* @kind spacing */
  --gutter:clamp(20px,4vw,64px);/* @kind spacing */
  --measure:34em;/* @kind spacing */
  --container:1360px;/* @kind spacing */
  --radius-0:0;--radius-1:2px;--radius-2:6px;--radius-pill:999px;
  --radius-control:var(--radius-pill);
  --shadow-none:none;
  --shadow-soft:0 1px 2px rgba(46,33,28,.04),0 12px 32px -18px rgba(46,33,28,.22);
  --ease-calm:cubic-bezier(.22,.61,.36,1);/* @kind other */
  --dur-quick:180ms;/* @kind other */--dur-calm:420ms;/* @kind other */--dur-slow:900ms;/* @kind other */
}

/* Direction themes. Default :root = A · Painted Light. */
/* A · Painted Light — familiar evolution */
[data-direction="painted-light"]{
  --surface-page:var(--cr-linen);--surface-sunk:var(--cr-canvas);--surface-accent:var(--cr-blush-100);--surface-inverse:var(--cr-umber-800);
  --font-display:var(--font-cormorant);--font-body:var(--font-jost);--font-label:var(--font-jost);--display-weight:300;
  --label-tracking:.18em;--label-case:uppercase;/* @kind font */--radius-control:var(--radius-pill);
  --action-bg:var(--cr-ink-900);--action-fg:var(--cr-linen);--action-bg-hover:var(--cr-clay-700);
}
/* B · Cedar House — meaningful reinterpretation: cedar wood, eucalyptus, linen; sans display + serif body */
[data-direction="cedar-house"]{
  --surface-page:#F5F0E8;--surface-raised:#FFFCF7;--surface-sunk:#EADFCF;--surface-accent:#DCE0D4;--surface-inverse:#3F1F16;
  --text-strong:#2A1712;--text-body:#3F2C24;--text-muted:#6A564B;--text-accent:#7A3B26;--text-on-inverse:#F5F0E8;
  --font-display:var(--font-schibsted);--font-body:var(--font-sourceserif);--font-label:var(--font-schibsted);--display-weight:600;
  --label-tracking:.02em;--label-case:none;/* @kind font */--radius-control:2px;
  --line:rgba(42,23,18,.16);--line-strong:rgba(42,23,18,.5);
  --action-bg:#7A3B26;--action-fg:#FFFCF7;--action-bg-hover:#3F1F16;
}
/* C · The Still Room — sophisticated outlier: mineral, graphite, one rose trace; all-sans + mono */
[data-direction="still-room"]{
  --surface-page:#F3F2EF;--surface-raised:#FAFAF8;--surface-sunk:#E6E4E0;--surface-accent:#D9D7D2;--surface-inverse:#1B1B19;
  --text-strong:#1B1B19;--text-body:#2F2E2B;--text-muted:#64625D;--text-accent:#9A6457;--text-on-inverse:#F3F2EF;
  --font-display:var(--font-instrument);--font-body:var(--font-instrument);--font-label:var(--font-plexmono);--display-weight:400;
  --label-tracking:.02em;--label-case:none;/* @kind font */--radius-control:0;
  --line:rgba(27,27,25,.14);--line-strong:#1B1B19;
  --action-bg:#1B1B19;--action-fg:#FAFAF8;--action-bg-hover:#3A3936;
}

*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--surface-page);color:var(--text-body);font-family:var(--font-body);font-size:var(--fs-body);line-height:var(--lh-body);-webkit-font-smoothing:antialiased}
a{color:var(--text-accent);text-decoration-thickness:1px;text-underline-offset:.2em}
a:hover{color:var(--text-strong)}
:focus-visible{outline:2px solid var(--cr-focus);outline-offset:3px}
img{display:block;max-width:100%}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ---- Painted Light, warm palette (site-wide) ---- */
:root, [data-direction="painted-light"]{ --surface-page: #F9EDE2; --surface-sunk: #F3DFCF; --surface-accent: #F1D8C8; --surface-raised: #FCF6F0; --cr-linen: #FCF6F0; --cr-canvas: #F3DFCF; --text-strong: #3A2A22; --text-body: #5A463C; --text-muted: #6B5045; --text-accent: #8A4A3A; --cr-focus: #8A4A3A; --line: rgba(110,62,40,.16); --line-strong: rgba(110,62,40,.34); --action-bg: #3A2A22; --action-bg-hover: #8A4A3A; --action-fg: #FCF6F0; }
html{ background: #F9EDE2; scroll-behavior: smooth; }
body{ background: #F9EDE2; }
.skip{ position: absolute; left: -9999px; top: 8px; z-index: 10; background: #3A2A22; color: #FCF6F0; padding: 10px 16px; }
.skip:focus{ left: 8px; }
em{ font-style: italic; }
/* Buttons */
.btn{ display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 26px; min-height: 44px; border-radius: var(--radius-pill); font-family: var(--font-label); font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: background var(--dur-quick) var(--ease-calm), color var(--dur-quick) var(--ease-calm), border-color var(--dur-quick) var(--ease-calm); }
.btn-sm{ padding: 9px 18px; min-height: 36px; font-size: 12px; }
.btn-lg{ padding: 17px 34px; }
.btn-primary{ background: var(--action-bg); color: var(--action-fg); }
.btn-primary:hover{ background: var(--action-bg-hover); color: var(--action-fg); }
.btn-secondary{ background: transparent; color: var(--text-strong); border-color: var(--text-strong); }
.btn-secondary:hover{ background: var(--text-strong); color: var(--surface-page); }
.btn-ghost{ background: transparent; color: var(--text-strong); }
.btn-ghost:hover{ background: rgba(110,62,40,.06); color: var(--text-strong); }
.btn-inverse{ background: var(--cr-linen); color: #3A2A22; }
.btn-inverse:hover{ background: #F1D8C8; color: #3A2A22; }
.btn-link{ padding: 4px 0; min-height: 0; border-radius: 0; background: none; color: var(--text-strong); border: 0; border-bottom: 1px solid var(--line-strong); }
.btn-link:hover{ color: var(--text-strong); border-bottom-color: var(--text-accent); }
/* Eyebrow + tags */
.eyebrow{ display: flex; align-items: baseline; gap: 12px; font-family: var(--font-label); font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); }
.eyebrow.accent{ color: var(--text-accent); }
.eyebrow .num{ font-variant-numeric: tabular-nums; }
.tag{ display: inline-flex; align-items: center; min-height: 26px; padding: 3px 10px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); color: var(--text-body); font-family: var(--font-label); font-size: 12px; letter-spacing: .04em; }
/* Photos */
.photo{ position: relative; width: 100%; overflow: hidden; background: var(--surface-sunk); }
.photo img{ width: 100%; height: 100%; object-fit: cover; }
.photo.placeholder{ display: flex; align-items: flex-end; background-image: repeating-linear-gradient(135deg, transparent 0 11px, rgba(110,62,40,.05) 11px 12px); }
.photo.placeholder span{ margin: 12px; padding: 4px 8px; background: var(--surface-raised); font-size: 11px; letter-spacing: .06em; color: var(--text-muted); }
/* Service tiles */
.tile{ display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; }
.tile .photo img{ transition: transform var(--dur-slow) var(--ease-calm); }
.tile:hover .photo img{ transform: scale(1.02); }
.tile h3{ margin: 0; font-family: var(--font-display); font-weight: 300; font-size: 28px; line-height: 1.1; color: var(--text-strong); }
.tile p{ margin: 0; font-size: 15px; color: var(--text-body); text-wrap: pretty; }
.tile .by{ font-size: 13px; color: var(--text-muted); }
.tile:hover h3{ color: var(--text-accent); }
/* Amenities */
.amenity{ display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line-strong); }
.amenity .swatch{ width: 28px; height: 28px; border-radius: 50%; }
.amenity h4{ margin: 0; font-family: var(--font-display); font-weight: 300; font-size: 26px; line-height: 1.1; color: var(--text-strong); }
.amenity p{ margin: 0; font-size: 15px; color: var(--text-body); text-wrap: pretty; }
/* Header */
.site-header nav a:hover{ color: var(--text-accent) !important; }
@media (max-width: 720px){
  .site-header nav{ order: 4 !important; flex-basis: 100% !important; justify-content: flex-start !important; gap: 0 20px !important; }
}
/* Forms */
input, textarea, select, button{ font: inherit; }
/* Booking */
.booking-frame{ border: 1px solid var(--line-strong); background: var(--surface-raised); box-shadow: var(--shadow-soft); }
.booking-frame iframe{ display: block; width: 100%; height: 88vh; min-height: 720px; border: 0; }
details summary{ cursor: pointer; list-style-position: inside; }

/* Five ways to rest — horizontal scroll */
#five-ways .hs-track{ display: flex; gap: 32px; width: max-content; padding: 0 var(--g); }
#five-ways{ --cw: min(calc((100vw - 2 * var(--g) - 1.7 * 32px) / 2.7), 560px); }
#five-ways .hs-card{ flex: 0 0 auto; width: var(--cw); }
#five-ways .hs-card .photo{ aspect-ratio: auto !important; height: max(200px, min(var(--cw), calc(100vh - 440px))); }
#five-ways:not(.hs-live) .hs-pin{ overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--g); -webkit-overflow-scrolling: touch; }
#five-ways:not(.hs-live) .hs-card{ scroll-snap-align: start; }
#five-ways:not(.hs-live) .hs-hint{ display: none; }
#five-ways.hs-live .hs-pin{ position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 72px !important; padding-bottom: 40px !important; }
#five-ways .hs-track{ will-change: transform; }
@media (max-width: 720px){
  #five-ways .hs-track{ gap: 18px; }
  #five-ways{ --cw: calc((100vw - 2 * var(--g)) / 1.25); }
  #five-ways .hs-card .photo{ height: max(200px, min(var(--cw), calc(100vh - 400px))); }
}

/* Blush cursor glow */
.cr-glow{ position: fixed; left: 0; top: 0; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; z-index: 40;
  background: radial-gradient(circle at 50% 50%, rgba(226,160,150,.34) 0%, rgba(232,178,165,.20) 34%, rgba(240,200,185,0) 68%);
  mix-blend-mode: multiply; opacity: 0; transition: opacity .9s var(--ease-calm); will-change: transform; }
.cr-glow.on{ opacity: 1; animation: cr-breathe 7s ease-in-out infinite; }
@keyframes cr-breathe{ 0%,100%{ filter: blur(8px); } 50%{ filter: blur(18px); } }

/* ---- Motion (only when JS adds .motion and the visitor allows motion) ---- */
.motion .rv{ opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity 1s var(--ease-calm) var(--d, 0ms), transform 1.1s var(--ease-calm) var(--d, 0ms); }
.motion .rv.in{ opacity: 1; transform: none; }
.motion h1.lines .ln{ display: inline-block; opacity: 0; transform: translate3d(0, .35em, 0); animation: cr-line 1.2s var(--ease-calm) forwards; animation-delay: calc(250ms + var(--i) * 220ms); }
@keyframes cr-line{ to{ opacity: 1; transform: none; } }
.af-bg{ will-change: transform; }
/* 4 · treatment tiles */
.tile{ transition: transform .6s var(--ease-calm); }
.tile .photo{ transition: box-shadow .6s var(--ease-calm); }
.tile .photo::after{ content: ""; position: absolute; inset: 0; background: rgba(226,160,150,.0); mix-blend-mode: multiply; transition: background .6s var(--ease-calm); pointer-events: none; }
.tile:hover, .motion .tile.rv.in:hover{ transform: translateY(-6px); }
.tile:hover .photo{ box-shadow: 0 24px 48px -28px rgba(110,62,40,.45); }
.tile:hover .photo::after{ background: rgba(226,160,150,.22); }
.tile:hover .photo img{ transform: scale(1.035); }
/* 5 · hallway curtain */
.motion .curtain{ clip-path: inset(0 100% 0 0); transition: clip-path 1.8s cubic-bezier(.65,.05,.25,1); }
.motion .curtain img{ transform: scale(1.08); transition: transform 2.4s var(--ease-calm); }
.motion .curtain.in{ clip-path: inset(0 0 0 0); }
.motion .curtain.in img{ transform: none; }
@media (prefers-reduced-motion: reduce){ .af-bg{ transform: none !important; } }
