/* ==========================================================================
   ANNA HAK — Premium minimalism
   ========================================================================== */

/* Fonts (self-hosted: no requests to Google, GDPR-friendly) */
@font-face { font-family: "EB Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/eb-garamond-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "EB Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/eb-garamond-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-weight: 400; font-style: normal; font-display: swap; src: url(/assets/fonts/eb-garamond-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "EB Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url(/assets/fonts/eb-garamond-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "EB Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url(/assets/fonts/eb-garamond-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "EB Garamond"; font-weight: 500; font-style: normal; font-display: swap; src: url(/assets/fonts/eb-garamond-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "EB Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url(/assets/fonts/eb-garamond-cyrillic-400-italic.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "EB Garamond"; font-weight: 400; font-style: italic; font-display: swap; src: url(/assets/fonts/eb-garamond-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(/assets/fonts/manrope-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(/assets/fonts/manrope-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 400; font-display: swap; src: url(/assets/fonts/manrope-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url(/assets/fonts/manrope-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url(/assets/fonts/manrope-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url(/assets/fonts/manrope-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(/assets/fonts/manrope-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Manrope"; font-weight: 600; font-display: swap; src: url(/assets/fonts/manrope-latin-600-normal.woff2) format("woff2"); }

:root {
  --ivory: #F5F2EC;
  --beige: #E9E3D9;
  --charcoal: #252525;
  --taupe: #A79B8B;
  --olive: #777A68;
  --navy: #1B2540;
  --navy-2: #2A3657;
  --gold: #B8A47E;
  --ink-2: #4a4743;
  --line: rgba(37, 37, 37, .14);
  --line-soft: rgba(37, 37, 37, .08);
  --serif: "EB Garamond", Garamond, Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --pad: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0; background: var(--ivory); color: var(--charcoal);
  font: 400 17px/1.7 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
h1, h2, h3 { margin: 0; font-weight: 500; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 1px solid var(--olive); outline-offset: 4px; }
::selection { background: var(--beige); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.wrap.narrow { max-width: 860px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--charcoal); color: var(--ivory); padding: 8px 14px; }

/* Type scale */
.display-xl, .display-l, .display-m, .display-s { font-family: var(--serif); font-weight: 400; letter-spacing: -.015em; line-height: 1.08; text-wrap: balance; }
.display-xl { font-size: clamp(2.4rem, 5.4vw, 4.9rem); line-height: 1.04; overflow-wrap: break-word; hyphens: auto; }
.display-l  { font-size: clamp(2.3rem, 4.4vw, 3.9rem); }
.display-m  { font-size: clamp(1.9rem, 3.1vw, 2.75rem); line-height: 1.12; }
.display-s  { font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.2; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 36em; margin-top: 1.6rem; }
.lead-s { font-size: 1.05rem; color: var(--ink-2); margin: 1.2rem 0 2rem; }
.eyebrow {
  font: 500 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase;
  color: var(--olive); margin: 0 0 1.6rem; display: flex; align-items: center; gap: .9em;
}
.eyebrow .num { color: var(--taupe); letter-spacing: .1em; }
.eyebrow .num::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--taupe); vertical-align: middle; margin-left: .9em; }
.small-note { font-size: .88rem; color: var(--olive); }
.mini { font: 600 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin-bottom: .9rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: 0 1.7em; border: 1px solid transparent; border-radius: 0;
  font: 500 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  white-space: nowrap;
}
.btn-solid { background: var(--navy); color: var(--ivory); }
.btn-solid:hover { background: var(--navy-2); }
.btn-line { border-color: var(--charcoal); }
.btn-line:hover { background: var(--charcoal); color: var(--ivory); }
.btn-ivory { background: var(--ivory); color: var(--charcoal); }
.btn-ivory:hover { background: var(--beige); }
.btn-text { padding: 0; min-height: auto; border-bottom: 1px solid var(--taupe); padding-bottom: 6px; }
.btn-text:hover { border-color: var(--charcoal); }
.arrow-link { display: inline-flex; gap: .6em; align-items: center; font: 500 .8rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.arrow-link::after { content: "→"; transition: transform .35s var(--ease); letter-spacing: 0; }
.arrow-link:hover::after { transform: translateX(5px); }
.linklike { background: none; border: 0; padding: 0; font-size: inherit; color: inherit; text-decoration: none; }
.linklike:hover { color: var(--charcoal); }
.actions { display: flex; flex-wrap: wrap; gap: 1.4rem 2.2rem; align-items: center; margin-top: 2.6rem; }
.actions.center { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 242, 236, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .4s; }
.site-header.scrolled { border-color: var(--line-soft); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 84px; }
.logo { display: inline-flex; flex-direction: column; gap: 7px; white-space: nowrap; }
.logo span { font: 400 1.35rem/1 var(--serif); letter-spacing: .32em; }
.logo small { font: 500 .62rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--olive); }
.nav ul { display: flex; gap: clamp(1rem, 2vw, 2.1rem); }
.nav a { white-space: nowrap; font-size: .86rem; color: var(--ink-2); position: relative; padding: 6px 0; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--charcoal); transition: right .4s var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--charcoal); }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav-cta-mobile { display: none; }
.nav .nav-extra { display: none; }
body { animation: pagefade .5s ease both; }
@keyframes pagefade { from { opacity: 0; } to { opacity: 1; } }
.header-right { display: flex; align-items: center; gap: 1.6rem; }
.lang-switch { display: flex; gap: .2rem; font: 500 .74rem/1 var(--sans); letter-spacing: .12em; }
.lang-switch a { padding: 6px 5px; color: var(--taupe); transition: color .3s; }
.lang-switch a + a::before { content: "/"; margin-right: 9px; color: var(--line); }
.lang-switch a[aria-current], .lang-switch a:hover { color: var(--charcoal); }
.header-cta { min-height: 42px; padding: 0 1.3em; font-size: .72rem; }
.burger { display: none; width: 40px; height: 40px; background: none; border: 0; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1px; background: var(--charcoal); transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 23px; }
.menu-open .burger span:first-child { top: 20px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 20px; transform: rotate(-45deg); }

