/* Tokens: Playfair Display 400 (+italic) + Manrope 400 / cream, cocoa, terracotta / one ease / radius 999 / 8px scale */
:root {
  --cream: #f6efe6;
  --cocoa: #2b1d17;
  --terra: #c4553b;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 3.6vw, 64px);
  --disp: "Playfair Display", Georgia, serif;
  --text: "Manrope", system-ui, sans-serif;
  --line: rgba(43, 29, 23, .16);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--cocoa); 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; hyphens: none; text-wrap: balance; }
h2 { font-size: clamp(2.6rem, 5.8vw, 5.4rem); line-height: .94; letter-spacing: -.03em; }
em { font-style: italic; color: var(--terra); }
p { line-height: 1.6; text-wrap: pretty; }

/* Hero: scheme C mirrored, photo 40 left flush, text 60 right in the lower third */
.hero { display: grid; grid-template-columns: 40fr 60fr; height: 100svh; min-height: 640px; }
.hero__photo { overflow: hidden; }
.hero__photo img { object-position: 50% 30%; }
.hero__side { padding: var(--pad); display: flex; flex-direction: column; justify-content: space-between; }
.top { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--disp); font-size: 30px; font-style: italic; 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: 1px; background: var(--terra); transform: scaleX(0); transform-origin: right; transition: transform 520ms var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hero__text { display: flex; flex-direction: column; gap: 24px; padding-bottom: 4vh; }
.hero h1 { font-size: clamp(3.6rem, 9vw, 9.6rem); line-height: .86; letter-spacing: -.045em; }
.hero__lead { max-width: 44ch; font-size: 17px; opacity: .75; }
.cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.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(--terra); transform: scaleX(0); transform-origin: left; 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: scaleX(1); }
.btn:hover .btn__arrow { transform: translateX(5px); }
.btn--solid { background: var(--cocoa); color: var(--cream); }
.btn--line { box-shadow: inset 0 0 0 1px currentColor; }
.btn--line:hover .btn__label { color: var(--cream); }

/* Signature: review counter */
.count { background: var(--cocoa); color: var(--cream); padding: 150px var(--pad) 130px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: end; }
.count__num { font-family: var(--disp); font-size: clamp(7rem, 22vw, 22rem); line-height: .8; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.count__cap { font-family: var(--disp); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 2.2rem); line-height: 1.2; max-width: 24ch; padding-bottom: 2vw; }
.count__stars { grid-column: 1 / -1; display: flex; gap: 10px; margin-top: 24px; }
.count__stars i { width: 28px; height: 28px; background: var(--terra); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); transform: scale(0); transition: transform 620ms var(--ease); }
.count.is-on .count__stars i { transform: scale(1); }
.count.is-on .count__stars i:nth-child(2) { transition-delay: 90ms; }
.count.is-on .count__stars i:nth-child(3) { transition-delay: 180ms; }
.count.is-on .count__stars i:nth-child(4) { transition-delay: 270ms; }
.count.is-on .count__stars i:nth-child(5) { transition-delay: 360ms; }
.count__quotes { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; margin-top: 72px; padding-top: 40px; box-shadow: 0 -1px 0 rgba(246, 239, 230, .18); }
.count__quotes p { font-family: var(--disp); font-size: 24px; line-height: 1.25; }
.count__quotes li:first-child p { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.15; }
cite { display: block; margin-top: 14px; font-family: var(--text); font-style: normal; font-size: 13px; opacity: .55; }

/* Work */
.work { padding: 140px var(--pad) 120px; }
.work__head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.work__head p { max-width: 40ch; opacity: .7; justify-self: end; }
.work__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.work__img { aspect-ratio: 4 / 5; overflow: hidden; }
.work__img img { transition: transform 900ms var(--ease); }
.work__img:hover img { transform: scale(1.04); }
.work__list { list-style: none; }
.work__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); transition: padding 620ms var(--ease); }
.work__list li:last-child { border-bottom: 1px solid var(--line); }
.work__list li:hover { padding-left: 14px; }
.work__list b { font-family: var(--disp); font-weight: 400; font-size: clamp(22px, 2.3vw, 32px); letter-spacing: -.02em; }
.work__list span { font-size: 14px; opacity: .6; white-space: nowrap; }

/* Her words */
.me { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 0; align-items: center; background: #efe4d6; }
.me__img, .me__img2 { height: 80vh; overflow: hidden; }
.me__quote { font-family: var(--disp); font-style: italic; font-size: clamp(1.8rem, 3.2vw, 3rem); line-height: 1.12; letter-spacing: -.02em; padding: 64px clamp(24px, 4vw, 72px); }

/* Visit */
.visit { padding: 150px var(--pad) 120px; display: flex; flex-direction: column; gap: 48px; }
.visit h2 { font-size: clamp(3.4rem, 9vw, 9rem); line-height: .86; letter-spacing: -.045em; }
.visit__grid { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 56px; }
.visit__grid dt { font-size: 12px; text-transform: uppercase; letter-spacing: .18em; opacity: .55; margin-bottom: 10px; }
.visit__grid dd { font-family: var(--disp); font-size: clamp(20px, 2vw, 28px); white-space: nowrap; }
.visit__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.foot { display: flex; justify-content: space-between; gap: 20px; padding: 28px var(--pad); font-size: 13px; border-top: 1px solid var(--line); }
.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 { grid-template-columns: 1fr; grid-template-rows: 44svh auto; height: auto; min-height: 0; }
  .hero__side { min-height: 56svh; gap: 36px; }
  .hero h1 { font-size: 4rem; }
  .count { grid-template-columns: 1fr; padding: 96px var(--pad) 80px; }
  .count__num { font-size: 34vw; }
  .count__quotes { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }
  .work { padding: 96px var(--pad) 72px; }
  .work__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
  .work__head p { justify-self: start; }
  .work__grid { grid-template-columns: 1fr; gap: 32px; }
  .work__list li { flex-direction: column; gap: 4px; }
  .me { grid-template-columns: 1fr 1fr; }
  .me__quote { grid-column: 1 / -1; grid-row: 1; padding: 64px var(--pad); }
  .me__img, .me__img2 { height: 60vw; }
  .visit { padding: 96px var(--pad) 80px; }
  .visit__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot { flex-wrap: wrap; }
}
