:root {
  --ink: #231f20;
  --ink-soft: #514b47;
  --paper: #faf3e1;
  --paper-deep: #e3d0bf;
  --white: #fffaf0;
  --red: #b3152c;
  --red-deep: #951025;
  --green: #019f55;
  --green-deep: #07533a;
  --line: rgba(23, 27, 24, .15);
  --shadow: 0 26px 80px rgba(41, 30, 23, .13);
  --wrap: min(91vw, 1420px);
  --section: clamp(5rem, 8vw, 8rem);
  --ease: cubic-bezier(.2, .75, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }

:focus-visible {
  outline: 3px solid #e5b94d;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: .7rem;
  left: .7rem;
  z-index: 200;
  transform: translateY(-160%);
  padding: .7rem 1rem;
  background: var(--white);
  color: var(--ink);
  transition: transform .25s ease;
}
.skip-link:focus { transform: translateY(0); }

.shell { width: var(--wrap); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--red { background: var(--red-deep); color: var(--white); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.1rem;
  font-size: .72rem;
  line-height: 1;
  letter-spacing: .17em;
  text-transform: uppercase;
  font-weight: 680;
}
.eyebrow::before { content: ""; width: 2.5rem; height: 1px; background: currentColor; opacity: .45; }
.display, h1, h2, h3 { text-wrap: balance; }
.display {
  margin: 0;
  max-width: 14ch;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: clamp(3.1rem, 6.1vw, 6.7rem);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 400;
}
.h2 {
  margin: 0;
  max-width: 16ch;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: clamp(2.35rem, 4.1vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 400;
}
.h3 {
  margin: 0;
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-size: clamp(1.55rem, 2.4vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 400;
}
.lead {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1.65;
}
.section--ink .lead, .section--red .lead { color: rgba(255,255,255,.72); }
.kicker { font-family: "Iowan Old Style", Baskerville, Georgia, serif; font-style: italic; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--white);
  transition: background .45s ease, color .45s ease, padding .45s var(--ease), border .45s ease;
}
.site-header::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: rgba(255,255,255,.18); }
.site-header.is-scrolled { color: var(--ink); background: rgba(247, 242, 232, .93); backdrop-filter: blur(16px); }
.site-header.is-scrolled::after { background: var(--line); }
.header-inner {
  width: var(--wrap);
  min-height: 88px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  transition: min-height .45s var(--ease);
}
.site-header.is-scrolled .header-inner { min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .72rem; justify-self: start; line-height: 1; }
.brand img { width: 43px; height: 43px; object-fit: contain; }
.brand-name { display: grid; gap: .17rem; }
.brand-name strong { font-size: 1.08rem; letter-spacing: .12em; }
.brand-name span { font-size: .55rem; letter-spacing: .27em; text-transform: uppercase; opacity: .72; }
.primary-nav { display: flex; gap: clamp(1.2rem, 2.5vw, 2.8rem); align-items: center; }
.primary-nav a { position: relative; font-size: .82rem; letter-spacing: .04em; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -.45rem; height: 1px; background: currentColor; transition: right .4s var(--ease); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: .7rem; }
.language-switch { display: flex; gap: .3rem; align-items: center; }
.language-switch a { padding: .35rem .25rem; font-size: .66rem; letter-spacing: .08em; opacity: .68; }
.language-switch a[aria-current="true"] { opacity: 1; font-weight: 700; }
.header-phone { display: inline-flex; align-items: center; min-height: 42px; padding-inline: 1rem; border: 1px solid currentColor; font-size: .76rem; letter-spacing: .035em; }
.menu-toggle { display: none; width: 45px; height: 45px; border: 1px solid currentColor; background: transparent; place-items: center; cursor: pointer; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 18px; height: 1px; background: currentColor; transition: transform .3s ease, opacity .3s ease; }
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

.hero {
  position: relative;
  min-height: min(940px, 100svh);
  display: grid;
  align-items: end;
  color: var(--white);
  background: #2d211e;
  overflow: hidden;
}
.hero-media, .hero-frame { position: absolute; inset: 0; }
.hero-frame { opacity: 0; background-size: cover; background-position: center; transform: scale(1.025); transition: opacity 1.25s ease, transform 9s linear; }
.hero-frame.is-active { opacity: 1; transform: scale(1); }
.hero-frame:nth-child(1) { background-image: url('../images/hero-care.webp'); background-position: 58% center; }
.hero-frame:nth-child(2) { background-image: url('../images/arrival-home.webp'); background-position: 42% center; }
.hero-frame:nth-child(3) { background-image: url('../images/care-turkish.webp'); background-position: 58% center; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,15,14,.84) 0%, rgba(17,15,14,.56) 36%, rgba(17,15,14,.06) 72%), linear-gradient(0deg, rgba(17,15,14,.66) 0%, transparent 48%); }
.hero-inner { position: relative; z-index: 2; width: var(--wrap); margin-inline: auto; padding: clamp(9rem, 17vh, 13rem) 0 clamp(4rem, 8vh, 7rem); }
.hero-copy { max-width: 820px; }
.hero .display { max-width: 11ch; }
.hero .display em { color: #f2c8b2; font-weight: 400; }
.hero-lead { max-width: 38rem; margin: 1.6rem 0 2rem; color: rgba(255,255,255,.8); font-size: clamp(1.05rem, 1.5vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: .65rem; padding: .75rem 1.25rem; border: 1px solid transparent; background: var(--red); color: var(--white); font-size: .8rem; letter-spacing: .045em; transition: transform .35s var(--ease), background .35s ease, color .35s ease, border .35s ease; }
.button:hover { transform: translateY(-2px); background: var(--red-deep); }
.button--light { background: var(--white); color: var(--ink); }
.button--light:hover { background: var(--paper-deep); }
.button--outline { background: transparent; border-color: rgba(255,255,255,.55); color: var(--white); }
.button--outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.button--dark-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.button--dark-outline:hover { background: var(--ink); color: var(--white); }
.hero-note { position: absolute; right: 10rem; bottom: 0; display: flex; align-items: center; gap: 1rem; padding: 1rem 1.5rem; background: rgba(247,242,232,.94); color: var(--ink); font-size: .72rem; letter-spacing: .04em; }
.hero-note strong { font-family: "Iowan Old Style", Baskerville, Georgia, serif; font-size: 1.5rem; font-weight: 400; color: var(--red); }
.hero-dots { position: absolute; z-index: 3; right: 4.5vw; top: 48%; display: grid; gap: .6rem; }
.hero-dot { width: 26px; height: 1px; padding: 0; border: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: width .35s ease, background .35s ease; }
.hero-dot.is-active { width: 44px; background: var(--white); }

.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { min-height: 122px; display: grid; align-content: center; padding: 1.4rem clamp(1rem, 2.8vw, 2.5rem); border-left: 1px solid var(--line); }
.trust-item:last-child { border-right: 1px solid var(--line); }
.trust-item small { color: var(--red); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; }
.trust-item strong { font-family: "Iowan Old Style", Baskerville, Georgia, serif; font-size: clamp(1.15rem, 1.5vw, 1.45rem); font-weight: 400; }

.intro-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(3rem, 8vw, 9rem); align-items: start; }
.intro-copy { padding-top: .4rem; }
.intro-copy p:first-child { margin-top: 0; }
.intro-copy blockquote { margin: 2.5rem 0 0; padding: 1.5rem 0 0 2rem; border-left: 1px solid var(--red); font-family: "Iowan Old Style", Baskerville, Georgia, serif; font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.35; }
.intro-image { position: relative; margin-top: 4rem; }
.intro-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.image-label { position: absolute; left: -1px; bottom: -1px; max-width: 17rem; padding: 1rem 1.2rem; background: var(--paper); font-size: .72rem; line-height: 1.5; }

.services-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); min-height: 760px; }
.service-visual { position: sticky; top: 68px; height: calc(100vh - 68px); min-height: 620px; overflow: hidden; background: #2a2420; }
.service-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.03); transition: opacity .65s ease, transform 1.1s var(--ease); }
.service-visual img.is-active { opacity: 1; transform: scale(1); }
.service-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,15,14,.45), transparent 55%); pointer-events: none; }
.service-visual-caption { position: absolute; z-index: 2; left: 2rem; bottom: 2rem; color: var(--white); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.service-panel { padding: clamp(4rem, 7vw, 8rem) clamp(2rem, 7vw, 8rem); background: var(--paper); }
.service-panel .lead { margin-bottom: 3.4rem; }
.service-row { display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem; align-items: start; padding: 1.5rem 0; border-top: 1px solid var(--line); cursor: pointer; }
.service-row:last-child { border-bottom: 1px solid var(--line); }
.service-row .index { color: var(--red); font-size: .72rem; letter-spacing: .1em; padding-top: .35rem; }
.service-row h3 { margin: 0; font-size: clamp(1.1rem, 1.4vw, 1.34rem); font-weight: 620; }
.service-row p { grid-column: 2 / -1; max-height: 0; overflow: hidden; margin: 0; color: var(--ink-soft); opacity: 0; transition: max-height .55s var(--ease), opacity .4s ease, margin .4s ease; }
.service-row.is-active p { max-height: 12rem; margin-top: .45rem; opacity: 1; }
.service-row .arrow { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; transition: transform .35s ease, background .35s ease, color .35s ease; }
.service-row.is-active .arrow { transform: rotate(45deg); background: var(--red); color: white; border-color: var(--red); }
.service-panel .button { margin-top: 2rem; }

.statement { position: relative; min-height: 620px; display: grid; align-items: center; overflow: hidden; color: var(--white); }
.statement img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.statement::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,17,15,.9), rgba(15,17,15,.28) 68%, rgba(15,17,15,.12)); }
.statement-inner { position: relative; z-index: 2; width: var(--wrap); margin-inline: auto; }
.statement blockquote { max-width: 13ch; margin: 0; font-family: "Iowan Old Style", Baskerville, Georgia, serif; font-size: clamp(2.8rem, 5.2vw, 6rem); line-height: .98; letter-spacing: -.045em; }
.statement blockquote em { color: #f4caba; }

.principles { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(3rem, 8vw, 9rem); }
.principle-list { border-top: 1px solid rgba(255,255,255,.2); }
.principle { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.6rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.principle span { color: #f1b8a4; font-size: .7rem; letter-spacing: .1em; }
.principle h3 { margin: 0 0 .4rem; font-size: 1.1rem; }
.principle p { margin: 0; color: rgba(255,255,255,.64); }

.language-stage { display: grid; grid-template-columns: 1fr 1fr; min-height: 700px; }
.language-copy { padding: clamp(4rem, 8vw, 8rem); display: grid; align-content: center; background: var(--red-deep); color: var(--white); }
.language-tabs { display: flex; gap: .6rem; margin: 2rem 0; }
.language-tab { min-width: 48px; min-height: 42px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: white; cursor: pointer; }
.language-tab.is-active { background: var(--white); color: var(--red-deep); }
.language-quote { display: none; max-width: 30rem; font-family: "Iowan Old Style", Baskerville, Georgia, serif; font-size: clamp(1.55rem, 2.5vw, 2.7rem); line-height: 1.22; }
.language-quote.is-active { display: block; animation: fade-up .55s var(--ease); }
.language-image { position: relative; min-height: 560px; overflow: hidden; }
.language-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .65s ease, transform 1.2s var(--ease); transform: scale(1.025); }
.language-image img.is-active { opacity: 1; transform: scale(1); }

.gallery-head { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 3rem; }
.gallery-head p { max-width: 29rem; margin: 0; color: var(--ink-soft); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 70px; gap: .8rem; }
.gallery-item { position: relative; overflow: hidden; background: var(--paper-deep); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-item:nth-child(1) { grid-column: span 7; grid-row: span 6; }
.gallery-item:nth-child(2) { grid-column: span 5; grid-row: span 4; }
.gallery-item:nth-child(3) { grid-column: 8 / span 5; grid-row: span 5; }
.gallery-item:nth-child(4) { grid-column: span 4; grid-row: span 4; }
.gallery-item:nth-child(5) { grid-column: span 3; grid-row: span 4; }
.gallery-item:nth-child(6) { grid-column: span 5; grid-row: span 4; }
.gallery-item figcaption { position: absolute; inset: auto 0 0; padding: 2rem 1rem .8rem; color: white; font-size: .7rem; letter-spacing: .07em; background: linear-gradient(transparent, rgba(0,0,0,.65)); }

.contact-band { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); color: var(--white); }
.contact-image { min-height: 680px; position: relative; overflow: hidden; }
.contact-image img { width: 100%; height: 100%; object-fit: cover; }
.contact-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23,27,24,.5), transparent 45%); }
.contact-copy { padding: clamp(4rem, 8vw, 8rem); display: grid; align-content: center; }
.contact-copy .lead { color: rgba(255,255,255,.67); }
.contact-options { margin-top: 2.5rem; border-top: 1px solid rgba(255,255,255,.2); }
.contact-option { display: flex; justify-content: space-between; gap: 2rem; padding: 1.25rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.contact-option span { color: rgba(255,255,255,.55); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.contact-option strong { text-align: right; font-weight: 500; }

.page-hero { min-height: 620px; position: relative; display: grid; align-items: end; color: var(--white); overflow: hidden; background: var(--ink); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .7; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(17,18,17,.88), rgba(17,18,17,.18)), linear-gradient(0deg, rgba(17,18,17,.5), transparent); }
.page-hero .shell { position: relative; z-index: 2; padding: 10rem 0 5rem; }
.page-hero .display { font-size: clamp(3rem, 5.2vw, 6rem); }
.breadcrumbs { margin-bottom: 2rem; color: rgba(255,255,255,.65); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.detail-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.detail-row { display: grid; grid-template-columns: .6fr 1.4fr; gap: clamp(2rem, 7vw, 8rem); padding: clamp(2rem, 4vw, 4rem) 0; border-bottom: 1px solid var(--line); }
.detail-row h2 { margin: 0; font-family: "Iowan Old Style", Baskerville, Georgia, serif; font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 400; line-height: 1.1; }
.detail-row p { margin-top: 0; color: var(--ink-soft); }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1.5rem; }
.check-list li { position: relative; padding-left: 1.3rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

.split-media { display: grid; grid-template-columns: 1fr 1fr; }
.split-media img { width: 100%; height: 100%; min-height: 620px; object-fit: cover; }
.split-copy { padding: clamp(4rem, 8vw, 8rem); display: grid; align-content: center; justify-items: start; background: var(--white); }

.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(3rem, 8vw, 9rem); }
.contact-card { position: sticky; top: 100px; align-self: start; }
.address-block { margin-top: 2rem; display: grid; gap: 1.2rem; }
.address-block a { display: inline-block; text-decoration: underline; text-decoration-color: rgba(23,27,24,.28); text-underline-offset: .25em; }
.form { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: .8rem 0; border-radius: 0; color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.consent { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-soft); font-size: .78rem; }
.consent input { margin-top: .35rem; }
.form-status { min-height: 1.5rem; color: var(--green-deep); font-size: .85rem; }

.legal { max-width: 820px; }
.legal h2 { margin-top: 2.5rem; font-family: "Iowan Old Style", Baskerville, Georgia, serif; font-size: 2rem; font-weight: 400; }
.legal p, .legal li { color: var(--ink-soft); }
.legal-note { margin: 2rem 0; padding: 1.2rem 1.4rem; border-left: 3px solid var(--red); background: var(--white); }

.site-footer { background: #111412; color: var(--white); }
.footer-main { width: var(--wrap); margin-inline: auto; display: grid; grid-template-columns: 1.3fr 1fr .7fr; gap: 3rem; padding: 4rem 0 3rem; }
.footer-brand { max-width: 25rem; }
.footer-brand .brand { margin-bottom: 1.2rem; }
.footer-brand p { color: rgba(255,255,255,.58); margin: 0; }
.footer-col h2 { margin: 0 0 1rem; font-size: .66rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: rgba(255,255,255,.45); }
.footer-col a, .footer-col address { display: block; margin: .28rem 0; font-size: .88rem; font-style: normal; color: rgba(255,255,255,.78); }
.footer-bottom { width: var(--wrap); margin-inline: auto; display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0 1.4rem; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.4); font-size: .62rem; letter-spacing: .04em; }
.footer-credit { color: rgba(255,255,255,.42); }
.footer-credit a { color: rgba(255,255,255,.72); transition: color .25s ease; }
.footer-credit a:hover { color: white; }

.floating-whatsapp { position: fixed; z-index: 80; right: 1.2rem; bottom: 1.2rem; display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: .7rem 1rem; background: var(--green-deep); color: white; box-shadow: 0 12px 34px rgba(0,0,0,.22); font-size: .75rem; letter-spacing: .04em; transition: transform .3s var(--ease); }
.floating-whatsapp:hover { transform: translateY(-3px); }
.floating-whatsapp svg { width: 18px; height: 18px; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .9s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

[dir="rtl"] body { font-family: "Segoe UI", Tahoma, Arial, sans-serif; }
[dir="rtl"] .display, [dir="rtl"] .h2, [dir="rtl"] .h3 { letter-spacing: 0; }
[dir="rtl"] .eyebrow::before { order: 2; }

@media (max-width: 1100px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .primary-nav { position: fixed; inset: 0; z-index: -1; display: grid; place-content: center; gap: 1.2rem; background: var(--paper); color: var(--ink); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
  .primary-nav a { font-family: "Iowan Old Style", Baskerville, Georgia, serif; font-size: 2rem; text-align: center; }
  .menu-open .primary-nav { opacity: 1; visibility: visible; }
  .header-actions .language-switch, .header-phone { display: none; }
  .menu-toggle { display: grid; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-top: 1px solid var(--line); }
  .trust-item:nth-child(4) { border-top: 1px solid var(--line); }
  .services-layout { grid-template-columns: .85fr 1.15fr; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
}

@media (max-width: 780px) {
  :root { --wrap: min(88vw, 680px); --section: clamp(4.2rem, 15vw, 6.2rem); }
  .header-inner { min-height: 72px; }
  .brand img { width: 36px; height: 36px; }
  .brand-name strong { font-size: .95rem; }
  .hero { min-height: 810px; }
  .hero-media::after { background: linear-gradient(0deg, rgba(17,15,14,.9) 0%, rgba(17,15,14,.55) 58%, rgba(17,15,14,.15)); }
  .hero-frame:nth-child(1), .hero-frame:nth-child(2), .hero-frame:nth-child(3) { background-position: 62% center; }
  .hero-inner { padding-bottom: 5.4rem; }
  .hero-note { display: none; }
  .hero-dots { right: 6vw; top: 30%; }
  .display { font-size: clamp(3rem, 14vw, 5rem); }
  .trust-grid { grid-template-columns: 1fr 1fr; width: 100%; }
  .trust-item { min-height: 108px; padding: 1.2rem 6vw; }
  .intro-grid, .principles, .language-stage, .contact-band, .contact-grid, .detail-row, .split-media { grid-template-columns: 1fr; }
  .intro-image { margin-top: 2.5rem; }
  .services-layout { display: block; }
  .service-visual { position: relative; top: auto; height: 58vh; min-height: 430px; }
  .service-panel { padding: 4.5rem 6vw; }
  .statement { min-height: 560px; }
  .language-image { min-height: 480px; order: -1; }
  .language-copy { padding: 4rem 6vw; }
  .gallery-head { display: block; }
  .gallery-head p { margin-top: 1.2rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; }
  .gallery-item:nth-child(n) { grid-column: auto; grid-row: span 1; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(4) { grid-column: span 2; grid-row: span 2; }
  .contact-image { min-height: 480px; }
  .contact-copy { padding: 4rem 6vw; }
  .contact-card { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .detail-row { gap: 1.2rem; }
  .check-list { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; padding: 3.5rem 0 2.5rem; }
  .footer-brand { grid-column: span 2; }
  .footer-bottom { display: grid; }
  .floating-whatsapp span { display: none; }
  .floating-whatsapp { width: 50px; padding: 0; justify-content: center; }
}

@media (max-width: 430px) {
  .brand-name span { display: none; }
  .hero-actions { display: grid; }
  .hero-actions .button { width: 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-top: 1px solid var(--line); }
  .trust-item:first-child { border-top: 0; }
  .service-row { grid-template-columns: 2.2rem 1fr auto; }
  .gallery-grid { display: block; }
  .gallery-item { min-height: 270px; margin-bottom: .8rem; }
  .contact-option { display: grid; gap: .25rem; }
  .contact-option strong { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* Avilia editorial concept — deliberately avoids familiar AI-template patterns. */
:root {
  --paper: #f2eee5;
  --paper-deep: #e5ded1;
  --white: #faf8f3;
  --ink: #17211d;
  --ink-soft: #48524d;
  --red: #aa1632;
  --red-deep: #811127;
  --green-deep: #153f31;
  --wrap: min(92vw, 1500px);
  --section: clamp(4.5rem, 6.5vw, 7rem);
}

body {
  background-color: var(--paper);
  background-image: linear-gradient(90deg, transparent calc(50% - .5px), rgba(23,33,29,.035) 50%, transparent calc(50% + .5px));
  font-family: Aptos, "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
}

.display,
.h2,
.h3,
.statement blockquote,
.language-quote,
.detail-row h2 {
  font-family: "Aptos Display", "Segoe UI Variable Display", "Segoe UI", Arial, sans-serif;
  font-style: normal;
  font-weight: 390;
}

.display {
  max-width: 11ch;
  font-size: clamp(3.25rem, 5vw, 5.75rem);
  line-height: .96;
  letter-spacing: -.065em;
}

.h2 {
  max-width: 18ch;
  font-size: clamp(2.1rem, 3.25vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: -.052em;
}

.h3 { letter-spacing: -.035em; }

.eyebrow {
  font-size: .66rem;
  letter-spacing: .14em;
}

.eyebrow::before { width: 1.5rem; }

.site-header,
.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(242,238,229,.96);
  border-bottom: 1px solid rgba(23,33,29,.13);
  backdrop-filter: blur(12px);
}

.site-header::after,
.site-header.is-scrolled::after { display: none; }

.header-inner,
.site-header.is-scrolled .header-inner { min-height: 74px; }

.brand img { width: 38px; height: 38px; }
.brand-name strong { letter-spacing: .16em; font-size: .96rem; }
.brand-name span { letter-spacing: .3em; font-size: .49rem; }
.primary-nav a { font-size: .76rem; }

.hero {
  min-height: 820px;
  display: block;
  padding-top: 74px;
  color: var(--ink);
  background: var(--paper);
}

.hero::before {
  content: "PFLEGE / HERTEN / 45699";
  position: absolute;
  z-index: 3;
  left: 1.2rem;
  top: 50%;
  color: rgba(23,33,29,.45);
  font-size: .55rem;
  letter-spacing: .22em;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}

.hero-media {
  inset: 110px 3vw 38px auto;
  width: 47vw;
  max-width: 820px;
  border-left: 1px solid rgba(23,33,29,.18);
}

.hero-media::before {
  content: "01";
  position: absolute;
  z-index: 4;
  left: -46px;
  top: 0;
  width: 46px;
  padding-top: .7rem;
  color: var(--red);
  font-size: .62rem;
  text-align: center;
  border-top: 2px solid var(--red);
}

.hero-media::after {
  background: linear-gradient(0deg, rgba(18,28,23,.18), transparent 42%);
}

.hero-frame {
  filter: saturate(.72) contrast(.97) sepia(.07);
  background-position: center !important;
}

.hero-inner {
  width: var(--wrap);
  min-height: 746px;
  display: grid;
  align-items: center;
  padding: 5rem 0;
}

.hero-copy {
  width: 46%;
  max-width: 700px;
  padding-left: clamp(2rem, 5vw, 5rem);
}

.hero .display em {
  display: inline-block;
  color: var(--red);
  font-style: normal;
  font-weight: 520;
}

.hero-lead {
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.15vw, 1.18rem);
}

.button {
  min-height: 48px;
  padding-inline: 1.1rem;
  border-radius: 0;
  font-size: .75rem;
  box-shadow: none;
}

.button--outline {
  border-color: rgba(23,33,29,.52);
  color: var(--ink);
}

.button--outline:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

.hero-dots {
  right: calc(3vw + 1rem);
  top: auto;
  bottom: 58px;
  display: flex;
}

.hero-dot,
.hero-dot.is-active { width: 34px; background: rgba(255,255,255,.5); }
.hero-dot.is-active { background: white; }

.hero-note {
  right: calc(3vw + 47vw - 1px);
  bottom: 38px;
  padding: .8rem 1rem;
  transform: translateX(100%);
  background: var(--red);
  color: white;
}

.hero-note strong { color: white; font-family: inherit; font-size: 1rem; }

.trust-strip { background: var(--paper); }
.trust-grid { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item { min-height: 94px; border-left: 0; border-right: 1px solid var(--line); }
.trust-item:first-child { border-left: 1px solid var(--line); }
.trust-item small { font-size: .58rem; }
.trust-item strong { font-family: inherit; font-size: 1rem; font-weight: 520; }

.intro-grid { grid-template-columns: .78fr 1.22fr; gap: clamp(2.5rem, 8vw, 9rem); }
.intro-copy { border-left: 1px solid var(--line); padding-left: clamp(2rem, 5vw, 5rem); }
.intro-copy blockquote { font-family: inherit; font-size: clamp(1.25rem, 1.7vw, 1.65rem); font-weight: 500; border-left: 0; border-top: 1px solid var(--red); padding: 1.2rem 0 0; }
.intro-image { margin-top: 3rem; }
.intro-image img { height: min(38vw, 520px); object-fit: cover; filter: saturate(.74) contrast(.96); }
.image-label { max-width: 22rem; background: var(--red); color: white; }

.services-layout {
  width: var(--wrap);
  min-height: 0;
  margin: 0 auto;
  padding-block: var(--section);
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
  gap: clamp(3rem, 7vw, 7rem);
  background: transparent;
}

.service-visual {
  top: 104px;
  height: min(68vh, 690px);
  min-height: 530px;
  border: 1px solid var(--line);
  background: var(--paper-deep);
}

.service-visual::before {
  content: "AKTE 02 / LEISTUNGEN";
  position: absolute;
  z-index: 3;
  top: 1rem;
  left: 1rem;
  padding: .45rem .6rem;
  background: var(--paper);
  color: var(--ink);
  font-size: .56rem;
  letter-spacing: .16em;
}

.service-visual img { filter: saturate(.7) contrast(.97) sepia(.05); }
.service-visual::after { background: linear-gradient(0deg, rgba(18,28,23,.42), transparent 35%); }
.service-panel { padding: 0; background: transparent; }
.service-panel .lead { max-width: 38rem; margin-bottom: 2.6rem; }
.service-row { grid-template-columns: 2.4rem 1fr auto; padding: 1.25rem 0; }
.service-row h3 { font-weight: 560; }
.service-row .arrow { border-radius: 0; width: 25px; height: 25px; }

.statement {
  width: var(--wrap);
  min-height: 500px;
  margin: 0 auto var(--section);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: stretch;
  background: var(--red-deep);
}

.statement img {
  position: relative;
  grid-column: 1;
  width: 100%;
  height: 100%;
  min-height: 500px;
  filter: saturate(.68) contrast(.98);
}

.statement::after { display: none; }
.statement-inner { grid-column: 2; width: auto; padding: clamp(3rem, 5vw, 5rem); display: grid; align-content: center; }
.statement blockquote { max-width: 12ch; font-size: clamp(2.1rem, 3.35vw, 3.8rem); line-height: 1.04; letter-spacing: -.055em; }
.statement blockquote em { color: #f2bdaf; font-style: normal; }

.principle-section {
  width: var(--wrap);
  margin-inline: auto;
  background: var(--white);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle-section .principles { width: calc(100% - clamp(3rem, 9vw, 10rem)); margin-inline: auto; }
.principle-section .lead { color: var(--ink-soft); }
.principle-section .principle-list { border-top-color: var(--line); }
.principle-section .principle { border-bottom-color: var(--line); }
.principle-section .principle span { color: var(--red); }
.principle-section .principle p { color: var(--ink-soft); }

.language-stage {
  width: var(--wrap);
  min-height: 570px;
  margin: var(--section) auto 0;
  grid-template-columns: 1.1fr .9fr;
  border: 1px solid var(--line);
  background: var(--paper);
}

.language-copy { padding: clamp(3rem, 6vw, 6rem); background: var(--paper); color: var(--ink); }
.language-tabs { margin: 1.6rem 0; }
.language-tab { color: var(--ink); border-color: var(--line); }
.language-tab.is-active { background: var(--green-deep); color: white; }
.language-quote { font-size: clamp(1.35rem, 2vw, 2.1rem); font-family: inherit; font-weight: 430; }
.language-image { min-height: 570px; border-left: 1px solid var(--line); }
.language-image img { filter: saturate(.68) contrast(.96); }

.section--white { background: transparent; }
.gallery-head { align-items: start; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.gallery-grid {
  grid-template-columns: repeat(6, minmax(150px, 1fr));
  grid-auto-rows: auto;
  gap: .45rem;
  padding-bottom: 1rem;
  overflow-x: auto;
  scrollbar-width: thin;
}

.gallery-item:nth-child(n) {
  grid-column: auto;
  grid-row: auto;
  aspect-ratio: 3 / 4;
  margin: 0;
}

.gallery-item:nth-child(2),
.gallery-item:nth-child(5) { margin-top: 2.5rem; }
.gallery-item img { filter: saturate(.66) contrast(.97) sepia(.05); }
.gallery-item figcaption { padding: 2.5rem .75rem .65rem; font-size: .58rem; }

.contact-band {
  width: var(--wrap);
  margin: 0 auto var(--section);
  grid-template-columns: .82fr 1.18fr;
  background: var(--green-deep);
}

.contact-image { min-height: 570px; }
.contact-image img { filter: saturate(.62) contrast(.95); }
.contact-copy { padding: clamp(3rem, 6vw, 6rem); }
.contact-copy .h2 { max-width: 15ch; }

.page-hero {
  min-height: 590px;
  padding-top: 74px;
  color: var(--ink);
  background: var(--paper);
}

.page-hero > img {
  inset: 112px 3vw 38px auto;
  width: 47vw;
  height: auto;
  opacity: 1;
  filter: saturate(.68) contrast(.96) sepia(.05);
}

.page-hero::after { display: none; }
.page-hero .shell { padding: 10rem 0 6rem; }
.page-hero .shell > * { max-width: 44%; }
.page-hero .display { max-width: 9ch; font-size: clamp(3.1rem, 4.7vw, 5.2rem); }
.page-hero .hero-lead { color: var(--ink-soft); }
.breadcrumbs { color: var(--ink-soft); }

.split-media { width: var(--wrap); margin: 0 auto var(--section); border: 1px solid var(--line); }
.split-media img { min-height: 560px; filter: saturate(.7) contrast(.97); }
.split-copy { background: var(--white); }

.footer-main { padding: 3.2rem 0 2.5rem; }
.footer-bottom { padding-block: .9rem 1.1rem; }

.floating-whatsapp {
  right: 0;
  bottom: 18%;
  min-height: 42px;
  padding: .65rem .8rem;
  background: var(--green-deep);
  box-shadow: none;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.floating-whatsapp:hover { transform: rotate(180deg) translateY(3px); }
.floating-whatsapp svg { transform: rotate(180deg); }

@media (max-width: 1100px) {
  .site-header,
  .site-header.is-scrolled { background: rgba(242,238,229,.96); }
  .hero-media { width: 49vw; }
  .hero-copy { width: 48%; padding-left: 1rem; }
  .hero-note { display: none; }
  .services-layout { grid-template-columns: .72fr 1.28fr; gap: 3rem; }
  .gallery-grid { grid-template-columns: repeat(6, minmax(180px, 1fr)); }
}

@media (max-width: 780px) {
  body { background-image: none; }
  .header-inner,
  .site-header.is-scrolled .header-inner { min-height: 68px; }
  .hero {
    min-height: 0;
    padding-top: 68px;
  }
  .hero::before { display: none; }
  .hero-media {
    position: relative;
    inset: auto;
    width: 100%;
    height: min(58vh, 540px);
    border: 0;
  }
  .hero-media::before { left: 0; top: auto; bottom: -1px; background: var(--paper); }
  .hero-media::after { background: linear-gradient(0deg, rgba(18,28,23,.24), transparent 45%); }
  .hero-inner { min-height: 0; padding: 3rem 0 4rem; }
  .hero-copy { width: 100%; max-width: none; padding-left: 0; }
  .hero .display { max-width: 10ch; font-size: clamp(3.1rem, 14vw, 4.8rem); }
  .hero-dots { top: calc(min(58vh, 540px) - 38px); right: 6vw; bottom: auto; }
  .trust-grid { border-top: 0; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-copy { border-left: 0; border-top: 1px solid var(--line); padding: 2rem 0 0; }
  .intro-image img { height: min(132vw, 560px); }
  .services-layout { width: 100%; display: grid; grid-template-columns: 1fr; padding: 0; gap: 0; }
  .service-visual { position: relative; top: auto; height: 54vh; min-height: 420px; border-width: 1px 0; }
  .service-panel { padding: 4.5rem 6vw; }
  .statement { width: 100%; min-height: 0; margin-bottom: 0; grid-template-columns: 1fr; }
  .statement img { grid-column: 1; min-height: 380px; height: 54vh; }
  .statement-inner { grid-column: 1; padding: 3.5rem 6vw; }
  .principle-section { width: 100%; }
  .principle-section .principles { width: var(--wrap); }
  .language-stage { width: 100%; min-height: 0; margin-top: 0; grid-template-columns: 1fr; border-width: 0 0 1px; }
  .language-image { min-height: 420px; border: 0; border-bottom: 1px solid var(--line); }
  .language-copy { padding: 4rem 6vw; }
  .gallery-grid { width: calc(100vw - 6vw); grid-template-columns: repeat(6, 72vw); gap: .65rem; }
  .gallery-item:nth-child(n) { margin-top: 0; aspect-ratio: 4 / 5; }
  .contact-band { width: 100%; margin-bottom: 0; grid-template-columns: 1fr; }
  .contact-image { min-height: 410px; }
  .page-hero { min-height: 0; padding-top: 68px; display: flex; flex-direction: column; }
  .page-hero > img { position: relative; inset: auto; order: 0; width: 100%; height: min(52vh, 480px); }
  .page-hero .shell { order: 1; padding: 3rem 0 4rem; }
  .page-hero .shell > * { max-width: 100%; }
  .page-hero .display { font-size: clamp(3rem, 13vw, 4.5rem); }
  .breadcrumbs { margin-bottom: 1.5rem; }
  .split-media { width: 100%; margin-bottom: 0; border-width: 1px 0 0; }
  .floating-whatsapp { bottom: 1rem; right: 1rem; width: 46px; writing-mode: initial; transform: none; }
  .floating-whatsapp:hover { transform: translateY(-2px); }
  .floating-whatsapp svg { transform: none; }
}

@media (max-width: 430px) {
  .hero-actions { display: flex; }
  .hero-actions .button { width: auto; flex: 1 1 150px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { min-height: 96px; border: 1px solid var(--line); border-width: 0 1px 1px 0; }
  .trust-item:nth-child(2n) { border-right: 0; }
  .contact-option strong { text-align: right; }
}

/* Content remains immediately available; no generic scroll-reveal dependency. */
[data-reveal],
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Avilia cinematic direction — sharp structure, selective soft geometry. */
:root {
  --paper: #faf3e1;
  --paper-deep: #e3d0bf;
  --white: #fffaf0;
  --ink: #231f20;
  --ink-soft: #514b47;
  --red: #b3152c;
  --red-deep: #951025;
  --green: #019f55;
  --green-deep: #07533a;
  --cinema-shadow: 0 34px 90px rgba(10, 20, 15, .23);
}

body {
  background: var(--paper);
  background-image: none;
}

.display,
.h2,
.h3 {
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
  font-weight: 520;
}

.display {
  font-size: clamp(3.35rem, 6.5vw, 7.2rem);
  line-height: .9;
  letter-spacing: -.072em;
}

.h2 {
  font-size: clamp(2.35rem, 4vw, 4.65rem);
  line-height: .96;
  letter-spacing: -.06em;
}

.hero .display em,
.statement blockquote em {
  font-family: "Iowan Old Style", Baskerville, Georgia, serif;
  font-weight: 400;
  font-style: italic;
}

.scroll-progress {
  position: fixed;
  z-index: 150;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.site-header {
  color: var(--white);
  background: linear-gradient(180deg, rgba(8, 17, 12, .66), rgba(8, 17, 12, 0));
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(250, 243, 225, .95);
  backdrop-filter: blur(14px);
}

.menu-open .site-header {
  color: var(--ink);
  background: rgba(250, 243, 225, .98);
}

.site-header:not(.is-scrolled) .brand-name span { opacity: .88; }
.site-header:not(.is-scrolled) .header-phone { background: rgba(11, 73, 53, .34); }

.hero {
  min-height: 100svh;
  padding-top: 0;
  align-items: stretch;
  color: var(--ink);
  background: #0d1711;
  isolation: isolate;
}

.hero::before {
  content: "AVILIA / HERTEN / AMBULANTE PFLEGE";
  position: absolute;
  z-index: 3;
  left: 1.2rem;
  top: 50%;
  color: rgba(255,255,255,.72);
  font-size: .56rem;
  letter-spacing: .22em;
  writing-mode: vertical-rl;
  transform: translateY(-50%) rotate(180deg);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: radial-gradient(circle 360px at var(--mx, 72%) var(--my, 38%), rgba(255, 244, 219, .1), transparent 72%);
  pointer-events: none;
}

.hero-media {
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  border: 0;
  animation: avilia-aperture 1.25s var(--ease) both;
}

.hero-media::before { display: none; }

@keyframes avilia-aperture {
  from { clip-path: inset(0 0 0 100% round 0 0 0 150px); }
  to { clip-path: inset(0 0 0 0 round 0); }
}

.hero-frame {
  filter: saturate(.72) contrast(1.04);
  transform: scale(1.045);
  clip-path: inset(0 0 0 4%);
  transition: opacity 1s ease, transform 8s linear, clip-path 1.15s var(--ease);
}

.hero-frame.is-active {
  transform: scale(1.005);
  clip-path: inset(0);
  animation: hero-drift 13s linear both;
}

@keyframes hero-drift {
  from { transform: scale(1.035) translate3d(-.35%, 0, 0); }
  to { transform: scale(1.005) translate3d(0, 0, 0); }
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(6, 13, 9, .38), rgba(6, 13, 9, .04) 56%, rgba(6, 13, 9, .18)),
    linear-gradient(0deg, rgba(4, 10, 7, .66), transparent 44%),
    linear-gradient(180deg, rgba(4, 10, 7, .5), transparent 28%);
}

.hero-inner {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: clamp(8rem, 15vh, 11rem) 0 clamp(4.7rem, 8vh, 7rem);
}

.hero-copy {
  position: relative;
  width: min(700px, 58vw);
  max-width: none;
  padding: clamp(2rem, 4.3vw, 4.5rem);
  color: var(--ink);
  background: rgba(250, 243, 225, .95);
  border-radius: 0 0 118px 0;
  box-shadow: var(--cinema-shadow);
}

.hero-copy::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(36px, 4vw, 60px);
  aspect-ratio: 1;
  background: var(--red);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.hero .display { max-width: 10ch; }
.hero .display em { color: var(--red-deep); }
.hero-lead { max-width: 34rem; color: var(--ink-soft); }
.hero .button--outline { color: var(--ink); border-color: rgba(18,24,20,.44); }
.hero .button--outline:hover { background: var(--ink); color: white; }

.hero-note {
  z-index: 4;
  right: 0;
  bottom: 3.8rem;
  width: auto;
  min-width: 245px;
  min-height: 82px;
  padding: 1rem 2.1rem 1rem 1.35rem;
  background: var(--red-deep);
  border-radius: 999px 0 0 999px;
  box-shadow: 0 18px 48px rgba(39, 4, 13, .28);
  transform: none;
}

.hero-note strong { font-size: 1.8rem; }
.hero-dots { z-index: 5; right: 2rem; bottom: 9.7rem; }
.hero-dot { border-color: rgba(255,255,255,.85); }
.hero-dot.is-active { background: white; }

.floating-whatsapp {
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s var(--ease), background .35s ease;
}

.floating-whatsapp.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.trust-strip {
  position: relative;
  z-index: 7;
  border: 0;
  margin-top: -28px;
  background: transparent;
}

.trust-grid {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 34px 0 34px 0;
  box-shadow: 0 18px 48px rgba(22, 32, 26, .1);
}

.trust-item { min-height: 124px; }

.intro-section,
section.section--paper:has(.intro-grid) {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 18%, rgba(179, 21, 44, .08), transparent 31%),
    linear-gradient(128deg, var(--paper-deep) 0%, #eee1cf 58%, var(--paper) 100%);
}

.intro-section::after,
section.section--paper:has(.intro-grid)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 55%, rgba(189, 132, 92, .12));
  pointer-events: none;
}

.intro-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: .73fr 1.27fr;
  align-items: center;
}

.intro-grid > div:first-child { align-self: start; padding-top: 1.2rem; }
.intro-section .h2,
section.section--paper:has(.intro-grid) .h2 { max-width: 11ch; color: var(--ink); }

.intro-section > .intro-grid > div:first-child .eyebrow,
section.section--paper:has(.intro-grid) > .intro-grid > div:first-child .eyebrow { color: var(--red-deep); }

.intro-copy {
  position: relative;
  padding: clamp(2.4rem, 5vw, 5rem);
  border: 0;
  color: var(--ink);
  background: rgba(250, 243, 225, .97);
  border-radius: 0 110px 0 0;
  box-shadow: var(--cinema-shadow);
}

.intro-copy .lead { color: var(--ink-soft); }
.intro-copy blockquote { border-top-width: 2px; }

.intro-image {
  position: relative;
  margin: 2.7rem -2.4rem -2.4rem clamp(0rem, 3vw, 3.5rem);
  overflow: hidden;
  border-radius: 70px 0 0 0;
}

.intro-image img { width: 100%; height: min(34vw, 470px); filter: saturate(.75) contrast(1.01); }
.image-label { right: 0; bottom: 0; max-width: 28rem; padding: 1rem 1.3rem; }

.services-layout {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  min-height: 900px;
  padding: var(--section) max(4.5vw, calc((100vw - 1420px) / 2));
  color: white;
  background:
    radial-gradient(circle at 12% 18%, rgba(1, 159, 85, .15), transparent 27%),
    linear-gradient(112deg, #081e16 0%, #12271e 54%, #171e1a 100%);
}

.service-visual {
  top: 100px;
  height: min(72vh, 750px);
  overflow: hidden;
  border: 0;
  border-radius: 84px 0 84px 0;
  box-shadow: var(--cinema-shadow);
}

.service-visual::before {
  color: white;
  background: var(--red-deep);
  border-radius: 0 0 18px 0;
}

.service-visual img { filter: saturate(.75) contrast(1.03); }
.service-panel {
  position: relative;
  padding: clamp(3rem, 5vw, 5.5rem);
  color: var(--ink);
  background: rgba(250, 243, 225, .97);
  border-radius: 0 100px 0 0;
  box-shadow: var(--cinema-shadow);
}

.service-panel::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 54px;
  height: 54px;
  background: var(--red);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}

.service-panel .lead { color: var(--ink-soft); }
.service-row { grid-template-columns: 2.5rem 1fr 2rem; }
.service-row .arrow { border-radius: 50%; }
.service-row.is-active { padding-inline: 1rem; background: rgba(255,255,255,.58); }

.statement {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 690px;
  margin: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  background: #101611;
}

.statement img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  filter: saturate(.72) contrast(1.05);
}

.statement::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,14,10,.08), rgba(7,14,10,.72) 78%, rgba(7,14,10,.8));
}

.statement-inner {
  width: min(590px, 46vw);
  margin-right: max(5vw, calc((100vw - 1420px) / 2));
  padding: clamp(3rem, 5vw, 5.5rem);
  color: white;
  background: rgba(179, 21, 44, .94);
  border-radius: 100px 0 100px 0;
  box-shadow: var(--cinema-shadow);
}

.statement blockquote { max-width: 11ch; font-size: clamp(2.7rem, 4.3vw, 5.1rem); }
.statement blockquote em { color: #f7d8c6; }

.principle-section {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  padding-block: calc(var(--section) * 1.15);
  border: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 26%, rgba(179, 21, 44, .12), transparent 28%),
    linear-gradient(132deg, #23352c 0%, #17241e 100%);
}

.principle-section .principles {
  width: var(--wrap);
  padding: clamp(3rem, 6vw, 6rem);
  background: rgba(250,243,225,.97);
  border-radius: 0 120px 0 120px;
  box-shadow: var(--cinema-shadow);
}

/* The same cinematic treatment carries the principles chapter on the about page. */
.section--ink:has(.principles) {
  position: relative;
  isolation: isolate;
  color: var(--ink);
  background:
    radial-gradient(circle at 78% 26%, rgba(179, 21, 44, .12), transparent 28%),
    linear-gradient(132deg, #23352c 0%, #17241e 100%);
}

.section--ink:has(.principles) .principles {
  width: var(--wrap);
  padding: clamp(3rem, 6vw, 6rem);
  background: rgba(250,243,225,.97);
  border-radius: 0 120px 0 120px;
  box-shadow: var(--cinema-shadow);
}

.section--ink:has(.principles) .lead,
.section--ink:has(.principles) .principle p { color: var(--ink-soft); }
.section--ink:has(.principles) .principle-list { border-top-color: var(--line); }
.section--ink:has(.principles) .principle { border-bottom-color: var(--line); }
.section--ink:has(.principles) .principle span { color: var(--red); }

.language-stage {
  overflow: hidden;
  min-height: 650px;
  margin-top: calc(var(--section) * 1.05);
  grid-template-columns: .92fr 1.08fr;
  border: 0;
  border-radius: 100px 0 100px 0;
  box-shadow: var(--cinema-shadow);
}

.language-copy {
  z-index: 2;
  color: white;
  background: var(--green-deep);
}

.language-copy .h2 { color: white; }
.language-tab { color: white; border-color: rgba(255,255,255,.32); }
.language-tab.is-active { color: var(--ink); background: var(--paper); }
.language-image { min-height: 650px; border: 0; }
.language-image img { filter: saturate(.76) contrast(1.03); }

.section--white { background: var(--paper); }
.gallery-head { border-top: 2px solid var(--ink); }
.gallery-grid { gap: .8rem; }
.gallery-item { overflow: hidden; background: var(--paper-deep); }
.gallery-item:nth-child(odd) { border-radius: 0 38px 0 38px; }
.gallery-item:nth-child(even) { border-radius: 38px 0 38px 0; }
.gallery-item img { filter: saturate(.77) contrast(1.02); transition: transform .8s var(--ease), filter .6s ease; }
.gallery-item:hover img { transform: scale(1.035); filter: saturate(.9) contrast(1.01); }

.contact-band {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 740px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  background: #0a1610;
}

.contact-image { position: absolute; z-index: -2; inset: 0; min-height: 0; }
.contact-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,17,11,.14), rgba(7,17,11,.76) 74%, rgba(7,17,11,.86));
}
.contact-image img { width: 100%; height: 100%; filter: saturate(.72) contrast(1.04); }
.contact-copy {
  width: min(650px, 49vw);
  margin-right: max(5vw, calc((100vw - 1420px) / 2));
  padding: clamp(3rem, 5.4vw, 6rem);
  color: white;
  background: rgba(11,73,53,.95);
  border-radius: 104px 0 0 0;
  box-shadow: var(--cinema-shadow);
}
.contact-copy .lead { color: rgba(255,255,255,.76); }

@media (min-width: 781px) {
  .statement::before,
  .contact-band::before {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 16px;
    border: 1px solid rgba(255,250,240,.2);
    pointer-events: none;
  }
}

.page-hero {
  position: relative;
  isolation: isolate;
  min-height: min(820px, 86svh);
  padding-top: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--ink);
  background: #101611;
}

.page-hero > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  filter: saturate(.72) contrast(1.04);
  animation: avilia-aperture 1.1s var(--ease) both;
}

.page-hero::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,14,9,.7), rgba(6,14,9,.12) 72%), linear-gradient(0deg, rgba(6,14,9,.48), transparent 50%);
}

.page-hero .shell { width: var(--wrap); padding: 9rem 0 4.5rem; }
.page-hero .shell > * { max-width: 100%; }
.page-hero .shell {
  position: relative;
  margin-inline: auto;
}
.page-hero .shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -2.8rem;
  bottom: 2rem;
  width: min(720px, 62vw);
  height: calc(100% - 7rem);
  background: rgba(250,243,225,.95);
  border-radius: 0 0 110px 0;
  box-shadow: var(--cinema-shadow);
}
.page-hero .shell > * { width: min(620px, 54vw); }
.page-hero .display { max-width: 9ch; font-size: clamp(3.4rem, 5.5vw, 6.4rem); }
.page-hero .hero-lead { color: var(--ink-soft); }
.breadcrumbs { color: var(--ink-soft); }