/* Sections */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section + .section { border-top: 1px solid var(--line-soft); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(40px, 5vw, 64px); }
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.prose-lg p { font-size: 1.1rem; line-height: 1.75; color: var(--ink-2); }
.prose-lg p:first-child { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 1.7rem); line-height: 1.4; color: var(--charcoal); }

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero-langs { font-size: .92rem; color: var(--olive); margin-top: 1rem; display: flex; gap: .8em; align-items: center; }
.hero-langs::before { content: ""; width: 28px; height: 1px; background: var(--taupe); }

/* Portrait — Spanish arch */
.portrait { margin: 0; position: relative; }
.portrait::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--taupe); border-radius: 999px 999px 0 0; opacity: .55; z-index: -1; }
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 0 0; overflow: hidden; background: var(--beige); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-placeholder { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 1.2rem;
  background: radial-gradient(120% 80% at 50% 0%, #F1ECE3 0%, var(--beige) 60%, #DDD5C8 100%); }
.monogram { font: 400 clamp(5rem, 11vw, 9rem)/1 var(--serif); color: rgba(37, 37, 37, .16); letter-spacing: -.02em; }
.monogram em { color: rgba(119, 122, 104, .35); }
.ph-note { font: 500 .68rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); }

/* Service cards */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { position: relative; padding: 36px 30px 76px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .45s var(--ease); min-height: 320px; }
.service-card:hover { background: var(--beige); }
.service-card h3 { font: 400 1.6rem/1.15 var(--serif); margin: 2.2rem 0 1rem; }
.service-card p { font-size: .94rem; color: var(--ink-2); margin: 0; }
.card-num { font: 500 .74rem/1 var(--sans); letter-spacing: .14em; color: var(--taupe); display: block; }
.card-arrow { position: absolute; left: 30px; bottom: 30px; font-size: 1.1rem; transition: transform .4s var(--ease); }
.service-card:hover .card-arrow { transform: translateX(8px); }

/* Why */
.why { background: var(--beige); }
.section.why + .section { border-top: 0; }
.why-title { max-width: 16em; margin-bottom: clamp(48px, 6vw, 80px); }
.cols-3, .cols-4 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.col { border-top: 1px solid var(--line); padding-top: 28px; }
.col h3 { font: 400 1.5rem/1.2 var(--serif); margin: 0 0 .8rem; }
.cols-4 .col h3 { margin-top: 1.2rem; }
.col p { color: var(--ink-2); font-size: .97rem; margin: 0; }

/* Steps row */
.steps-row { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; position: relative; }
.steps-row::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 1px; background: var(--line); }
.steps-row li { position: relative; padding: 40px 24px 0 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; }
.steps-row li::before { content: ""; position: absolute; top: 3px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--olive); }
.step-num { display: block; font: 500 .72rem/1 var(--sans); letter-spacing: .14em; color: var(--taupe); margin-bottom: .9rem; }

