/* Bespoke Massage & Wellness: Biscuit version 2 ("Slow down").
   Circles that breathe, blossoms drawn from the logo's line art, night plum and lamp gold. */

@font-face { font-family: "Gloock"; src: url("fonts/gloock-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Pinyon Script"; src: url("fonts/pinyon-script-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Albert Sans"; src: url("fonts/albert-sans-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }

:root {
  --night: #241820;
  --plum: #3b2533;
  --gold: #e2b36f;
  --gold-deep: #9a6a2c;
  --blush: #f3e6ee;
  --blush-2: #ead5e1;
  --rose: #c48aa0;
  --ink: #2a1b24;
  --ink-soft: #6b4a5c;
  --mist: #d4c2cc;
  --cream: #faf3f7;
  --display: "Gloock", "Iowan Old Style", Georgia, serif;
  --script: "Pinyon Script", "Snell Roundhand", cursive;
  --body: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--night); color: var(--cream); font: 400 1.0625rem/1.6 var(--body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; line-height: 1.05; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.spa :focus-visible, .cabin :focus-visible, .menu-card :focus-visible { outline-color: var(--ink); }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.script { font-family: var(--script); font-weight: 400; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--ink); padding: 10px 14px; z-index: 40; text-decoration: none; }
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 28px; padding: 10px var(--gutter); background: rgba(36, 24, 32, .9); border-bottom: 1px solid rgba(226, 179, 111, .16); }
@supports (backdrop-filter: blur(10px)) { .site-header { background: rgba(36, 24, 32, .72); backdrop-filter: blur(10px); } }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; margin-right: auto; }
.brand .script { font-size: 2.3rem; line-height: 1; color: var(--gold); }
.brand-sub { font-size: .82rem; color: var(--mist); letter-spacing: .03em; }
.site-header nav { display: flex; gap: 24px; }
.site-header nav a { text-decoration: none; font-size: .95rem; color: var(--mist); padding: 8px 0; background: linear-gradient(var(--gold), var(--gold)) left bottom / 0 1px no-repeat; transition: background-size .3s, color .3s; }
.site-header nav a:hover { color: var(--cream); background-size: 100% 1px; }
.call-link { text-decoration: none; color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; border: 1px solid rgba(226, 179, 111, .55); padding: 8px 16px; border-radius: 999px; transition: background-color .25s, color .25s; }
.call-link:hover { background: var(--gold); color: var(--ink); }

/* Hero */
.hero-band { overflow: hidden; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; max-width: 1360px; margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--gutter) clamp(64px, 8vw, 120px); }
.hero::before { content: ""; position: absolute; right: -10%; top: 10%; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(226, 179, 111, .16), rgba(226, 179, 111, 0) 62%); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin-bottom: 28px; }
.big { display: block; font-size: clamp(4.4rem, 12.5vw, 11.5rem); line-height: .9; letter-spacing: -.02em; }
.big.indent { padding-left: .55em; color: var(--gold); }
.what { display: block; font-family: var(--body); font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; letter-spacing: .01em; margin-top: 22px; color: var(--cream); line-height: 1.3; }
.hero-copy > p { font-size: 1.1rem; max-width: 38ch; color: var(--mist); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; min-height: 54px; padding: 0 28px; background: var(--gold); color: var(--ink); font-weight: 600; text-decoration: none; border-radius: 999px; box-shadow: 0 0 0 0 rgba(226, 179, 111, .5); transition: box-shadow .35s, background-color .35s; }
.button:hover { background: #ecc387; box-shadow: 0 0 0 8px rgba(226, 179, 111, .18); }
.quiet-link { color: var(--cream); text-underline-offset: 6px; text-decoration-color: rgba(226, 179, 111, .7); padding: 12px 0; }

/* The porthole: the cabin in a circle that breathes on a 10 second cycle */
.porthole-wrap { position: relative; justify-self: center; width: min(100%, 560px); }
.porthole { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px rgba(226, 179, 111, .5), 0 0 0 14px rgba(226, 179, 111, .07), 0 30px 90px rgba(226, 179, 111, .22); animation: breathe 10s ease-in-out infinite; }
.porthole img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transform: scale(1.06); }
.porthole-wrap::before { content: ""; position: absolute; inset: -6%; border-radius: 50%; border: 1px solid rgba(226, 179, 111, .35); animation: halo 10s ease-in-out infinite; pointer-events: none; }
@keyframes breathe { 0%, 100% { transform: scale(.955); } 50% { transform: scale(1); } }
@keyframes halo { 0%, 100% { transform: scale(.94); opacity: .2; } 50% { transform: scale(1.02); opacity: .9; } }
.breathe-cue { margin: 26px auto 0; text-align: center; font-size: .9rem; color: var(--mist); max-width: 30ch; }