.split-media {
  overflow: hidden;
  border: 0;
  border-radius: 82px 0 82px 0;
  box-shadow: 0 20px 70px rgba(20,28,23,.13);
}

@media (max-width: 1100px) {
  .site-header { color: white; background: linear-gradient(180deg, rgba(8,17,12,.7), transparent); }
  .site-header.is-scrolled { color: var(--ink); background: rgba(250,243,225,.96); }
  .hero-media { width: 100%; }
  .hero-copy { width: min(650px, 68vw); padding-left: clamp(2rem, 4vw, 4rem); }
  .services-layout { grid-template-columns: .72fr 1.28fr; gap: 2.4rem; }
  .service-panel { padding: 3.5rem; }
}

@media (max-width: 780px) {
  .site-header,
  .site-header:not(.is-scrolled) { color: white; background: linear-gradient(180deg, rgba(8,17,12,.78), transparent); }
  .site-header.is-scrolled { color: var(--ink); background: rgba(250,243,225,.97); }
  .hero { min-height: 820px; padding-top: 0; }
  .hero::before { display: none; }
  .hero-media { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero-media::before { display: none; }
  .hero-media::after { background: linear-gradient(0deg, rgba(4,11,7,.78), rgba(4,11,7,.08) 72%), linear-gradient(180deg, rgba(4,11,7,.52), transparent 30%); }
  .hero-frame:nth-child(1) { background-position: 64% center; }
  .hero-inner { min-height: 820px; align-items: flex-end; padding: 7rem 4vw 3.4rem; }
  .hero-copy { width: 100%; max-width: none; padding: 1.8rem; border-radius: 0 0 62px 0; }
  .hero .display { font-size: clamp(3rem, 13.5vw, 4.8rem); }
  .hero-lead { margin: 1.2rem 0 1.5rem; font-size: 1rem; }
  .hero-note { display: none; }
  .hero-dots { top: auto; right: 7vw; bottom: 2rem; }
  .trust-strip { margin-top: 0; }
  .trust-grid { border-radius: 0; }

  .intro-section,
  section.section--paper:has(.intro-grid) { background-attachment: scroll; }
  .intro-grid { grid-template-columns: 1fr; gap: 2.8rem; }
  .intro-copy { padding: 2rem; border: 0; border-radius: 0 62px 0 0; }
  .intro-image { margin: 2rem -1rem -1rem 0; border-radius: 44px 0 0 0; }
  .intro-image img { height: min(116vw, 510px); }

  .services-layout {
    width: 100%;
    padding: 4.5rem 0 0;
    grid-template-columns: 1fr;
    gap: 2.2rem;
    background-attachment: scroll;
  }
  .service-visual { width: 88vw; height: 55vh; min-height: 420px; margin-inline: 6vw; border: 0; border-radius: 56px 0 56px 0; }
  .service-panel { padding: 3.5rem 6vw 4.5rem; border-radius: 64px 0 0 0; }
  .service-row.is-active { padding-inline: .7rem; }

  .statement { min-height: 680px; align-items: flex-end; padding: 0 5vw 3rem; }
  .statement::after { background: linear-gradient(0deg, rgba(7,14,10,.8), rgba(7,14,10,.03) 76%); }
  .statement-inner { width: 100%; margin: 0; padding: 2.2rem; border-radius: 64px 0 64px 0; }
  .statement blockquote { font-size: clamp(2.6rem, 11.5vw, 4rem); }

  .principle-section { padding-block: 4.5rem; background-attachment: scroll; }
  .principle-section .principles { width: 92vw; padding: 2.2rem; border-radius: 0 66px 0 66px; }
  .section--ink:has(.principles) { padding-block: 4.5rem; background-attachment: scroll; }
  .section--ink:has(.principles) .principles { width: 92vw; padding: 2.2rem; border-radius: 0 66px 0 66px; }

  .language-stage { width: 92vw; margin: 4.5rem auto 0; grid-template-columns: 1fr; border-radius: 62px 0 62px 0; }
  .language-image { min-height: 460px; border: 0; }
  .language-copy { padding: 3.5rem 2rem; }
  .gallery-grid {
    display: grid;
    width: calc(100vw - 6vw);
    grid-template-columns: repeat(6, 72vw);
    grid-auto-flow: column;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }
  .gallery-item { min-height: 0; margin-bottom: 0; scroll-snap-align: start; }
  .gallery-item:nth-child(n) { border-radius: 0 34px 0 34px; }

  .contact-band { min-height: 720px; align-items: flex-end; padding: 0 5vw 3rem; }
  .contact-image::after { background: linear-gradient(0deg, rgba(7,17,11,.83), rgba(7,17,11,.04) 75%); }
  .contact-copy { width: 100%; margin: 0; padding: 2.3rem; border-radius: 62px 0 0 0; }

  .floating-whatsapp {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .35s ease, transform .35s var(--ease), background .35s ease;
  }
  .floating-whatsapp.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .floating-whatsapp.is-visible:hover { transform: translateY(-2px); }

  .page-hero { min-height: 720px; padding-top: 0; display: flex; flex-direction: row; align-items: flex-end; }
  .page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; }
  .page-hero .shell { padding: 8rem 7vw 4rem; }
  .page-hero .shell::before { left: 4vw; bottom: 2.5rem; width: 92vw; height: calc(100% - 6.5rem); border-radius: 0 0 66px 0; }
  .page-hero .shell > * { width: 100%; max-width: 100%; }
  .page-hero .display { font-size: clamp(3rem, 13vw, 4.7rem); }
  .split-media { width: 92vw; margin: 4rem auto; border: 0; border-radius: 50px 0 50px 0; }
}