/* Note box */
.note-box { border: 1px solid var(--line); padding: clamp(28px, 4vw, 52px); background: rgba(233, 227, 217, .35); position: relative; }
.note-box::before { content: ""; position: absolute; left: -1px; top: -1px; width: 64px; height: 1px; background: var(--gold); }
.note-box .display-s { max-width: 30em; margin-bottom: 1rem; }
.note-box p:not(.eyebrow) { color: var(--ink-2); max-width: 46em; }
.note-box p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--navy); color: var(--ivory); padding: clamp(80px, 11vw, 150px) 0; text-align: center; }
.cta-band .display-m { max-width: 18em; margin: 0 auto 2.6rem; color: var(--ivory); }

/* Page head */
.page-head { padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 5vw, 72px); }
.page-head .display-l { max-width: 15em; }
.center-page { text-align: center; min-height: 60vh; display: grid; align-items: center; }
.center-page .lead, .center-page .display-l { margin-left: auto; margin-right: auto; }
.about-head { padding-bottom: clamp(72px, 9vw, 120px); }

/* About */
.philosophy { margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.25; }
.philosophy span { display: block; padding: .5em 0; border-bottom: 1px solid var(--line); }
.philosophy span:last-child { font-style: italic; color: var(--olive); border: 0; }
.cred-list { margin: 0; }
.cred-list > div { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line); }
.cred-list > div:last-child { border-bottom: 1px solid var(--line); }
.cred-list dt { font: 400 1.35rem/1.3 var(--serif); }
.cred-list dd { margin: 0; color: var(--ink-2); }
.certificate { background: var(--beige); }
.section.certificate + .section, .section.certificate + .cta-band { border-top: 0; }
.cert-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.cert-text p:not(.eyebrow) { color: var(--ink-2); margin-top: 1.4rem; }
.cert-links { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; align-items: flex-start; }
.cert-frame { display: block; background: #fff; padding: clamp(10px, 1.6vw, 22px); box-shadow: 0 30px 60px -30px rgba(37, 37, 37, .35); position: relative; transition: transform .6s var(--ease); }
.cert-frame:hover { transform: translateY(-4px); }
.cert-open { position: absolute; right: 18px; bottom: 18px; background: var(--charcoal); color: var(--ivory); font: 500 .68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 10px 14px; opacity: 0; transition: opacity .4s; }
.cert-frame:hover .cert-open { opacity: 1; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.gallery-grid img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery-grid span { display: block; font-size: .85rem; color: var(--olive); margin-top: .6rem; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(37, 37, 37, .92); display: grid; place-items: center; padding: 4vw; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 92vh; width: auto; box-shadow: 0 20px 80px rgba(0, 0, 0, .4); }
.lightbox button { position: absolute; top: 18px; right: 24px; background: none; border: 0; color: var(--ivory); font-size: 2.4rem; line-height: 1; }

/* Services page */
.service-index { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); margin-bottom: 0; }
.service-index a { flex: 1 1 200px; padding: 22px 24px 22px 0; font-family: var(--serif); font-size: 1.2rem; display: flex; gap: .8em; align-items: baseline; transition: color .3s; }
.service-index a span { font: 500 .72rem/1 var(--sans); color: var(--taupe); letter-spacing: .12em; }
.service-index a:hover { color: var(--olive); }
.service-detail { padding: clamp(64px, 8vw, 120px) 0; border-top: 1px solid var(--line-soft); }
.service-detail:nth-of-type(even) { background: rgba(233, 227, 217, .45); }
.service-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 120px); }
.service-title .display-m { margin-top: 1.2rem; }
.service-title { position: sticky; top: 120px; align-self: start; }
.service-body > div { padding: 26px 0; border-top: 1px solid var(--line); }
.service-body > div:first-child { border-top: 0; padding-top: 6px; }
.service-body p { color: var(--ink-2); margin: 0; }
.dash-list li { position: relative; padding: .35em 0 .35em 1.8em; color: var(--ink-2); }
.dash-list li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 14px; height: 1px; background: var(--olive); }
.dash-list.lg li { font-size: 1.1rem; padding-top: .6em; padding-bottom: .6em; border-bottom: 1px solid var(--line-soft); }
.dash-list.lg li::before { top: 1.35em; }
.fit .display-m { margin-bottom: 1.6rem; }

