/* === Maison Veret — premium tailoring landing === */

:root {
    --black: #0d0d0e;
    --graphite: #1a1a1c;
    --graphite-2: #26262a;
    --ink: #111114;
    --ivory: #f4efe7;
    --milk: #ece6db;
    --champagne: #c9a878;
    --champagne-soft: #d8bd96;
    --burgundy: #5a1a23;
    --burgundy-deep: #3f1218;
    --line: rgba(13, 13, 14, 0.14);
    --line-light: rgba(244, 239, 231, 0.18);
    --muted: rgba(13, 13, 14, 0.6);
    --muted-light: rgba(244, 239, 231, 0.65);

    --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--ivory);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 300;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color .35s var(--ease), opacity .35s var(--ease); }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--champagne); color: var(--ink); }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
}

/* === Typography === */
.h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(40px, 5.4vw, 80px);
    line-height: 1.02;
    letter-spacing: -0.01em;
    color: var(--ink);
}
.h2 em { font-style: italic; color: var(--burgundy); font-weight: 500; }
.h2--light { color: var(--ivory); }
.h2--light em { color: var(--champagne); }

.eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 28px;
    font-weight: 500;
}
.eyebrow--light { color: var(--champagne); }

.lead {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(13, 13, 14, 0.78);
    margin-bottom: 24px;
    max-width: 520px;
}

.section-head { margin-bottom: 80px; }
.section-head--light .h2 { color: var(--ivory); }
.section-head--split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: end;
}
.process__lead {
    font-size: 16px;
    line-height: 1.75;
    color: var(--milk);
    opacity: 0.78;
    max-width: 460px;
    padding-left: 24px;
    border-left: 1px solid var(--line-light);
}
.details__lead {
    margin-top: 28px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--milk);
    opacity: 0.75;
    max-width: 520px;
}

/* — atelier mini-stats — */
.atelier-stats {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 0;
    border-top: 1px solid var(--line);
}
.atelier-stats > div {
    padding: 22px 28px 0 0;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.atelier-stats > div:not(:first-child) { padding-left: 28px; }
.atelier-stats > div:last-child { border-right: none; }
.atelier-stats strong {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: 38px;
    line-height: 1;
    color: var(--burgundy);
}
.atelier-stats span {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 38px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: all .4s var(--ease);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.btn--small { padding: 12px 24px; font-size: 11px; }
.btn--full { width: 100%; padding: 22px 38px; }

.btn--primary {
    background: var(--ink);
    color: var(--ivory);
    border-color: var(--ink);
}
.btn--primary:hover { background: var(--burgundy); border-color: var(--burgundy); transform: translateY(-2px); }

.btn--ghost {
    border-color: var(--ink);
    color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--ivory); }

.btn--link {
    padding: 18px 0;
    color: var(--ivory);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 13px;
}
.btn--link .arrow { transition: transform .4s var(--ease); display: inline-block; }
.btn--link:hover .arrow { transform: translateX(8px); }

/* === Header === */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    padding: 22px 0;
    transition: background .45s var(--ease), padding .45s var(--ease), border-color .45s var(--ease);
    border-bottom: 1px solid transparent;
}
.header.is-scrolled {
    background: rgba(13, 13, 14, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom-color: var(--line-light);
}
.header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo { display: flex; align-items: center; gap: 14px; color: var(--ivory); }
.logo__mark {
    width: 38px; height: 38px;
    border: 1px solid var(--champagne);
    color: var(--champagne);
    display: grid; place-items: center;
    font-family: var(--font-serif);
    font-size: 22px;
    font-style: italic;
    letter-spacing: 0;
}
.logo__mark--light { color: var(--champagne); border-color: var(--champagne); }
.logo__text {
    font-family: var(--font-serif);
    font-size: 22px;
    letter-spacing: 0.04em;
}

.nav { display: flex; gap: 36px; }
.nav a {
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ivory);
    opacity: 0.78;
    position: relative;
    padding: 4px 0;
}
.nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 100%;
    height: 1px;
    background: var(--champagne);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}
.nav a:hover { opacity: 1; color: var(--champagne); }
.nav a:hover::after { transform: scaleX(1); }

