:root {
  color-scheme: light;
  --paper: #f8efe2;
  --ink: #100e0d;
  --red: #b81b19;
  --bright: #fc4537;
  --line: #c9b9a7;
  --gutter: clamp(18px, 4vw, 72px);
  --edge: max(var(--gutter), calc((100% - 1440px) / 2));
  --type: "Golos Text", Arial, sans-serif;
  --display: "Oswald", "Arial Narrow", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--type); }
h1, h2, h3, p, ul, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; text-transform: uppercase; }
h2 { font-size: clamp(2.35rem, 6.5vw, 6.5rem); font-weight: 700; letter-spacing: -.025em; }
a { color: inherit; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.shell { width: min(1440px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 4; transform: translateY(-170%); padding: 8px 12px; background: var(--paper); }
.skip:focus { transform: none; }

.header { background: var(--paper); }
.header-inner { min-height: 72px; display: flex; justify-content: space-between; align-items: center; gap: .6rem 1.1rem; }
.wordmark { font: 700 clamp(1.35rem, 2.3vw, 2rem)/1.05 var(--display); text-decoration: none; text-transform: uppercase; }
.wordmark::after { content: ""; display: block; height: 3px; margin-top: .32rem; background: var(--red); }
.header nav { display: flex; flex-wrap: wrap; column-gap: clamp(.85rem, 3.2vw, 3.2rem); }
.header nav a { display: flex; align-items: center; min-height: 44px; font: 600 clamp(.88rem, 1.35vw, 1.1rem)/1.1 var(--display); text-decoration: none; text-transform: uppercase; }
.header nav a:hover { color: var(--red); text-decoration: underline; text-underline-offset: .22em; }

.hero { background: var(--paper); }
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(295px, min(47vw, calc((100svh - 72px) * .8)), 630px);
  max-width: 1560px;
  margin-inline: auto;
  isolation: isolate;
}
.hero-info { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 2.1rem 0 2.7rem var(--edge); z-index: 1; }
.hero h1 { font-size: clamp(4.1rem, 11vw, 11.6rem); font-weight: 700; line-height: .96; letter-spacing: -.04em; transform: skewX(-8deg); transform-origin: left bottom; }
.hero h1 span { display: block; }
.hero h1 span + span { color: var(--red); }
.hero-description { margin-top: clamp(1rem, 3vw, 2.1rem); max-width: 28ch; font-weight: 600; font-size: clamp(.95rem, 1.55vw, 1.2rem); }
.hero-info .button { margin-top: clamp(1.15rem, 2.6vw, 2.2rem); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 49px; padding: .7rem 1.1rem; border: 0; background: var(--red); color: #fff; font-weight: 700; line-height: 1.22; text-decoration: none; }
.button:hover { background: var(--ink); color: #fff; }
.button span { font-size: 1.24em; }
.hero-media { display: grid; align-items: center; border-inline-start: 4px solid var(--red); }
.hero-media img { height: auto; object-fit: contain; }

.section { padding-block: clamp(38px, 6.5vw, 96px); }
.section-heading { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .65rem 1.25rem; margin-bottom: clamp(1.2rem, 2.8vw, 2.5rem); }
.text-link { font-weight: 700; text-underline-offset: .25em; }
.text-link:hover { text-decoration-thickness: 2px; }

#styles { background: var(--ink); color: var(--paper); }
#styles .text-link:hover { color: var(--bright); }
.style-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.55rem, 1.4vw, 1.2rem); padding: 0; list-style: none; }
.style-list li { min-width: 0; }
.style-card { display: flex; flex-direction: column; height: 100%; background: #201918; text-decoration: none; }
.style-card img { height: auto; object-fit: contain; }
.style-card > div { flex: 1; padding: clamp(.85rem, 2.3vw, 1.8rem); border-top: 3px solid var(--bright); }
.style-card:hover h3 { color: #ff6d62; }
.style-card h3 { font-size: clamp(1.4rem, 3.0vw, 3.1rem); font-weight: 700; }
.style-card p { margin-top: .45rem; color: #fff; font-size: clamp(.85rem, 1.25vw, 1rem); line-height: 1.45; }
.style-card:focus-visible { z-index: 2; outline-offset: -4px; }

#schedule { background: var(--paper); padding-bottom: 0; }
.schedule-example, .price .section-heading p, .reviews .section-heading p { max-width: 32ch; font-weight: 600; }
.schedule-example { margin-top: .55rem; }
.schedule-controls { display: flex; gap: .45rem; }
.schedule-controls button {
  display: grid;
  place-items: center;
  width: 49px;
  min-height: 46px;
  padding: 0;
  border: 1px solid var(--red);
  background: transparent;
  color: var(--red);
  font-size: 1.32rem;
  font-weight: 700;
}
.schedule-controls button:hover:not(:disabled) { background: var(--red); color: #fff; }
.schedule-controls button:disabled { opacity: .36; cursor: default; }
.days { display: flex; flex-wrap: wrap; gap: .25rem; }
.days button { min-width: 45px; min-height: 45px; padding: .65rem .95rem; border: 0; border-bottom: 2px solid transparent; background: transparent; font: 600 clamp(.88rem, 1.3vw, 1.12rem)/1.1 var(--display); text-transform: uppercase; }
.days button:hover { border-bottom-color: var(--red); }
.days button[aria-pressed="true"] { background: var(--red); color: #fff; }
.days button:focus-visible { outline-color: var(--ink); outline-offset: -3px; }
.schedule-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; align-items: start; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; }
.schedule-track:focus-visible { outline-offset: -3px; }
.schedule-panel { min-width: 0; scroll-snap-align: start; }
.schedule-panel h3 { padding: .76rem var(--edge); color: var(--paper); background: var(--ink); font-size: clamp(1.03rem, 2.2vw, 1.45rem); }
.schedule-row { display: grid; grid-template-columns: clamp(58px, 12vw, 170px) minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: .4rem 1rem; min-height: clamp(62px, 6.1vw, 91px); padding: .9rem var(--edge); border-bottom: 1px solid var(--line); }
.schedule-row:last-child { border-bottom: 0; }
.schedule-row time { color: var(--red); font: 700 clamp(1.05rem, 3.5vw, 2.8rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.schedule-row strong { text-transform: uppercase; font: 700 clamp(1rem, 2.2vw, 1.8rem)/1.1 var(--display); overflow-wrap: anywhere; }
.schedule-row span { font-size: clamp(.79rem, 1.4vw, 1.06rem); line-height: 1.25; }

.price { background: var(--red); color: var(--paper); }
.price-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border-block: 1px solid #f7c4a4; }
.price-list > div { padding: clamp(.75rem, 2vw, 1.65rem); border-inline-end: 1px solid #f7c4a4; }
.price-list > div:last-child { border-inline-end: 0; }
.price-list dt { font-weight: 600; line-height: 1.25; }
.price-list dd { margin-top: .55rem; white-space: nowrap; font: 700 clamp(1.7rem, 5.5vw, 4.65rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.price-list dd span { font-size: .56em; }

.reviews { background: var(--ink); color: var(--paper); }
.reviews .section-heading p { color: #e4d7cb; }
.review-list { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1px; border-block: 1px solid #6f574d; background: #6f574d; }
.review { display: flex; flex-direction: column; justify-content: space-between; gap: .9rem; min-height: 140px; padding: clamp(1.05rem, 3vw, 2.75rem); background: var(--ink); }
.review:first-child { grid-row: span 2; box-shadow: inset 4px 0 var(--bright); }
.review blockquote { max-width: 38ch; font-size: clamp(1.02rem, 1.65vw, 1.45rem); line-height: 1.45; }
.review:first-child blockquote { font-size: clamp(1.28rem, 2.55vw, 2.25rem); }
.review figcaption { color: #eea89b; font-size: .88rem; font-weight: 600; }

.trial { background: var(--paper); }
.trial-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 5vw, 5rem); }
.trial-inner > div p { margin-top: 1rem; max-width: 43ch; }
.trial-form { display: grid; gap: .64rem; align-self: center; }
.trial-form label { font-weight: 700; }
.trial-form select { min-width: 0; min-height: 48px; padding: .55rem .65rem; border: 1px solid var(--ink); background: #fff9f0; border-radius: 0; }
.trial-form .button { justify-self: start; }
.trial-note { font-size: .86rem; }
.trial-result { padding: .68rem .8rem; border-left: 4px solid var(--red); background: #f1e0cf; }

.footer { padding-block: 1.18rem; background: var(--ink); color: var(--paper); font-size: .85rem; }
.footer .shell { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; }

@media (max-width: 700px) {
  .header-inner { flex-wrap: wrap; padding-top: .65rem; }
  .header nav { width: 100%; justify-content: space-between; column-gap: .35rem; }
  .header nav a { min-height: 40px; font-size: clamp(.72rem, 2.4vw, .93rem); }
  .hero-layout { grid-template-columns: 1fr; min-height: 0; }
  .hero-info { padding: 1.45rem var(--gutter) 1.6rem; }
  .hero h1 { font-size: clamp(3.1rem, 13.6vw, 6.4rem); }
  .hero-description { margin-top: .85rem; max-width: 34ch; }
  .hero-media { border-inline-start: 0; border-top: 3px solid var(--red); }
  .style-list { grid-template-columns: 1fr; gap: .82rem; }
  .style-card h3 { font-size: clamp(1.85rem, 7vw, 3.25rem); }
  .style-card p { font-size: .94rem; }
  .days button { min-width: 40px; padding-inline: .43rem; }
  .schedule-row { gap: .4rem .55rem; }
  .review-list, .trial-inner { grid-template-columns: 1fr; }
  .review:first-child { grid-row: auto; }
  .review { min-height: 0; }
  .schedule-controls button { width: 44px; min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
