@font-face {
  font-family: Golos;
  src: url("fonts/golos-latin.woff2") format("woff2");
  font-weight: 400 700;
  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: Golos;
  src: url("fonts/golos-cyrillic.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Playfair;
  src: url("fonts/playfair-latin.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  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: Playfair;
  src: url("fonts/playfair-cyrillic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --ink: #1b1614;
  --ink-deep: #15110f;
  --ink-muted: #302925;
  --paper: #f8f2e9;
  --paper-deep: #eee5da;
  --ivory: #fff8ed;
  --rust: #f4654d;
  --rust-light: #ff8069;
  --rust-ink: #a23223;
  --text-muted: #5d514a;
  --text-pale: #ded2c9;
  --line: #d9cbbd;
  --line-dark: #51423a;
  --gutter: clamp(1.15rem, 5vw, 5rem);
  --measure: 78rem;
  --section-gap: clamp(4.5rem, 8.5vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.6 Golos, system-ui, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 600; }
h2 { font-size: clamp(2.6rem, 5vw, 5.2rem); line-height: 1.02; letter-spacing: -.064em; text-wrap: balance; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); letter-spacing: -.04em; line-height: 1.15; }
.wrap { width: min(var(--measure), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: var(--section-gap); }
.eyebrow { font-size: .875rem; font-weight: 650; line-height: 1.25; letter-spacing: .112em; }
.section-label { color: var(--rust-ink); margin-bottom: 1.1rem; }
.skip { position: fixed; z-index: 5; inset: .65rem auto auto .65rem; padding: .65rem 1rem; color: var(--ink); background: var(--ivory); transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }

.masthead { position: relative; z-index: 1; color: var(--ivory); background: var(--ink-deep); border-bottom: 1px solid #362b25; }
.masthead-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; min-height: 5.25rem; }
.home { display: inline-flex; text-decoration: none; flex: 0 0 auto; }
.wordmark { display: inline-grid; gap: .24rem; line-height: .88; }
.wordmark strong { font-size: 2.05rem; font-weight: 700; letter-spacing: -.095em; }
.wordmark strong span { color: var(--rust); }
.wordmark-sub { font-size: .64rem; line-height: 1; font-weight: 650; text-transform: uppercase; letter-spacing: .21em; }
.main-nav, .utilities, .languages { display: flex; align-items: center; }
.main-nav { gap: clamp(1rem, 2.8vw, 2.6rem); font-size: .875rem; font-weight: 500; }
.main-nav a, .languages a { text-decoration: none; }
.main-nav a:hover, .languages a:hover { color: var(--rust-light); }
.utilities { gap: clamp(.85rem, 2.3vw, 2rem); }
.languages { gap: .13rem; }
.languages a { display: grid; place-items: center; width: 2rem; height: 2.25rem; color: var(--text-pale); font-size: .875rem; font-weight: 650; }
.languages a[aria-current] { color: var(--rust-light); text-decoration: underline; text-underline-offset: .4rem; }
.header-contact { border: 1px solid var(--line-dark); padding: .62rem .85rem; font-size: .875rem; text-decoration: none; white-space: nowrap; }
.header-contact:hover { border-color: var(--rust-light); color: var(--rust-light); }

.hero { position: relative; isolation: isolate; min-height: clamp(36rem, 49vw, 47rem); display: grid; align-items: center; color: var(--ivory); background: var(--ink-deep); overflow: hidden; }
.hero-image, .hero::after { position: absolute; z-index: -1; inset: 0; height: 100%; width: 100%; }
.hero-image { object-fit: cover; object-position: 50% 42%; }
.hero::after { content: ""; background: linear-gradient(90deg, rgba(20,14,12,.7), rgba(20,14,12,.25) 59%, transparent 84%); }
.hero-inner { padding-block: 5.5rem 6rem; }
.hero-label { color: var(--ivory); display: flex; align-items: center; gap: .72rem; margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.hero-label::before { content: ""; width: 1.55rem; height: 2px; flex: 0 0 auto; background: var(--rust); }
.hero h1 { font-size: clamp(3.3rem, 7.5vw, 7.65rem); line-height: .98; letter-spacing: -.075em; }
.hero h1 em { display: block; color: var(--rust-light); font-family: Playfair, Georgia, serif; font-weight: 500; line-height: 1.03; letter-spacing: -.071em; }
.hero-intro { max-width: 35rem; margin-top: 1.8rem; color: var(--text-pale); font-size: clamp(1.03rem, 1.55vw, 1.26rem); }
.hero-actions, .contact-links, .profile-links { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.45rem; }
.hero-actions { margin-top: 2rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: .72rem 1.25rem; border: 1px solid transparent; font-weight: 650; line-height: 1.25; text-decoration: none; }
.button-primary { color: var(--ink-deep); background: var(--rust); }
.button-primary:hover { background: var(--rust-light); }
.subtle-link { font-weight: 550; text-decoration-thickness: 1px; text-underline-offset: .36em; }
.subtle-link:hover { color: var(--rust-light); }

.market-strip { color: var(--ivory); background: var(--ink-deep); border-top: 1px solid var(--line-dark); }
.market-inner { display: flex; align-items: center; gap: .65rem clamp(1.25rem, 5.2vw, 5rem); min-height: 5.5rem; }
.market-inner p { color: var(--text-pale); }
.market-inner ul { display: flex; flex-wrap: wrap; column-gap: clamp(1.2rem, 4.6vw, 4rem); padding: 0; margin: 0; list-style: none; font-size: clamp(1rem, 1.9vw, 1.45rem); font-weight: 650; letter-spacing: -.035em; }

.section-top { display: grid; grid-template-columns: 1.55fr 1fr; align-items: end; column-gap: clamp(2rem, 6vw, 6rem); margin-bottom: clamp(2rem, 4.8vw, 4rem); }
.section-intro { max-width: 31rem; color: var(--text-muted); font-size: clamp(1.025rem, 1.45vw, 1.18rem); }
.services-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); }
.service { display: flex; flex-direction: column; align-items: start; gap: .95rem; padding: clamp(1.45rem, 3vw, 2.85rem); }
.service:nth-child(even) { border-left: 1px solid var(--line); }
.service:nth-child(n+3) { border-top: 1px solid var(--line); }
.service:last-child { background: var(--paper-deep); }
.service h3::before { display: block; width: 1.5rem; height: 2px; margin-bottom: .95rem; background: var(--rust-ink); content: ""; }
.service p { max-width: 32rem; color: var(--text-muted); }
.service-tag { margin-top: auto; padding-top: .2rem; color: var(--rust-ink); font-size: .875rem; font-weight: 600; }

.founder-section { color: var(--ivory); background: var(--ink); }
.founder-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr); align-items: center; gap: clamp(2rem, 9vw, 9rem); }
.founder-figure { width: min(100%, 27rem); margin-inline: auto; }
.founder-figure img { width: 100%; height: auto; }
.founder-figure figcaption { padding-top: .65rem; font-size: .875rem; color: var(--text-pale); }
.founder-copy { display: grid; gap: 1rem; }
.founder-copy .section-label { color: var(--rust-light); margin: 0; }
.founder-copy h2 { text-wrap: initial; }
.founder-copy p { max-width: 42rem; }
.founder-copy p:not(.section-label, .founder-role) { color: var(--text-pale); }
.founder-role { font-size: clamp(1.1rem, 1.8vw, 1.42rem); font-weight: 550; line-height: 1.32; }
.profile-links { padding-top: .45rem; }

.process-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 6vw, 5.2rem); }
.atelier { width: 100%; height: 100%; min-height: 20rem; max-height: 32rem; object-fit: cover; object-position: 56% center; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 2.55rem 1fr; align-items: start; gap: 1rem; padding-block: 1.4rem; border-bottom: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); color: var(--rust-ink); font-size: .9rem; font-weight: 650; margin-top: .15rem; }
.steps h3 { margin-bottom: .4rem; }
.steps p { color: var(--text-muted); }