@media (max-width: 430px) {
  .hero { min-height: 760px; }
  .hero-inner { min-height: 760px; padding-inline: 3vw; }
  .hero-copy { padding: 1.5rem; border-radius: 0 0 50px 0; }
  .hero-copy::after { width: 34px; }
  .hero .display { font-size: clamp(2.75rem, 12.7vw, 4rem); }
  .hero-actions { gap: .55rem; }
  .hero-actions .button { min-width: 0; padding-inline: .8rem; font-size: .7rem; }
  .hero-dots { bottom: 1.45rem; }
  .trust-item { min-height: 100px; }
  .service-panel { padding-inline: 5vw; }
  .service-panel::after { width: 40px; height: 40px; }
  .contact-copy { padding: 2rem 1.3rem; }
  .contact-option { gap: .7rem; }
}

[dir="rtl"] .hero-copy { border-radius: 0 0 0 118px; }
[dir="rtl"] .hero-copy::after {
  right: auto;
  left: 0;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
[dir="rtl"] .hero-note {
  right: auto;
  left: 0;
  border-radius: 0 999px 999px 0;
}

/* Footer links respond like precise editorial controls, not generic text links. */
.site-footer .brand {
  transition: transform .45s var(--ease), opacity .3s ease;
}

.site-footer .brand img {
  transition: transform .55s var(--ease);
}

.footer-col a,
.footer-credit a {
  position: relative;
  width: fit-content;
  transition: color .3s ease, transform .45s var(--ease);
}

.footer-col a::after,
.footer-credit a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.16rem;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s var(--ease);
}

