/* Gabriela Frey – Kleidung nach Mass */

@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-garamond-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/fonts/jost-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jost"; src: url("/fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --paper: #f7f4ef;
  --paper-2: #efeae2;
  --ink: #1b1a18;
  --ink-soft: #3a3733;
  --muted: #5c564e;
  --line: #d8d1c6;
  --red: #ed1c24; /* brand red (logo dot) */
  --serif: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --max: 1320px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-weight: 400; font-size: 1.0625rem; line-height: 1.7;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--red); }
:focus-visible { outline: 1px solid var(--red); outline-offset: 3px; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 0.5em; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 400; }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
em { font-style: italic; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

.eyebrow {
  font-family: var(--sans); font-size: .8rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 1.4rem; display: block;
}
.eyebrow::before { content: ""; display: inline-block; width: 2.2rem; height: 1px; background: currentColor; vertical-align: middle; margin-right: .9rem; opacity: .6; }
.lead { font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 2.05rem); line-height: 1.38; font-weight: 400; color: var(--ink-soft); }
.dot { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .8rem; padding: 1rem 1.8rem; border: 1px solid currentColor;
  font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--solid:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn--light { color: #fff; }
.btn--light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.link-arrow { font-size: .82rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: .35rem; transition: border-color .3s, color .3s; }
.link-arrow::after { content: " →"; }
.link-arrow:hover { border-color: var(--red); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(247, 244, 239, .92); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-block; line-height: 0; }
.brand img { height: 46px; width: auto; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1.2rem, 2.4vw, 2.6rem); }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); padding: .4rem 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--red); transition: right .35s ease; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }

