/* Tokens: Oswald 400 + Golos Text 400 / chalk, navy, coral / one ease / radius 999 / 8px scale */
:root {
  --chalk: #f4f1ea;
  --navy: #17223b;
  --coral: #ff6a4d;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 3.6vw, 64px);
  --disp: "Oswald", Impact, sans-serif;
  --text: "Golos Text", system-ui, sans-serif;
  --line: rgba(23, 34, 59, .16);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--chalk); color: var(--navy); font-family: var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
h1, h2 { font-family: var(--disp); font-weight: 400; text-transform: uppercase; hyphens: none; text-wrap: balance; }
h2 { font-size: clamp(2.6rem, 5.6vw, 5.2rem); line-height: .92; letter-spacing: -.01em; }
p { line-height: 1.6; text-wrap: pretty; }

/* Hero: scheme B, two lines on a diagonal, portrait in the gap */
.hero { position: relative; height: 100svh; min-height: 640px; padding: var(--pad); display: grid; grid-template-rows: auto 1fr auto; }
.top { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--disp); font-size: 24px; text-transform: uppercase; letter-spacing: .02em; }
.nav { display: flex; gap: 28px; font-size: 14px; }
.nav a { padding: 12px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 2px; background: var(--coral); transform: scaleX(0); transform-origin: right; transition: transform 520ms var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hero__title { position: relative; z-index: 2; display: grid; align-self: center; font-size: clamp(5rem, 17vw, 17rem); line-height: .82; letter-spacing: -.02em; pointer-events: none; }
.hero__title .l1 { justify-self: start; }
.hero__title .l2 { justify-self: end; color: var(--coral); }
.hero__photo { position: absolute; z-index: 1; left: 50%; top: 50%; width: clamp(220px, 22vw, 360px); aspect-ratio: 2 / 3; transform: translate(-50%, -50%); overflow: hidden; border-radius: 999px 999px 0 0; }
.hero__photo.rise { transform: translate(-50%, -46%); }
.is-in .hero__photo.rise { transform: translate(-50%, -50%); }
.hero__foot { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.hero__lead { max-width: 42ch; font-size: 16px; opacity: .75; }
.cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.assure { font-size: 13px; opacity: .6; }

/* Buttons */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 28px; border-radius: 999px; font-size: 15px; }
.btn__fill { position: absolute; inset: 0; z-index: -1; background: var(--coral); transform: translateY(101%); transition: transform 500ms var(--ease); }
.btn__label { transition: color 320ms var(--ease); }
.btn__arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 520ms var(--ease); }
.btn:hover .btn__fill { transform: none; }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--solid { background: var(--navy); color: var(--chalk); }
.btn--line { box-shadow: inset 0 0 0 1px currentColor; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--navy); color: var(--chalk); }
.facts__cell { padding: 48px var(--pad) 40px; display: flex; flex-direction: column; gap: 10px; }
.facts__cell + .facts__cell { box-shadow: -1px 0 0 rgba(244, 241, 234, .14); }
.facts b { font-family: var(--disp); font-weight: 400; font-size: clamp(2.8rem, 5vw, 4.6rem); line-height: .9; }
.facts span { font-size: 14px; opacity: .65; }
.facts__cell:first-child b { color: var(--coral); }

/* Signature: who is getting a haircut */
.prices { padding: 140px var(--pad) 120px; }
.prices__head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
.prices__head p { max-width: 40ch; opacity: .7; justify-self: end; }
.who { position: relative; display: inline-grid; grid-template-columns: repeat(4, auto); padding: 6px; border-radius: 999px; background: rgba(23, 34, 59, .07); margin-bottom: 48px; }
.who button { position: relative; z-index: 1; min-height: 52px; padding: 0 28px; border: 0; background: none; font: 400 18px var(--disp); text-transform: uppercase; letter-spacing: .04em; color: var(--navy); cursor: pointer; transition: color 320ms var(--ease); }
.who button[aria-selected="true"] { color: var(--chalk); }
.who__ink { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--navy); transition: transform 620ms var(--ease), width 620ms var(--ease); }
.board { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.board__list { list-style: none; grid-column: 1; grid-row: 1; opacity: 0; visibility: hidden; transform: translateY(16px); filter: blur(8px); transition: opacity 500ms var(--ease), transform 500ms var(--ease), filter 500ms var(--ease), visibility 0s 500ms; }
.board__list.is-on { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: 0s; }
.board__list li { display: grid; grid-template-columns: 1fr auto 130px; gap: 24px; align-items: baseline; padding: 26px 0; border-top: 1px solid var(--line); }
.board__list li:last-child { border-bottom: 1px solid var(--line); }
.board__list span { font-family: var(--disp); text-transform: uppercase; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: .01em; }
.board__list i { font-style: normal; font-size: 14px; opacity: .6; }
.board__list b { font-family: var(--disp); font-weight: 400; font-size: clamp(22px, 2.4vw, 32px); text-align: right; color: var(--coral); }
.board__img { grid-column: 2; grid-row: 1; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 999px 999px 0 0; }
.board__img img { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity 700ms var(--ease), transform 900ms var(--ease); }
.board__img img.is-on { opacity: 1; transform: none; }
.prices__more { margin-top: 40px; max-width: 56ch; opacity: .7; }

/* Team */
.team { padding: 60px var(--pad) 140px; }
.team h2 { margin-bottom: 56px; }
.team__list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; }
.team__list li { display: flex; flex-direction: column; gap: 8px; padding: 26px 0 30px; border-top: 2px solid var(--navy); }
.team__list b { font-family: var(--disp); font-weight: 400; font-size: 34px; text-transform: uppercase; line-height: 1; }
.team__list span { font-size: 15px; }
.team__list i { font-style: normal; font-size: 13px; opacity: .55; }
.team__quotes { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; align-items: end; margin-top: 110px; }
.team__quotes blockquote { font-family: var(--disp); text-transform: uppercase; font-size: 24px; line-height: 1.12; max-width: 24ch; }
.team__big { font-size: clamp(1.9rem, 3.4vw, 3.2rem) !important; line-height: 1 !important; color: var(--coral); }
cite { display: block; margin-top: 14px; font-family: var(--text); text-transform: none; font-style: normal; font-size: 13px; color: var(--navy); opacity: .55; }