.site-footer .brand:hover,
.site-footer .brand:focus-visible { transform: translateY(-2px); }
.site-footer .brand:hover img,
.site-footer .brand:focus-visible img { transform: scale(1.035); }

.footer-col a:hover,
.footer-col a:focus-visible,
.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: white;
  transform: translateX(4px);
}

.footer-col a:hover::after,
.footer-col a:focus-visible::after,
.footer-credit a:hover::after,
.footer-credit a:focus-visible::after { transform: scaleX(1); }

.site-footer a:active { opacity: .68; }

[dir="rtl"] .footer-col a::after,
[dir="rtl"] .footer-credit a::after { transform-origin: right center; }
[dir="rtl"] .footer-col a:hover,
[dir="rtl"] .footer-col a:focus-visible { transform: translateX(-4px); }

/* Final production polish: fewer repeated curves, stronger image direction. */
:root {
  --font-sans: "Segoe UI Variable Display", Aptos, "Segoe UI", Arial, sans-serif;
  --font-serif: "Iowan Old Style", Baskerville, Georgia, serif;
}

body { font-family: var(--font-sans); }
.display, .h2, .h3 { font-family: var(--font-sans); }
.hero .display em,
.statement blockquote em { font-family: var(--font-serif); }

.hero-frame {
  filter: saturate(.82) contrast(1.035) brightness(.96) sepia(.018);
}

