:root {
  --ink: #11100f;
  --paper: #f2efe8;
  --warm: #d8c7b2;
  --accent: #c87d45;
  --line: rgba(17, 16, 15, .18);
  --white-line: rgba(255, 255, 255, .18);
  --serif: "Prata", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  --pad: clamp(22px, 5vw, 80px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
body.menu-open, body.lightbox-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; width: 100%; }
::selection { color: var(--paper); background: var(--accent); }

.site-header { position: fixed; z-index: 50; top: 0; left: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 100%; height: 86px; padding: 0 var(--pad); color: #fff; border-bottom: 1px solid rgba(255,255,255,.2); transition: background .35s, height .35s, color .35s; }
.site-header.is-scrolled { height: 70px; color: var(--paper); background: rgba(17,16,15,.94); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; }
.brand-mark { width: 28px; height: 28px; }
.brand-mark svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 1.7; }
.brand-type { font-family: var(--serif); font-size: 22px; letter-spacing: .18em; }
.nav { display: flex; gap: clamp(24px, 3vw, 48px); font-size: 13px; font-weight: 600; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; right: 0; bottom: -7px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .3s; }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-cta { justify-self: end; display: inline-flex; align-items: center; gap: 18px; font-size: 13px; font-weight: 700; }
.header-cta svg { width: 19px; fill: none; stroke: currentColor; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 780px; height: 100svh; color: #fff; background: var(--ink); overflow: hidden; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { height: 100%; object-fit: cover; object-position: center 45%; animation: hero-in 1.5s cubic-bezier(.2,.65,.2,1) both; }
.hero-shade { background: linear-gradient(90deg, rgba(8,7,7,.84) 0%, rgba(8,7,7,.52) 45%, rgba(8,7,7,.08) 75%), linear-gradient(0deg, rgba(8,7,7,.5) 0%, transparent 40%); }
.hero-content { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; width: min(820px, 73vw); height: 100%; padding: 110px 0 84px var(--pad); }
.eyebrow { margin: 0 0 24px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; display: inline-block; width: 38px; height: 1px; margin: 0 14px 4px 0; background: currentColor; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.045em; line-height: .96; }
h1 { font-size: clamp(64px, 8.6vw, 140px); }
h1 em, h2 em { color: var(--accent); font-style: normal; }
.hero-bottom { display: flex; align-items: flex-end; gap: clamp(30px, 7vw, 110px); margin-top: clamp(40px, 7vh, 82px); }
.hero-bottom > p { width: min(340px, 42vw); margin: 0; color: rgba(255,255,255,.72); font-size: 15px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; width: 235px; min-height: 64px; padding: 0 10px 0 24px; border: 1px solid rgba(255,255,255,.4); font-size: 13px; font-weight: 700; }
.button-icon { display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); background: #fff; transition: color .25s, background .25s, transform .25s; }
.button:hover .button-icon { color: #fff; background: var(--accent); transform: rotate(45deg); }
.hero-meta { position: absolute; z-index: 2; right: var(--pad); bottom: 36px; display: flex; gap: 38px; color: rgba(255,255,255,.68); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }
.hero-scroll { position: absolute; z-index: 2; bottom: 36px; left: var(--pad); display: flex; align-items: center; gap: 14px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.hero-scroll i { display: block; width: 46px; height: 1px; background: rgba(255,255,255,.6); }

.ticker { overflow: hidden; color: var(--paper); background: var(--accent); }
.ticker-track { display: flex; align-items: center; gap: 32px; width: max-content; padding: 17px 0; font-family: var(--serif); font-size: 18px; white-space: nowrap; animation: ticker 24s linear infinite; }
.ticker-track b { font-size: 11px; }

.section { display: grid; grid-template-columns: minmax(120px, 1fr) minmax(0, 3.1fr); gap: clamp(28px, 6vw, 100px); padding: clamp(90px, 12vw, 180px) var(--pad); }
.section-label { padding-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.section-label span { display: inline-grid; place-items: center; width: 31px; height: 31px; margin-right: 12px; border: 1px solid currentColor; border-radius: 50%; font-size: 9px; }
h2 { font-size: clamp(50px, 7vw, 108px); }
.about { grid-template-areas: "label copy" "label photo"; }
.about .section-label { grid-area: label; }
.about-copy { grid-area: copy; }
.about-copy > p { width: min(650px, 100%); margin: 50px 0 0 auto; font-size: clamp(17px, 1.7vw, 24px); line-height: 1.55; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 650px; margin: 64px 0 0 auto; padding-top: 28px; border-top: 1px solid var(--line); }
.facts div { display: flex; align-items: flex-start; gap: 14px; }
.facts strong { font-family: var(--serif); font-size: clamp(34px, 4vw, 56px); font-weight: 400; line-height: 1; }
.facts span { color: rgba(17,16,15,.55); font-size: 11px; line-height: 1.4; text-transform: uppercase; }
.about-photo { grid-area: photo; position: relative; width: 78%; margin: clamp(70px, 10vw, 140px) 0 0 auto; }
.about-photo::before { content: ""; position: absolute; z-index: -1; top: -28px; left: -28px; width: 55%; height: 65%; border: 1px solid var(--accent); }
.about-photo img { aspect-ratio: 1.35 / 1; object-fit: cover; filter: saturate(.75); }
.about-photo figcaption { display: flex; justify-content: space-between; margin-top: 12px; font-size: 9px; letter-spacing: .14em; }

.section-dark { color: var(--paper); background: var(--ink); }
.services { grid-template-areas: "label head" ". tabs" ". prices" ". link"; }
.services .section-label { grid-area: label; color: rgba(242,239,232,.55); }
.services-head { grid-area: head; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.services-head p { width: 310px; margin: 0 0 8px; color: rgba(242,239,232,.55); font-size: 13px; }
.service-tabs { grid-area: tabs; display: flex; gap: 34px; margin-top: 72px; border-bottom: 1px solid var(--white-line); }
.service-tab { position: relative; padding: 0 0 17px; color: rgba(242,239,232,.42); background: none; border: 0; cursor: pointer; font-size: 13px; font-weight: 600; }
.service-tab::after { content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .25s; }
.service-tab.is-active { color: var(--paper); }
.service-tab.is-active::after { transform: scaleX(1); }
.price-list { grid-area: prices; }
.price-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; padding: 26px 0; border-bottom: 1px solid var(--white-line); animation: price-in .35s ease both; }
.price-row h3 { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 34px); font-weight: 400; }
.price-row p { width: 210px; margin: 0; color: rgba(242,239,232,.45); font-size: 11px; }
.price-row strong { min-width: 105px; text-align: right; font-family: var(--serif); font-size: 23px; font-weight: 400; white-space: nowrap; }
.text-link { grid-area: link; width: max-content; margin-top: 42px; padding-bottom: 8px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 700; }
.text-link span { margin-left: 18px; }

.team { grid-template-areas: "label head" ". grid" ". note"; }
.team .section-label { grid-area: label; }
.team-head { grid-area: head; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.team-head p { width: 270px; margin: 0 0 10px; color: rgba(17,16,15,.55); }
.team-grid { grid-area: grid; display: grid; grid-template-columns: repeat(2, 1fr); gap: 70px 24px; margin-top: 80px; }
.team-card:nth-child(even) { transform: translateY(85px); }
.team-photo { position: relative; overflow: hidden; background: #d7d2c9; }
.team-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(17,16,15,.5), transparent 40%); opacity: 0; transition: opacity .35s; }
.team-photo img { aspect-ratio: .78 / 1; object-fit: cover; filter: saturate(.72) contrast(1.03); transition: transform .7s cubic-bezier(.2,.65,.2,1), filter .35s; }
.team-photo span { position: absolute; z-index: 2; bottom: 22px; left: 22px; color: #fff; font-size: 12px; opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .35s; }
.team-card a:hover .team-photo img { transform: scale(1.035); filter: saturate(1); }
.team-card a:hover .team-photo::after, .team-card a:hover .team-photo span { opacity: 1; }
.team-card a:hover .team-photo span { transform: none; }
.team-info { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 18px 2px 0; border-top: 1px solid var(--line); }
.team-info h3 { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 31px); font-weight: 400; }
.team-info p { margin: 0; color: rgba(17,16,15,.52); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.team-note { grid-area: note; width: min(560px, 100%); margin: 130px 0 0 auto; padding-top: 24px; border-top: 1px solid var(--line); color: rgba(17,16,15,.62); }

.section-warm { background: var(--warm); }
.gallery { grid-template-areas: "label head" ". grid"; }
.gallery .section-label { grid-area: label; }
.gallery-head { grid-area: head; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.gallery-head a { margin-bottom: 9px; padding-bottom: 6px; border-bottom: 1px solid currentColor; font-size: 11px; font-weight: 700; }
.gallery-grid { grid-area: grid; display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 340px 340px 420px; gap: 15px; margin-top: 70px; }
.gallery-item { position: relative; overflow: hidden; padding: 0; background: #b2a28f; border: 0; cursor: zoom-in; }
.gallery-item-tall { grid-row: 1 / span 2; }
.gallery-item-wide { grid-column: 1 / span 2; }
.gallery-item img { height: 100%; object-fit: cover; filter: saturate(.65); transition: transform .7s, filter .4s; }
.gallery-item:hover img { transform: scale(1.035); filter: saturate(1); }

.contacts { grid-template-areas: "label main" ". details"; color: var(--paper); background: #171513; }
.contacts .section-label { grid-area: label; color: rgba(242,239,232,.55); }
.contacts-main { grid-area: main; position: relative; min-height: 390px; }
.contacts-main .eyebrow { color: rgba(242,239,232,.5); }
.round-cta { position: absolute; right: 2vw; bottom: 5px; display: flex; flex-direction: column; justify-content: space-between; width: 190px; height: 190px; padding: 30px; color: var(--ink); background: var(--accent); border-radius: 50%; transition: color .3s, background .3s, transform .3s; }
.round-cta span { font-size: 12px; font-weight: 700; text-transform: uppercase; }
.round-cta b { align-self: flex-end; font-size: 31px; font-weight: 400; }
.round-cta:hover { color: var(--accent); background: var(--paper); transform: rotate(-8deg); }
.contact-details { grid-area: details; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-top: 35px; border-top: 1px solid var(--white-line); }
.contact-details div > span { display: block; margin-bottom: 24px; color: rgba(242,239,232,.38); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; }
.contact-details a, .contact-details p { margin: 0; font-family: var(--serif); font-size: 16px; line-height: 1.55; }
.contact-details a:hover { color: var(--accent); }

.footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; padding: 38px var(--pad); color: rgba(242,239,232,.54); background: #171513; border-top: 1px solid var(--white-line); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.footer-brand { color: var(--paper); }
.footer p { margin: 0; }
.footer > span { justify-self: end; }
.mobile-action { display: none; }

.lightbox { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 5vw; background: rgba(10,9,8,.94); }
.lightbox[hidden] { display: none; }
.lightbox img { width: auto; max-width: 100%; height: auto; max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; top: 24px; right: 30px; width: 48px; height: 48px; color: #fff; background: none; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; cursor: pointer; font-size: 28px; line-height: 1; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.team-card:nth-child(even).reveal { transform: translateY(107px); }
.team-card:nth-child(even).reveal.is-visible { transform: translateY(85px); }

@keyframes hero-in { from { opacity: 0; transform: scale(1.05); } to { opacity: 1; transform: scale(1); } }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes price-in { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 20px; padding: 110px var(--pad) 80px; color: var(--paper); background: var(--ink); opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav a { font-family: var(--serif); font-size: clamp(36px, 9vw, 64px); font-weight: 400; }
  .nav.is-open { opacity: 1; pointer-events: auto; }
  .header-cta { display: none; }
  .menu-toggle { justify-self: end; display: grid; place-content: center; gap: 7px; width: 42px; height: 42px; padding: 0; color: inherit; background: none; border: 0; cursor: pointer; }
  .menu-toggle span { display: block; width: 25px; height: 1px; background: currentColor; transition: transform .3s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .section { grid-template-columns: 1fr; }
  .about, .services, .team, .gallery, .contacts { grid-template-areas: "label" "head" "copy" "photo" "tabs" "prices" "link" "grid" "note" "main" "details"; }
  .about .section-label, .services .section-label, .team .section-label, .gallery .section-label, .contacts .section-label { grid-area: label; }
  .about-copy { grid-area: copy; }
  .services-head, .team-head, .gallery-head { grid-area: head; }
  .service-tabs { grid-area: tabs; }
  .price-list { grid-area: prices; }
  .services .text-link { grid-area: link; }
  .team-grid, .gallery-grid { grid-area: grid; }
  .team-note { grid-area: note; }
  .contacts-main { grid-area: main; }
  .contact-details { grid-area: details; }
  .section-label { margin-bottom: 30px; }
  .about-copy > p, .facts { margin-left: 0; }
  .about-photo { width: 85%; }
}

@media (max-width: 680px) {
  :root { --pad: 20px; }
  body { padding-bottom: 66px; }
  .site-header { height: 68px; }
  .site-header.is-scrolled { height: 62px; }
  .brand-mark { width: 25px; height: 25px; }
  .brand-type { font-size: 19px; }
  .hero { min-height: 700px; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,7,7,.8), rgba(8,7,7,.2)), linear-gradient(0deg, rgba(8,7,7,.72), transparent 60%); }
  .hero-media img { object-position: 61% center; }
  .hero-content { width: 100%; padding: 90px var(--pad) 100px; justify-content: flex-end; }
  .hero-content .eyebrow { margin-bottom: 18px; }
  h1 { font-size: clamp(56px, 18vw, 84px); }
  h2 { font-size: clamp(46px, 14.8vw, 72px); }
  .hero-bottom { align-items: stretch; flex-direction: column; gap: 26px; margin-top: 34px; }
  .hero-bottom > p { width: 92%; font-size: 13px; }
  .button { width: 100%; }
  .hero-meta { top: 89px; right: var(--pad); bottom: auto; gap: 20px; writing-mode: initial; transform: none; }
  .hero-meta span:first-child { display: none; }
  .hero-scroll { display: none; }
  .ticker-track { padding: 13px 0; font-size: 15px; }
  .section { gap: 0; padding-top: 90px; padding-bottom: 90px; }
  .section-label { margin-bottom: 45px; }
  .about-copy > p { margin-top: 34px; font-size: 16px; }
  .facts { gap: 10px; margin-top: 45px; padding-top: 22px; }
  .facts div { display: block; }
  .facts span { display: block; margin-top: 7px; font-size: 8px; }
  .about-photo { width: calc(100% - 14px); margin-top: 75px; }
  .about-photo::before { top: -15px; left: -15px; }
  .services-head, .team-head, .gallery-head { align-items: flex-start; flex-direction: column; }
  .services-head p, .team-head p { width: 100%; margin-top: 28px; }
  .service-tabs { gap: 24px; margin-top: 52px; overflow-x: auto; }
  .price-row { grid-template-columns: 1fr auto; gap: 8px 18px; padding: 22px 0; }
  .price-row p { grid-column: 1 / span 2; width: auto; }
  .price-row strong { grid-column: 2; grid-row: 1; min-width: auto; font-size: 18px; }
  .team-grid { grid-template-columns: 1fr; gap: 44px; margin-top: 58px; }
  .team-card:nth-child(even), .team-card:nth-child(even).reveal, .team-card:nth-child(even).reveal.is-visible { transform: none; }
  .team-photo img { aspect-ratio: .86 / 1; }
  .team-note { margin-top: 55px; }
  .gallery-head a { margin-top: 20px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 330px 200px 280px; gap: 8px; margin-top: 50px; }
  .gallery-item-tall { grid-column: 1 / span 2; grid-row: auto; }
  .gallery-item-wide { grid-column: 1 / span 2; }
  .contacts-main { min-height: 450px; }
  .round-cta { right: 0; bottom: 30px; width: 155px; height: 155px; padding: 25px; }
  .contact-details { grid-template-columns: 1fr 1fr; gap: 38px 20px; }
  .contact-details div > span { margin-bottom: 12px; }
  .contact-details a, .contact-details p { font-size: 14px; }
  .footer { grid-template-columns: 1fr auto; padding-bottom: 30px; }
  .footer p { display: none; }
  .mobile-action { position: fixed; z-index: 49; right: 0; bottom: 0; left: 0; display: block; color: var(--ink); background: var(--accent); }
  .mobile-action a { display: flex; align-items: center; justify-content: space-between; min-height: 66px; padding: 0 20px; }
  .mobile-action span { font-size: 13px; font-weight: 700; text-transform: uppercase; }
  .mobile-action b { font-size: 11px; font-weight: 600; }
}

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