.header .btn--ghost { color: var(--ivory); border-color: var(--champagne); }
.header .btn--ghost:hover { background: var(--champagne); border-color: var(--champagne); color: var(--ink); }

.burger {
    display: none;
    width: 38px; height: 38px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 8px;
}
.burger span {
    height: 1px;
    background: var(--ivory);
    transition: transform .3s var(--ease), opacity .3s var(--ease);
}

/* === Hero === */
.hero {
    position: relative;
    min-height: 100vh;
    color: var(--ivory);
    background: var(--black);
    display: flex;
    flex-direction: column;
    padding: 130px 48px 40px;
    overflow: hidden;
    isolation: isolate;
}

/* — background image — */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: grayscale(0.55) brightness(0.5) contrast(1.15) saturate(0.55);
    animation: heroZoom 24s ease-out forwards;
}
@keyframes heroZoom {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

/* — overlay layers — */
.hero__vignette {
    position: absolute; inset: 0; z-index: 1;
    background:
        radial-gradient(ellipse 90% 70% at 30% 50%, transparent 0%, rgba(13,13,14,0.55) 60%, rgba(13,13,14,0.95) 100%),
        linear-gradient(180deg, rgba(13,13,14,0.55) 0%, rgba(13,13,14,0.15) 30%, rgba(13,13,14,0.9) 100%);
    pointer-events: none;
}
.hero__weave {
    position: absolute; inset: 0; z-index: 2;
    background-image:
        repeating-linear-gradient(135deg, rgba(244,239,231,0.025) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(45deg, rgba(244,239,231,0.018) 0 1px, transparent 1px 5px);
    pointer-events: none;
    mix-blend-mode: overlay;
}
.hero__grain {
    position: absolute; inset: 0; z-index: 3;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    opacity: 0.35;
    mix-blend-mode: overlay;
    pointer-events: none;
}

/* — pattern-cutter's marks (hidden — were colliding with cards) — */
.hero__lines { display: none; }

/* — by-appointment badge — */
.hero__badge {
    position: absolute;
    top: 110px;
    right: 48px;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px 14px 18px;
    background: rgba(13, 13, 14, 0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(201, 168, 120, 0.28);
    color: var(--ivory);
}
.hero__badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--champagne);
    box-shadow: 0 0 0 4px rgba(201, 168, 120, 0.15);
    animation: dotPulse 2.6s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(201, 168, 120, 0.15); }
    50% { box-shadow: 0 0 0 7px rgba(201, 168, 120, 0); }
}
.hero__badge strong {
    display: block;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: 16px;
    color: var(--champagne);
    letter-spacing: 0.01em;
    line-height: 1;
    margin-bottom: 4px;
}
.hero__badge span {
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--milk);
    opacity: 0.75;
}

/* — main grid — */
.hero__grid {
    position: relative;
    z-index: 5;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 24px 0 48px;
}

.hero__content { max-width: 720px; }
.hero__title {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: clamp(40px, 5.6vw, 84px);
    line-height: 1.02;
    letter-spacing: -0.015em;
    margin-bottom: 26px;
}
.hero__title em { font-style: italic; color: var(--champagne); font-weight: 500; }
.hero__sub {
    font-size: clamp(15px, 1.15vw, 18px);
    max-width: 500px;
    color: var(--milk);
    opacity: 0.85;
    margin-bottom: 34px;
    font-weight: 300;
    line-height: 1.6;
}
.hero__actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* — editorial detail cards — */
.hero__cards {
    position: relative;
    height: 500px;
    width: 100%;
    max-width: 470px;
    justify-self: end;
}
.hero__card {
    position: absolute;
    overflow: hidden;
    background: var(--graphite);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.65), 0 0 0 1px rgba(201,168,120,0.12);
    transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.hero__card img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: none;
    transition: transform 1.6s var(--ease);
}
.hero__card:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -20px rgba(0,0,0,0.75), 0 0 0 1px rgba(201,168,120,0.35); }
.hero__card:hover img { transform: scale(1.04); }