.nav-toggle { display: none; background: none; border: 0; padding: .6rem; margin-right: -.6rem; cursor: pointer; color: var(--ink); }
.nav-toggle span { display: block; width: 26px; height: 1px; background: currentColor; transition: transform .3s, opacity .3s; }
.nav-toggle span + span { margin-top: 7px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .brand img { height: 38px; }
  /* backdrop-filter would make the header the containing block of the fixed menu */
  .site-header { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-toggle { display: block; }
  .footer-ai { flex-direction: column; gap: .5rem; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper); padding: 3rem var(--gutter);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; overflow-y: auto;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 1.4rem; }
  .nav a { font-family: var(--serif); font-size: 2.1rem; letter-spacing: 0; text-transform: none; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: #2c3a2e; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(10,12,10,.62) 100%); }
.hero__content { position: relative; z-index: 1; padding-bottom: clamp(3rem, 8vh, 6rem); }
.hero .eyebrow { color: rgba(255,255,255,.85); }
.hero h1 { max-width: 12ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero .btn--solid { background: #fff; color: var(--ink); border-color: #fff; }
.hero .btn--solid:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* Discreet mark on every AI-generated picture (EU AI Act Art. 50: visible on the image itself) */
.ki-mark {
  position: absolute; z-index: 2; bottom: .4rem; right: .4rem; padding: .1rem .22rem; border-radius: 2px;
  font: 500 .5rem/1 var(--sans); letter-spacing: .06em; color: rgba(255,255,255,.9);
  background: rgba(20,20,20,.28); pointer-events: none;
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Page header (sub pages) ---------- */
.page-head { padding: clamp(4rem, 10vw, 8rem) 0 clamp(2.5rem, 5vw, 4rem); }
.page-head h1 { max-width: 16ch; }
.page-head .lead { max-width: 40ch; margin-top: 1.5rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 10vw, 9rem) 0; }
.section--flush { padding-top: 0; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--dark .eyebrow { color: rgba(247,244,239,.7); }
.section--dark .lead { color: rgba(247,244,239,.88); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head h2 { margin: 0; max-width: 18ch; }

.intro { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .intro { grid-template-columns: 5fr 7fr; gap: 6rem; align-items: start; } }
.intro--single { max-width: 860px; }
@media (min-width: 900px) { .intro--single { grid-template-columns: 1fr; } }

.pillars { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); margin-top: clamp(3rem, 6vw, 5rem); }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { padding: 2.2rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .pillar { padding: 2.6rem 2.4rem 1rem 0; border-bottom: 0; } .pillar + .pillar { padding-left: 2.4rem; border-left: 1px solid var(--line); } }
.pillar__num { font-family: var(--serif); font-style: italic; color: var(--red); font-size: 1.2rem; display: block; margin-bottom: .8rem; }
.pillar p { color: var(--muted); margin: 0; }

/* Split tiles Damen / Herren */
.tiles { display: grid; grid-template-columns: 1fr; gap: var(--gutter); }
@media (min-width: 760px) { .tiles { grid-template-columns: 1fr 1fr; } }
.tile { position: relative; display: block; text-decoration: none; color: #fff; overflow: hidden; }
.tile img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 8%; width: 100%; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.035); }
.tile:hover { color: #fff; }
.tile__label { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem; background: linear-gradient(180deg, transparent, rgba(0,0,0,.5)); display: flex; justify-content: space-between; align-items: flex-end; }
.tile__label h3 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 400; margin: 0; }
.tile__label span { font-size: .82rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }

/* Editorial row */
.editorial { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); align-items: end; }
.editorial figure { margin: 0; position: relative; }
.editorial figure:nth-child(1) { grid-column: 1 / span 5; }
.editorial figure:nth-child(2) { grid-column: 6 / span 4; margin-bottom: 18%; }
.editorial figure:nth-child(3) { grid-column: 10 / span 3; }
@media (max-width: 760px) {
  .editorial { grid-template-columns: 1fr 1fr; }
  .editorial figure:nth-child(1) { grid-column: 1 / -1; }
  .editorial figure:nth-child(2), .editorial figure:nth-child(3) { grid-column: auto; margin-bottom: 0; }
}

/* Two-column feature */
.feature { display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; } .feature--rev > :first-child { order: 2; } }
.feature__media { position: relative; }
.feature__media img { width: 100%; }
.feature__text h2 { margin-bottom: 1.5rem; }
.feature__text .btn, .feature__text .link-arrow { margin-top: 1rem; }

.caption { font-size: .86rem; color: var(--muted); margin-top: .8rem; letter-spacing: .02em; }

/* ---------- Gallery ---------- */
.gallery-nav { display: flex; gap: 2rem; border-bottom: 1px solid var(--line); margin-bottom: 3rem; }
.gallery-nav a { text-decoration: none; padding: 1rem 0; font-size: .85rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid transparent; margin-bottom: -1px; }
.gallery-nav a:hover { border-color: var(--red); }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: var(--gutter); }
.gallery__item { margin: 0; position: relative; }
.gallery__item button { all: unset; display: block; cursor: zoom-in; width: 100%; position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--paper-2); }
.gallery__item picture { height: 100%; }
.gallery__item button:focus-visible { outline: 1px solid var(--red); outline-offset: 3px; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; transition: transform 1s cubic-bezier(.2,.7,.2,1), opacity .4s; }
.gallery__item button:hover img { transform: scale(1.025); }
.gallery__item--wide img { object-fit: contain; }
/* Focus the portrait crop on Kleid St.Tropez; keep the full image in the detail modal. */
.gallery__item--st-tropez img { object-fit: cover; object-position: 62% 50%; }
.gallery__item figcaption { font-size: .92rem; color: var(--muted); padding-top: .7rem; letter-spacing: .02em; }
.gallery-block + .gallery-block { margin-top: clamp(4rem, 8vw, 7rem); }
.gallery-block h2 { margin-bottom: .3rem; }
.gallery-block > p { color: var(--muted); max-width: 60ch; margin-bottom: 2.5rem; }