.journal-section { background: var(--paper-deep); }
.journal-list { list-style: none; padding: 0; margin: clamp(2rem, 4vw, 3.4rem) 0 0; border-top: 1px solid var(--line); }
.journal-list li { border-bottom: 1px solid var(--line); }
.journal-list a { display: grid; grid-template-columns: minmax(8rem, .32fr) minmax(0, 1fr); align-items: baseline; gap: .35rem 1.1rem; padding: 1.3rem .15rem; text-decoration: none; }
.journal-list a:hover .journal-entry strong { color: var(--rust-ink); }
.published-by { color: var(--rust-ink); font-size: .875rem; font-weight: 650; }
.journal-entry { display: grid; gap: .2rem; color: var(--text-muted); }
.journal-entry strong { width: fit-content; color: var(--ink); font-size: clamp(1.1rem, 1.75vw, 1.4rem); font-weight: 650; letter-spacing: -.028em; text-decoration: underline; text-decoration-color: #a99485; text-decoration-thickness: 1px; text-underline-offset: .22em; }

.contact-section { background: var(--rust); color: var(--ink-deep); overflow: hidden; }
.contact-inner { position: relative; isolation: isolate; }
.contact-inner h2 { max-width: 54rem; margin-top: 1.1rem; font-size: clamp(3rem, 6.6vw, 6.4rem); text-wrap: initial; }
.contact-copy { max-width: 35rem; margin-top: 1.25rem; font-size: clamp(1.04rem, 1.5vw, 1.2rem); }
.contact-links { margin-top: 1.75rem; }
.contact-links .button { min-width: 8.5rem; }
.button-dark { color: var(--ivory); background: var(--ink-deep); outline-color: var(--ink-deep); }
.button-dark:hover { background: var(--ink-muted); }
.button-outline { border-color: var(--ink); }
.button-outline:hover { background: var(--rust-light); }
.contact-mark { position: absolute; z-index: -1; display: block; right: 1.6rem; top: 50%; width: clamp(9rem, 28vw, 27rem); aspect-ratio: 1; border: 1px solid #24161038; border-radius: 50%; transform: translate(26%, -50%); }
.contact-mark::before, .contact-mark::after { content: ""; display: block; position: absolute; inset: 12%; border: inherit; border-radius: inherit; }
.contact-mark::after { inset: 24%; }

.footer { color: var(--ivory); background: var(--ink-deep); }
.footer-inner { min-height: 6.5rem; }
.copyright { color: var(--text-pale); font-size: .875rem; }

@media (max-width: 930px) {
  .header-contact { display: none; }
  .hero-image { object-position: 58% 42%; }
}

@media (max-width: 680px) {
  .masthead-inner { display: grid; grid-template-columns: 1fr auto; gap: .55rem 1rem; min-height: 0; padding-block: .85rem .55rem; }
  .utilities { grid-column: 2; grid-row: 1; }
  .main-nav { grid-column: 1 / -1; padding-top: .42rem; border-top: 1px solid var(--line-dark); gap: clamp(.85rem, 4vw, 1.75rem); }
  .main-nav a { padding: .42rem 0; }
  .hero { min-height: 34.25rem; }
  .hero-inner { padding-block: 3rem; }
  .hero-image { object-position: 67% 44%; }
  .hero::after { background: linear-gradient(90deg, #160e0be6, #160e0b95 64%, #160e0b4f); }
  .hero h1 { font-size: clamp(2.62rem, 9.45vw, 4.3rem); }
  .hero-label { max-width: 19rem; }
  .hero-intro { max-width: 27rem; }
  .market-inner { min-height: auto; padding-block: 1.25rem; align-items: start; flex-direction: column; }
  .section-top, .founder-grid, .process-grid, .services-grid { grid-template-columns: minmax(0, 1fr); }
  .section-top { gap: .9rem; }
  .service:nth-child(even) { border-left: 0; }
  .service + .service { border-top: 1px solid var(--line); }
  .founder-figure { width: min(100%, 25rem); margin-inline: 0; }
  .process-grid { gap: 1.7rem; }
  .atelier { height: auto; min-height: 0; max-height: 20rem; }
  .journal-list a { grid-template-columns: 1fr; }
  .footer-inner { min-height: auto; flex-wrap: wrap; padding-block: 1.2rem; column-gap: 1rem; }
  .copyright { order: 3; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
