@font-face {
  font-family: Manrope;
  src: url("./assets/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: Manrope;
  src: url("./assets/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Old Standard TT";
  src: url("./assets/old-standard-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

@font-face {
  font-family: "Old Standard TT";
  src: url("./assets/old-standard-cyrillic-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

:root {
  --paper: #f7f7f0;
  --ivory: #fbf4e6;
  --ink: #26352d;
  --forest: #122d23;
  --deep: #11231b;
  --clay: #835038;
  --rule: #c9bca6;
  --gold: #fae4c0;
  --accent: #e1ebaa;
  --accent-ink: #282e1c;
  --hero-gutter: clamp(24px, 4.7vw, 82px);
  --display: "Old Standard TT", Georgia, serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --gutter: clamp(20px, 5.3vw, 90px);
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, figure, dl, dd { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[hidden] { display: none !important; }
section[id], footer[id] { scroll-margin-top: 24px; }

.wrap { width: min(1280px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip {
  position: absolute;
  z-index: 8;
  top: 12px;
  left: 12px;
  padding: .8rem 1.2rem;
  transform: translateY(-180%);
  background: var(--ivory);
}
.skip:focus { transform: translateY(0); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header {
  position: absolute;
  z-index: 3;
  inset: clamp(24px, 3vw, 48px) var(--hero-gutter) auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #fcfbf6;
}
.desktop-nav { display: flex; gap: clamp(20px, 3vw, 48px); }
.site-header nav a {
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: .32em;
}
.site-header nav a:hover { text-decoration: underline; }
.mobile-menu { display: none; }

.hero {
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: clip;
  min-height: clamp(595px, calc(100svh - 58px), 900px);
  background: #26281c;
  color: #fffef9;
}
.hero-media {
  position: absolute;
  z-index: -2;
  inset: -2% 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 54%;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, #10130e54 0%, transparent 30%, transparent 46%, #14150c86 100%),
    linear-gradient(90deg, #12140c30, transparent 69%);
}
.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding: 120px var(--hero-gutter) clamp(34px, 5.25vw, 88px);
}
.hero-wordmark {
  position: relative;
  font: 500 clamp(5.2rem, 11.55vw, 12rem)/.84 Manrope, system-ui, sans-serif;
  letter-spacing: -.066em;
}
.wordmark-visual { display: grid; gap: .085em; }
.wordmark-line { display: flex; align-items: center; width: max-content; }
.wordmark-stamp {
  position: relative;
  top: .012em;
  display: grid;
  place-items: center;
  flex: 0 0 .735em;
  width: .735em;
  height: .735em;
  margin-inline: .04em 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--accent);
  isolation: isolate;
}
.stamp-art {
  position: relative;
  width: 82%;
  height: 82%;
  border-radius: 50%;
  overflow: hidden;
  mix-blend-mode: multiply;
}
.stamp-art img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 288%;
  max-width: none;
  height: auto;
  filter: grayscale(1) contrast(1.24);
  transform: translate(-50%, -50.3%);
}
.hero-subtitle {
  padding-bottom: .04em;
  font-size: clamp(1.1rem, 2.15vw, 2.1rem);
  font-weight: 500;
  line-height: 1.23;
  letter-spacing: -.04em;
}
.eyebrow {
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h2, h3 { font: 400 1em/1 var(--display); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.15em;
  min-height: 50px;
  padding: .85rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 130ms var(--ease-out);
}
.button:active { transform: scale(.98); }
.button-accent { color: var(--accent-ink); background: var(--accent); }
.button-accent:hover { background: #edf4c6; }
.header-booking {
  gap: .75rem;
  min-height: 48px;
  padding: 4px 4px 4px 17px;
  border-color: #f3f4d8;
  background: #eff0d1;
  color: var(--accent-ink);
  box-shadow: 0 3px 14px #15180f60, inset 0 1px #ffffffa0;
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.header-booking:hover { background: #fffde6; }
.header-booking:focus-visible { outline-color: #fffef9; }
.header-booking-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #dde5b4;
}
.header-booking-icon span {
  position: relative;
  width: 14px;
  height: 13px;
  border: 1.25px solid currentColor;
  border-radius: 3px;
}
.header-booking-icon span::before,
.header-booking-icon span::after { content: ""; position: absolute; }
.header-booking-icon span::before { top: 3px; inset-inline: 0; border-top: 1px solid currentColor; }
.header-booking-icon span::after {
  top: -3px;
  left: 2px;
  width: 1px;
  height: 4px;
  border-radius: 1px;
  background: currentColor;
  box-shadow: 6px 0 currentColor;
}
.button-dark { background: var(--forest); color: var(--ivory); }
.button-dark:hover { background: #2a5140; }

.heritage {
  padding-block: clamp(54px, 8vw, 122px);
}
.heritage-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 20px;
}
.heritage-label {
  order: 1;
  flex: none;
  margin-top: .5em;
  padding: .3em .77em;
  border: 1px solid #7b8270;
  border-radius: 100px;
  font-size: .78rem;
  line-height: 1.5;
}
.heritage-heading h2 {
  max-width: 16ch;
  margin: 0;
  font: 500 clamp(2.4rem, 5vw, 5.2rem)/1.02 Manrope, system-ui, sans-serif;
  letter-spacing: -.073em;
}
.heritage-body {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  align-items: start;
  gap: clamp(28px, 8vw, 132px);
  margin-top: clamp(29px, 6vw, 86px);
}
.heritage-copy p {
  max-width: 43ch;
  color: #485343;
  line-height: 1.65;
}
.heritage-copy p + p { margin-top: .9rem; }
.heritage-copy .button { margin-top: 1.4rem; }

.heritage-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(9px, 1.15vw, 17px);
}
.heritage-card, .heritage-card-photo {
  min-height: clamp(112px, 12vw, 172px);
  border-radius: clamp(15px, 1.65vw, 23px);
}
.heritage-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: clamp(13px, 2.2vw, 30px);
  border: 1px solid #a2a795;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.heritage-card:hover { border-color: #828d66; background: #ecf0d9; }
.heritage-card strong {
  font-size: clamp(1.72rem, 3.38vw, 3.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.073em;
}
.heritage-card span { color: #485343; font-size: .88rem; line-height: 1.4; }
.heritage-card-photo { position: relative; overflow: hidden; background: #50432c; }
.heritage-card-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 49% 53%; }

.studio {
  display: grid;
  grid-template-columns: 1fr .75fr;
  align-items: center;
  gap: clamp(35px, 8vw, 136px);
  padding-block: clamp(70px, 10vw, 154px);
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.studio-copy .eyebrow, .classes-copy .eyebrow { color: var(--clay); }
h2 {
  margin-top: .29em;
  font-size: clamp(3.45rem, 6.25vw, 7.25rem);
  line-height: .92;
  letter-spacing: -.058em;
}
h2 em { color: var(--clay); font-weight: 400; }
.studio-copy p:not(.eyebrow), .classes-copy p:not(.eyebrow) {
  max-width: 51ch;
  margin-top: 1.1rem;
  line-height: 1.7;
  font-size: 1rem;
}
.text-link { text-underline-offset: .28em; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--clay); }
.text-link span { margin-left: .3em; }

.collection {
  padding-block: clamp(65px, 9vw, 132px);
  color: var(--ivory);
  background: var(--forest);
}
.collection .eyebrow { color: #e4caaa; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 30px; }
.gallery-actions { display: flex; gap: 6px; padding-bottom: .25rem; }
.gallery-actions button, .lightbox button {
  background: transparent;
  color: inherit;
  border: 1px solid #f5e8cf80;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 1.13rem;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}
.gallery-actions button:disabled { opacity: .32; cursor: default; }
.gallery-actions button:enabled:hover, .lightbox button:hover { color: var(--forest); background: var(--ivory); }
.gallery {
  --gallery-gap: clamp(16px, 2.2vw, 34px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--gallery-gap)) / 3);
  gap: var(--gallery-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .8rem;
  scrollbar-color: #d9b587 #233b2e;
  scrollbar-width: thin;
}
.work { min-width: 0; scroll-snap-align: start; }
.work-image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #302820;
}
.work-image, .portrait { border-radius: clamp(13px, 1.4vw, 22px); }
.portrait { overflow: hidden; }
.work-image:focus-visible { outline-offset: -5px; }
.work-image img { width: 100%; height: 100%; object-fit: cover; }
.work:last-child img { object-fit: contain; }
.work:last-child .work-image { background: #28231f; }
.expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border-radius: 50%;
  background: var(--ivory);
  color: var(--ink);
  font-size: 1.25rem;
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .work-image img { transition: transform 260ms var(--ease-out); }
  .work-image:hover img { transform: scale(1.045); }
}
.work figcaption { padding: .95rem 0 1.25rem; border-bottom: 1px solid #f5e8cf55; }
h3 { font-size: clamp(1.5rem, 2.4vw, 2.32rem); line-height: 1; }
.work figcaption p { margin-top: .5rem; color: #e6dac5; line-height: 1.55; font-size: .93rem; }

.portrait { aspect-ratio: .8; background: #343631; }
.portrait img { object-position: 50% 25%; }
.milestones { margin-top: 1.7rem; }
.milestones div { display: grid; grid-template-columns: 4rem 1fr; gap: .8rem; padding-block: .7rem; border-top: 1px solid var(--rule); }
.milestones dt { color: var(--clay); font-weight: 600; }
.milestones dd { font-size: .91rem; line-height: 1.55; }
.classes { background: #e7dbca; }
.classes-figure { height: clamp(260px, 37vw, 565px); overflow: hidden; }
.classes-figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.classes-copy { padding-block: clamp(55px, 8vw, 110px); }
.classes-copy .button { margin-top: 1.55rem; }

.booking-grid {
  display: grid;
  grid-template-columns: 1fr .87fr;
  gap: clamp(28px, 6vw, 92px);
  align-items: center;
  padding-block: clamp(55px, 8vw, 110px);
}
.booking .eyebrow { color: var(--clay); }
.booking-intro { max-width: 45ch; margin-top: 1.15rem; line-height: 1.65; }
.contact-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.contact-list a {
  display: flex;
  justify-content: space-between;
  gap: 6px 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink);
  line-height: 1.4;
  text-decoration: none;
}
.contact-list a:hover { color: var(--clay); }
.contact-list span:last-child { text-decoration: underline; text-underline-offset: .24em; }

.footer { color: var(--ivory); background: var(--deep); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(115px, 250px) 1fr;
  align-items: center;
  gap: clamp(32px, 8vw, 130px);
  padding-block: clamp(52px, 8vw, 106px);
}
.footer-logo { width: 100%; height: auto; }
.footer .eyebrow, .footer h2 em { color: var(--gold); }
.footer-grid p:not(.eyebrow) { margin-top: 1rem; }
.footer-grid .text-link { display: inline-block; margin-top: .85rem; }
.footer-grid .text-link:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 20px; border-top: 1px solid #f5e8cf50; font-size: .84rem; }
.footer-bottom a { text-underline-offset: .23em; }

.lightbox {
  max-width: min(94vw, 960px);
  max-height: 92dvh;
  border: 0;
  padding: 0;
  background: var(--forest);
  color: var(--ivory);
}
.lightbox::backdrop { background: #100e0bee; }
.lightbox-bar { display: flex; gap: 8px; padding: 9px; }
.lightbox button { width: 40px; height: 40px; }
.lightbox-close { margin-left: auto; }
.lightbox img { max-height: calc(90dvh - 126px); margin-inline: auto; object-fit: contain; }
.lightbox figcaption { padding: .8rem 1rem; line-height: 1.35; text-align: center; }

@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: cover-arrive 1800ms var(--ease-out) both; }
  .wordmark-line, .hero-subtitle { animation: rise 700ms var(--ease-out) both; }
  .wordmark-line + .wordmark-line { animation-delay: 55ms; }
  .hero-subtitle { animation-delay: 110ms; }
  .stamp-art { animation: stamp-settle 850ms var(--ease-out) 110ms both; }
  .motion .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 560ms var(--ease-out), transform 650ms var(--ease-out);
  }
  .motion .reveal:is(.is-visible, :focus-within) { opacity: 1; transform: none; }
  .motion .image-reveal { opacity: 1; transform: none; clip-path: inset(9% 0 9% 0); transition: clip-path 600ms var(--ease-in-out); }
  .motion .image-reveal.is-visible { clip-path: inset(0); }
}

@keyframes cover-arrive { from { transform: scale(1.065); } to { transform: scale(1.015); } }
@keyframes stamp-settle { from { transform: rotate(-34deg); } to { transform: rotate(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .hero-wordmark { font-size: clamp(4.4rem, 11.7vw, 8rem); }
  .studio { gap: max(26px, 4vw); }
  .gallery { grid-auto-columns: calc((100% - var(--gallery-gap)) / 2); }
}
@media (max-width: 680px) {
  :root { --hero-gutter: clamp(17px, 5vw, 30px); }
  .site-header { inset-block-start: 16px; }
  .desktop-nav { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-left: -8px;
    border-radius: 50%;
    list-style: none;
    cursor: pointer;
  }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .menu-lines {
    display: block;
    width: 19px;
    height: 7px;
    border-block: 1px solid currentColor;
  }
  .mobile-menu nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    display: grid;
    min-width: 200px;
    padding: .5rem .75rem;
    border-radius: 17px;
    color: var(--accent-ink);
    background: var(--paper);
  }
  .mobile-menu nav a { padding: .72rem .5rem; }
  .header-booking { gap: .62rem; min-height: 44px; padding-left: 14px; }
  .header-booking-icon { width: 34px; height: 34px; }
  .hero { min-height: clamp(505px, calc(86svh - 12px), 730px); }
  .hero-media img { object-position: 58% 50%; }
  .hero::after {
    background: linear-gradient(180deg, #14150d65 0%, transparent 27%, transparent 45%, #14150dac 100%);
  }
  .hero-content { grid-template-columns: 1fr; gap: 20px; padding: 100px var(--hero-gutter) 30px; }
  .hero-wordmark { font-size: clamp(3.25rem, 18.8vw, 6.65rem); }
  .hero-subtitle { font-size: clamp(1.04rem, 4.25vw, 1.45rem); }
  .heritage-heading, .heritage-body { display: grid; grid-template-columns: 1fr; }
  .heritage-heading { gap: 12px; }
  .heritage-label { order: 0; margin: 0; justify-self: start; }
  .heritage-body { gap: 26px; margin-top: 19px; }
  .heritage-copy .button { min-height: 46px; margin-top: 1rem; }
  .heritage-card span { font-size: .85rem; }
  .studio { grid-template-columns: 1fr; padding-block: 60px; }
  h2 { font-size: clamp(3.15rem, 12vw, 5.15rem); }
  .gallery { grid-auto-columns: 82%; }
  .section-heading { margin-bottom: 21px; }
  .gallery-actions button { width: 38px; height: 38px; }
  .portrait { max-width: 450px; aspect-ratio: 1; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-logo { width: 140px; }
  .booking-grid { grid-template-columns: 1fr; }
  .contact-list a { flex-wrap: wrap; }
}
@media (max-width: 355px) {
  .gallery-actions { gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .gallery-actions button { transition: none; }
  .button:active { transform: none; }
}