/* Timeline */
.timeline { position: relative; max-width: 940px; margin-left: auto; }
.timeline::before { content: ""; position: absolute; left: 31px; top: 12px; bottom: 12px; width: 1px; background: linear-gradient(var(--taupe), var(--line-soft)); }
.timeline li { display: grid; grid-template-columns: 64px 1fr; gap: clamp(20px, 4vw, 48px); padding: 0 0 clamp(40px, 5vw, 64px); position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.tl-num { width: 64px; height: 64px; border: 1px solid var(--taupe); border-radius: 50%; display: grid; place-items: center; background: var(--ivory); font: 400 1.25rem/1 var(--serif); color: var(--olive); position: relative; z-index: 1; }
.timeline h2 { padding-top: 14px; margin-bottom: .7rem; }
.timeline p { color: var(--ink-2); max-width: 38em; margin: 0; }
.formats { background: var(--beige); }
.formats .display-m { margin-bottom: clamp(40px, 5vw, 64px); }
.masc { border-top: 0 !important; }

/* For whom */
.groups { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.group { padding: 36px 32px 44px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .45s var(--ease); }
.group:hover { background: var(--beige); }
.group h2 { margin: 1.8rem 0 .8rem; }
.group p { color: var(--ink-2); margin: 0; font-size: .97rem; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; cursor: pointer; font: 400 clamp(1.25rem, 1.8vw, 1.5rem)/1.3 var(--serif); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: 0 0 18px; height: 18px; position: relative; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--charcoal); transition: transform .35s var(--ease); }
.faq-item summary i::after { transform: rotate(90deg); }
.faq-item[open] summary i::after { transform: rotate(0); }
.faq-a { padding: 0 3em 28px 0; color: var(--ink-2); }
.faq-a p { margin: 0; }

/* Blog */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(40px, 5vw, 64px); }
.filters button { background: none; border: 1px solid var(--line); padding: 10px 18px; font-size: .82rem; color: var(--ink-2); transition: all .3s; }
.filters button:hover { border-color: var(--charcoal); color: var(--charcoal); }
.filters button.active { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 48px); }
.posts-grid > [data-cat][hidden] { display: none; }
.post-card a { display: block; border-top: 1px solid var(--charcoal); padding-top: 26px; height: 100%; }
.post-card-img { aspect-ratio: 3/2; overflow: hidden; margin-bottom: 22px; background: var(--beige); }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card a:hover img { transform: scale(1.03); }
.post-card h3 { font: 400 1.6rem/1.2 var(--serif); margin: 1rem 0 .8rem; transition: color .3s; }
.post-card a:hover h3 { color: var(--olive); }
.post-card p:not(.meta) { color: var(--ink-2); font-size: .95rem; }
.meta { display: flex; flex-wrap: wrap; gap: .4em 1.2em; font: 500 .72rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); margin: 0; }
.meta span:first-child { color: var(--olive); }
.latest { background: var(--beige); }

/* Article */
.article-head { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(32px, 4vw, 56px); }
.back-link { display: inline-block; font-size: .85rem; color: var(--olive); margin-bottom: 2.4rem; }
.article-head .meta { margin-bottom: 1.6rem; }
.article-img { margin: 0 auto 56px; }
.prose { font-size: 1.08rem; line-height: 1.8; padding-bottom: clamp(48px, 6vw, 80px); }
.prose h2 { font: 400 clamp(1.6rem, 2.4vw, 2.1rem)/1.2 var(--serif); margin: 2.4em 0 .7em; }
.prose h3 { font: 400 1.4rem/1.3 var(--serif); margin: 2em 0 .6em; }
.prose a { border-bottom: 1px solid var(--taupe); transition: border-color .3s; }
.prose a:hover { border-color: var(--charcoal); }
.prose ul { margin: 0 0 1.4em; }
.prose ul li { position: relative; padding-left: 1.8em; margin: .4em 0; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .9em; width: 14px; height: 1px; background: var(--olive); }
.prose strong { font-weight: 600; }
.prose em { color: var(--ink-2); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0 2em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: 600 .72rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.legal-text { border-top: 0 !important; padding-top: 0; }
.article-foot { padding-bottom: clamp(56px, 7vw, 96px); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tags li { font-size: .78rem; border: 1px solid var(--line); padding: 6px 12px; color: var(--ink-2); }
.share { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); font-size: .85rem; }
.share span { font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; color: var(--taupe); }
.share a, .share button { color: var(--ink-2); transition: color .3s; }
.share a:hover { color: var(--charcoal); }
.related { background: var(--beige); }
.related .display-s { margin-bottom: 40px; }

/* Contact */
.contact { padding-top: 0; border-top: 0 !important; }
.contact-grid { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.form { display: grid; gap: 26px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; }
.field > span, .field legend { font: 600 .7rem/1.2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--olive); padding: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.5 var(--sans); color: var(--charcoal); background: transparent;
  border: 0; border-bottom: 1px solid var(--taupe); border-radius: 0; padding: 10px 0; transition: border-color .3s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--charcoal) 50%), linear-gradient(135deg, var(--charcoal) 50%, transparent 50%); background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; }