/* Collection detail modal */
.gallery__item figcaption { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.gallery__title { color: var(--ink); }
.gallery__price { white-space: nowrap; }
.look { border: 0; padding: 0; width: min(1180px, 100vw - 2rem); max-width: none; max-height: min(860px, 100dvh - 2rem); background: var(--paper); color: var(--ink); box-shadow: 0 40px 100px rgba(0,0,0,.35); overflow: hidden; }
.look::backdrop { background: rgba(18,17,16,.72); backdrop-filter: blur(4px); }
.look[open] { display: flex; flex-direction: column; }
.look__body { display: grid; grid-template-columns: 1fr 1fr; flex: 1; min-height: 0; overflow: auto; }
.look__media { position: relative; background: var(--paper-2); min-height: 0; }
.look__media picture, .look__media img { height: 100%; width: 100%; object-fit: cover; object-position: 50% 10%; }
/* Landscape pictures are shown whole, so faces near the edge are never cut off */
.look__media--wide { display: flex; align-items: center; }
.look__media--wide picture, .look__media--wide img { height: auto; object-fit: contain; }
.look__info { padding: clamp(2rem, 4vw, 3.5rem); padding-bottom: 5rem; overflow: auto; }
.look__title { font-size: clamp(1.9rem, 3vw, 2.7rem); margin-bottom: 1rem; }
.look__desc { color: var(--ink-soft); }
.look__pieces { list-style: none; margin: 2rem 0 1.6rem; padding: 0; border-top: 1px solid var(--line); }
.look__pieces li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.piece__head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.piece__name { font-size: .84rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.piece__price { font-family: var(--serif); font-size: 1.3rem; white-space: nowrap; }
.piece__meta { display: block; color: var(--muted); font-size: .92rem; }
.look__note { font-size: .88rem; color: var(--muted); }
.look button { background: none; border: 0; cursor: pointer; color: var(--ink); font: 300 1.6rem/1 var(--sans); }
.look__close { position: absolute; top: .6rem; right: .6rem; z-index: 3; width: 2.8rem; height: 2.8rem; background: rgba(247,244,239,.9) !important; }
.look__nav { position: absolute; right: 0; bottom: 0; width: 50%; display: flex; justify-content: space-between; padding: .6rem clamp(1.4rem, 3.4vw, 3rem); background: linear-gradient(transparent, var(--paper) 40%); pointer-events: none; }
.look__nav button { pointer-events: auto; padding: .6rem; opacity: .7; }
.look__nav button:hover, .look__close:hover { opacity: 1; color: var(--red); }
@media (max-width: 800px) {
  .look { width: 100vw; max-height: 100dvh; height: 100dvh; box-shadow: none; }
  .look__body { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .look__media { height: 58vh; }
  .look__info { overflow: visible; padding-bottom: 2rem; }
  .look__nav { width: 100%; position: static; border-top: 1px solid var(--line); background: var(--paper); }
}

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); column-gap: 5rem; } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); column-gap: 3rem; } }
.steps li { counter-increment: step; border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; }
.section--dark .steps li { border-color: rgba(247,244,239,.2); }
.steps li::before { content: "0" counter(step); font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--red); display: block; margin-bottom: 1rem; }
.steps p { color: var(--muted); margin: 0; }
.section--dark .steps p { color: rgba(247,244,239,.72); }

/* ---------- References ---------- */
.refs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.refs li { display: grid; grid-template-columns: 1fr; gap: .5rem 3rem; padding: 2.4rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .refs li { grid-template-columns: 2fr 3fr 1fr; align-items: baseline; } }
.refs h3 { margin: 0; }
.refs p { margin: 0; color: var(--muted); }
.refs .refs__links { font-size: .85rem; display: flex; flex-direction: column; gap: .2rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr 1fr; } }
.contact-grid h3 { font-family: var(--sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--muted); margin-bottom: 1.2rem; }
.contact-grid address { font-style: normal; }
.contact-note { margin-top: 3rem; max-width: 70ch; }
.contact-big { font-family: var(--sans); font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.6; text-decoration: none; display: inline-block; }