.hero__card figcaption {
    position: absolute;
    left: 14px; right: 14px; bottom: 12px;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ivory);
    display: flex; align-items: center; gap: 10px;
    z-index: 2;
    padding: 32px 0 0;
    background: linear-gradient(to top, rgba(13,13,14,0.95) 30%, rgba(13,13,14,0.6) 70%, transparent);
    margin: 0 -14px;
    padding-left: 14px; padding-right: 14px;
    padding-bottom: 4px;
    font-weight: 500;
}
.hero__card figcaption span {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--champagne);
    font-size: 17px;
    letter-spacing: 0;
    line-height: 1;
    flex-shrink: 0;
}

.hero__card--lapel  { top: 0;      right: 0;   width: 58%; height: 56%; z-index: 2; }
.hero__card--tape   { bottom: 0;   left: 0;    width: 46%; height: 58%; z-index: 1; }
.hero__card--swatch { bottom: 4%;  right: 4%;  width: 50%; height: 30%; z-index: 3; }

/* tailor's ruler ticks between cards */
.hero__cards-tick {
    position: absolute;
    top: 50%;
    right: -20px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    opacity: 0.4;
}
.hero__cards-tick span {
    display: block;
    width: 10px;
    height: 1px;
    background: var(--champagne);
}
.hero__cards-tick span:nth-child(odd) { width: 16px; }

/* — bottom meta bar — */
.hero__meta {
    position: relative;
    z-index: 5;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    border-top: 1px solid var(--line-light);
    padding-top: 26px;
}
.hero__meta > div {
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--milk);
    display: flex;
    align-items: baseline;
    gap: 16px;
    opacity: 0.85;
}
.hero__meta span {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--champagne);
    font-size: 22px;
    letter-spacing: 0;
    text-transform: none;
    opacity: 1;
}

/* === Philosophy === */
.philosophy { padding: 160px 0; }

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.signature {
    margin-top: 56px;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}
.signature__mono {
    width: 58px; height: 58px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    color: var(--ink);
    position: relative;
    flex-shrink: 0;
}
.signature__mono i {
    font-size: 22px;
    line-height: 1;
    font-style: italic;
}
.signature__mono i:first-child { margin-right: -4px; transform: translateY(-2px); }
.signature__mono i:last-child { color: var(--burgundy); transform: translateY(2px); }
.signature__mono::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 1px dashed rgba(13, 13, 14, 0.18);
}
.signature strong { font-family: var(--font-serif); font-size: 20px; font-weight: 500; display: block; }
.signature span { font-size: 13px; color: var(--muted); letter-spacing: 0.05em; }

/* === Services === */
.services {
    padding: 140px 0;
    background: var(--milk);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--line);
}
.service {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 32px;
    padding: 48px 32px;
    border-bottom: 1px solid var(--line);
    transition: background .5s var(--ease), padding .5s var(--ease);
    cursor: default;
}
.service:nth-child(odd) { border-right: 1px solid var(--line); }
.service:hover {
    background: var(--ivory);
    padding-left: 40px;
}
.service--wide {
    grid-column: 1 / -1;
    border-right: none !important;
}
.service__num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 32px;
    color: var(--champagne);
    line-height: 1;
}
.service h3 {
    font-family: var(--font-serif);
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 14px;
    line-height: 1.1;
}
.service p {
    color: rgba(13, 13, 14, 0.7);
    margin-bottom: 18px;
    max-width: 460px;
}
.service__meta {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
    display: inline-block;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

/* === Process === */
.process { padding: 160px 0; background: var(--ink); color: var(--ivory); }
.process .eyebrow { color: var(--champagne); }
.process .h2 { color: var(--ivory); }
.process .h2 em { color: var(--champagne); }

.process__list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-top: 1px solid var(--line-light);
}
.process__item {
    padding: 56px 28px 36px;
    border-right: 1px solid var(--line-light);
    transition: background .5s var(--ease);
    position: relative;
}
.process__item:last-child { border-right: none; }
.process__item:hover { background: var(--graphite); }
.process__num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 36px;
    color: var(--champagne);
    display: block;
    margin-bottom: 36px;
}
.process__item h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 14px;
}
.process__item p {
    font-size: 14px;
    color: var(--muted-light);
    line-height: 1.65;
    margin-bottom: 28px;
}
.process__time {
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--champagne);
    padding-top: 16px;
    border-top: 1px solid var(--line-light);
    display: block;
}