.hero-dots { align-items: center; }
.hero-dots::before {
  content: attr(data-current) " / 03";
  margin-right: .65rem;
  color: rgba(255,255,255,.82);
  font-size: .58rem;
  line-height: 1;
  letter-spacing: .16em;
}

.trust-grid { border-radius: 24px 0 24px 0; }
.intro-copy { border-radius: 0 56px 0 0; }
.intro-image { border-radius: 34px 0 0 0; }
.service-visual { border-radius: 42px 0 0 0; }
.service-panel { border-radius: 0; }
.statement-inner { border-radius: 68px 0 0 0; }
.principle-section .principles,
.section--ink:has(.principles) .principles { border-radius: 0 52px 0 0; }
.language-stage { border-radius: 76px 0 76px 0; }
.contact-copy { border-radius: 72px 0 0 0; }
.page-hero .shell::before { border-radius: 0 0 82px 0; }
.split-media { border-radius: 44px 0 44px 0; }

.service-visual img,
.language-image img { filter: saturate(.8) contrast(1.025) brightness(.98); }
.statement img,
.page-hero > img { filter: saturate(.79) contrast(1.035) brightness(.96); }
.contact-image img { filter: saturate(.76) contrast(1.035) brightness(.95); }

@media (min-width: 781px) {
  .hero-copy {
    width: min(660px, 54vw);
    padding: clamp(2.4rem, 3.7vw, 4rem);
    border-radius: 0 0 86px 0;
  }

  .hero .display { font-size: clamp(3.35rem, 5.85vw, 6.15rem); }

  .page-hero .shell::before { width: min(820px, 68vw); }
  .page-hero .shell > * { width: min(720px, 61vw); }
  .page-hero .display {
    max-width: 12ch;
    font-size: clamp(3.25rem, 5vw, 5.8rem);
  }

  .gallery-grid {
    display: flex;
    height: clamp(390px, 34vw, 510px);
    gap: .7rem;
    overflow: hidden;
  }

  .gallery-item:nth-child(n) {
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    margin: 0;
    aspect-ratio: auto;
    border-radius: 0 18px 0 18px;
    transition: flex-grow .75s var(--ease);
  }

  .gallery-item:hover { flex-grow: 1.58; }
  .gallery-item:hover img { transform: scale(1.02); }
  .gallery-grid:has(.gallery-item:hover) .gallery-item:not(:hover) img {
    filter: saturate(.58) contrast(1.02) brightness(.82);
  }
}

@media (max-width: 780px) {
  .hero-dots::before { display: none; }
  .intro-copy { border-radius: 0 48px 0 0; }
  .service-visual { border-radius: 44px 0 0 0; }
  .service-panel { border-radius: 48px 0 0 0; }
  .statement-inner { border-radius: 48px 0 0 0; }
  .principle-section .principles,
  .section--ink:has(.principles) .principles { border-radius: 0 48px 0 0; }
  .language-stage { border-radius: 52px 0 52px 0; }
  .contact-copy { border-radius: 52px 0 0 0; }
  .page-hero .shell::before { border-radius: 0 0 58px 0; }
}

@media (max-width: 780px) {
  [dir="rtl"] .hero-copy { border-radius: 0 0 0 62px; }
}

@media (max-width: 430px) {
  [dir="rtl"] .hero-copy { border-radius: 0 0 0 50px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media,
  .page-hero > img,
  .hero-frame.is-active { animation: none; }
  .gallery-item img,
  .hero-frame { transition: none; }
  .gallery-item { transition: none; }
}

/* Karriere — editorial job board and direct application */
.career-teaser {
  position: relative;
  isolation: isolate;
  width: min(94vw, 1600px);
  min-height: 700px;
  margin: var(--section) auto;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  overflow: hidden;
  color: var(--white);
  background: var(--green-deep);
  border-radius: 58px 0 58px 0;
  box-shadow: var(--cinema-shadow);
}

.career-teaser::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255,250,240,.16);
  pointer-events: none;
}

.career-teaser-media { position: relative; min-height: 700px; overflow: hidden; }
.career-teaser-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 58%, rgba(7,83,58,.7)), linear-gradient(0deg, rgba(7,35,25,.52), transparent 52%); }
.career-teaser-media img { width: 100%; height: 100%; object-fit: cover; object-position: 56% center; filter: saturate(.72) contrast(1.04) brightness(.9); transition: transform 1s var(--ease); }
.career-teaser:hover .career-teaser-media img { transform: scale(1.018); }
.career-teaser-media > span { position: absolute; z-index: 2; left: 2.2rem; bottom: 2rem; font-size: .62rem; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }

.career-teaser-copy {
  position: relative;
  z-index: 2;
  padding: clamp(3.5rem, 6vw, 6.5rem);
  display: grid;
  align-content: center;
  justify-items: start;
}

.career-teaser-copy::before { content: "K"; position: absolute; top: 1rem; right: 2.5rem; color: rgba(255,255,255,.035); font-family: var(--font-serif); font-size: clamp(12rem, 24vw, 25rem); line-height: 1; pointer-events: none; }
.career-teaser-copy .h2 { position: relative; max-width: 14ch; }
.career-teaser-copy .lead { position: relative; color: rgba(255,255,255,.7); }
.career-teaser-copy > .button { position: relative; margin-top: 2rem; }

.career-teaser-roles { position: relative; width: 100%; margin-top: 2.2rem; border-top: 1px solid rgba(255,255,255,.22); }
.career-teaser-roles a { min-height: 62px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,.22); transition: padding .5s var(--ease), background .35s ease; }
.career-teaser-roles a:hover,
.career-teaser-roles a:focus-visible { padding-inline: .8rem; background: rgba(255,255,255,.055); }
.career-teaser-roles span { font-size: .92rem; }
.career-teaser-roles i { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; font-style: normal; transition: color .3s ease, background .3s ease, transform .45s var(--ease); }
.career-teaser-roles a:hover i,
.career-teaser-roles a:focus-visible i { color: var(--red); background: var(--paper); transform: translate(2px,-2px); }

.career-hero .display { max-width: 11ch; }
.career-hero .display em { color: var(--red); font-family: var(--font-serif); font-weight: 400; }
.career-hero > img { object-position: center 48%; }

