/* One motif: the studio's day dial. The circle is the hero, every photo mask, every button and the footer mark. */
:root {
  --bg: #ffffff;          /* the studio's white walls */
  --surface: #f2efec;
  --tan: #cfb192;         /* the brand's illustration circle */
  --tan-soft: #e2cdb6;
  --ink: #3a1a0d;
  --accent: #652a14;      /* the logo's brown */
  --accent-ink: #ffffff;

  --font: 'Roundo', ui-rounded, 'Nunito', 'Segoe UI', system-ui, sans-serif;
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --step-display: clamp(2.5rem, 0.4rem + 5vw, 6.5rem);

  --margin: clamp(16px, 2.4vw, 36px);
  --section: clamp(120px, 13vw, 200px);
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-entrance: cubic-bezier(.16, .84, .44, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.5; font-weight: 400;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--tan); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons: one shape, fully round, like the motif */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 1.6em; border-radius: 999px; border: 0;
  background: var(--accent); color: var(--accent-ink);
  font: 500 var(--step-body)/1 var(--font); text-decoration: none; cursor: pointer;
  transition: transform 180ms var(--ease-out), background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}
.btn:hover { background: var(--ink); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--small { min-height: 44px; padding: 0 1.25em; }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ink:hover { background: var(--accent); }
.btn--tan { background: var(--tan); color: var(--ink); }
.btn--tan:hover { background: var(--bg); color: var(--ink); }
.textlink { font-weight: 500; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .25em; transition: color 160ms; }
.textlink:hover { color: var(--accent); text-decoration-color: var(--tan); }

/* Bar */
.bar {
  display: flex; align-items: center; gap: clamp(16px, 3vw, 48px);
  padding: 18px var(--margin); position: relative; z-index: 3;
}
.bar__mark img { width: 132px; height: auto; }
.bar__nav { display: flex; gap: clamp(16px, 2.2vw, 32px); margin-left: auto; font-size: var(--step-body); }
.bar__nav a { text-decoration: none; transition: color 160ms; }
.bar__nav a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .3em; }
@media (max-width: 860px) { .bar__nav { display: none; } .bar .btn { margin-left: auto; } }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: max(620px, calc(100svh - 81px));
  display: flex; align-items: center;
  padding-inline: var(--margin);
}
.hero__text { position: relative; z-index: 2; width: min(46vw, 760px); display: grid; gap: 28px; padding-block: 40px 64px; }
.hero h1 { font-size: var(--step-display); line-height: 1.02; color: var(--accent); }
.hero__lead { font-size: var(--step-lead); line-height: 1.4; max-width: 30ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero__now { font-size: var(--step-body); max-width: 36ch; font-weight: 500; }
.hero__now b { color: var(--accent); font-weight: 600; }

.dial {
  --d: min(88svh, 70vw, 1000px);
  position: absolute; margin: 0; width: var(--d); aspect-ratio: 1;
  right: calc(var(--d) * -0.2); top: 50%; transform: translateY(-50%);
}
.dial__disc { position: absolute; inset: 0; border-radius: 50%; background: var(--tan); }
.dial__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(0deg); }
.arc { fill: none; stroke-width: 58; stroke-linecap: butt; }
.arc--open { stroke: var(--accent); }
.arc--walk { stroke: var(--ink); }
.arc--class { stroke: var(--bg); }
.js .arc { animation: arc-in 1400ms var(--ease-entrance) both; animation-delay: var(--delay, 300ms); }
@keyframes arc-in { from { stroke-dasharray: 0 24; } }
.dial__photo {
  position: absolute; left: 16%; top: 16%; width: 68%; height: 68%;
  border-radius: 50%; object-fit: cover; object-position: 40% 50%;
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift { from { object-position: 30% 50%; } to { object-position: 62% 46%; } }
.dial__labels span {
  position: absolute; transform: translate(-50%, -50%);
  font-size: var(--step-small); font-weight: 600; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.dial__now {
  position: absolute; width: 7.2%; aspect-ratio: 1; border-radius: 50%;
  background: var(--bg); transform: translate(-50%, -50%);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: translate(-50%, -50%) scale(.82); } }

@media (max-width: 900px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding-bottom: 0; }
  .hero__text { width: 100%; padding-block: 24px 40px; gap: 20px; }
  .dial { position: relative; --d: calc(100% - 28px); right: auto; top: auto; transform: none; margin: 0 auto 8px; }
}