/* Blossoms: line art after the logo, drawn in once on load */
.blossoms { position: absolute; left: -16%; bottom: 2%; width: 62%; z-index: 3; fill: none; stroke: var(--rose); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.blossoms .branch { stroke: var(--gold); stroke-width: 1.2; }
.draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 3.2s .4s cubic-bezier(.4, 0, .2, 1) forwards; }
.draw .branch { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s .2s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Japanese head spa: stepping stones sized by minutes */
.spa { background: var(--blush); color: var(--ink); padding: clamp(64px, 9vw, 128px) var(--gutter); position: relative; overflow: hidden; }
.spa-head { max-width: 1200px; margin: 0 auto clamp(40px, 5vw, 72px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 24px; align-items: end; }
.spa h2 { font-size: clamp(2.8rem, 7vw, 6rem); letter-spacing: -.015em; }
.spa-head p { color: var(--ink-soft); max-width: 32ch; margin: 0; }
.stones { --u: 2.2px; --b: 40px; list-style: none; margin: 0 auto; padding: 0; max-width: 1200px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; position: relative; }
.stones::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(42, 27, 36, .25); z-index: 0; }
.stone { position: relative; z-index: 1; flex: none; width: calc(var(--b) + var(--m) * var(--u)); aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: radial-gradient(circle at 32% 28%, #57384a, var(--plum) 55%, #2b1a25); color: var(--cream); box-shadow: 0 18px 40px rgba(59, 37, 51, .28); transition: transform .4s cubic-bezier(.3, 1.4, .5, 1); }
.stone:hover { transform: translateY(-8px); }
.s45 { --m: 45; } .s60 { --m: 60; } .s90 { --m: 90; } .s120 { --m: 120; }
.mins { font-family: var(--display); font-size: calc(var(--m) * var(--u) * .3 + 14px); line-height: 1; }
.unit { font-size: .8rem; color: var(--mist); margin-top: 4px; }
.cost { margin-top: 8px; font-weight: 600; color: var(--gold); font-size: calc(var(--m) * var(--u) * .07 + 12px); }

/* Massage */
.massage { max-width: 1200px; margin: 0 auto; padding: clamp(64px, 9vw, 128px) var(--gutter); display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.massage-head { position: sticky; top: 110px; }
.massage h2 { font-size: clamp(2.8rem, 7vw, 6rem); color: var(--gold); margin-bottom: 20px; }
.massage-head p { color: var(--mist); max-width: 30ch; }
.session-list { list-style: none; margin: 0; padding: 0; }
.session-list li { display: grid; grid-template-columns: minmax(0, 1fr) 4.5rem 3.5rem; grid-template-areas: "name time price" "bar bar bar"; align-items: baseline; gap: 10px 16px; padding: 18px 0 16px; border-bottom: 1px solid rgba(212, 194, 204, .14); }
.name { grid-area: name; font-size: 1.1rem; }
.time { grid-area: time; color: var(--mist); font-variant-numeric: tabular-nums; font-size: .95rem; text-align: right; }
.price { grid-area: price; text-align: right; font-family: var(--display); font-size: 1.45rem; color: var(--cream); }
.bar { grid-area: bar; display: block; height: 2px; position: relative; background: linear-gradient(90deg, rgba(226, 179, 111, .25), var(--gold)); border-radius: 2px; }
.bar::after { content: ""; position: absolute; right: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px rgba(226, 179, 111, .8); }
.d30 { width: 25%; } .d45 { width: 37.5%; } .d60 { width: 50%; } .d75 { width: 62.5%; } .d90 { width: 75%; } .d120 { width: 100%; }

/* Beauty menu card, framed like the logo */
.beauty { padding: clamp(40px, 6vw, 96px) var(--gutter) clamp(64px, 9vw, 128px); background: linear-gradient(var(--night), var(--plum)); }
.menu-card { position: relative; max-width: 1120px; margin: 0 auto; background: var(--blush); color: var(--ink); padding: clamp(32px, 6vw, 80px); border-radius: 2px; outline: 1px solid var(--gold-deep); outline-offset: -14px; box-shadow: 0 40px 100px rgba(0, 0, 0, .35); overflow: hidden; }
.corner { position: absolute; width: 16px; height: 16px; background: var(--gold-deep); clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%); }
.tl { left: 6px; top: 6px; } .tr { right: 6px; top: 6px; } .bl { left: 6px; bottom: 6px; } .br { right: 6px; bottom: 6px; }
.card-blossom { position: absolute; right: -40px; top: -40px; width: 260px; fill: none; stroke: var(--rose); stroke-width: 1.1; opacity: .55; pointer-events: none; }
.menu-head { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; padding-bottom: 28px; border-bottom: 1px solid var(--gold-deep); margin-bottom: 36px; }
.menu-head h2 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.menu-head p { color: var(--ink-soft); margin: 0; max-width: 34ch; }
.menu-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px clamp(32px, 6vw, 88px); }
.menu-col h3 { font-size: 1.55rem; margin: 0 0 8px; color: var(--ink); }
.menu-col table + h3 { margin-top: 40px; }
.menu-col table { width: 100%; border-collapse: collapse; }
.menu-col th, .menu-col td { padding: 11px 0; border-bottom: 1px dotted rgba(107, 74, 92, .45); vertical-align: baseline; }
.menu-col th { text-align: left; font-weight: 400; padding-right: 16px; }
.menu-col td { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }

/* Cabin */
.cabin { background: var(--blush-2); color: var(--ink); }
.cabin > * { position: relative; }
.cabin { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 112px); align-items: center; padding: clamp(64px, 9vw, 128px) max(var(--gutter), calc((100vw - 1200px) / 2)); }
.collage { position: relative; padding: 0 18% 22% 0; }
.c-out { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.c-in { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 8px solid var(--blush-2); box-shadow: 0 20px 50px rgba(42, 27, 36, .3); }
.cabin h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin-bottom: 24px; max-width: 12ch; }
.cabin-copy p { color: var(--ink-soft); max-width: 40ch; }

/* Book */
.book { position: relative; text-align: center; padding: clamp(80px, 11vw, 160px) var(--gutter); overflow: hidden; }
.book-blossom { position: absolute; left: 50%; top: 50%; width: min(90vw, 620px); transform: translate(-50%, -50%) rotate(12deg); fill: none; stroke: var(--rose); stroke-width: .6; opacity: .22; pointer-events: none; }
.book > *:not(svg) { position: relative; }
.book h2 { font-family: var(--script); font-size: clamp(2.6rem, 6vw, 4rem); color: var(--rose); line-height: 1.2; }
.phone { display: inline-block; font-family: var(--display); font-size: clamp(2.8rem, 10vw, 7.5rem); line-height: 1.1; color: var(--gold); text-decoration: none; margin: 8px 0 24px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.phone:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 12px; }
.book p { max-width: 46ch; margin: 0 auto; color: var(--mist); }
.book p a { color: var(--cream); text-underline-offset: 4px; }

.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding: 24px var(--gutter); font-size: .9rem; color: var(--mist); border-top: 1px solid rgba(212, 194, 204, .14); }
.site-footer p { margin: 0; }
.site-footer .script { font-size: 1.6rem; color: var(--gold); }
.site-footer a { text-underline-offset: 3px; }