/* === Materials === */
.materials { padding: 160px 0; background: var(--ivory); }

.materials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 36px;
}
.material:nth-child(4), .material:nth-child(5) { grid-column: span 1; }
.material:nth-child(4) { grid-column-start: 1; }
.material:nth-child(5) { grid-column-start: 2; }

.material__img {
    overflow: hidden;
    aspect-ratio: 4 / 5;
    margin-bottom: 24px;
    background: var(--milk);
}
.material__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.4s var(--ease), filter .8s var(--ease);
    filter: grayscale(0.55) contrast(1.08) brightness(0.95);
}
.material:hover .material__img img { transform: scale(1.06); filter: grayscale(0) contrast(1) brightness(1); }
.material h3 {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 8px;
}
.material p {
    color: var(--muted);
    font-size: 15px;
    max-width: 360px;
}

/* === Cases === */
.cases { padding: 160px 0; background: var(--milk); border-top: 1px solid var(--line); }

.case {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 72px 0;
    border-bottom: 1px solid var(--line);
}
.case:last-child { border-bottom: none; padding-bottom: 0; }
.case--reverse { grid-template-columns: 1fr 1.05fr; }
.case--reverse .case__img { order: 2; }

.case__img { overflow: hidden; aspect-ratio: 4 / 5; }
.case__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(0.7) contrast(1.08) brightness(0.9);
    transition: transform 1.4s var(--ease), filter .8s var(--ease);
}
.case:hover .case__img img { transform: scale(1.05); filter: grayscale(0.15) contrast(1) brightness(1); }

.case__tag {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--burgundy);
    padding: 6px 14px;
    border: 1px solid var(--burgundy);
    margin-bottom: 24px;
}
.case h3 {
    font-family: var(--font-serif);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 500;
    line-height: 1.05;
    margin-bottom: 32px;
}
.case__list { list-style: none; }
.case__list li {
    padding: 20px 0;
    border-top: 1px solid var(--line);
    font-size: 15px;
    line-height: 1.7;
    color: rgba(13, 13, 14, 0.78);
}
.case__list li:last-child { border-bottom: 1px solid var(--line); }
.case__list strong {
    display: inline-block;
    width: 110px;
    font-weight: 500;
    color: var(--ink);
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* === Details === */
.details {
    padding: 160px 0;
    background: var(--ink);
    color: var(--ivory);
}

.details__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 24px;
}
.detail:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.detail:nth-child(2) { grid-column: 3 / 4; grid-row: 1; }
.detail:nth-child(3) { grid-column: 4 / 5; grid-row: 1; }
.detail:nth-child(4) { grid-column: 1 / 2; grid-row: 2; }
.detail:nth-child(5) { grid-column: 2 / 5; grid-row: 2; }

.detail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: default;
}
.detail:nth-child(1), .detail:nth-child(5) { aspect-ratio: 16 / 9; }
.detail img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(0.5) brightness(0.85);
    transition: transform 1.4s var(--ease), filter .6s var(--ease);
}
.detail:hover img { transform: scale(1.05); filter: grayscale(0) brightness(1); }

.detail__text {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 2;
    font-size: 14px;
    letter-spacing: 0.1em;
    color: var(--ivory);
    display: flex;
    align-items: baseline;
    gap: 14px;
}
.detail__text span {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--champagne);
    font-size: 22px;
}

/* === CTA / Form === */
.cta {
    padding: 160px 0;
    background: linear-gradient(180deg, var(--milk) 0%, var(--ivory) 100%);
}
.two-col--cta { gap: 120px; }

.cta__info {
    list-style: none;
    margin-top: 48px;
    border-top: 1px solid var(--line);
}
.cta__info li {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 32px;
    align-items: baseline;
}
.cta__info span {
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
}

.form {
    background: var(--ivory);
    padding: 56px 48px;
    border: 1px solid var(--line);
    position: sticky;
    top: 120px;
}
.form__row { margin-bottom: 28px; }
.form label { display: block; }
.form span {
    display: block;
    font-size: 11px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 10px;
}
.form input, .form select {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid var(--ink);
    background: transparent;
    font-size: 16px;
    font-weight: 300;
    outline: none;
    transition: border-color .35s var(--ease);
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
}
.form select {
    background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
    background-position: calc(100% - 14px) 22px, calc(100% - 8px) 22px;
    background-size: 6px 6px;
    background-repeat: no-repeat;
}
.form input:focus, .form select:focus { border-color: var(--burgundy); }
.form input::placeholder { color: rgba(13, 13, 14, 0.35); }

