/* Тестовая публичная главная ROMANO. Не подключать к админке или Telegram. */
/* Локальные шрифты ROMANO: страница не зависит от внешних CDN. */
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/dm-serif-display-italic-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/dm-serif-display-italic-latin.woff2") format('woff2');
  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: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/dm-serif-display-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Serif Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/dm-serif-display-latin.woff2") format('woff2');
  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: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/inter-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/inter-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format('woff2');
  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: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format('woff2');
  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: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-cyrillic-ext.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-cyrillic.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format('woff2');
  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: 'Reenie Beanie';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/reenie-beanie-latin.woff2") format('woff2');
  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;
}

:root {
  --public-bg: #F7F5EB;
  --public-surface: #F0EDE1;
  --public-text: #202A2D;
  --public-accent: #202A2D;
  --public-sage: #CBD0B5;
  --public-font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --public-font-body: "Inter", -apple-system, "Segoe UI", Arial, sans-serif;
  --public-font-hand: "Reenie Beanie", "Segoe Print", cursive;
  --public-gutter: clamp(24px, 4vw, 64px);
  --public-section-space: clamp(160px, 14vw, 224px);
  --public-motion-ease: cubic-bezier(0.215, 0.61, 0.355, 1);
  --public-motion-duration: 800ms;
  --public-motion-stagger: 90ms;
  /* Переход между разделами: волна-шторка и каскад появления */
  --public-transition-cover-in: 900ms;
  --public-transition-cover-out: 1000ms;
  --public-transition-page: 1000ms;
  --public-transition-stagger: 90ms;
  --public-reveal-text-duration: 1200ms;
  --public-reveal-picture-duration: 1450ms;
  --public-reveal-frame-duration: 1200ms;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--public-bg); color: var(--public-text); font: 16px/1.65 var(--public-font-body); -webkit-font-smoothing: antialiased; }