/* Intro statement */
.intro { padding: var(--section) var(--margin) 0; display: flex; justify-content: center; }
.intro__statement {
  max-width: 62ch; width: min(1000px, 100%);
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.25rem); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em;
}
.nw { white-space: nowrap; }
.thumb { display: inline-block; height: .9em; width: 1.25em; vertical-align: -0.12em; margin-inline: .12em; border-radius: 999px; overflow: hidden; background: var(--tan); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

/* The day */
.day { padding: var(--section) var(--margin) 0; }
.day__title { font-size: var(--step-head); color: var(--accent); max-width: 18ch; }
.day__grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 64px; margin-top: 72px; }
.day__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.day__cathead { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 32px; }
.day__cathead h3 { font-size: var(--step-lead); font-weight: 600; }
.day__cathead span { font-size: var(--step-small); font-weight: 500; }
.day__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 36px; }
.row {
  display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 20px; align-items: start;
  text-decoration: none; transition: opacity 240ms var(--ease-out);
}
.row__pic { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; transition: transform 240ms var(--ease-out); }
.row:hover .row__pic, .row:focus-visible .row__pic { transform: scale(1.08); }
.row__body { display: grid; gap: 6px; min-width: 0; }
.row__top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.row__name { font-weight: 600; font-size: var(--step-body); }
.row__time { font-weight: 500; white-space: nowrap; color: var(--accent); font-variant-numeric: tabular-nums; }
.row__desc { font-size: var(--step-body); line-height: 1.45; max-width: 40ch; }
.day__frame { margin: 0; position: sticky; top: 32px; align-self: start; display: grid; gap: 16px; justify-items: center; }
.day__circle { width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--tan); }
.day__circle img { width: 100%; height: 100%; object-fit: cover; transition: opacity 240ms var(--ease-out), transform 600ms var(--ease-out); }
.day__circle img.is-swapping { opacity: 0; transform: scale(1.04); }
.day__frame figcaption { font-size: var(--step-small); font-weight: 500; text-align: center; }
@media (hover: hover) and (pointer: fine) {
  .day__list:has(.row:hover, .row:focus-visible) .row:not(:hover, :focus-visible),
  .day__cols:has(.row:hover) .day__cat:not(:has(.row:hover)) .row { opacity: .42; }
}
@media (max-width: 1100px) {
  .day__grid { grid-template-columns: 1fr; margin-top: 48px; }
  .day__frame { display: none; }
}
@media (max-width: 760px) {
  .day__cols { grid-template-columns: 1fr; gap: 56px; }
  .row { grid-template-columns: 56px minmax(0, 1fr); gap: 16px; }
  .row__pic { width: 56px; height: 56px; }
  .row__top { flex-wrap: wrap; }
}