.field textarea { resize: vertical; border: 1px solid var(--taupe); padding: 14px; margin-top: 4px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--charcoal); }
.field small { font-size: .8rem; color: var(--taupe); }
.radios { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.radios legend { width: 100%; margin-bottom: 12px; }
.radios label { cursor: pointer; }
.radios input { position: absolute; opacity: 0; }
.radios span { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); font-size: .9rem; transition: all .3s; }
.radios input:checked + span { background: var(--charcoal); border-color: var(--charcoal); color: var(--ivory); }
.radios input:focus-visible + span { outline: 1px solid var(--olive); outline-offset: 3px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); }
.consent input { margin-top: 4px; accent-color: var(--charcoal); width: 16px; height: 16px; flex: none; }
.consent a { border-bottom: 1px solid var(--taupe); }
.form .btn { justify-self: start; min-width: 240px; }
.form-status { font-size: .9rem; color: var(--olive); margin: 0; min-height: 1.4em; }
.hp { position: absolute; left: -9999px; }
.contact-side { border-top: 1px solid var(--charcoal); padding-top: 28px; position: sticky; top: 120px; }
.contact-ways { display: grid; gap: 18px; margin-bottom: 40px; }
.contact-facts { margin: 0 0 32px; }
.contact-facts div { padding: 18px 0; border-top: 1px solid var(--line); }
.contact-facts dt { font: 600 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); margin-bottom: 8px; }
.contact-facts dd { margin: 0; color: var(--ink-2); font-size: .95rem; }