body::after { content: ""; position: fixed; inset: 0; z-index: 25; pointer-events: none; opacity: 0.4; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Cpath fill='%23878374' opacity='.10' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid var(--public-text); outline-offset: 6px; }
.public-site main:focus, .public-site section:focus, .public-site dl:focus { outline: 2px solid var(--public-text); outline-offset: -6px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 40; padding: 12px 24px; background: var(--public-text); color: var(--public-bg); border-radius: 999px; transform: translateY(-200%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 20; min-height: 80px; padding: 14px var(--public-gutter); display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; align-items: center; gap: 24px; background: color-mix(in srgb, var(--public-bg) 80%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--public-sage); }
.brand { display: block; width: 190px; }
.brand-logo { display: block; width: 100%; height: auto; }
.site-navigation { justify-self: center; display: flex; gap: clamp(18px, 2.8vw, 42px); }
.site-navigation a { position: relative; display: flex; align-items: center; min-height: 44px; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.2em; white-space: nowrap; }
.site-navigation a > span { position: relative; z-index: 1; }
.public-site .nav-outline { position: absolute; left: 50%; top: 50%; width: calc(100% + 32px); height: calc(100% + 12px); transform: translate(-50%, -50%); overflow: visible; pointer-events: none; fill: none; stroke: var(--public-text); stroke-width: 1px; }
.public-site .nav-outline path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.public-site.js-ready .nav-outline path { transition: stroke-dashoffset 1000ms var(--public-motion-ease); }
.public-site .nav-outline path.is-outline-visible { stroke-dashoffset: 0; transition-duration: 1800ms; }
.menu-toggle { display: none; }
.pill-button { display: inline-flex; align-items: center; justify-content: center; gap: 32px; min-height: 48px; padding: 13px 26px; border: 1px solid var(--public-text); border-radius: 999px; background: var(--public-text); color: var(--public-bg); font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em; transition: background-color 350ms ease, color 350ms ease, transform 350ms ease; }
.pill-button:hover { background: var(--public-sage); color: var(--public-text); }
.header-cta { white-space: nowrap; }
.hero { position: relative; overflow: hidden; padding: clamp(72px, 9vh, 136px) var(--public-gutter) 48px; }
.hero-heading { position: relative; }
.hero-heading h1 { position: relative; z-index: 1; }
.hero-watermark { position: absolute; top: 50%; left: 50%; z-index: 0; transform: translate(-50%, -50%); font-family: var(--public-font-display); font-weight: 400; font-size: clamp(72px, 20vw, 300px); line-height: 0.8; letter-spacing: -0.06em; color: color-mix(in srgb, var(--public-text) 12%, transparent); pointer-events: none; user-select: none; white-space: nowrap; }
.eyebrow, .section-number { margin: 0 0 24px; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.24em; line-height: 1.5; }
.hero > .eyebrow { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--public-sage); }
h1, h2, h3 { margin: 0; font-family: var(--public-font-display); font-weight: 400; }
h1 { max-width: 1200px; font-size: clamp(92px, 13.6vw, 160px); line-height: 0.84; letter-spacing: -0.055em; }
h1 em, h1 > span { display: block; }
h1 em { font-weight: 400; }
h1 > span { margin-left: 10vw; }
h2 { font-size: clamp(56px, 6.6vw, 104px); line-height: 0.98; letter-spacing: -0.04em; }
h2 em { font-weight: 400; }
.underlined-word { position: relative; display: inline-block; }
.hand-underline { position: absolute; left: 3%; bottom: -0.10em; width: 97%; height: 0.12em; overflow: visible; fill: none; stroke: var(--public-sage); stroke-width: 4; stroke-linecap: round; }
.hero-bottom { display: grid; grid-template-columns: 1fr 1fr auto; gap: 32px; align-items: end; margin-top: 48px; }
.hero-note { max-width: 440px; margin: 0; font-size: clamp(18px, 1.65vw, 24px); font-weight: 300; line-height: 1.5; }
.hero-annotation { margin: 0; color: var(--public-text); font: 40px/1.02 var(--public-font-hand); transform: rotate(-7deg); }
.hero-annotation span { display: inline-block; margin-left: 16px; font-size: 48px; }
.round-link { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border: 1px solid var(--public-text); border-radius: 50%; transition: background-color 300ms ease; }
.round-link:hover { background: var(--public-sage); }
.round-link svg, .gallery-controls svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.draft-note { margin: 40px 0 0; color: var(--public-text); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; }
.hero-media { position: relative; height: 80vh; min-height: 560px; max-height: 960px; margin: 0 var(--public-gutter); border-radius: 64px; overflow: hidden; background: var(--public-surface); }
.hero-media > img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-media-shade { position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--public-text) 70%, transparent), transparent 70%); }
.media-caption { position: absolute; bottom: 56px; left: 56px; color: var(--public-bg); }
.media-rule { display: block; width: 48px; height: 1px; margin-bottom: 20px; background: currentColor; }
.media-caption .eyebrow { margin-bottom: 16px; }
.media-caption h2 { font-size: clamp(48px, 5.5vw, 88px); }
.photo-label { position: absolute; top: 24px; right: 24px; margin: 0; padding: 8px 16px; border-radius: 999px; background: color-mix(in srgb, var(--public-bg) 90%, transparent); color: var(--public-text); font-size: 10px; }
.content-section { margin-top: var(--public-section-space); padding: 0 var(--public-gutter); }
.section-heading { max-width: 1264px; margin: 0 auto 80px; }
.section-number { margin-bottom: 32px; color: var(--public-text); }
.split-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 48px; }
.split-heading > p { max-width: 320px; margin: 0 0 8px; color: var(--public-text); font-size: 14px; }
.philosophy-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; max-width: 1264px; margin: auto; }
.image-frame { overflow: hidden; background: var(--public-sage); border-radius: 40px; }
.philosophy-photo { position: relative; grid-row: span 2; min-height: 680px; margin: 0; }
.philosophy-photo img { width: 100%; height: 100%; object-fit: cover; }
.philosophy-photo figcaption { position: absolute; bottom: 20px; left: 20px; right: 20px; padding: 10px 16px; border-radius: 24px; background: color-mix(in srgb, var(--public-bg) 90%, transparent); font-size: 10px; }
.philosophy-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 376px; padding: 32px; border-radius: 40px; background: var(--public-sage); transition: background-color 500ms ease, color 500ms ease; }
.philosophy-card:hover { background: var(--public-text); color: var(--public-bg); }
.leaf-icon { width: 48px; height: 48px; margin-bottom: 48px; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; }
.philosophy-card .eyebrow { margin-bottom: 16px; }
.philosophy-card blockquote { margin: 0; font: 400 clamp(32px, 3vw, 48px)/1.06 var(--public-font-display); letter-spacing: -0.025em; }
.card-note { max-width: 360px; margin: 24px 0 0; font-size: 12px; }
.philosophy-copy { padding: 16px 24px; color: var(--public-text); }
.philosophy-copy p { margin: 0 0 20px; }
.text-link { display: inline-flex; gap: 24px; margin-top: 16px; padding-bottom: 8px; border-bottom: 1px solid var(--public-text); color: var(--public-text); font-size: 12px; }
.atmosphere-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; max-width: 1264px; margin: auto; }
.atmosphere-photo { position: relative; min-height: 320px; margin: 0; border-radius: 32px; }
.atmosphere-photo-wide { grid-row: span 2; min-height: 720px; }
.atmosphere-photo img { --photo-zoom: 1; width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transform: scale(var(--photo-zoom)); transition: filter 1000ms ease-out, transform 1000ms ease-out; }
.atmosphere-photo:hover img { --photo-zoom: 1.04; filter: grayscale(0%); }
.atmosphere-photo figcaption { position: absolute; right: 20px; bottom: 20px; left: 20px; padding: 10px 16px; border-radius: 24px; background: color-mix(in srgb, var(--public-bg) 90%, transparent); font-size: 10px; }
.atmosphere-note { display: flex; flex-direction: column; justify-content: space-between; min-height: 376px; padding: 32px; border-radius: 32px; background: var(--public-sage); }
.atmosphere-quote { margin: 0; font: 400 clamp(32px, 3vw, 48px)/1.1 var(--public-font-display); letter-spacing: -0.025em; }
.atmosphere-photo-small { min-height: 310px; }
.gallery-controls { display: flex; gap: 12px; padding-bottom: 8px; }
.gallery-controls button { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; padding: 0; border: 1px solid var(--public-text); border-radius: 50%; background: transparent; cursor: pointer; transition: background-color 300ms ease; }
.gallery-controls button:hover:not(:disabled) { background: var(--public-sage); }
.gallery-controls button:disabled { opacity: 0.3; cursor: default; }
.process-gallery { display: flex; gap: 32px; padding: 0 max(var(--public-gutter), calc((100vw - 1264px) / 2)) 24px; margin: 0 calc(-1 * var(--public-gutter)); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: var(--public-sage) transparent; -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent); mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent); }
.process-card { flex: 0 0 clamp(320px, 39vw, 560px); scroll-snap-align: start; }
.process-image { position: relative; aspect-ratio: 16 / 10; border-radius: 24px; }
.process-image img { --photo-zoom: 1; width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transform: scale(var(--photo-zoom)); transition: filter 2000ms ease-out, transform 2000ms ease-out; }
.process-card:hover .process-image img { --photo-zoom: 1.05; filter: grayscale(0%); }
.phase-tag { position: absolute; top: 20px; left: 20px; padding: 8px 16px; border: 1px solid color-mix(in srgb, var(--public-bg) 50%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--public-bg) 80%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; }
.process-card > .eyebrow { margin: 24px 0 8px; color: var(--public-text); }
.process-card h3 { font-size: clamp(30px, 2.5vw, 40px); line-height: 1.05; }
.process-note { margin: 12px 0 0; color: var(--public-text); font-size: 12px; }
.gallery-hint { display: flex; justify-content: space-between; margin: 16px 0 0; color: var(--public-text); font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; }
.menu-section { position: relative; padding-top: 96px; padding-bottom: 96px; border-top: 1px solid var(--public-sage); border-bottom: 1px solid var(--public-sage); background: var(--public-surface); }
.menu-section > * { max-width: 1264px; margin-left: auto; margin-right: auto; }
.menu-description { max-width: 560px; margin-top: 40px; color: var(--public-text); }
.menu-script { display: block; width: max-content; max-width: 100%; margin-top: 32px; margin-right: max(var(--public-gutter), calc((100% - 1264px) / 2)); color: var(--public-sage); font: 48px var(--public-font-hand); transform: rotate(-5deg); }
.contact-section { position: relative; margin-left: var(--public-gutter); margin-right: var(--public-gutter); padding: 80px 48px 48px; overflow: hidden; border-radius: 48px; background: var(--public-sage); text-align: center; }
.contact-glow { position: absolute; top: -120px; left: 30%; width: 40%; height: 240px; background: var(--public-bg); filter: blur(120px); opacity: 0.6; }
.contact-section > *:not(.contact-glow) { position: relative; }
.contact-section > p:not(.eyebrow) { margin: 32px auto; max-width: 520px; }
.contact-button { margin-top: 24px; min-height: 64px; padding: 20px 32px; }
.contact-button:hover { transform: scale(1.05); }
.contact-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 80px 0 0; padding-top: 32px; border-top: 1px solid color-mix(in srgb, var(--public-text) 25%, transparent); text-align: left; }
.contact-details dt { margin-bottom: 8px; font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; }
.contact-details dd { margin: 0; font-size: 14px; }
.site-footer { margin-top: var(--public-section-space); padding: 64px var(--public-gutter) 32px; background: var(--public-surface); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 56px; }
.footer-brand { width: min(460px, 52%); }
.footer-logo { display: block; width: 100%; height: auto; }
.footer-top > p { margin: 0; font: 32px/1.1 var(--public-font-display); }
.footer-mark { width: 64px; height: auto; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; border-top: 1px solid var(--public-sage); font-size: 10px; text-transform: uppercase; letter-spacing: 0.16em; }
.footer-bottom p { margin: 0; }
.staff-link { padding-bottom: 4px; border-bottom: 1px solid var(--public-text); }
.photo-credits { margin: 32px 0 0; color: var(--public-text); font-size: 10px; }
.photo-credits a { text-decoration: underline; text-underline-offset: 3px; }
/* Движение включается только после JS: без него контент виден сразу. */
/* Шторка: волна на SVG входит снизу и уходит вверх (как на gucciosteria.com). */
.public-site .page-transition { position: fixed; inset: 0; z-index: 30; visibility: hidden; pointer-events: none; }
.public-site .page-transition.is-active { visibility: visible; pointer-events: auto; }
.public-site .page-transition svg { display: block; width: 100%; height: 100%; }
.public-site .page-transition path { fill: var(--public-text); }
.public-site .page-transition__label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--public-bg); font: 400 clamp(48px, 9vw, 120px)/1 var(--public-font-display); letter-spacing: 0.05em; opacity: 0; }
.public-site .media-caption, .public-site .photo-label, .public-site .hero-media-shade, .public-site .image-frame figcaption { z-index: 4; }
/* Текст выезжает снизу, у каждого элемента свой шаг каскада. */
.public-site.motion-ready [data-reveal]:not([data-reveal="picture"]):not([data-reveal="line"]) { opacity: 0; transform: translateY(125px) rotate(var(--reveal-rotate, 0deg)); transition: opacity var(--public-motion-duration) ease-out var(--reveal-delay, 0ms), transform var(--public-reveal-text-duration) var(--public-motion-ease) var(--reveal-delay, 0ms); }
.public-site.motion-ready [data-reveal]:not([data-reveal="picture"]):not([data-reveal="line"]).is-revealed { opacity: 1; transform: translateY(0) rotate(var(--reveal-rotate, 0deg)); }
.public-site .hero-annotation { --reveal-rotate: -7deg; }
/* Фото: кадр схлопывается, снимок приходит из масштаба. */
.public-site.motion-ready [data-reveal="picture"] { position: relative; }
.public-site.motion-ready [data-reveal="picture"] > img { scale: 1.35; transition: scale var(--public-reveal-picture-duration) var(--public-motion-ease) var(--reveal-delay, 0ms); }
.public-site.motion-ready [data-reveal="picture"].is-revealed > img { scale: 1; }
.public-site.motion-ready [data-reveal="picture"]::after { content: ""; position: absolute; inset: 0; z-index: 3; border: 70px solid var(--public-sage); border-radius: inherit; pointer-events: none; transition: border-width var(--public-reveal-frame-duration) var(--public-motion-ease) calc(var(--reveal-delay, 0ms) + 250ms); }
.public-site.motion-ready [data-reveal="picture"].is-revealed::after { border-width: 0px; }
/* Линия растёт вбок. */
.public-site.motion-ready [data-reveal="line"] { transform: scaleX(0); transform-origin: left center; transition: transform var(--public-reveal-text-duration) var(--public-motion-ease) var(--reveal-delay, 0ms); }
.public-site.motion-ready [data-reveal="line"].is-revealed { transform: scaleX(1); }
/* Цитата: слова выезжают из-под маски по очереди. */
.public-site.motion-ready .quote-word-mask { display: inline-block; overflow: hidden; vertical-align: bottom; }
.public-site.motion-ready .quote-word { display: inline-block; transform: translateY(115%); transition: transform var(--public-reveal-text-duration) var(--public-motion-ease) calc(var(--reveal-delay, 0ms) + var(--word-delay, 0ms)); }
.public-site.motion-ready .is-revealed .quote-word { transform: translateY(0); }
@media (max-width: 1100px) {
  .site-header { grid-template-columns: 160px 1fr auto; gap: 16px; }
  .brand { width: 155px; }
  .site-navigation { gap: 18px; }
  .site-navigation a { font-size: 9px; }
  .header-cta { padding: 12px 18px; gap: 12px; }
  .philosophy-photo { min-height: 600px; }
  .atmosphere-photo-wide { min-height: 640px; }
  .footer-top > p { font-size: 26px; }
}
@media (max-width: 900px) {
  html { scroll-padding-top: 96px; }
  .site-header { min-height: 80px; grid-template-columns: minmax(0, 1fr) auto; }
  .brand { width: 180px; }
  .js-enabled .menu-toggle { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; width: 48px; height: 48px; padding: 0; border: 1px solid var(--public-text); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 20px; height: 1px; background: var(--public-text); transition: transform 180ms ease; }
  .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); }
  .site-navigation { grid-column: 1 / -1; width: 100%; padding: 14px 0 4px; flex-direction: column; align-items: flex-start; gap: 0; border-top: 1px solid var(--public-sage); }
  .js-enabled .site-navigation { display: none; }
  .site-navigation.is-open { display: flex; }
  .site-navigation a { width: fit-content; min-height: 48px; font-size: 12px; }
  .text-link { padding-top: 15px; }
  .staff-link { padding-top: 20px; }
  .header-cta { display: none; }
  h1 { font-size: clamp(80px, 15vw, 144px); }
  .hero-annotation { font-size: 34px; }
  .philosophy-layout { grid-template-columns: 1fr 1fr; gap: 24px; }
  .philosophy-photo { min-height: 560px; }
  .philosophy-card { padding: 24px; }
  .philosophy-copy { padding: 16px 0; font-size: 14px; }
  .atmosphere-grid { gap: 24px; }
  .atmosphere-photo-wide { min-height: 560px; }
  .atmosphere-note { padding: 24px; }
  .split-heading { align-items: flex-start; flex-direction: column; }
  .gallery-controls { align-self: flex-end; }
  .footer-top { flex-wrap: wrap; }
}
@media (max-width: 600px) {
  :root { --public-gutter: 20px; --public-section-space: 160px; }
  body { font-size: 14px; }
  .hero { padding-top: 64px; padding-bottom: 32px; }
  h1 { font-size: clamp(76px, 23vw, 128px); line-height: 0.87; }
  h1 > span { margin-left: 0; }
  h2 { font-size: clamp(48px, 14vw, 72px); }
  .hero-bottom { grid-template-columns: 1fr auto; gap: 32px 16px; margin-top: 40px; }
  .hero-note { font-size: 18px; }
  .hero-annotation { grid-column: 1; grid-row: 2; justify-self: end; margin-right: 24px; font-size: 32px; }
  .round-link { grid-column: 2; grid-row: 1; width: 52px; height: 52px; }
  .draft-note { margin-top: 32px; font-size: 9px; }
  .hero-media { height: 72vh; min-height: 520px; border-radius: 40px; }
  .media-caption { left: 28px; bottom: 32px; right: 24px; }
  .media-caption h2 { font-size: 48px; }
  .photo-label { top: 16px; right: 16px; font-size: 8px; }
  .section-heading { margin-bottom: 48px; }
  .philosophy-layout { grid-template-columns: 1fr; }
  .philosophy-photo { grid-row: auto; min-height: 420px; border-radius: 32px; }
  .philosophy-card { min-height: 360px; border-radius: 32px; }
  .philosophy-copy { padding: 16px 8px; }
  .atmosphere-grid { grid-template-columns: 1fr; gap: 20px; }
  .atmosphere-photo-wide { grid-row: auto; min-height: 480px; }
  .atmosphere-note { min-height: 320px; }
  .atmosphere-photo-small { min-height: 280px; }
  .gallery-controls button { width: 48px; height: 48px; }
  .process-gallery { gap: 20px; }
  .process-card { flex-basis: 82vw; }
  .phase-tag { top: 16px; left: 16px; font-size: 9px; }
  .process-card h3 { font-size: 32px; }
  .gallery-hint { gap: 16px; font-size: 9px; }
  .menu-section { padding-top: 64px; padding-bottom: 64px; }
  .menu-script { font-size: 40px; }
  .contact-section { padding: 56px 24px 32px; border-radius: 40px; }
  .contact-details { grid-template-columns: 1fr; margin-top: 56px; gap: 24px; }
  .contact-button { width: 100%; padding: 16px 20px; gap: 16px; font-size: 9px; }
  .site-footer { padding-top: 48px; }
  .footer-top { gap: 32px; padding-bottom: 40px; }
  .footer-brand { width: 100%; }
  .footer-top > p { font-size: 26px; }
  .footer-mark { width: 48px; }
  .footer-bottom { flex-direction: column; gap: 16px; font-size: 9px; }
  .staff-link { width: fit-content; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .menu-toggle span, .public-site .nav-outline path, .pill-button, .philosophy-card, .atmosphere-photo img, .process-image img { transition: none; }
  .public-site .page-transition { display: none; }
  .public-site.motion-ready [data-reveal], .public-site.motion-ready [data-reveal] > *, .public-site.motion-ready [data-reveal="line"]::after { opacity: 1; transform: none; transition: none; }
  .public-site.motion-ready [data-reveal="picture"] > img { scale: 1; }
  .public-site.motion-ready [data-reveal="picture"]::after { display: none; }
  .public-site.motion-ready .quote-word { transform: none; }
  .public-site .hero-annotation { transform: rotate(-7deg); }
}