/* Where */
.where { background: var(--navy); color: var(--chalk); }
.where__body { padding: 130px var(--pad) 110px; display: flex; flex-direction: column; gap: 44px; }
.where h2 { font-size: clamp(3.4rem, 9vw, 9rem); line-height: .86; }
.where__grid { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 64px; }
.where__grid dt { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; opacity: .55; margin-bottom: 8px; }
.where__grid dd { font-family: var(--disp); font-size: clamp(22px, 2.4vw, 32px); white-space: nowrap; }
.where__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.where .btn--solid { background: var(--chalk); color: var(--navy); }
.where .btn--solid:hover .btn__label, .where .btn--solid:hover .btn__arrow { color: var(--navy); }
.foot { display: flex; justify-content: space-between; gap: 20px; padding: 28px var(--pad); font-size: 13px; }
.foot > * { opacity: .6; }
.foot a { padding: 12px 0; margin: -12px 0; }

/* Motion */
.rise, .reveal { opacity: 0; transform: translateY(28px); filter: blur(14px); }
.is-in .rise, .reveal.is-seen { opacity: 1; transform: none; filter: blur(0); transition: opacity 900ms var(--ease) var(--d, 0ms), transform 900ms var(--ease) var(--d, 0ms), filter 900ms var(--ease) var(--d, 0ms); }
.d300 { --d: 300ms; } .d420 { --d: 420ms; } .d900 { --d: 900ms; } .d1040 { --d: 1040ms; } .d1200 { --d: 1200ms; }
@media (prefers-reduced-motion: reduce) {
  * { --d: 0ms !important; transition-delay: 0ms !important; }
}

@media (max-width: 860px) {
  .hero { min-height: 0; }
  .nav { gap: 16px; font-size: 13px; }
  .nav a:nth-child(2) { display: none; }
  .hero__title { font-size: 24vw; line-height: 1; align-self: start; margin-top: 8vh; }
  .hero__photo { width: 40vw; top: 50%; }
  .hero__foot { flex-direction: column; align-items: start; gap: 22px; }
  .cta { justify-content: flex-start; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts__cell { padding: 32px var(--pad) 28px; }
  .facts__cell:nth-child(3) { box-shadow: 0 -1px 0 rgba(244, 241, 234, .14); }
  .facts__cell:nth-child(4) { box-shadow: -1px 0 0 rgba(244, 241, 234, .14), 0 -1px 0 rgba(244, 241, 234, .14); }
  .prices { padding: 96px var(--pad) 72px; }
  .prices__head { grid-template-columns: 1fr; gap: 20px; }
  .prices__head p { justify-self: start; }
  .who { display: grid; grid-template-columns: 1fr 1fr; border-radius: 28px; width: 100%; }
  .who button { padding: 0 12px; font-size: 16px; }
  .who__ink { border-radius: 24px; height: 52px; bottom: auto; }
  .board { grid-template-columns: 1fr; gap: 32px; }
  .board__img { grid-row: 2; grid-column: 1; aspect-ratio: 1; }
  .board__list li { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .board__list i { grid-column: 1; grid-row: 2; }
  .board__list b { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .team { padding: 40px var(--pad) 96px; }
  .team__list { grid-template-columns: 1fr 1fr; }
  .team__quotes { grid-template-columns: 1fr; gap: 32px; margin-top: 64px; }
  .where__body { padding: 80px var(--pad) 72px; }
  .where__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot { flex-wrap: wrap; }
}