.cta-band { text-align: center; }
.cta-band h2 { max-width: 20ch; margin: 0 auto 1.4rem; }
.cta-band p { max-width: 52ch; margin: 0 auto 2.4rem; }
.cta-band .hero__actions { justify-content: center; }

/* ---------- Legal / prose ---------- */
.prose > * { max-width: 760px; }
.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 3rem; }
.prose h3 { font-family: var(--sans); font-size: 1rem; font-weight: 500; margin: 2rem 0 .6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.prose .meta { color: var(--muted); font-size: .9rem; }
.todo { background: #fff3c4; padding: 0 .25rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(247,244,239,.9); padding: clamp(4rem, 8vw, 6rem) 0 2rem; font-size: .95rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand img { height: 52px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(247,244,239,.15); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1.3fr 1.3fr 1fr; } }
.footer-grid h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: rgba(247,244,239,.7); margin-bottom: 1.1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .35rem; }
.footer-grid address { font-style: normal; }
.footer-ai { margin: 2rem 0 0; padding: 1.2rem 1.4rem; border: 1px solid rgba(247,244,239,.18); font-size: .84rem; color: rgba(247,244,239,.72); display: flex; gap: 1rem; align-items: baseline; }
.footer-intro { margin-top: 1.5rem; max-width: 34ch; }
.site-footer .footer-ai a { text-decoration: underline; }
.footer-ai strong { font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: .7rem; color: var(--paper); white-space: nowrap; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.6rem; font-size: .8rem; color: rgba(247,244,239,.55); }
.footer-bottom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1.5rem; }

/* Reveal on scroll (progressive enhancement) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media print {
  .site-header, .nav, .hero__actions, .lightbox { display: none !important; }
  .site-footer { background: none; color: #000; }
}

/* Homepage title: text beside the full title picture */
.hero-split { display: grid; grid-template-columns: auto 1fr; min-height: calc(100svh - var(--header-h)); background: var(--paper); }
.hero-split__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 6vw, 6rem) clamp(1rem, 5vw, 5rem) clamp(3rem, 6vw, 6rem) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.hero-split__text h1 { margin-bottom: 1.4rem; }
.hero-logo { margin: 0 0 2.6rem; line-height: 0; }
.hero-logo img { width: min(100%, 460px); height: auto; }
.hero-split__text .lead { max-width: 28ch; margin-bottom: 2.4rem; }
.hero-split__media { order: -1; --ratio: .6928; /* width / height of the title picture */ margin: 0; background: #1a1410; position: relative; height: calc(100svh - var(--header-h)); width: min(62vw, calc((100svh - var(--header-h)) * var(--ratio))); }
.hero-split__media picture, .hero-split__media img { height: 100%; width: 100%; object-fit: cover; object-position: 50% 0; }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .hero-split__media { order: -1; height: auto; width: auto; }
  .hero-split__media picture, .hero-split__media img { height: auto; width: 100%; }
}


/* Keep the complete original frame of Kleid St.Tropez, including the hem. */
.gallery__item button:has(img[src*="/paar-gruen-hochformat-"]) { aspect-ratio: 2 / 3; }
.gallery__item img[src*="/paar-gruen-hochformat-"],
.look__media img[src*="/paar-gruen-hochformat-"] { object-fit: contain; object-position: center; }

/* Compact portrait on the company page. */
.feature--portrait > .feature__media { width: min(240px, 100%); margin: 0; }
@media (min-width: 900px) {
  .feature--portrait { grid-template-columns: 240px minmax(0, 1fr); align-items: start; }
}

/* Show the complete black Angélique ensemble, including both shoes. */
.gallery__item button:has(img[src*="/dirndl-angelique-schwarz-hochformat-"]) { aspect-ratio: 2 / 3; }
.gallery__item img[src*="/dirndl-angelique-schwarz-hochformat-"],
.look__media img[src*="/dirndl-angelique-schwarz-hochformat-"] { object-fit: contain; object-position: center; }
.gallery__item button:hover img[src*="/dirndl-angelique-schwarz-hochformat-"] { transform: none; }