.form .btn { margin-top: 16px; }
.form__note {
    margin-top: 22px;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.6;
    text-align: center;
}
.form__success {
    display: none;
    margin-top: 18px;
    padding: 14px 18px;
    background: var(--burgundy);
    color: var(--ivory);
    font-size: 13px;
    letter-spacing: 0.05em;
    text-align: center;
}
.form__success.is-visible { display: block; }

/* === Footer === */
.footer {
    background: var(--black);
    color: var(--milk);
    padding: 80px 0 32px;
}
.footer__inner { display: flex; flex-direction: column; gap: 56px; }
.footer__brand {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--line-light);
}
.footer__brand strong {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 500;
    color: var(--ivory);
    display: block;
}
.footer__brand span {
    font-size: 13px;
    color: var(--muted-light);
    letter-spacing: 0.05em;
}

.footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}
.footer__cols > div { display: flex; flex-direction: column; gap: 14px; }
.footer__title {
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--champagne);
    margin-bottom: 12px;
}
.footer__cols a {
    color: var(--milk);
    opacity: 0.7;
    font-size: 14px;
}
.footer__cols a:hover { opacity: 1; color: var(--champagne); }

.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid var(--line-light);
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--muted-light);
    letter-spacing: 0.05em;
}

/* === Reveal animations === */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal--delay { transition-delay: .15s; }

/* === Responsive === */
@media (max-width: 1100px) {
    .container, .header__inner, .hero__meta { padding-left: 32px; padding-right: 32px; }
    .hero { padding-left: 32px; padding-right: 32px; }
    .hero__grid { grid-template-columns: 1fr; gap: 48px; padding-top: 20px; }
    .hero__cards { height: 280px; max-width: 100%; justify-self: stretch; }
    .hero__card--lapel  { width: 52%; height: 100%; right: 0; top: 0; }
    .hero__card--tape   { width: 40%; height: 78%; left: 0; bottom: 0; }
    .hero__card--swatch { display: none; }
    .hero__cards-tick { display: none; }
    .hero__tag--1, .hero__tag--2, .hero__tag--3 { display: none; }
    .hero__badge { display: none; }
    .section-head--split { grid-template-columns: 1fr; gap: 32px; }
    .process__lead { padding-left: 0; border-left: none; border-top: 1px solid var(--line-light); padding-top: 24px; }
    .atelier-stats > div { padding-right: 20px; }
    .atelier-stats > div:not(:first-child) { padding-left: 20px; }
    .atelier-stats strong { font-size: 32px; }
    .two-col, .two-col--cta { grid-template-columns: 1fr; gap: 56px; }
    .form { position: static; }
    .process__list { grid-template-columns: repeat(2, 1fr); }
    .process__item { border-bottom: 1px solid var(--line-light); }
    .process__item:nth-child(2n) { border-right: none; }
    .materials__grid { grid-template-columns: repeat(2, 1fr); }
    .material:nth-child(n) { grid-column: auto !important; grid-column-start: auto !important; }
    .nav { display: none; }
    .header .btn--ghost { display: none; }
    .burger { display: flex; }
    .details__grid { grid-template-columns: repeat(2, 1fr); }
    .detail:nth-child(n) { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 4 / 3 !important; }
}