.call-bar { display: none; }

/* Tablet */
@media (max-width: 899px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 32px; }
  .porthole-wrap { order: -1; width: min(86%, 460px); margin-bottom: 8px; }
  .blossoms { left: -14%; width: 56%; }
  .spa-head, .massage, .cabin, .menu-head, .menu-columns { grid-template-columns: 1fr; }
  .massage-head { position: static; }
  .menu-col + .menu-col { margin-top: 12px; }
  .stones { --u: 1.6px; }
  .collage { max-width: 520px; }
}

/* Phone */
@media (max-width: 599px) {
  .call-link { display: none; }
  .hero .button { display: none; }
  .breathe-cue { display: none; }
  .blossoms { left: -18%; bottom: -10%; width: 58%; }
  .actions { margin-top: 16px; }
  .stones { --u: .9px; --b: 50px; flex-wrap: wrap; justify-content: center; gap: 16px; }
  .stones::after { display: none; }
  .unit { font-size: .72rem; }
  .card-blossom { width: 170px; }
  .call-bar { display: flex; position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 35; min-height: 52px; align-items: center; justify-content: center; background: var(--gold); color: var(--ink); font-weight: 600; text-decoration: none; border-radius: 999px; box-shadow: 0 6px 24px rgba(0, 0, 0, .4); }
  body { padding-bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .porthole, .porthole-wrap::before { animation: none; }
  .draw, .draw .branch { animation: none; stroke-dashoffset: 0; }
  .breathe-cue { display: none; }
  * { transition: none !important; }
}
