/* Example Salon, createdbykujo
   ---------------------------------------------------------------
   Deliberately not the default landing-page stack. Three rules hold
   the look together:
     1. Corners are square. The ONLY curve on the page is the arch,
        which is a real salon/deco reference (arched mirrors), so it
        reads as a decision instead of a default border-radius.
     2. Nothing is centred except the closing panel. The hero splits
        7/5, type bleeds off the left edge, the arch bleeds off the
        right, and the stamp straddles the seam.
     3. Prices are a printed menu with dot leaders, not feature cards.
   --------------------------------------------------------------- */

:root {
  --bg: #f4efe9;      /* warm oatmeal, not white */
  --paper: #fbf8f4;
  --ink: #1e1a19;
  --muted: #7d7169;
  --accent: #8c3f4d;  /* oxblood */
  --brass: #b08d57;
  --line: #ddd2c5;
  --display: "Bodoni Moda", Didot, Georgia, serif;
  --body: "Jost", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; }

/* Film grain over the whole page. Paper has tooth; flat gradients are
   the fastest way to look machine-made. */
.grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

/* ---------- bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 24px; padding: 18px clamp(18px, 4vw, 46px);
  background: var(--bg); border-bottom: 1px solid var(--line);
}
.logo { font-family: var(--display); font-size: 1.32rem; letter-spacing: .01em; }
.logo em { font-style: italic; color: var(--accent); }
.links { display: flex; align-items: baseline; gap: clamp(14px, 2.4vw, 30px); font-size: .84rem; }
.links a { color: var(--muted); letter-spacing: .04em; padding-bottom: 2px; }
.links a:hover { color: var(--ink); box-shadow: inset 0 -1px 0 var(--accent); }
.links .book { color: var(--ink); box-shadow: inset 0 -1.5px 0 var(--accent); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: grid; grid-template-columns: 7fr 5fr; align-items: end;
  gap: clamp(24px, 4vw, 60px);
  padding: clamp(40px, 7vw, 90px) 0 clamp(50px, 8vw, 110px) clamp(18px, 4vw, 46px);
  /* clips the arch's deliberate right-edge bleed. `clip`, not `hidden`:
     overflow:hidden here (or on body) creates a scroll container and breaks
     page scrolling outright. */
  overflow-x: clip;
}
.est {
  margin: 0 0 26px; font-size: .76rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted);
}
.hero h1 {
  /* runs slightly off the left edge — the page starts before the viewport */
  margin: 0 0 26px -.06em;
  font-size: clamp(3.1rem, 8.4vw, 7.2rem);
  line-height: .92; letter-spacing: -.02em;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.sub { margin: 0 0 26px; max-width: 42ch; color: var(--muted); font-size: 1.02rem; }

.under {
  display: inline-block; font-size: .92rem; letter-spacing: .04em;
  padding-bottom: 3px; box-shadow: inset 0 -1.5px 0 var(--accent);
  transition: box-shadow .18s, color .18s;
}
.under:hover { color: var(--accent); box-shadow: inset 0 -3px 0 var(--accent); }
.under.light { color: var(--paper); box-shadow: inset 0 -1.5px 0 var(--brass); }
.under.light:hover { color: var(--brass); box-shadow: inset 0 -3px 0 var(--brass); }

.hours {
  margin: 46px 0 0; padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 4px 34px; max-width: 46ch;
}
.hours div { display: flex; align-items: baseline; gap: 9px; }
.hours dt { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hours dd { margin: 0; font-family: var(--display); font-size: 1rem; }

/* the one curve on the page */
.hero-arch {
  position: relative; min-height: clamp(320px, 52vw, 560px);
  border-radius: 50vw 50vw 0 0;
  background:
    radial-gradient(120% 80% at 30% 12%, rgba(255,255,255,.34), transparent 60%),
    linear-gradient(168deg, #a8586a 0%, #8c3f4d 44%, #4a2730 100%);
  box-shadow: inset 0 0 0 1px rgba(30,26,25,.12);
  /* bleeds off the right edge of the viewport */
  margin-right: calc(clamp(18px, 4vw, 46px) * -1);
}
.arch-label {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  color: rgba(251,248,244,.82); font-size: .72rem;
  letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
}

/* Rotated stamp, pinned to the arch's own left edge so it always straddles
   the seam no matter how the 7/5 split resolves. */
.stamp {
  position: absolute; z-index: 3; left: 0; bottom: 15%;
  transform: translateX(-50%) rotate(-11deg);
  display: grid; place-items: center; text-align: center;
  width: 112px; height: 112px; border-radius: 50%;
  border: 1.5px solid var(--brass); background: var(--bg);
  font-size: .7rem; line-height: 1.5; letter-spacing: .14em;
  text-transform: uppercase; color: var(--brass);
}

/* ---------- price list ---------- */
.menu {
  padding: clamp(50px, 8vw, 110px) clamp(18px, 4vw, 46px);
  border-top: 1px solid var(--line);
}
.menu-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 5vw, 70px); align-items: end; margin-bottom: 52px; }
.menu-head h2 { font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1; }
.menu-head p { margin: 0; color: var(--muted); max-width: 46ch; font-size: .95rem; }

.menu-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px clamp(40px, 7vw, 100px); }
.group h3 {
  font-family: var(--body); font-weight: 500;
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
  padding-bottom: 10px; border-bottom: 1.5px solid var(--ink);
}
.group ul { list-style: none; margin: 0; padding: 0; }
.group li {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 0; border-bottom: 1px dotted var(--line);
}
/* dot leaders, the way a printed menu sets a price list */
.group li::after {
  content: ""; order: 1; flex: 1 1 auto; height: 0;
  border-bottom: 1px dotted var(--line); transform: translateY(-4px);
}
.group li span { order: 0; }
.group li b { order: 2; font-family: var(--display); font-weight: 500; font-size: 1.06rem; }
.group li b.free {
  font-family: var(--body); font-weight: 400; font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--brass);
}
.menu-note {
  margin: 46px 0 0; padding-top: 18px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: .92rem; max-width: 62ch;
}