/* Prices */
.prices { padding-top: var(--section); }
.prices__head { padding-inline: var(--margin); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; align-items: end; padding-bottom: 48px; }
.prices__head h2 { font-size: var(--step-head); color: var(--accent); }
.prices__head p { max-width: 44ch; }
.chooser { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
.chooser button {
  min-height: 48px; padding: 0 1.2em; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--surface); color: var(--ink); font: 500 var(--step-body)/1 var(--font);
  transition: background-color 180ms var(--ease-out), color 180ms, transform 180ms var(--ease-out);
}
.chooser button:hover { background: var(--tan-soft); }
.chooser button:active { transform: scale(.96); }
.chooser button[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.fields { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.field { min-height: min(80svh, 760px); padding: 40px var(--margin); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.field--morning { background: var(--tan); color: var(--ink); }
.field--evening { background: var(--ink); color: var(--bg); }
.field__top { display: grid; gap: 20px; }
.field h3 { font-size: var(--step-head); }
.field__top p { font-size: var(--step-lead); line-height: 1.35; max-width: 26ch; }
.field__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.price { display: grid; gap: 8px; }
.price__num { font-size: var(--step-display); font-weight: 500; letter-spacing: -0.04em; line-height: .9; font-variant-numeric: tabular-nums; display: inline-block; }
.price__num.is-changing { animation: tick 360ms var(--ease-entrance); }
@keyframes tick { from { opacity: 0; transform: translateY(18px); } }
.price__per { font-size: var(--step-body); }
.field--evening .price__num { color: var(--tan); }
.pricelist { padding: 96px var(--margin) 0; }
.pricelist__title { font-size: var(--step-lead); font-weight: 600; margin-bottom: 40px; }
.pricelist__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 40px; }
.pricelist dl { margin: 0; display: grid; gap: 14px; align-content: start; }
.pricelist dt { font-weight: 600; color: var(--accent); margin-bottom: 4px; }
.pricelist dl div { display: flex; justify-content: space-between; gap: 16px; }
.pricelist dd { margin: 0; }
.pricelist dd.p { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) { .pricelist__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .prices__head { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .field { min-height: 70svh; padding: 32px 20px; }
  .field__foot { flex-direction: column; align-items: stretch; }
  .field__foot .btn { width: 100%; }
  .pricelist__grid { grid-template-columns: 1fr; }
}

/* Band of circles */
.band { margin-top: var(--section); background: var(--tan); padding-block: clamp(32px, 4vw, 56px); overflow: hidden; }
.band__track { display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; padding-inline: var(--margin); will-change: transform; }
.band__track img { width: clamp(150px, 19vw, 300px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; }

/* About */
.about { padding: var(--section) 20px 0; }
.about__panel {
  background: var(--accent); color: var(--accent-ink); overflow: hidden; position: relative;
  min-height: min(110svh, 1040px); display: grid; grid-template-columns: minmax(0, 63fr) minmax(0, 37fr);
}
.about__left { padding: 56px; display: grid; align-content: space-between; gap: 48px; }
.about__left h2 { font-size: var(--step-head); max-width: 14ch; color: var(--accent-ink); }
.about__portrait { width: min(38vw, 620px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: calc(min(38vw, 620px) * -0.2); background: var(--tan); }
.about__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.about__right { padding: 56px 56px 56px 0; display: grid; align-content: start; gap: 64px; justify-items: start; }
.about__block { display: grid; gap: 14px; max-width: 330px; }
.about__block h3 { font-size: var(--step-lead); font-weight: 600; letter-spacing: -0.01em; color: var(--tan); }
@media (max-width: 900px) {
  .about { padding-inline: var(--margin); }
  .about__panel { grid-template-columns: 1fr; min-height: 0; }
  .about__left { padding: 32px 20px 0; display: contents; }
  .about__left h2 { padding: 32px 20px 0; order: 1; }
  .about__right { padding: 32px 20px 40px; order: 2; gap: 36px; }
  .about__block { max-width: none; }
  .about__portrait { order: 3; width: 86vw; justify-self: center; margin-bottom: -21.5vw; }
}

/* Camps */
.camps { padding: var(--section) var(--margin) 0; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.camps__text { display: grid; gap: 24px; align-content: center; }
.camps__text h2 { font-size: var(--step-head); color: var(--accent); max-width: 14ch; }
.camps__text p { max-width: 46ch; }
.camps__frame { margin: 0; display: grid; gap: 16px; justify-items: center; }
.camps__circle {
  position: relative; width: min(46vw, 620px); aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  border: 0; padding: 0; background: var(--tan); cursor: pointer;
}
.camps__circle img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 600ms var(--ease-out), transform 3s linear; transform: scale(1.06); }
.camps__circle img.is-on { opacity: 1; transform: scale(1); }
.camps__circle img:first-child { opacity: 1; }
.js .camps__circle img:first-child:not(.is-on) { opacity: 0; }
.camps__frame figcaption { font-size: var(--step-small); font-weight: 500; }
@media (max-width: 900px) {
  .camps { grid-template-columns: 1fr; gap: 48px; }
  .camps__circle { width: 80vw; }
}

/* Tiles */
.tiles { margin-top: var(--section); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 8fr) minmax(0, 2fr); gap: 12px; }
.tile { min-height: 360px; overflow: hidden; }
.tile--photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.tiles:hover .tile--photo img { transform: scale(1.06); }
.tile--tan { background: var(--tan); }
.tile--main { background: var(--accent); color: var(--accent-ink); padding: 40px clamp(24px, 4vw, 64px); display: grid; align-content: center; justify-items: start; gap: 20px; }
.tile--main h2 { font-size: var(--step-head); color: var(--accent-ink); }
.tile--main p { max-width: 52ch; }
@media (max-width: 760px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile--main { grid-column: 1 / -1; order: -1; min-height: 300px; padding: 32px 20px; }
  .tile--photo, .tile--tan { min-height: 120px; }
}

/* Coupon */
.contact { padding: var(--section) var(--margin) 120px; }
.coupon {
  --notch: 28px;
  margin-inline: auto; max-width: 1240px; background: var(--tan); color: var(--ink);
  display: grid; grid-template-columns: minmax(0, 46fr) 20px minmax(0, 54fr); position: relative; overflow: clip;
}
.coupon__left { padding: 48px; display: grid; gap: 32px; align-content: space-between; }
.coupon__left h2 { font-size: var(--step-head); color: var(--accent); max-width: 10ch; }
.coupon__info { display: grid; gap: 16px; }
.coupon__info a { text-decoration: none; font-weight: 600; }
.coupon__info a:hover { color: var(--accent); }
.coupon__perf { position: relative; display: flex; flex-direction: column; justify-content: space-evenly; align-items: center; padding-block: 48px; }
.coupon__perf::before, .coupon__perf::after {
  content: ""; position: absolute; width: calc(var(--notch) * 2); aspect-ratio: 1; border-radius: 50%;
  background: var(--bg); left: 50%; transform: translate(-50%, -50%);
}
.coupon__perf::before { top: 0; }
.coupon__perf::after { top: 100%; }
.coupon__perf i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg); }
.coupon__form { padding: 48px; display: grid; gap: 10px; align-content: center; }
.coupon__form input, .coupon__form select {
  height: 56px; border: 0; border-radius: 999px; padding: 0 22px; width: 100%;
  background: var(--tan-soft); color: var(--ink); font: 400 var(--step-body)/1 var(--font); appearance: none;
}
.coupon__form select { background-image: none; cursor: pointer; }
.coupon__form input::placeholder { color: #5d3b2a; }
.coupon__form input:focus-visible, .coupon__form select:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.coupon__submit {
  height: 58px; border: 0; border-radius: 999px; margin-top: 6px; cursor: pointer;
  background: var(--ink); color: var(--bg); font: 500 var(--step-body)/1 var(--font);
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}
.coupon__submit:hover { background: var(--accent); }
.coupon__submit:active { transform: scale(.98); }
@media (max-width: 860px) {
  .coupon { grid-template-columns: 1fr; grid-template-rows: auto 20px auto; }
  .coupon__perf::before { left: 0; top: 50%; }
  .coupon__perf::after { left: 100%; top: 50%; }
  .coupon__left, .coupon__form { padding: 32px 24px; }
  .coupon__perf { flex-direction: row; padding: 0 36px; }
}

/* Footer: the motto built from circles */
.foot { background: var(--ink); color: var(--bg); padding: 48px var(--margin) 32px; }
.foot__mark { display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 48px); }
.foot__mark svg { flex-basis: 0; min-width: 0; height: auto; overflow: visible; }
.foot__mark circle { fill: var(--tan); transition: fill 300ms var(--ease-out); }
.foot__mark text { fill: var(--ink); font-family: var(--font); font-size: 56px; font-weight: 500; text-anchor: middle; dominant-baseline: central; }
.foot__mark g { transition: transform 300ms var(--ease-out); }
.foot__mark g:hover { transform: translateY(-6px); }
.foot__mark g:hover circle { fill: var(--bg); }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; margin-top: 56px; }
.foot__cols h2 { font-size: var(--step-body); font-weight: 600; color: var(--tan); margin-bottom: 14px; letter-spacing: 0; }
.foot__cols nav, .foot__contact { display: grid; gap: 8px; align-content: start; }
.foot__contact { grid-column: 3 / -1; }
.foot__cols a { text-decoration: none; }
.foot__cols a:hover { color: var(--tan); text-decoration: underline; text-underline-offset: .3em; }
.foot__last .btn { white-space: nowrap; }
.foot__last { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 64px; font-size: var(--step-small); }
@media (max-width: 1000px) {
  .foot__mark { flex-direction: column; align-items: stretch; gap: 8px; }
  .foot__mark svg { flex-basis: auto; width: 100%; }
}
@media (max-width: 760px) {
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__contact { grid-column: 1 / -1; }
  .foot__last { flex-direction: row; }
}

/* Entrances: content stays visible without script */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-entrance), transform 700ms var(--ease-entrance); transition-delay: var(--stagger, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 1ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