@media (max-width: 720px) {
    /* — Padding / containers — */
    .container, .header__inner, .hero, .hero__meta { padding-left: 20px; padding-right: 20px; }

    /* — Hero — */
    .hero {
        padding-top: 110px;
        padding-bottom: 36px;
        min-height: 100vh;
        min-height: 100svh;
    }
    .hero__grid { padding: 18px 0 32px; gap: 36px; }
    .hero__cards { display: none; }
    .hero__title {
        font-size: clamp(34px, 8.6vw, 54px);
        line-height: 1.04;
        margin-bottom: 22px;
    }
    .hero__sub {
        font-size: 15px;
        margin-bottom: 28px;
        max-width: none;
    }
    .hero__actions {
        gap: 12px;
        flex-direction: column;
        align-items: stretch;
    }
    .hero__meta { grid-template-columns: 1fr; gap: 14px; padding-top: 20px; }

    /* — Buttons (allow long Russian labels to wrap) — */
    .btn {
        padding: 16px 22px;
        font-size: 12px;
        white-space: normal;
        text-align: center;
        line-height: 1.35;
    }
    .btn--full { padding: 18px 22px; }
    .btn--link {
        padding: 10px 0;
        text-align: left;
    }

    /* — Section padding — */
    .philosophy, .services, .process, .materials, .cases, .details, .cta { padding: 90px 0; }
    .section-head { margin-bottom: 48px; }
    .h2 { font-size: clamp(34px, 8.2vw, 56px); }
    .lead { font-size: 16px; }

    /* — Services — */
    .services__grid { grid-template-columns: 1fr; }
    .service:nth-child(odd) { border-right: none; }
    .service { padding: 32px 0; gap: 18px; grid-template-columns: 54px 1fr; }
    .service:hover { padding-left: 8px; }
    .service__num { font-size: 28px; }
    .service h3 { font-size: 24px; }

    /* — Process — */
    .process__list { grid-template-columns: 1fr; }
    .process__item { padding: 36px 0; border-right: none !important; }
    .process__num { font-size: 32px; margin-bottom: 22px; }
    .process__item h3 { font-size: 22px; }
    .process__lead { font-size: 14px; padding-top: 18px; }

    /* — Materials — */
    .materials__grid { grid-template-columns: 1fr; gap: 36px; }
    .material h3 { font-size: 22px; }
    .material p { font-size: 14px; }

    /* — Cases — */
    .case, .case--reverse { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
    .case--reverse .case__img { order: 0; }
    .case h3 { font-size: 30px; }
    .case__list li { font-size: 14px; padding: 16px 0; }
    .case__list strong { width: 100%; display: block; margin-bottom: 4px; }
    .case__tag {
        font-size: 10px;
        letter-spacing: 0.16em;
        padding: 5px 11px;
    }

    /* — Details — */
    .details__grid { grid-template-columns: 1fr; gap: 14px; }
    .details__lead { font-size: 14px; }
    .detail__text {
        font-size: 11px;
        letter-spacing: 0.08em;
        left: 16px;
        right: 16px;
        bottom: 14px;
        gap: 10px;
    }
    .detail__text span { font-size: 17px; }

    /* — CTA / Form — */
    .form { padding: 30px 22px; }
    .form input, .form select { font-size: 16px; }  /* prevent iOS zoom */
    .cta__info li { grid-template-columns: 1fr; gap: 6px; }

    /* — Atelier stats (use 1fr to never overflow) — */
    .atelier-stats { grid-template-columns: repeat(3, 1fr); }
    .atelier-stats > div { padding: 16px 8px 0 0; }
    .atelier-stats > div:not(:first-child) { padding-left: 8px; }
    .atelier-stats strong { font-size: 24px; }
    .atelier-stats span { font-size: 9px; letter-spacing: 0.14em; line-height: 1.4; }

    /* — Signature — */
    .signature { gap: 16px; margin-top: 40px; padding-top: 28px; }
    .signature strong { font-size: 18px; }
    .signature span { font-size: 12px; }

    /* — Footer — */
    .footer__cols { grid-template-columns: 1fr; gap: 32px; }
    .footer__bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
    .footer__brand strong { font-size: 22px; }

    /* — Russian word-wrap safety — */
    body { word-wrap: break-word; overflow-wrap: break-word; }
}

/* — Tiny phones (≤ 380px, iPhone Mini / SE) — */
@media (max-width: 380px) {
    .container, .header__inner, .hero, .hero__meta { padding-left: 16px; padding-right: 16px; }
    .hero__title { font-size: 30px; }
    .h2 { font-size: 32px; }
    .atelier-stats strong { font-size: 22px; }
    .case h3 { font-size: 26px; }
    .material h3 { font-size: 20px; }
    .process__item h3 { font-size: 20px; }
    .service h3 { font-size: 22px; }
}