/* Footer */
.site-footer { background: var(--ivory); padding: clamp(64px, 8vw, 104px) 0 36px; border-top: 1px solid var(--line-soft); font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-brand p { color: var(--olive); margin-top: 1.2rem; line-height: 1.8; }
.footer-nav { columns: 2; column-gap: 32px; }
.footer-nav li, .footer-contact li { padding: 4px 0; break-inside: avoid; }
.footer-nav a, .footer-contact a { color: var(--ink-2); transition: color .3s; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--charcoal); }
.footer-disclaimer { font-size: .8rem; color: var(--taupe); margin: 28px 0; max-width: 60em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .78rem; color: var(--taupe); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom a, .footer-bottom .linklike { color: var(--taupe); }
.footer-bottom a:hover { color: var(--charcoal); }

/* Sticky mobile CTA */
.sticky-cta { display: none; }

/* Cookie banner */
.cookie { position: fixed; z-index: 80; left: 24px; bottom: 24px; max-width: 440px; background: var(--ivory); border: 1px solid var(--line); box-shadow: 0 24px 60px -24px rgba(37, 37, 37, .3); padding: 24px; font-size: .86rem; color: var(--ink-2); }
.cookie[hidden] { display: none; }
.cookie a { border-bottom: 1px solid var(--taupe); }
.cookie-actions { display: flex; gap: 10px; margin-top: 16px; }
.cookie .btn { min-height: 42px; font-size: .7rem; padding: 0 1.1em; flex: 1; }

/* Reveal animation */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Responsive */
@media (max-width: 1320px) {
  .header-cta { display: none; }
}
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .steps-row { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps-row::before { display: none; }
  .groups { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: 1fr; }
}
@media (max-width: 920px) {
  .burger { display: block; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ivory); }
  .nav { position: fixed; inset: 84px 0 0; background: var(--ivory); padding: 32px var(--pad) 48px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s; overflow-y: auto; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav li { border-bottom: 1px solid var(--line-soft); }
  .nav a { display: block; padding: 16px 0; font: 400 1.9rem/1.2 var(--serif); color: var(--charcoal); }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--olive); }
  .nav-cta-mobile { display: inline-flex; margin-top: 32px; }
  .nav .nav-extra { display: list-item; }
  .nav a.nav-cta-mobile { display: flex; align-items: center; justify-content: center; min-height: 54px; font: 500 .8rem/1 var(--sans); color: var(--ivory); padding: 0 1.7em; letter-spacing: .14em; white-space: normal; text-align: center; }
  .menu-open { overflow: hidden; }
  .hero-grid, .split, .service-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid .portrait { max-width: 420px; width: 88%; margin: 0 auto; }
  .service-title, .contact-side { position: static; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { height: 72px; }
  .nav { inset: 72px 0 0; }
  .logo span { font-size: 1.15rem; letter-spacing: .26em; }
  .logo small { font-size: .56rem; letter-spacing: .2em; }
  .header-right { gap: .8rem; }
  .lang-switch a + a::before { margin-right: 5px; }
  .cards-4, .cols-3, .cols-4, .groups, .posts-grid, .gallery-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .steps-row { grid-template-columns: 1fr; row-gap: 0; }
  .steps-row li { padding: 18px 0 18px 36px; border-bottom: 1px solid var(--line-soft); }
  .steps-row li::before { top: 26px; }
  .step-num { display: inline; margin-right: .8em; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .field-row { grid-template-columns: 1fr; }
  .cred-list > div { grid-template-columns: 1fr; gap: 6px; }
  .timeline::before { left: 23px; }
  .timeline li { grid-template-columns: 48px 1fr; }
  .tl-num { width: 48px; height: 48px; font-size: 1.05rem; }
  .timeline h2 { padding-top: 8px; }
  .faq-a { padding-right: 0; }
  .form .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { columns: 2; }
  .sticky-cta { display: flex; position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; min-height: 56px; align-items: center; justify-content: center; gap: .8em; background: var(--navy); color: var(--ivory); font: 500 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; box-shadow: 0 12px 30px -10px rgba(37, 37, 37, .5); transform: translateY(120%); transition: transform .5s var(--ease); }
  .sticky-cta.show { transform: none; }
  .menu-open .sticky-cta, .cookie-visible .sticky-cta { transform: translateY(120%); }
  .hero-langs::before { display: none; }
  .site-footer { padding-bottom: 96px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .portrait::before { inset: 14px -14px -14px 14px; }
}

/* Dark § block (LO 1/2025) */
.masc-dark-wrap { padding-top: 0; border-top: 0 !important; }
.masc-dark { background: var(--navy); color: var(--ivory); padding: clamp(32px, 5vw, 64px); position: relative; }
.masc-dark .para { display: block; font: 400 clamp(3.2rem, 5vw, 4.4rem)/1 var(--serif); color: var(--beige); margin-bottom: 1.2rem; }
.masc-dark .eyebrow { color: rgba(245, 242, 236, .6); }
.masc-title { font: 400 clamp(1.25rem, 2vw, 1.65rem)/1.5 var(--sans); max-width: 40em; margin-bottom: 1.2rem; }
.masc-dark p:not(.eyebrow) { color: rgba(245, 242, 236, .72); max-width: 44em; }
.arrow-link.underline { padding-bottom: 8px; border-bottom: 1px solid currentColor; }
.sticky-cta::after { content: "→"; letter-spacing: 0; }

/* Vertical steps */
.vsteps { position: relative; max-width: 760px; }
.vsteps::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: var(--navy-2); opacity: .55; }
.vsteps li { position: relative; padding: 0 0 clamp(28px, 4vw, 44px) 56px; }
.vsteps li:last-child { padding-bottom: 0; }
.vsteps li::before { content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--navy); }
.vstep-label { display: block; font: 600 .72rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--navy-2); margin-bottom: .7rem; }
.vstep-title { display: block; font: 400 clamp(1.5rem, 2.6vw, 2.1rem)/1.2 var(--serif); }

/* When possible / not */
.fit-home .display-m { margin-bottom: clamp(36px, 5vw, 56px); }
.fit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); margin-bottom: 40px; }
.fit-col { padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); }
.fit-col.yes { background: rgba(233, 227, 217, .5); }
.fit-col.no { border-color: rgba(27, 37, 64, .25); }
.fit-col h3 { display: flex; gap: .7em; align-items: baseline; font: 400 1.55rem/1.25 var(--serif); margin-bottom: 1.2rem; }
.fit-col h3 span { font: 500 1rem/1 var(--sans); width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid currentColor; transform: translateY(-3px); }
.fit-col.yes h3 span { color: var(--olive); }
.fit-col.no h3 span { color: var(--navy); }
.fit-col .small-note { margin: 1.2rem 0 0; }
@media (max-width: 760px) { .fit-cols { grid-template-columns: 1fr; } }

.lang-note { font-size: .95rem; color: var(--ink-2); padding: 18px 0; border-top: 1px solid var(--line); margin: 0; }