.career-openings { overflow: clip; }
.career-openings-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 8vw, 9rem); align-items: start; }
.career-openings-intro { position: sticky; top: 112px; }
.career-openings-intro .lead { max-width: 31rem; }
.text-link { display: inline-flex; align-items: center; gap: .7rem; margin-top: 2rem; padding-bottom: .25rem; border-bottom: 1px solid currentColor; color: var(--green-deep); font-size: .74rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.text-link span { color: var(--red); transition: transform .4s var(--ease); }
.text-link:hover span { transform: translateY(3px); }

.career-role-list { border-top: 2px solid var(--ink); }
.career-role-list a { position: relative; min-height: 104px; padding: 1.1rem 0; display: grid; grid-template-columns: 3.5rem 1fr auto; align-items: center; gap: 1.2rem; border-bottom: 1px solid var(--line); overflow: hidden; }
.career-role-list a::before { content: ""; position: absolute; z-index: -1; inset: 0; background: var(--green-deep); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.career-role-list a > span { color: var(--red); font-size: .63rem; letter-spacing: .12em; transition: color .3s ease; }
.career-role-list strong { font-size: clamp(1.2rem, 2vw, 1.75rem); font-weight: 520; letter-spacing: -.025em; }
.career-role-list i { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(35,31,32,.25); border-radius: 50%; font-style: normal; transition: border-color .3s ease, transform .5s var(--ease); }
.career-role-list a:hover,
.career-role-list a:focus-visible { color: var(--paper); }
.career-role-list a:hover::before,
.career-role-list a:focus-visible::before { transform: scaleY(1); }
.career-role-list a:hover > span,
.career-role-list a:focus-visible > span { color: #e7ae76; }
.career-role-list a:hover i,
.career-role-list a:focus-visible i { border-color: rgba(255,255,255,.5); transform: translate(3px,-3px); }

.career-campaign {
  position: relative;
  padding: 0 0 var(--section);
  overflow: clip;
  background: var(--paper);
}

.career-campaign-grid {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  align-items: stretch;
  overflow: hidden;
  color: var(--paper);
  background: var(--green-deep);
  border-radius: 58px 0 58px 0;
  box-shadow: 0 34px 90px rgba(5, 31, 21, .2);
}

.career-campaign-grid::before {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  right: 0;
  width: clamp(5rem, 12vw, 11rem);
  height: 4px;
  background: var(--red);
}

.career-campaign-grid::after {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 16px;
  border: 1px solid rgba(248, 239, 226, .15);
  border-radius: 45px 0 45px 0;
  pointer-events: none;
}

.career-campaign-copy {
  position: relative;
  z-index: 5;
  padding: clamp(3.2rem, 5.5vw, 6.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.career-campaign-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -4rem;
  bottom: -4rem;
  width: clamp(15rem, 28vw, 29rem);
  aspect-ratio: 1;
  background: url("../images/avilia-mark.png") center / contain no-repeat;
  opacity: .035;
  filter: grayscale(1) brightness(4);
  pointer-events: none;
}

.career-campaign-index {
  width: 100%;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  color: rgba(248, 239, 226, .56);
  font-size: .62rem;
  font-style: normal;
  font-weight: 650;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.career-campaign-index i { height: 1px; background: rgba(248, 239, 226, .22); }
.career-campaign-copy .eyebrow { color: rgba(248, 239, 226, .7); }
.career-campaign-copy .eyebrow::before { background: rgba(248, 239, 226, .5); }
.career-campaign-copy .h2 { max-width: 11ch; color: var(--paper); }
.career-campaign-copy .h2 em { display: block; color: #e8b3a9; font-family: var(--font-serif); font-weight: 400; }
.career-campaign-copy > p:not(.eyebrow) { max-width: 38rem; margin: 1.7rem 0 0; color: rgba(248, 239, 226, .72); }

.career-campaign-facts {
  width: 100%;
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(248, 239, 226, .2);
  border-bottom: 1px solid rgba(248, 239, 226, .2);
}

.career-campaign-facts span { min-width: 0; padding: 1.15rem .85rem 1.15rem 0; display: grid; gap: .18rem; }
.career-campaign-facts span + span { padding-left: .85rem; border-left: 1px solid rgba(248, 239, 226, .2); }
.career-campaign-facts small { color: rgba(248, 239, 226, .52); font-size: .58rem; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.career-campaign-facts strong { overflow: hidden; font-size: .88rem; font-weight: 570; text-overflow: ellipsis; }
.career-campaign-copy .button { margin-top: 2.2rem; }

.button--paper { color: var(--green-deep); background: var(--paper); }
.button--paper:hover,
.button--paper:focus-visible { color: var(--paper); background: var(--red); }

.career-flyer {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.8rem);
  padding-bottom: clamp(4.5rem, 5.5vw, 5.2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: var(--ink);
  background: var(--paper-deep);
  cursor: zoom-in;
}

.career-flyer::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: clamp(1rem, 2vw, 1.8rem);
  border: 1px solid rgba(129, 21, 38, .18);
  pointer-events: none;
}

.career-flyer img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform .8s var(--ease), filter .45s ease;
}

.career-flyer > span {
  position: absolute;
  z-index: 2;
  right: clamp(1.8rem, 3vw, 3rem);
  bottom: clamp(1.8rem, 3vw, 3rem);
  min-height: 42px;
  padding: 0 .7rem 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: var(--paper);
  background: rgba(7, 81, 55, .94);
  font-size: .66rem;
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(5, 31, 21, .2);
}

.career-flyer > span i { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .28); border-radius: 50%; font-style: normal; }
.career-flyer:hover img,
.career-flyer:focus-visible img { transform: scale(1.012); filter: saturate(1.035); }

.flyer-dialog {
  width: min(92vw, 92svh, 920px);
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: visible;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.flyer-dialog::backdrop { background: rgba(3, 18, 12, .88); backdrop-filter: blur(7px); }
.flyer-dialog[open] { animation: flyer-dialog-in .42s var(--ease) both; }
.flyer-dialog__stage { position: relative; width: 100%; aspect-ratio: 1; }
.flyer-dialog__stage img { width: 100%; height: auto; max-width: none; max-height: none; display: block; box-shadow: 0 35px 100px rgba(0, 0, 0, .38); }
.flyer-dialog__close {
  position: absolute;
  z-index: 2;
  top: 1rem;
  right: 1rem;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(7, 81, 55, .18);
  border-radius: 50%;
  background: rgba(248, 239, 226, .94);
  box-shadow: 0 10px 30px rgba(5, 31, 21, .18);
  cursor: pointer;
}

.flyer-dialog__close span::before,
.flyer-dialog__close span::after { content: ""; position: absolute; top: 50%; left: 50%; width: 17px; height: 1px; background: var(--green-deep); }
.flyer-dialog__close span::before { transform: translate(-50%, -50%) rotate(45deg); }
.flyer-dialog__close span::after { transform: translate(-50%, -50%) rotate(-45deg); }
.flyer-dialog__close:hover,
.flyer-dialog__close:focus-visible { background: var(--paper); transform: rotate(4deg); }

@keyframes flyer-dialog-in {
  from { opacity: 0; transform: translateY(14px) scale(.985); }
  to { opacity: 1; transform: none; }
}

.career-process { color: var(--paper); background: #101b16; }
.career-process-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.career-process-grid > div { min-height: 156px; padding: 2rem clamp(1.5rem,3vw,3rem); display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-content: center; gap: .2rem 1rem; border-left: 1px solid rgba(255,255,255,.13); }
.career-process-grid > div:last-child { border-right: 1px solid rgba(255,255,255,.13); }
.career-process-grid span { grid-row: 1 / 3; color: #dca66f; font-size: .6rem; letter-spacing: .1em; }
.career-process-grid strong { font-size: 1rem; font-weight: 560; }
.career-process-grid small { color: rgba(255,255,255,.52); font-size: .72rem; }

.career-application { color: var(--ink); background: var(--paper-deep); }
.career-application-grid { display: grid; grid-template-columns: .76fr 1.24fr; gap: clamp(2rem,5vw,5rem); align-items: start; }
.application-intro { position: sticky; top: 104px; padding: 0 0 2rem; }
.application-image { position: relative; aspect-ratio: 4 / 3; margin-bottom: 2.4rem; overflow: hidden; border-radius: 44px 0 44px 0; background: var(--green-deep); }
.application-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,rgba(7,35,25,.42),transparent 48%); }
.application-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.035); }
.application-intro .h2 { max-width: 12ch; }
.application-intro > p:not(.eyebrow) { max-width: 33rem; color: var(--ink-soft); }
.application-contact { margin-top: 2rem; padding-top: 1.2rem; display: grid; gap: .2rem; border-top: 1px solid var(--line); }
.application-contact span { margin-bottom: .4rem; color: var(--ink-soft); font-size: .63rem; font-weight: 650; letter-spacing: .11em; text-transform: uppercase; }
.application-contact a { width: fit-content; font-size: .86rem; text-decoration: underline; text-decoration-color: rgba(35,31,32,.22); text-underline-offset: .22em; }

.application-form { position: relative; padding: clamp(2rem,5vw,4.5rem); display: grid; gap: 1.2rem; background: var(--paper); box-shadow: 0 24px 70px rgba(39,31,22,.11); }
.application-form::after { content: ""; position: absolute; top: 0; right: 0; width: 54px; height: 54px; background: var(--red); clip-path: polygon(100% 0,100% 100%,0 0); }
.form-trap { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
.form-chapter { margin-top: 1.9rem; padding-top: 1.15rem; display: grid; grid-template-columns: 2.4rem 1fr; gap: .8rem; border-top: 2px solid var(--ink); }
.form-chapter:first-of-type { margin-top: 0; }
.form-chapter > span { color: var(--red); font-size: .62rem; letter-spacing: .12em; }
.form-chapter > div { display: grid; }
.form-chapter strong { font-size: 1rem; font-weight: 620; }
.form-chapter small { color: var(--ink-soft); font-size: .72rem; }
.application-form .field { position: relative; }
.application-form .field label { font-weight: 630; }
.application-form .field input,
.application-form .field textarea,
.application-form .field select { min-height: 50px; padding: .75rem 0; border-bottom-color: rgba(35,31,32,.4); }
.application-form .field input:focus,
.application-form .field textarea:focus,
.application-form .field select:focus { outline: 0; border-bottom-color: var(--red); box-shadow: 0 1px 0 var(--red); }
.application-form .field textarea { min-height: 132px; }
.application-form .field input::placeholder,
.application-form .field textarea::placeholder { color: rgba(35,31,32,.45); }
.application-form .field.is-invalid input,
.application-form .field.is-invalid textarea,
.application-form .field.is-invalid select { border-bottom-color: var(--red); }

.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: .4rem; }
.upload-field { position: relative; min-height: 172px; padding: 1.25rem; display: grid; align-content: end; border: 1px dashed rgba(35,31,32,.34); background: rgba(255,255,255,.3); cursor: pointer; transition: border-color .3s ease, background .3s ease, transform .45s var(--ease); }
.upload-field:hover,
.upload-field:focus-within { border-color: var(--red); background: rgba(255,255,255,.64); transform: translateY(-2px); }
.upload-field input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.upload-mark { position: absolute; top: 1rem; right: 1rem; width: 29px; height: 29px; display: grid; place-items: center; border: 1px solid rgba(35,31,32,.3); border-radius: 50%; font-size: 1.05rem; }
.upload-field strong { display: flex; flex-wrap: wrap; gap: .45rem; align-items: baseline; font-size: .92rem; }
.upload-field strong em { color: var(--ink-soft); font-size: .58rem; font-style: normal; font-weight: 520; letter-spacing: .08em; text-transform: uppercase; }
.upload-field small { color: var(--ink-soft); font-size: .68rem; }
.upload-field b { margin-top: .65rem; overflow: hidden; color: var(--green-deep); font-size: .68rem; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.upload-field.is-invalid { border-color: var(--red); }
.application-consent { margin-top: .8rem; }
.application-consent a { text-decoration: underline; text-underline-offset: .2em; }
.application-hint { margin: -.2rem 0 .3rem; color: var(--ink-soft); font-size: .7rem; }
.application-submit { width: fit-content; min-width: 250px; }
.application-submit[disabled] { opacity: .6; cursor: wait; }
.application-form .form-status { margin: 0; min-height: 1.4rem; }
.application-form .form-status.is-error { color: var(--red-deep); }

.application-result { min-height: 100svh; padding: 8rem 4vw 4rem; display: grid; place-items: center; color: var(--ink); background: #0b2119; }
.application-result-card { width: min(680px,92vw); padding: clamp(2.2rem,6vw,5rem); color: var(--ink); background: var(--paper); border-radius: 0 0 72px 0; box-shadow: 0 35px 100px rgba(0,0,0,.28); }
.application-result-mark { width: 52px; height: 52px; margin-bottom: 1.7rem; display: grid; place-items: center; color: var(--paper); background: var(--green-deep); border-radius: 50%; font-size: 1.3rem; }
.application-result.is-error .application-result-mark { background: var(--red); }
.application-result-card .h2 { max-width: 13ch; }
.application-result-card p { color: var(--ink-soft); }
.application-result-card .button { margin-top: 1.2rem; }

@media (max-width: 1100px) {
  .career-teaser { grid-template-columns: .75fr 1.25fr; }
  .career-openings-grid { grid-template-columns: .85fr 1.15fr; gap: 4rem; }
  .career-application-grid { grid-template-columns: .8fr 1.2fr; gap: 2.5rem; }
}

@media (max-width: 780px) {
  .career-teaser { width: 92vw; min-height: 0; margin-block: 4rem; grid-template-columns: 1fr; border-radius: 44px 0 44px 0; }
  .career-teaser::after { inset: 8px; }
  .career-teaser-media { min-height: 360px; }
  .career-teaser-media::after { background: linear-gradient(0deg,rgba(7,83,58,.78),transparent 65%); }
  .career-teaser-copy { padding: 3rem 1.5rem; }
  .career-teaser-copy::before { font-size: 15rem; }
  .career-teaser-copy .button { width: 100%; }
  .career-openings-grid { grid-template-columns: 1fr; gap: 3rem; }
  .career-openings-intro,
  .application-intro { position: static; }
  .career-role-list a { min-height: 88px; grid-template-columns: 2.2rem 1fr auto; gap: .65rem; }
  .career-role-list strong { font-size: 1.1rem; }
  .career-role-list i { width: 36px; height: 36px; }
  .career-campaign { padding-bottom: 4rem; }
  .career-campaign-grid { width: 92vw; grid-template-columns: 1fr; border-radius: 44px 0 44px 0; }
  .career-campaign-grid::after { inset: 8px; border-radius: 35px 0 35px 0; }
  .career-campaign-copy { padding: 3rem 1.5rem; }
  .career-campaign-index { margin-bottom: 2.8rem; }
  .career-campaign-copy .h2 { max-width: 12ch; }
  .career-campaign-facts { grid-template-columns: 1fr; }
  .career-campaign-facts span { padding: .8rem 0; grid-template-columns: 7.5rem 1fr; align-items: center; }
  .career-campaign-facts span + span { padding-left: 0; border-top: 1px solid rgba(248, 239, 226, .2); border-left: 0; }
  .career-campaign-copy .button { width: 100%; }
  .career-flyer { padding: .8rem .8rem 4rem; }
  .career-flyer::before { inset: .8rem; }
  .career-flyer > span { right: 1.5rem; bottom: 1rem; }
  .career-process-grid { grid-template-columns: 1fr; padding-block: .8rem; }
  .career-process-grid > div { min-height: 105px; border: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .career-process-grid > div:last-child { border-right: 0; border-bottom: 0; }
  .career-application-grid { grid-template-columns: 1fr; }
  .application-image { aspect-ratio: 16 / 10; }
  .application-form { padding: 2rem 1.25rem; }
  .application-form::after { width: 42px; height: 42px; }
  .upload-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .career-teaser-media { min-height: 300px; }
  .career-teaser-roles a { min-height: 58px; }
  .career-teaser-copy > .button { padding-inline: .75rem; font-size: .68rem; }
  .career-role-list a { grid-template-columns: 1.8rem 1fr auto; }
  .career-role-list strong { font-size: 1rem; }
  .career-campaign-copy { padding: 2.6rem 1.25rem; }
  .career-campaign-facts span { grid-template-columns: 6.5rem 1fr; }
  .career-flyer > span { right: 1.25rem; bottom: .9rem; min-height: 38px; font-size: .6rem; }
  .flyer-dialog__close { top: .6rem; right: .6rem; width: 42px; height: 42px; }
  .form-row { grid-template-columns: 1fr; }
  .application-submit { width: 100%; min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .career-teaser-media img,
  .career-role-list a::before,
  .career-teaser-roles a,
  .upload-field,
  .career-flyer img { transition: none; }
  .flyer-dialog[open] { animation: none; }
}

/* Mobile navigation — a compact Avilia editorial layer, not a generic drawer. */
.mobile-nav-kicker,
.mobile-nav-meta { display: none; }

@media (max-width: 1100px) {
  .site-header { isolation: isolate; }
  .site-header .header-inner { position: relative; z-index: 3; }
  .site-header .brand,
  .site-header .header-actions { position: relative; z-index: 4; }

  .primary-nav {
    counter-reset: mobile-nav;
    position: fixed;
    z-index: 2;
    inset: 0;
    min-height: 100svh;
    padding: clamp(7.8rem, 15vh, 10rem) max(6vw, calc((100vw - 980px) / 2)) clamp(2.1rem, 5vh, 3.5rem);
    display: flex;
    flex-direction: column;
    place-content: unset;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    overflow-y: auto;
    color: var(--ink);
    background:
      linear-gradient(90deg, rgba(4,18,12,.9), rgba(4,18,12,.52)),
      url('../images/supportive-hands.webp') center / cover no-repeat;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .42s ease, visibility .42s ease, transform .65s var(--ease);
  }

  .primary-nav::before {
    content: "";
    position: fixed;
    z-index: -1;
    top: 86px;
    bottom: 16px;
    left: 16px;
    width: min(720px, 68vw);
    background:
      linear-gradient(135deg, rgba(255,255,255,.28), transparent 38%),
      var(--paper);
    border-radius: 0 0 86px 0;
    box-shadow: 0 32px 90px rgba(0,0,0,.28);
    clip-path: inset(0 0 100% 0 round 0 0 86px 0);
    transition: clip-path .72s var(--ease);
  }

  .primary-nav::after {
    content: "";
    position: fixed;
    z-index: -1;
    top: 86px;
    left: calc(min(720px, 68vw) - 34px);
    width: 58px;
    height: 58px;
    background: var(--red);
    clip-path: polygon(100% 0, 100% 100%, 0 0);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .35s .25s ease, transform .55s .25s var(--ease);
  }

  .menu-open .primary-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .menu-open .primary-nav::before { clip-path: inset(0 round 0 0 86px 0); }
  .menu-open .primary-nav::after { opacity: 1; transform: none; }

  .mobile-nav-kicker,
  .primary-nav > a,
  .mobile-nav-meta {
    position: relative;
    z-index: 1;
    width: min(590px, 55vw);
    margin-left: clamp(1.2rem, 4vw, 3.6rem);
  }

  .mobile-nav-kicker {
    display: block;
    margin-bottom: .8rem;
    color: var(--red);
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .4s .2s ease, transform .55s .2s var(--ease);
  }

  .primary-nav > a {
    counter-increment: mobile-nav;
    min-height: clamp(58px, 8vh, 74px);
    padding: .75rem 3.4rem .75rem 3rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-sans);
    font-size: clamp(1.45rem, 3.4vw, 2.2rem);
    font-weight: 520;
    line-height: 1;
    letter-spacing: -.045em;
    text-align: left;
    opacity: 0;
    transform: translateY(12px);
    transition: color .3s ease, padding .5s var(--ease), opacity .42s ease, transform .6s var(--ease);
  }

  .primary-nav > a:first-of-type { border-top: 1px solid var(--line); }
  .primary-nav > a::before {
    content: "0" counter(mobile-nav);
    position: absolute;
    left: 0;
    color: var(--red);
    font-size: .56rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .12em;
  }

  .primary-nav > a::after {
    content: "↗";
    position: absolute;
    left: auto;
    right: .2rem;
    bottom: auto;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(35,31,32,.24);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: .72rem;
    transform: none;
    transition: color .3s ease, background .3s ease, border-color .3s ease, transform .45s var(--ease);
  }

  .primary-nav > a:hover,
  .primary-nav > a:focus-visible { padding-left: 3.45rem; color: var(--red-deep); }
  .primary-nav > a:hover::after,
  .primary-nav > a:focus-visible::after { color: var(--paper); background: var(--green-deep); border-color: var(--green-deep); transform: translate(2px,-2px); }
  .primary-nav > a[aria-current="page"] { color: var(--red-deep); }
  .primary-nav > a[aria-current="page"]::after { color: var(--paper); background: var(--red); border-color: var(--red); }

  .mobile-nav-meta {
    margin-top: 1rem;
    padding-top: .85rem;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: .6rem 1.4rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .4s .48s ease, transform .55s .48s var(--ease);
  }

  .mobile-nav-meta > span { grid-column: 1 / -1; color: var(--ink-soft); font-size: .57rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
  .mobile-nav-meta a { min-width: 0; display: grid; gap: .1rem; font-family: var(--font-sans); font-size: .76rem; font-weight: 600; line-height: 1.25; text-align: left; overflow-wrap: anywhere; }
  .mobile-nav-meta a::after { display: none; }
  .mobile-nav-meta small { color: var(--ink-soft); font-size: .5rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
  .mobile-nav-meta b { font-weight: 600; }

  .menu-open .mobile-nav-kicker,
  .menu-open .primary-nav > a,
  .menu-open .mobile-nav-meta { opacity: 1; transform: none; }
  .menu-open .primary-nav > a:nth-of-type(1) { transition-delay: .25s; }
  .menu-open .primary-nav > a:nth-of-type(2) { transition-delay: .29s; }
  .menu-open .primary-nav > a:nth-of-type(3) { transition-delay: .33s; }
  .menu-open .primary-nav > a:nth-of-type(4) { transition-delay: .37s; }
  .menu-open .primary-nav > a:nth-of-type(5) { transition-delay: .41s; }

  .menu-open .site-header,
  .menu-open .site-header.is-scrolled,
  .menu-open .site-header:not(.is-scrolled) {
    color: var(--paper);
    background: #0a2118;
    border-bottom-color: rgba(255,255,255,.16);
    backdrop-filter: none;
  }

  .menu-open .site-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 4vw;
    right: 4vw;
    height: 3px;
    background: var(--red);
  }

  .menu-open .menu-toggle {
    color: var(--ink);
    background: var(--paper);
    border-color: var(--paper);
  }
}

@media (max-width: 780px) {
  .primary-nav {
    padding: 106px 2rem 2rem;
    justify-content: center;
    background:
      linear-gradient(0deg, rgba(4,18,12,.84), rgba(4,18,12,.58)),
      url('../images/supportive-hands.webp') 64% center / cover no-repeat;
  }

  .primary-nav::before {
    top: 80px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    border-radius: 0 0 66px 0;
  }

  .primary-nav::after {
    top: 80px;
    right: 10px;
    left: auto;
    width: 50px;
    height: 50px;
  }

  .menu-open .primary-nav::before { clip-path: inset(0 round 0 0 66px 0); }

  .mobile-nav-kicker,
  .primary-nav > a,
  .mobile-nav-meta {
    width: 100%;
    margin-left: 0;
  }

  .primary-nav > a {
    min-height: clamp(54px, 8.2vh, 66px);
    padding-left: 2.45rem;
    padding-right: 2.8rem;
    font-size: clamp(1.35rem, 6vw, 1.8rem);
  }

  .primary-nav > a:hover,
  .primary-nav > a:focus-visible { padding-left: 2.8rem; }
  .primary-nav > a::after { width: 29px; height: 29px; }
  .mobile-nav-meta { grid-template-columns: .82fr 1.18fr; }
}

@media (max-width: 430px) {
  .primary-nav { padding-inline: 1.55rem; padding-bottom: 1.3rem; }
  .mobile-nav-kicker { margin-bottom: .55rem; }
  .primary-nav > a { min-height: clamp(51px, 7.7vh, 61px); font-size: clamp(1.27rem, 6.3vw, 1.62rem); }
  .mobile-nav-meta { margin-top: .7rem; grid-template-columns: 1fr; gap: .38rem; }
  .mobile-nav-meta > span { margin-bottom: .1rem; }
  .mobile-nav-meta a { display: flex; justify-content: space-between; gap: .75rem; font-size: .68rem; }
}

@media (max-height: 650px) and (max-width: 1100px) {
  .primary-nav { justify-content: flex-start; padding-top: 96px; }
  .primary-nav > a { min-height: 48px; font-size: 1.25rem; }
  .mobile-nav-meta { padding-bottom: 1rem; }
}

@media (max-width: 1100px) {
  [dir="rtl"] .mobile-nav-kicker,
  [dir="rtl"] .primary-nav > a,
  [dir="rtl"] .mobile-nav-meta { margin-right: clamp(1.2rem, 4vw, 3.6rem); margin-left: 0; }
  [dir="rtl"] .primary-nav > a { padding-right: 3rem; padding-left: 3.4rem; text-align: right; }
  [dir="rtl"] .primary-nav > a::before { right: 0; left: auto; }
  [dir="rtl"] .primary-nav > a::after { right: auto; left: .2rem; content: "↖"; }
  [dir="rtl"] .primary-nav > a:hover,
  [dir="rtl"] .primary-nav > a:focus-visible { padding-right: 3.45rem; padding-left: 3.4rem; }
  [dir="rtl"] .mobile-nav-meta a { direction: rtl; text-align: right; }
  [dir="rtl"] .mobile-nav-meta b { direction: ltr; unicode-bidi: isolate; }
}

@media (max-width: 780px) {
  [dir="rtl"] .mobile-nav-kicker,
  [dir="rtl"] .primary-nav > a,
  [dir="rtl"] .mobile-nav-meta { margin-right: 0; }
  [dir="rtl"] .primary-nav > a { padding-right: 2.45rem; padding-left: 2.8rem; }
  [dir="rtl"] .primary-nav > a:hover,
  [dir="rtl"] .primary-nav > a:focus-visible { padding-right: 2.8rem; padding-left: 2.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .primary-nav,
  .primary-nav::before,
  .primary-nav::after,
  .mobile-nav-kicker,
  .primary-nav > a,
  .mobile-nav-meta { transition: none; }
}

/* Privacy notice — truthful status instead of a misleading consent theatre. */
.privacy-notice {
  position: fixed;
  z-index: 190;
  left: clamp(1rem, 3vw, 3rem);
  bottom: clamp(1rem, 3vw, 2.5rem);
  width: min(650px, calc(100vw - 2rem));
  max-height: calc(100svh - 2rem);
  display: grid;
  grid-template-columns: 62px 1fr;
  overflow: auto;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255,255,255,.3), transparent 40%),
    var(--paper);
  border: 1px solid rgba(250,243,225,.44);
  border-radius: 0 0 58px 0;
  box-shadow: 0 30px 90px rgba(3,12,8,.34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity .45s ease, visibility .45s ease, transform .72s var(--ease);
}

.privacy-notice::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  background: var(--red);
  clip-path: polygon(100% 0,100% 100%,0 0);
  pointer-events: none;
}

.privacy-notice.is-visible { opacity: 1; visibility: visible; transform: none; }
.privacy-notice.is-leaving { pointer-events: none; transform: translateY(18px); }
.menu-open .privacy-notice { opacity: 0; pointer-events: none; transform: translateY(14px); }

.privacy-notice__index {
  min-height: 100%;
  padding-block: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.66);
  background: var(--green-deep);
  font-size: .5rem;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.privacy-notice__index::before { content: ""; width: 1px; height: 36px; margin-bottom: .75rem; background: rgba(255,255,255,.35); }

.privacy-notice__content { padding: clamp(1.6rem, 3vw, 2.35rem) clamp(1.5rem, 3.5vw, 2.8rem) clamp(1.5rem, 3vw, 2.2rem); }
.privacy-notice__eyebrow { margin: 0 0 .7rem; color: var(--red); font-size: .58rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.privacy-notice h2 { max-width: 16ch; margin: 0; font-family: var(--font-sans); font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 540; line-height: 1; letter-spacing: -.05em; }
.privacy-notice__text { max-width: 49rem; margin: .9rem 0 1.15rem; color: var(--ink-soft); font-size: .82rem; line-height: 1.55; }

.privacy-notice__facts { display: grid; grid-template-columns: 1fr 1.25fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy-notice__facts > span { min-height: 54px; padding: .6rem .8rem .6rem 0; display: grid; align-content: center; gap: .05rem; color: var(--ink-soft); font-size: .54rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; }
.privacy-notice__facts > span + span { padding-left: 1rem; border-left: 1px solid var(--line); }
.privacy-notice__facts b { color: var(--green-deep); font-size: .68rem; font-weight: 670; letter-spacing: .035em; }

.privacy-notice__actions { margin-top: 1.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.privacy-notice__confirm { min-height: 46px; padding: .65rem 1.05rem; display: inline-flex; align-items: center; gap: 1.4rem; border: 1px solid var(--red); border-radius: 0; color: var(--paper); background: var(--red); font-size: .7rem; font-weight: 620; letter-spacing: .04em; cursor: pointer; transition: color .3s ease, background .3s ease, transform .45s var(--ease); }
.privacy-notice__confirm:hover,
.privacy-notice__confirm:focus-visible { color: var(--red); background: transparent; transform: translateY(-2px); }
.privacy-notice__confirm span { transition: transform .4s var(--ease); }
.privacy-notice__confirm:hover span { transform: translateX(3px); }
.privacy-notice__actions > a { position: relative; color: var(--ink-soft); font-size: .66rem; font-weight: 620; letter-spacing: .05em; }
.privacy-notice__actions > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.2rem; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.privacy-notice__actions > a:hover::after,
.privacy-notice__actions > a:focus-visible::after { transform: scaleX(1); }

.privacy-notice__close {
  position: absolute;
  z-index: 2;
  top: .8rem;
  right: .8rem;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.privacy-notice__close span,
.privacy-notice__close span::after { position: absolute; top: 50%; left: 50%; width: 14px; height: 1px; display: block; background: var(--ink); transform: translate(-50%,-50%) rotate(45deg); }
.privacy-notice__close span::after { content: ""; transform: translate(-50%,-50%) rotate(90deg); }

[dir="rtl"] .privacy-notice { right: clamp(1rem, 3vw, 3rem); left: auto; grid-template-columns: 1fr 62px; border-radius: 0 0 0 58px; }
[dir="rtl"] .privacy-notice::after { right: auto; left: 0; clip-path: polygon(0 0,100% 0,0 100%); }
[dir="rtl"] .privacy-notice__index { grid-column: 2; grid-row: 1; }
[dir="rtl"] .privacy-notice__content { grid-column: 1; grid-row: 1; }
[dir="rtl"] .privacy-notice__close { right: auto; left: .8rem; }
[dir="rtl"] .privacy-notice__facts > span { padding: .6rem 0 .6rem .8rem; }
[dir="rtl"] .privacy-notice__facts > span + span { padding-right: 1rem; padding-left: 0; border-right: 1px solid var(--line); border-left: 0; }
[dir="rtl"] .privacy-notice__actions > a::after { transform-origin: right; }

@media (max-width: 600px) {
  .privacy-notice,
  [dir="rtl"] .privacy-notice {
    right: .65rem;
    bottom: .65rem;
    left: .65rem;
    width: auto;
    max-height: calc(100svh - 1.3rem);
    display: block;
    border-radius: 0 0 48px 0;
  }
  [dir="rtl"] .privacy-notice { border-radius: 0 0 0 48px; }
  .privacy-notice__index { position: absolute; top: 0; right: 0; left: 0; min-height: 28px; height: 28px; padding: 0 1rem; justify-content: flex-start; writing-mode: horizontal-tb; transform: none; }
  .privacy-notice__index::before { width: 24px; height: 1px; margin: 0 .55rem 0 0; }
  .privacy-notice__content,
  [dir="rtl"] .privacy-notice__content { padding: 3.45rem 1.25rem 1.35rem; }
  .privacy-notice__close { top: 2.05rem; right: .65rem; }
  [dir="rtl"] .privacy-notice__close { top: 2.05rem; right: auto; left: .65rem; }
  .privacy-notice h2 { padding-right: 2rem; font-size: 1.75rem; }
  [dir="rtl"] .privacy-notice h2 { padding-right: 0; padding-left: 2rem; }
  .privacy-notice__text { font-size: .78rem; }
}

@media (max-width: 350px) {
  .privacy-notice__facts { grid-template-columns: 1fr; }
  .privacy-notice__facts > span + span,
  [dir="rtl"] .privacy-notice__facts > span + span { padding-left: 0; padding-right: 0; border-top: 1px solid var(--line); border-right: 0; border-left: 0; }
  .privacy-notice__actions { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-notice,
  .privacy-notice__confirm,
  .privacy-notice__confirm span { transition: none; }
}

/* Avilia material palette 2026 — derived from the approved MACal vinyl set. */
:root {
  --paper: #f8efe2;
  --paper-deep: #e6d8c4;
  --white: #fffaf3;
  --ink: #211d1d;
  --ink-soft: #5a504b;
  --red: #a6192e;
  --red-deep: #811526;
  --green: #008754;
  --green-deep: #075137;
  --line: rgba(7, 81, 55, .17);
  --shadow: 0 26px 80px rgba(48, 30, 26, .14);
  --cinema-shadow: 0 34px 90px rgba(5, 31, 21, .24);
}

body { background-color: var(--paper); }

:focus-visible { outline-color: #cf6e7d; }

.legal h2,
.legal .h2 {
  overflow-wrap: anywhere;
  hyphens: auto;
}

.legal-page-main { padding-top: 10rem; }
.legal--imprint { max-width: 1120px; }

.legal-heading {
  padding-bottom: clamp(2.6rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
}

.legal-heading .h2 { max-width: none; }
.legal-heading__meta {
  margin: 0 0 .35rem;
  padding: .72rem .9rem;
  color: var(--green-deep);
  border: 1px solid rgba(7, 81, 55, .24);
  font-size: .66rem;
  font-weight: 670;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.legal-ledger { border-top: 2px solid var(--ink); }
.legal-entry {
  padding: clamp(1.65rem, 3.2vw, 2.5rem) 0;
  display: grid;
  grid-template-columns: 3.4rem minmax(12rem, .62fr) minmax(0, 1.38fr);
  align-items: start;
  gap: clamp(1rem, 2.8vw, 2.8rem);
  border-bottom: 1px solid var(--line);
}

.legal-entry__index {
  padding-top: .22rem;
  color: var(--red);
  font-size: .62rem;
  font-weight: 680;
  letter-spacing: .13em;
}

.legal--imprint .legal-entry h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.45vw, 1.3rem);
  font-weight: 620;
  line-height: 1.25;
  letter-spacing: -.015em;
}

.legal-entry p,
.legal-entry address {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  font-style: normal;
  line-height: 1.72;
}

.legal-entry strong { color: var(--ink); font-weight: 640; }
.legal-entry a {
  color: var(--green-deep);
  text-decoration: underline;
  text-decoration-color: rgba(7, 81, 55, .28);
  text-underline-offset: .22em;
}

.legal-entry a:hover,
.legal-entry a:focus-visible { color: var(--red-deep); text-decoration-color: currentColor; }
.legal-status { color: var(--red-deep); font-weight: 620; }
.legal-ik { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: .08em; }

@media (max-width: 700px) {
  .legal-page-main { padding-top: 7.5rem; }
  .legal-heading { grid-template-columns: 1fr; gap: 1.2rem; }
  .legal-heading__meta { width: fit-content; margin: 0; }
  .legal-entry { grid-template-columns: 2rem minmax(0, 1fr); gap: .45rem .8rem; }
  .legal-entry__index { grid-row: 1 / span 2; }
  .legal--imprint .legal-entry h2,
  .legal-entry p,
  .legal-entry address { grid-column: 2; }
  .legal-entry p,
  .legal-entry address { font-size: .94rem; }
}

@media (max-width: 360px) {
  .legal .h2 {
    font-size: 2.05rem;
    overflow-wrap: normal;
  }
}

.site-footer { background: #071710; }
.footer-main { gap: 2rem; padding: 2.8rem 0 1.8rem; }
.footer-brand .brand { margin-bottom: .85rem; }
.footer-brand p { font-size: .86rem; line-height: 1.55; }
.footer-bottom { padding: .85rem 0 1rem; color: rgba(255, 255, 255, .6); font-size: .68rem; }
.footer-credit { color: rgba(255, 255, 255, .56); }
.footer-credit a { color: rgba(255, 255, 255, .8); }
.footer-col h2 { color: rgba(255, 255, 255, .62); }
.footer-col a,
.footer-col address { color: rgba(255, 255, 255, .82); }
.brand-name span { font-size: .58rem; letter-spacing: .24em; }

/* One-time brand reveal: a real identity transition, never a fake loading bar. */
body.brand-intro-active { overflow: hidden; }
body.brand-intro-active .site-header .brand { opacity: 0; }
body.brand-intro-arriving .site-header .brand { opacity: 1; transition: opacity .18s ease; }

.brand-intro {
  position: fixed;
  z-index: 500;
  inset: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: var(--white);
  pointer-events: auto;
}

.brand-intro__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 250, 243, .065), transparent 34%),
    #061b13;
  opacity: 1;
  transition: opacity .26s ease;
}

.brand-intro__line {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green) 0 68%, var(--red) 68% 100%);
  transform-origin: left center;
  animation: brand-intro-line .72s var(--ease) both;
  transition: opacity .18s ease;
}

.brand-intro__identity {
  position: fixed;
  left: 50%;
  top: 50%;
  width: min(28rem, 76vw);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 1.65rem);
  transform: translate(-50%, -50%);
  transform-origin: left top;
  will-change: transform, opacity;
}

.brand-intro__identity img {
  width: clamp(5.6rem, 9vw, 7.6rem);
  height: auto;
  flex: 0 0 auto;
  padding: 3px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 18px 52px rgba(0, 0, 0, .18);
}

.brand-intro__identity .brand-name { display: grid; line-height: 1; }
.brand-intro__identity .brand-name strong {
  color: var(--white);
  font-size: clamp(2.3rem, 5.3vw, 4.2rem);
  font-weight: 650;
  letter-spacing: .12em;
}
.brand-intro__identity .brand-name span {
  margin-top: .55rem;
  color: rgba(255, 250, 243, .66);
  font-size: clamp(.56rem, 1.15vw, .82rem);
  font-weight: 620;
  letter-spacing: .34em;
  text-transform: uppercase;
}

.brand-intro__caption {
  position: absolute;
  left: 50%;
  bottom: clamp(1.6rem, 4vw, 3.5rem);
  color: rgba(255, 250, 243, .45);
  font-size: .58rem;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: opacity .18s ease;
  white-space: nowrap;
}

.brand-intro.is-departing { pointer-events: none; }
.brand-intro.is-departing .brand-intro__veil,
.brand-intro.is-departing .brand-intro__line,
.brand-intro.is-departing .brand-intro__caption { opacity: 0; }

@keyframes brand-intro-line {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.site-header .brand { position: relative; }
.site-header .brand img { transition: transform .55s var(--ease), filter .35s ease; }
.site-header .brand::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -.45rem;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green) 0 66%, var(--red) 66% 100%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .site-header .brand:hover img,
  .site-header .brand:focus-visible img { transform: translateY(-1px) rotate(-3deg) scale(1.045); }
  .site-header .brand:hover::after,
  .site-header .brand:focus-visible::after { transform: scaleX(1); }
}

.site-header.is-scrolled {
  background: rgba(248, 239, 226, .96);
  border-bottom-color: rgba(7, 81, 55, .14);
}

.hero-copy {
  isolation: isolate;
  background: rgba(248, 239, 226, .955);
}

.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: clamp(1.3rem, 3vw, 3.2rem);
  bottom: clamp(1.1rem, 2.6vw, 2.7rem);
  width: clamp(9rem, 17vw, 15.5rem);
  aspect-ratio: 1;
  background: url("../images/avilia-mark.png") center / contain no-repeat;
  opacity: .035;
  filter: saturate(.72);
  pointer-events: none;
}

[dir="rtl"] .hero-copy::before {
  right: auto;
  left: clamp(1.3rem, 3vw, 3.2rem);
}

.hero-note { background: rgba(248, 239, 226, .95); }

.trust-grid {
  position: relative;
  border-color: rgba(7, 81, 55, .17);
  box-shadow: 0 24px 60px rgba(48, 30, 26, .1);
}

.trust-grid::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--green-deep) 0 68%, var(--red) 68% 100%);
  pointer-events: none;
}

section.section--paper:has(.intro-grid) {
  background: linear-gradient(128deg, var(--paper-deep) 0%, #f0e5d4 58%, var(--paper) 100%);
}

.career-teaser-copy::before {
  content: "";
  top: 50%;
  right: clamp(1.5rem, 4vw, 4.5rem);
  width: clamp(13rem, 24vw, 25rem);
  aspect-ratio: 1;
  background: url("../images/avilia-mark.png") center / contain no-repeat;
  opacity: .055;
  filter: grayscale(1) brightness(4);
  transform: translateY(-50%);
}

.career-teaser,
.language-stage,
.contact-band { box-shadow: 0 28px 75px rgba(5, 31, 21, .13); }

.career-role-list a.is-featured {
  padding-inline-start: 1rem;
  box-shadow: inset 3px 0 var(--red);
}

.career-role-list strong small {
  display: block;
  margin-top: .25rem;
  color: var(--green-deep);
  font-size: .64rem;
  font-weight: 680;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .3s ease;
}

.career-role-list a:hover strong small,
.career-role-list a:focus-visible strong small { color: rgba(255, 255, 255, .68); }

.career-role-context {
  display: grid;
  grid-template-columns: .8fr 1.35fr 1.2fr;
  border-bottom: 1px solid var(--line);
  background: rgba(230, 216, 196, .42);
}

.career-role-context span {
  min-height: 74px;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  color: var(--green-deep);
  font-size: .66rem;
  font-weight: 680;
  line-height: 1.4;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.career-role-context span + span { border-left: 1px solid var(--line); }

.career-teaser-media::after {
  background:
    linear-gradient(90deg, transparent 58%, rgba(7, 81, 55, .72)),
    linear-gradient(0deg, rgba(5, 37, 25, .54), transparent 52%);
}

.privacy-notice {
  background: var(--paper);
  box-shadow: 0 28px 90px rgba(5, 31, 21, .24);
}

.privacy-notice__eyebrow { font-size: .62rem; }
.privacy-notice__facts > span { font-size: .6rem; }
.mobile-nav-kicker { font-size: .64rem; }
.mobile-nav-meta small { font-size: .6rem; }
.upload-field strong em { font-size: .62rem; }
.trust-item small,
.gallery-item figcaption { font-size: .64rem; }

@media (max-width: 780px) {
  .brand-intro__identity { width: min(19rem, 86vw); }
  .brand-intro__identity img { width: clamp(4.7rem, 22vw, 6rem); }
  .brand-intro__identity .brand-name strong { font-size: clamp(1.8rem, 9vw, 2.7rem); }
  .hero-copy::before { width: 11rem; opacity: .03; }
  .career-teaser-copy::before { right: 1rem; width: 15rem; opacity: .045; }
  .career-teaser-media::after { background: linear-gradient(0deg, rgba(7, 81, 55, .8), transparent 65%); }
  .career-role-list a.is-featured { padding-inline-start: .65rem; }
  .career-role-context { grid-template-columns: 1fr; }
  .career-role-context span { min-height: 0; padding: .75rem .8rem; }
  .career-role-context span + span { border-top: 1px solid var(--line); border-left: 0; }
  .footer-main { gap: 1.2rem 1rem; padding: 2.3rem 0 1.35rem; }
  .footer-brand .brand { margin-bottom: .65rem; }
  .footer-bottom { gap: .35rem; padding: .65rem 0 .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .brand-intro { display: none; }
  body.brand-intro-active .site-header .brand { opacity: 1; }
  .site-header .brand img,
  .site-header .brand::after { transition: none; }
}

/* Impressum — brand-led legal landing page */
.legal-page-main { padding-top: 0; background: var(--paper); }
.legal-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 570px;
  padding: clamp(9.5rem, 13vw, 12.5rem) 0 clamp(3.5rem, 6vw, 5.5rem);
  color: var(--paper);
  background:
    radial-gradient(circle at 78% 42%, rgba(255, 255, 255, .075), transparent 23%),
    linear-gradient(118deg, #043b29 0%, var(--green-deep) 58%, #052d21 100%);
}

.legal-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: clamp(-4rem, 2vw, 2rem);
  top: 50%;
  width: clamp(22rem, 38vw, 40rem);
  aspect-ratio: 1;
  background: url("../images/avilia-mark.png") center / contain no-repeat;
  opacity: .055;
  filter: grayscale(1) brightness(4);
  transform: translateY(-48%) rotate(-5deg);
}

.legal-hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  width: clamp(7rem, 16vw, 17rem);
  height: 4px;
  background: var(--red);
}

.legal-hero__inner,
.legal-hero__bar,
.legal-layout { width: min(91vw, 1260px); margin-inline: auto; }
.legal-hero__inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(20rem, .8fr); align-items: end; gap: clamp(3rem, 8vw, 8rem); }
.legal-hero__copy .eyebrow { color: rgba(248, 239, 226, .68); }
.legal-hero__copy .eyebrow::before { background: rgba(248, 239, 226, .48); }
.legal-hero__copy h1 {
  margin: .75rem 0 1.5rem;
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: clamp(4.2rem, 8.3vw, 8rem);
  font-weight: 520;
  line-height: .88;
  letter-spacing: -.075em;
}
.legal-hero__copy h1 span { color: #e6a49d; font-family: var(--font-serif); }
.legal-hero__copy > p:last-child { margin: 0; color: rgba(248, 239, 226, .64); font-size: .72rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }

.legal-hero__signature {
  position: relative;
  margin-bottom: .6rem;
  padding: 1.4rem 0;
  display: grid;
  grid-template-columns: auto 1fr minmax(0, auto);
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(248, 239, 226, .24);
  border-bottom: 1px solid rgba(248, 239, 226, .24);
}
.legal-hero__signature > span { color: #e6a49d; font-size: .66rem; font-weight: 700; letter-spacing: .12em; }
.legal-hero__signature i { height: 1px; background: rgba(248, 239, 226, .24); }
.legal-hero__signature p { margin: 0; display: grid; gap: .25rem; font-size: .9rem; font-weight: 600; }
.legal-hero__signature small { color: rgba(248, 239, 226, .56); font-size: .65rem; font-weight: 520; letter-spacing: .08em; text-transform: uppercase; }
.legal-hero__bar { margin-top: clamp(4rem, 7vw, 7rem); padding-top: 1.1rem; display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid rgba(248, 239, 226, .2); color: rgba(248, 239, 226, .48); font-size: .6rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }

.legal-content { padding: clamp(4.5rem, 8vw, 8rem) 0; background: linear-gradient(125deg, var(--paper) 0%, #f4e9d9 100%); }
.legal-layout { display: grid; grid-template-columns: minmax(17rem, .46fr) minmax(0, 1.54fr); align-items: start; gap: clamp(3rem, 7vw, 7rem); }
.legal-rail {
  position: sticky;
  top: 105px;
  overflow: hidden;
  padding: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--paper);
  background: var(--green-deep);
  border-radius: 0 0 44px 0;
  box-shadow: 0 24px 65px rgba(5, 31, 21, .16);
}
.legal-rail::after { content: ""; position: absolute; top: 0; right: 0; width: 48px; height: 48px; background: var(--red); clip-path: polygon(100% 0, 100% 100%, 0 0); }
.legal-rail .eyebrow { color: rgba(248, 239, 226, .64); }
.legal-rail .eyebrow::before { background: rgba(248, 239, 226, .38); }
.legal-rail h2 { max-width: 12ch; margin: 1.1rem 0 2rem; color: var(--paper); font-family: var(--font-sans); font-size: clamp(1.7rem, 2.8vw, 2.35rem); font-weight: 520; line-height: 1.02; letter-spacing: -.045em; }
.legal-rail nav { display: grid; border-top: 1px solid rgba(248, 239, 226, .2); }
.legal-rail nav a { min-height: 52px; display: grid; grid-template-columns: 2rem 1fr; align-items: center; gap: .65rem; border-bottom: 1px solid rgba(248, 239, 226, .2); color: rgba(248, 239, 226, .76); font-size: .72rem; transition: color .3s ease, padding .45s var(--ease); }
.legal-rail nav a span { color: #e6a49d; font-size: .58rem; font-weight: 700; letter-spacing: .1em; }
.legal-rail nav a:hover,
.legal-rail nav a:focus-visible { padding-left: .45rem; color: var(--paper); }
.legal-rail__contact { min-height: 48px; margin-top: 1.5rem; padding: 0 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--green-deep); background: var(--paper); font-size: .7rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; }
.legal-rail__contact:hover,
.legal-rail__contact:focus-visible { color: var(--paper); background: var(--red); }

.legal--imprint { max-width: none; }
.legal-ledger { border-top: 2px solid var(--ink); }
.legal-entry { position: relative; scroll-margin-top: 110px; padding-inline: .8rem; transition: background .35s ease; }
.legal-entry::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .5s var(--ease); }
.legal-entry:nth-child(odd) { background: rgba(230, 216, 196, .18); }
.legal-entry:hover::before { transform: scaleY(1); }
.legal-entry:hover { background: rgba(230, 216, 196, .42); }

@media (max-width: 1050px) {
  .legal-hero__inner { grid-template-columns: 1fr .8fr; gap: 3rem; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-rail { position: relative; top: auto; }
  .legal-rail h2 { max-width: 18ch; }
  .legal-rail nav { grid-template-columns: 1fr 1fr; }
  .legal-rail nav a:nth-child(odd) { border-right: 1px solid rgba(248, 239, 226, .2); }
  .legal-rail__contact { max-width: 18rem; }
}

@media (max-width: 700px) {
  .legal-hero { min-height: 0; padding: 8.5rem 0 3rem; }
  .legal-hero::before { right: -8rem; width: 24rem; opacity: .04; }
  .legal-hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .legal-hero__copy h1 { font-size: clamp(3.35rem, 17vw, 5rem); }
  .legal-hero__signature { width: 100%; }
  .legal-hero__bar { margin-top: 3rem; }
  .legal-content { padding-block: 3.5rem; }
  .legal-layout { width: 92vw; gap: 3rem; }
  .legal-rail { padding: 1.6rem; border-radius: 0 0 36px 0; }
  .legal-rail nav { grid-template-columns: 1fr; }
  .legal-rail nav a:nth-child(odd) { border-right: 0; }
  .legal-rail__contact { max-width: none; }
  .legal-entry { padding-inline: .45rem; }
}

@media (prefers-reduced-motion: reduce) {
  .legal-entry,
  .legal-entry::before,
  .legal-rail nav a { transition: none; }
}
