@font-face {
  font-family: 'Cormorant Garamond';
  src: url('assets/fonts/cormorant-garamond.ttf') format('truetype');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('assets/fonts/cormorant-garamond-italic.ttf') format('truetype');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --paper: #fcfaf8;
  --ink: #493c38;
  --muted: #76645e;
  --line: #e6dcd5;
  --sage: #e9ece3;
  --rose: #955f63;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--rose); outline-offset: 6px; }
.skip { position: absolute; left: 20px; top: -80px; z-index: 9; padding: 15px; background: white; }
.skip:focus { top: 15px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.header { min-height: 100px; margin: 0 6%; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.brand { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1; letter-spacing: -.02em; display: flex; gap: 10px; align-items: center; }
.brand-symbol { font-size: 38px; color: var(--rose); line-height: 1; }
.brand-dot { display: none; }
.header nav { display: flex; gap: 32px; align-items: center; font-size: 13px; }
.header nav a { padding-block: 15px; }
.nav-contact { border: 1px solid #d8bcbc; border-radius: 30px; padding: 13px 21px; }
.nav-contact span { margin-left: 22px; }
.header a:hover, .text-link:hover { color: var(--rose); }
.hero { position: relative; isolation: isolate; min-height: 740px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5%; padding: 65px 8% 100px; overflow: hidden; background: var(--paper); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('assets/hero-background.jpg') center/cover no-repeat; opacity: .08; }
.hero.ink-ready::before { opacity: 1; }
#ink { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; display: none; }
.hero.ink-ready #ink { display: block; }
.hero-content { padding: 10px 0 30px; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .15em; line-height: 1.8; }
.status-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--rose); margin: 0 8px 2px 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; text-wrap: balance; }
h1 { font-size: clamp(58px, 6.2vw, 92px); line-height: 1; letter-spacing: -.035em; margin: 28px 0; }
em { font-family: var(--serif); font-weight: 400; color: var(--rose); }
.hero-description { font-size: 16px; line-height: 1.8; color: var(--muted); margin-bottom: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 28px; min-height: 52px; border-radius: 40px; padding: 15px 26px; background: var(--rose); color: #fff; font-size: 13px; transition: background .2s, transform .2s; }
.button:hover { background: #794b4f; transform: translateY(-2px); }
.button span { font-size: 20px; }
.hero-signature { display: block; margin-top: 23px; font: italic 500 21px/1.4 var(--serif); color: var(--muted); }
.hero-still-life { position: relative; width: 100%; max-width: 520px; justify-self: center; padding: 0 0 90px 55px; }
.hero-still-life figure { margin: 0; }
.hero-main-photo { padding: 12px; background: #f2e9e2; border-radius: 12px; transform: rotate(3deg); }
.hero-main-photo img { display: block; width: 100%; height: 420px; object-fit: cover; border-radius: 6px; }
.hero-main-photo figcaption { padding: 18px 5px; text-align: center; font: italic 500 20px/1.4 var(--serif); }
.hero-small-photo { position: absolute; left: -18px; bottom: 75px; width: 42%; padding: 9px 9px 0; background: #fffdfa; transform: rotate(-9deg); box-shadow: 0 12px 35px #64483b18; }
.hero-small-photo img { display: block; width: 100%; height: 190px; object-fit: cover; }
.hero-small-photo figcaption { padding: 13px 0; text-align: center; font: italic 500 20px/1.4 var(--serif); }
.hero-petal { position: absolute; right: -22px; top: 15px; font-size: 77px; color: #a47074; transform: rotate(12deg); }
.hero-bottom { position: absolute; bottom: 21px; left: 6%; right: 6%; display: flex; align-items: center; justify-content: space-between; font-size: 10px; letter-spacing: .14em; color: var(--muted); }
.hero-bottom a { font-size: 20px; padding: 12px 18px; }
.mouse-note { font: italic 14px var(--serif); letter-spacing: 0; }
.section { padding: 95px max(6%, calc((100vw - 1280px)/2)); }
.works { background: #f5f0eb; border-top: 1px solid var(--line); }
.section-top { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
h2 { font-size: clamp(40px, 4vw, 60px); letter-spacing: -.025em; line-height: 1.08; margin: 17px 0 0; }
.text-link { font-size: 12px; border-bottom: 1px solid #b08c87; padding: 14px 0; white-space: nowrap; }
.filters { display: flex; gap: 8px; margin: 32px 0 38px; flex-wrap: wrap; }
.filters button { border: 1px solid #d8cbc2; border-radius: 25px; padding: 12px 21px; color: var(--muted); background: transparent; min-height: 44px; font-size: 12px; transition: background .2s; }
.filters button[aria-pressed=true] { background: var(--ink); color: white; border-color: var(--ink); }
.filters button:hover { border-color: var(--rose); }
sup { font-size: 9px; margin-left: 7px; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 28px; align-items: start; }
.project[hidden] { display: none; }
.photo { position: relative; overflow: hidden; background: #e4ddd5; border-radius: 8px; aspect-ratio: 3 / 4; }

.photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.project:hover img { transform: scale(1.035); }
.photo-tag { position: absolute; bottom: 14px; left: 12px; padding: 8px 10px; border-radius: 20px; background: #fcfaf8f0; font-size: 10px; font-weight: 600; letter-spacing: .06em; }
.photo-arrow { position: absolute; top: 15px; right: 15px; background: var(--paper); border-radius: 50%; width: 36px; height: 36px; display: grid; place-items: center; font-size: 21px; transition: transform .3s; }
.project:hover .photo-arrow { transform: rotate(45deg); }
.project-caption { display: flex; justify-content: space-between; gap: 10px; padding: 20px 0 0; }
.project-caption h3 { font-size: 28px; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 9px; }
.project-caption p { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0; }
.project-caption > span { display: none; }
.gallery-footnote { font-size: 13px; color: var(--muted); line-height: 1.8; margin: 38px 0 0; max-width: 650px; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; align-items: center; }
.about-image { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: 12px; }
.about-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.about-image > span { position: absolute; bottom: 22px; left: 22px; right: 22px; text-align: center; background: var(--paper); padding: 13px; font-size: 11px; letter-spacing: .12em; }
.about-copy h2 { margin-bottom: 28px; }
.about-copy > p:not(.eyebrow) { font-size: 16px; color: var(--muted); line-height: 1.8; max-width: 450px; }
.about-details { display: flex; gap: 20px; border-top: 1px solid var(--line); margin-top: 30px; padding-top: 24px; font-size: 12px; line-height: 1.7; }

.contact { position: relative; isolation: isolate; overflow: hidden; text-align: center; background: #eee3e0; margin: 0 4% 60px; padding-top: 80px; padding-bottom: 80px; border-radius: 16px; }
.contact h2 { font-size: clamp(46px, 5.8vw, 84px); letter-spacing: -.025em; margin: 28px 0; }
.contact > p:not(.eyebrow) { font-size: 16px; line-height: 1.8; color: var(--muted); margin-bottom: 30px; }
.contact-flower { position: absolute; right: -30px; bottom: -100px; font-size: 360px; color: #e2cecb; z-index: -1; transform: rotate(15deg); }
footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding: 32px 6%; font-size: 12px; color: var(--muted); }
footer .brand { font-size: 28px; color: var(--ink); }
footer .brand-symbol { font-size: 29px; }
@media (min-width: 1600px) { .hero { padding-inline: max(8%, calc((100vw - 1280px)/2)); } }
@media (max-width: 1000px) {
  .hero { padding-inline: 6%; gap: 3%; }
  h1 { font-size: clamp(52px, 6.1vw, 64px); }
  .hero-main-photo img { height: 370px; }
  .hero-small-photo img { height: 155px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px 24px; }
  .photo { aspect-ratio: 3 / 4; }
}
@media (max-width: 700px) {
  .header { min-height: 80px; margin-inline: 5%; }
  .brand { font-size: 24px; gap: 6px; }
  .brand-symbol { font-size: 29px; }
  .header nav > a:not(.nav-contact) { display: none; }
  .nav-contact { font-size: 12px; padding: 12px 16px; }
  .nav-contact span { margin-left: 8px; }
  .hero { grid-template-columns: 1fr; padding: 38px 7% 75px; gap: 20px; }
  .hero-content { text-align: center; padding: 0; }
  h1 { font-size: clamp(46px, 10vw, 68px); letter-spacing: -.035em; margin: 22px 0; }
  .eyebrow { font-size: 10px; letter-spacing: .12em; }
  .hero-description { font-size: 15px; max-width: 36ch; margin-inline: auto; }
  .hero-description br { display: none; }
  .hero-signature { margin-top: 18px; }
  .hero-still-life { max-width: 390px; padding: 0 12px 90px 52px; margin: 15px auto 0; }
  .hero-main-photo img { height: 310px; }
  .hero-main-photo figcaption { font-size: 13px; padding-block: 13px; }
  .hero-small-photo { left: 0; }
  .hero-small-photo img { height: 150px; }
  .hero-small-photo figcaption { font-size: 18px; }
  .hero-petal { right: 0; font-size: 58px; }
  .mouse-note { display: none; }
  .section { padding: 58px 6%; }
  .section-top { display: block; }
  .text-link { display: inline-block; margin-top: 12px; }
  .filters { gap: 6px; margin: 24px 0 28px; }
  .filters button { padding: 11px 14px; }
  .gallery { gap: 30px 16px; }
  .photo { aspect-ratio: 3 / 4; }
  .photo-tag { bottom: 9px; left: 8px; font-size: 9px; padding: 7px; letter-spacing: .04em; }
  .photo-arrow { top: 10px; right: 10px; width: 30px; height: 30px; }
  .project-caption h3 { font-size: 25px; }
  .about { gap: 35px; grid-template-columns: 1fr; }
  .about-image { max-width: 440px; width: 100%; margin: auto; }
  .about-copy { padding: 0 2%; }
  .contact { margin: 0 4% 35px; border-radius: 12px; padding: 60px 7%; }
  .contact h2 { letter-spacing: -.025em; }
  footer { flex-wrap: wrap; padding: 26px 5%; }
  footer > span { display: none; }
}
@media (max-width: 380px) {
  .brand { font-size: 21px; }
  .gallery { grid-template-columns: 1fr; }
  .photo { aspect-ratio: 3 / 4; }
  .about-details { flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .hero.ink-ready #ink, .mouse-note { display: none; }
  .hero.ink-ready::before { opacity: .08; }
}

/* Shared vector marks and controls. */
.icon { display: inline-block; width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.brand-mark { width: 48px; height: 56px; color: var(--rose); fill: none; stroke: currentColor; stroke-width: 1.2; flex: 0 0 auto; }
.brand-name { display: block; }
.brand-name small { display: block; font: 500 9px/1.5 var(--sans); letter-spacing: .18em; margin-top: 8px; }
.nav-contact, .text-link, .footer-top { display: inline-flex; align-items: center; gap: 12px; }
.text-link { border: 1px solid var(--line); border-radius: 30px; padding: 14px 20px; }
.collage-caption { position: absolute; bottom: 0; left: 0; right: 0; margin: 0; text-align: center; font: italic 500 21px/1.4 var(--serif); color: var(--muted); }
.about-image { background: #eee7df; aspect-ratio: .75; }
.about-details > span { display: flex; align-items: center; gap: 10px; }
.about-details .icon { color: var(--rose); width: 26px; height: 26px; }
.contact-flower { width: 350px; height: 350px; fill: none; stroke: currentColor; stroke-width: .7; }
.photo-arrow .icon { width: 18px; height: 18px; }
@media (max-width: 700px) {
  .brand-mark { width: 34px; height: 44px; }
  .brand-name small { font-size: 8px; letter-spacing: .08em; }
  .nav-contact { gap: 8px; padding-inline: 12px; }
  .collage-caption { font-size: 19px; }
  .text-link { display: inline-flex; }
  .about-image { max-height: none; }
}

/* Text measures keep Cyrillic copy legible and prevent isolated short lines. */
.hero-content, .about-copy, .section-top > div { min-width: 0; }
.hero-description, .about-copy > p, .contact > p { text-wrap: pretty; }
.hero-description { max-width: 42ch; }
.button, .filters button, .nav-contact, .text-link { font-weight: 500; line-height: 1.4; }
.project-caption p { max-width: 32ch; }
.hero-small-photo figcaption { white-space: nowrap; }
@media (max-width: 380px) {
  .header { gap: 10px; }
  .brand { font-size: 25px; }
  .brand-name small { font-size: 7px; letter-spacing: .06em; }
  .brand-mark { width: 29px; }
}

@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; gap: 34px; }
  .project-caption h3 { font-size: 29px; }
  .project-caption p { max-width: none; }
}