/* ---------- look book ---------- */
.looks {
  padding: clamp(50px, 8vw, 110px) clamp(18px, 4vw, 46px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 5vw, 70px);
}
.looks-h { font-size: clamp(2rem, 5vw, 3.4rem); line-height: .9; }

/* unequal on purpose: a 6-column grid with tiles of three different spans,
   and two of them nudged off the baseline */
.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.plate {
  position: relative; display: flex; align-items: flex-end;
  min-height: 190px; padding: 16px; overflow: hidden;
  color: var(--paper); box-shadow: inset 0 0 0 1px rgba(30,26,25,.14);
  transition: transform .22s ease;
}
.plate:hover { transform: translateY(-5px); }
.plate .n {
  position: absolute; top: 14px; left: 16px;
  font-family: var(--display); font-size: .8rem; opacity: .7;
}
.plate .t { font-family: var(--display); font-size: 1.24rem; line-height: 1.15; max-width: 12ch; }

.p1 { grid-column: span 4; min-height: 300px; background: linear-gradient(150deg, #8c3f4d, #d29aa4); }
.p2 { grid-column: span 2; background: linear-gradient(150deg, #7a5c34, #c9a878); margin-top: 34px; }
.p3 { grid-column: span 2; background: linear-gradient(150deg, #2c2528, #6b5560); }
.p4 { grid-column: span 2; background: linear-gradient(150deg, #4a4145, #8d8087); margin-top: -22px; }
.p5 { grid-column: span 2; background: linear-gradient(150deg, #5d2a3c, #ab6b7f); }

/* ---------- the room ---------- */
.room {
  padding: clamp(50px, 8vw, 110px) clamp(18px, 4vw, 46px);
  border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 4fr 6fr; gap: clamp(28px, 5vw, 80px);
  align-items: end;
}
.room-arch {
  min-height: clamp(260px, 34vw, 430px);
  border-radius: 50vw 50vw 0 0;
  background:
    radial-gradient(110% 70% at 40% 14%, rgba(255,255,255,.3), transparent 62%),
    linear-gradient(200deg, #c9a878 0%, #b08d57 40%, #5c4526 100%);
  box-shadow: inset 0 0 0 1px rgba(30,26,25,.12);
}
.kick { margin: 0 0 16px; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.room-copy .big {
  font-family: var(--display); font-size: clamp(1.4rem, 2.9vw, 2.3rem);
  line-height: 1.24; margin: 0 0 22px; max-width: 24ch;
}
.room-copy p { color: var(--muted); max-width: 54ch; }
.room-copy p em { font-style: italic; color: var(--ink); }
.sign { margin-top: 22px; font-family: var(--display); font-style: italic; color: var(--ink) !important; }

/* ---------- cta ---------- */
.cta { padding: clamp(18px, 4vw, 46px); }
.cta-inner {
  background: var(--ink); color: var(--paper); text-align: center;
  padding: clamp(50px, 8vw, 100px) 24px;
  border-radius: 50vw 50vw 0 0;
}
.cta h2 { font-size: clamp(2rem, 5.5vw, 3.6rem); margin-bottom: 12px; }
.cta p { margin: 0 0 26px; color: rgba(251,248,244,.6); font-size: .95rem; }

/* ---------- footer ---------- */
.foot {
  text-align: center; padding: 30px 24px 70px;
  font-size: .84rem; color: var(--muted);
}
.foot a { box-shadow: inset 0 -1px 0 var(--accent); color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; align-items: start; padding-right: clamp(18px, 4vw, 46px); }
  .hero-arch { margin-right: 0; min-height: 300px; order: 2; }
  /* stacked, the arch label sits along the bottom, so the stamp moves to the
     opposite corner rather than landing on top of it */
  .stamp { left: auto; right: 7%; bottom: auto; top: 8%; transform: rotate(-11deg); }
  .menu-head { grid-template-columns: 1fr; }
  .looks, .room { grid-template-columns: 1fr; }
  .room-arch { order: 2; }
}
@media (max-width: 640px) {
  .menu-cols { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .p1 { grid-column: span 2; }
  .p2, .p3, .p4, .p5 { grid-column: span 1; margin-top: 0; }
  .stamp { width: 92px; height: 92px; font-size: .62rem; }
}
@media (max-width: 460px) {
  /* the bar gets cramped enough that the logo and every link wrap; drop it
     to a two-row block instead of fighting for one line */
  .bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .links { gap: 16px; font-size: .78rem; }
  .logo { font-size: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plate { transition: none; }
}

/* cross-template switcher */
.tpl-switch { border-top: 1px solid var(--line); padding: 34px 22px 30px; text-align: center; }
.tpl-switch .tpl-switch-label { display: block; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; opacity: .55; margin-bottom: 14px; }
.tpl-switch a { display: inline-block; margin: 4px 5px; padding: 6px 15px; border: 1px solid var(--line); font-size: .85rem; color: var(--muted); transition: color .15s, border-color .15s; }
.tpl-switch a:hover { color: var(--ink); border-color: var(--ink); }
.tpl-switch a.here { color: var(--ink); border-color: var(--ink); }
