/* Aurélie Uricher - site styles. Fonts are self-hosted (assets/fonts). */

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

:root {
  --primary: #173A67;
  --accent: #D4B98A;
  --ink: #0E2340;
  --ink-2: #0A1A31;
  --cream: #F8F5F0;
  --paper: #FFFDF9;
  --sand: #EFE8DD;
  --line: #E4DCCF;
  --text: #262B36;
  --muted: #5A5F6B;
  --gold-text: #7A5C30;
  --on-dark: #DCE3EE;
  --on-dark-2: #C7D2E2;
  --serif: "Cormorant Garamond", Garamond, Georgia, serif;
  --sans: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(20px, 3vw, 40px);
  --section: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--text); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
button { font: inherit; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
em { font-style: italic; }
strong { font-weight: 500; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 1100px; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-l { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.center { text-align: center; align-items: center; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: clamp(40px, 7vw, 96px); align-items: center; }
.grid-2--end { align-items: end; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.actions { display: flex; gap: 16px 24px; flex-wrap: wrap; align-items: center; }
.actions--col { flex-direction: column; align-items: flex-start; gap: 14px; }

/* Type */
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-text); font-weight: 400; }
.eyebrow__line { display: block; width: 56px; height: 1px; background: currentColor; transform-origin: left; animation: grow 1.2s .6s var(--ease) both; }
.h-hero, .h-xl, .h-l, .h-m, .h-s { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; color: var(--primary); text-wrap: balance; }
.h-hero { font-size: clamp(3rem, 6.4vw, 6.2rem); line-height: .98; }
.h-hero span { display: block; }
.h-hero--long { font-size: clamp(2.6rem, 5.4vw, 5.2rem); line-height: 1.02; }
.h-xl { font-size: clamp(2.5rem, 5vw, 4.8rem); line-height: 1; }
.h-l { font-size: clamp(2rem, 3.4vw, 3.2rem); line-height: 1.06; }
.h-m { font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.15; }
.h-m--serif { font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.22; }
.h-s { font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.1; }
.h-hero em, .h-xl em, .h-l em, .h-m em, .big-quote em, .quote-line em { color: var(--gold-text); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; }
.small { font-size: 14px; }
.muted { color: var(--muted); }
.kicker { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--accent); }
.quote-line { font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; color: var(--primary); }
.prose { display: flex; flex-direction: column; gap: 16px; }
.prose ul, .prose ol { padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }
.prose strong { color: var(--primary); }
.prose--lead { font-size: clamp(17px, 1.6vw, 20px); }
.prose--rule { border-left: 1px solid #DCD2C2; padding-left: clamp(20px, 3vw, 40px); font-size: 18px; }
.prose--rule-gold { border-left: 1px solid var(--accent); padding-left: 24px; font-size: 18px; }
.prose--legal { max-width: 780px; }
.prose .md-h { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1.2; color: var(--primary); margin-top: 18px; scroll-margin-top: 24px; }

/* Links and buttons */
.pill { display: inline-flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 52px; padding: 8px 8px 8px 28px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; font-size: 14px; letter-spacing: .07em; text-transform: uppercase; font-weight: 500; transition: background .25s, transform .25s; }
.pill > span:first-child { white-space: nowrap; }
.pill--gold { background: var(--accent); color: var(--ink); }
.pill--gold:hover { background: color-mix(in srgb, var(--accent) 80%, #fff); }
.pill--navy { background: var(--primary); color: var(--cream); font-weight: 400; }
.pill--navy:hover { background: var(--ink); }
.pill--small { min-height: 44px; padding-left: 22px; font-size: 13px; }
.pill__arrow { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .3s var(--ease); }
.pill--gold .pill__arrow { background: var(--ink); color: var(--accent); }
.pill--navy .pill__arrow { background: var(--accent); color: var(--ink); }
.pill--small .pill__arrow { width: 30px; height: 30px; }
.pill:hover .pill__arrow { transform: translateX(5px); }
.line-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; letter-spacing: .07em; text-transform: uppercase; font-weight: 400; color: var(--primary); text-decoration: none; border-bottom: 1px solid var(--accent); }
.line-link--light { color: var(--cream); border-color: #5D7598; }
.line-link:hover { color: var(--gold-text); }
.line-link--light:hover { color: var(--accent); }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); text-decoration: none; }
.arrow-link span { transition: transform .3s var(--ease); }
.arrow-link:hover span { transform: translateX(6px); }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--primary); background: transparent; color: var(--primary); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: transform .25s; }
.round-btn--fill { background: var(--primary); color: var(--cream); }
.round-btn:hover { transform: translateY(-3px); }
.link-btn { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }
.btn-plain { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 0 20px; min-height: 44px; cursor: pointer; color: var(--text); }

/* Header */
.site-header { background: var(--ink); color: var(--cream); position: relative; z-index: 20; }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--cream); min-height: 44px; }
.logo__img { max-height: 54px; width: auto; }
.logo__word { font-family: var(--serif); font-size: 28px; letter-spacing: .02em; }
.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav__list { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; font-size: 15px; font-weight: 400; letter-spacing: .04em; }
.site-nav__list a { color: var(--cream); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { color: var(--accent); }
.site-nav__lang abbr { text-decoration: none; color: var(--on-dark-2); }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid #3A5A86; background: transparent; color: var(--cream); cursor: pointer; align-items: center; justify-content: center; }
.burger__close { display: none; }

/* Hero */
.hero { background: var(--ink); color: var(--cream); overflow: hidden; }
.hero__in { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 9vw, 120px); }
.hero .h-hero, .hero .h-xl { color: var(--cream); }
.hero .h-hero em { color: var(--accent); }
.hero .eyebrow { color: var(--accent); }
.hero__kicker { font-size: 15px; color: var(--on-dark-2); }
.hero__sub { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; color: var(--on-dark); }
.lead--light { color: var(--on-dark); }
.hero__visual { position: relative; height: clamp(380px, 46vw, 640px); }
.hero__visual--simple { height: clamp(340px, 42vw, 600px); }
.frame { position: absolute; top: 40px; right: 0; width: 82%; height: calc(100% - 80px); border: 1px solid var(--accent); transform: translate(24px, 24px); }
.hero__visual--simple .frame { top: 20px; right: 24px; width: 84%; height: calc(100% - 60px); }
.hero__photo { position: absolute; top: 40px; right: 24px; width: 82%; height: calc(100% - 80px); }
.hero__visual--simple .hero__photo { top: 20px; width: 84%; height: calc(100% - 60px); }
.badge { position: absolute; left: 0; bottom: 0; width: 168px; height: 168px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; }
.badge svg { position: absolute; fill: var(--primary); font-family: var(--sans); }
.badge__initials { font-family: var(--serif); font-style: italic; font-size: 34px; color: var(--gold-text); }
.hero__stats { border-top: 1px solid #22395C; }
.stat-strip { list-style: none; margin: 0 auto; padding-block: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 24px 32px; }
.stat-strip li { display: flex; align-items: baseline; gap: 14px; }
.stat-strip__value { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--accent); }
.stat-strip__label { font-size: 15px; line-height: 1.35; }

/* Photos (with an empty frame when none uploaded) */
.photo { position: relative; overflow: hidden; background: #E6DED1; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--empty { background: linear-gradient(135deg, #E6DED1, #D9CDB9); }
.hero .photo--empty, .photo--on-dark.photo--empty { background: linear-gradient(135deg, #2A4C7A, #1E3D66); }
.photo--short { height: clamp(260px, 30vw, 380px); }
.photo--tall { height: clamp(360px, 44vw, 580px); }

/* Marquee */
.marquee { background: var(--accent); color: var(--ink); padding: 18px 0; overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; gap: 48px; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); animation: marquee 32s linear infinite; }
.marquee--big .marquee__track { font-size: clamp(24px, 2.6vw, 34px); gap: 56px; animation-duration: 40s; }

/* Sections */
.section { position: relative; padding-block: var(--section); overflow: hidden; }
.section--tight-top { padding-top: 0; }
.section--navy { background: var(--primary); color: var(--cream); }
.section--navy .h-xl, .section--navy .h-l, .section--navy .h-s { color: var(--cream); }
.section--navy .h-xl em, .section--navy .h-l em { color: var(--accent); }
.section--navy .eyebrow { color: var(--accent); }
.section--sand { background: var(--sand); }
.section--paper { background: var(--paper); border-top: 1px solid #ECE5DA; }
.bg-word { position: absolute; top: 30px; right: -40px; font-family: var(--serif); font-style: italic; font-size: clamp(120px, 22vw, 320px); line-height: 1; color: var(--sand); white-space: nowrap; pointer-events: none; user-select: none; }
.bg-word--center { left: 50%; right: auto; transform: translateX(-50%); }
.section > .wrap { position: relative; }

/* Home stats cards */
.stat-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 16px; }
.stat-card { min-height: 200px; padding: 32px 26px; display: flex; flex-direction: column; gap: 14px; background: var(--paper); border: 1px solid var(--line); transition: transform .35s, box-shadow .35s; }
.stat-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(14, 35, 64, .14); }
.stat-card__value { font-family: var(--serif); font-size: 64px; line-height: .9; color: var(--primary); }
.stat-card__label { margin-top: auto; font-size: 14px; line-height: 1.45; }
.stat-card--dark { background: var(--primary); border-color: var(--primary); color: var(--cream); }
.stat-card--dark .stat-card__value { color: var(--accent); }
.stat-card--accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.stat-card--accent .stat-card__value { color: var(--ink); }

/* Tabs */
.tabs { display: flex; gap: 6px; background: var(--ink); padding: 6px; border-radius: 999px; }
.tabs__btn { border: 0; cursor: pointer; min-height: 48px; padding: 0 26px; border-radius: 999px; background: transparent; color: var(--cream); font-size: 15px; letter-spacing: .03em; }
.tabs__btn[aria-selected="true"] { background: var(--accent); color: var(--ink); }
.tab-panel { border-top: 1px solid #3A5A86; padding-top: 48px; }
.no-js .tabs { display: none; }
.js .tab-panel[hidden] { display: none; }

/* Testimonials */
.carousel__nav { display: flex; gap: 12px; align-items: center; }
.carousel__count { font-family: var(--serif); font-size: 22px; color: var(--primary); min-width: 64px; }
.carousel__track { display: grid; gap: 24px; }
.testimonial { background: var(--paper); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: clamp(20px, 4vw, 48px); align-items: start; }
.testimonial__who { display: flex; flex-direction: column; gap: 4px; }
.testimonial__initial, .testimonial__photo { width: 96px; height: 96px; border-radius: 50%; background: #E6DED1; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 40px; color: var(--primary); margin-bottom: 12px; object-fit: cover; }
.testimonial__name { font-family: var(--serif); font-size: 28px; color: var(--primary); line-height: 1.2; }
.testimonial__role { font-size: 14px; color: var(--muted); }
.testimonial__text { grid-column: span 2; font-size: 18px; line-height: 1.75; }
.testimonial__text em { font-family: var(--serif); font-size: 1.25em; color: var(--primary); }
.js .carousel__track [data-slide][hidden] { display: none; }
.js .testimonial:not([hidden]) { animation: rise .7s var(--ease) both; }
.carousel__dots { display: flex; gap: 10px; justify-content: center; }
.carousel__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #C9BDA9; cursor: pointer; transition: width .3s; position: relative; }
.carousel__dots button::after { content: ""; position: absolute; inset: -18px -6px; }
.carousel__dots button[aria-current="true"] { width: 36px; background: var(--primary); }

/* About */
.about__visual { position: relative; height: clamp(420px, 48vw, 640px); }
.about__photo { position: absolute; inset: 0 64px 64px 0; }
.about__badge { position: absolute; right: 0; bottom: 0; background: var(--primary); color: var(--cream); padding: 24px 30px; display: flex; flex-direction: column; font-size: 14px; }
.about__badge-value { font-family: var(--serif); font-size: 52px; line-height: 1; color: var(--accent); }

/* FAQ */
.faq { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 80px); align-items: flex-start; }
.faq__head { flex: 1 1 320px; }
.faq__list { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: #F3EEE6; padding: 0 clamp(18px, 3vw, 32px); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 20px; padding: 24px 0; min-height: 44px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__num { font-family: var(--serif); font-size: 18px; color: var(--gold-text); flex-shrink: 0; }
.faq__q { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 27px); line-height: 1.25; color: var(--primary); flex: 1; }
.faq__icon { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--primary); flex-shrink: 0; position: relative; transition: transform .3s, background .3s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--primary); transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--primary); }
.faq__item[open] .faq__icon::before, .faq__item[open] .faq__icon::after { background: var(--cream); }
.faq__item[open] .faq__q { color: var(--gold-text); }
.faq__a { padding: 0 0 32px 38px; font-size: 16px; }

/* Coaching blocks */
.offset-photo { position: relative; height: clamp(380px, 44vw, 600px); }
.offset-photo__img { position: absolute; inset: 0 64px 64px 0; z-index: 1; }
.offset-photo__frame { position: absolute; right: 0; bottom: 0; width: 220px; height: 220px; border: 1px solid var(--accent); }
.num-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.num-card { display: flex; gap: 28px; padding: 32px; background: var(--paper); border: 1px solid var(--line); font-size: 18px; transition: transform .35s, box-shadow .35s; }
.num-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(14, 35, 64, .14); }
.num-card__n { font-family: var(--serif); font-size: 52px; line-height: .9; color: #B8945A; flex-shrink: 0; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.card { padding: 40px 32px; display: flex; flex-direction: column; gap: 18px; min-height: 320px; transition: transform .35s, box-shadow .35s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(14, 35, 64, .18); }
.card p { font-size: 16px; }
.card--deep { background: var(--ink); color: var(--on-dark); }
.card--deep .h-s { color: var(--cream); }
.card--deep .icon { color: var(--accent); }
.card--accent { background: var(--accent); color: var(--ink); }
.card--accent .h-s, .card--accent .icon { color: var(--ink); }
.card--light { background: var(--paper); border: 1px solid var(--line); }
.card--navy { background: var(--primary); color: var(--on-dark); }
.card--navy .h-s { color: var(--cream); }
.card--navy .card__num { color: var(--accent); }
.card__num { font-family: var(--serif); font-size: 56px; line-height: .9; color: #B8945A; }
.quote-photo { position: relative; height: clamp(360px, 40vw, 520px); }
.quote-photo__img { position: absolute; inset: 0 48px 48px 0; }
.quote-photo--left .quote-photo__img { inset: 0 0 48px 48px; }
.quote-photo__mark { position: absolute; right: 0; bottom: 0; width: 140px; height: 140px; border-radius: 50%; background: var(--primary); color: var(--accent); display: flex; align-items: flex-end; justify-content: center; font-family: var(--serif); font-size: 120px; line-height: .8; }
.quote-photo--left .quote-photo__mark { right: auto; left: 0; }
.big-quote p { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.12; color: var(--primary); }

/* Advisory results */
.result { display: flex; flex-direction: column; gap: 12px; }
.result__value { display: flex; align-items: baseline; gap: 18px; font-family: var(--serif); font-size: clamp(5rem, 9vw, 8.5rem); line-height: .9; color: var(--accent); }
.result__arrow { font-size: .3em; }
.result__label { font-size: 19px; }
.result__bar { height: 6px; background: #2A4C7A; border-radius: 999px; overflow: hidden; }
.grow-bar { display: block; height: 100%; background: var(--accent); border-radius: 999px; transform-origin: left; animation: grow 1.6s .4s var(--ease) both; }

/* Legal / simple pages */
.page-hero { background: var(--ink); color: var(--cream); padding-block: clamp(56px, 8vw, 110px); }
.page-hero--tall { padding-block: clamp(90px, 14vw, 180px); }
.page-hero .h-xl { color: var(--cream); }
.page-hero .eyebrow { color: var(--accent); }
.muted-light { color: var(--on-dark-2); }
.legal-text { padding-top: clamp(48px, 6vw, 80px); }

/* Contact */
.contact { position: relative; background: var(--ink); color: var(--cream); padding-block: var(--section); overflow: hidden; }
.contact .h-xl { color: var(--cream); }
.contact .h-xl em { color: var(--accent); }
.contact .eyebrow { color: var(--accent); }
.contact__in { align-items: start; position: relative; }
.contact__talk { margin-top: 16px; padding-top: 28px; border-top: 1px solid #2A4468; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.contact__talk-title { font-family: var(--serif); font-style: italic; font-size: 24px; }
.ring { position: absolute; border-radius: 50%; border: 1px dashed #3A5A86; pointer-events: none; animation: spin 40s linear infinite; }
.ring--contact { left: -200px; bottom: -200px; width: 520px; height: 520px; }
.form-card { background: var(--cream); color: var(--text); padding: clamp(28px, 4vw, 48px) clamp(22px, 4vw, 44px); }
.form { display: flex; flex-direction: column; gap: 22px; }
.form .h-m { color: var(--primary); }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .chips legend { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #3A3F4B; font-weight: 400; }
.field label .muted { text-transform: none; letter-spacing: 0; }
.field input, .field textarea { font: inherit; font-size: 16px; padding: 12px 0; border: 0; border-bottom: 1px solid #A99E8C; background: transparent; color: var(--text); border-radius: 0; }
.field input:focus, .field textarea:focus { outline: none; border-bottom: 2px solid var(--primary); }
.field textarea { resize: vertical; min-height: 120px; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { padding: 0; margin-bottom: 12px; width: 100%; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--primary); color: var(--primary); font-size: 14px; cursor: pointer; transition: background .2s, color .2s; }
.chip input:checked + span { background: var(--primary); color: var(--cream); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: #3A3F4B; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--primary); flex-shrink: 0; }
.form .pill { align-self: flex-start; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { background: #FBEDEA; color: #8A2A1B; padding: 14px 16px; border-left: 3px solid #B33A26; font-size: 15px; }
.form-done { display: flex; flex-direction: column; gap: 18px; min-height: 380px; justify-content: center; }
.form-done .h-m { color: var(--primary); }
.form-done__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: var(--accent); display: flex; align-items: center; justify-content: center; }

/* Footer */
.site-footer { background: var(--ink-2); color: var(--on-dark-2); padding: 72px 0 32px; font-size: 15px; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.site-footer__top { display: flex; flex-wrap: wrap; gap: 48px; }
.site-footer__brand { flex: 2 1 380px; display: flex; flex-direction: column; gap: 24px; }
.site-footer__tagline { font-family: var(--serif); font-size: 30px; line-height: 1.2; color: var(--cream); max-width: 14em; }
.site-footer__col { flex: 1 1 200px; display: flex; flex-direction: column; gap: 8px; }
.site-footer__col a { min-height: 32px; display: inline-flex; align-items: center; }
.site-footer__title { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.site-footer__bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid #22395C; display: flex; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; font-size: 13px; }
.site-footer__legal { margin: 0; display: flex; gap: 0 12px; flex-wrap: wrap; align-items: center; }
.site-footer__legal a { min-height: 44px; display: inline-flex; align-items: center; color: var(--on-dark-2); text-decoration: underline; text-decoration-color: #3A5A86; text-underline-offset: 3px; }
.site-footer__legal a:hover { color: var(--accent); }
.site-footer__sep { color: #3A5A86; }
.site-footer__langs { display: flex; gap: 12px; align-items: center; }
.site-footer__langs a { min-height: 44px; display: inline-flex; align-items: center; color: var(--on-dark-2); }

/* Cookie banner */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 520px; margin-left: auto; background: var(--cream); color: var(--text); padding: 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); display: flex; flex-direction: column; gap: 12px; }
.cookie[hidden] { display: none; }
.cookie__title { font-family: var(--serif); font-size: 24px; color: var(--primary); }
.cookie__text { font-size: 14px; line-height: 1.55; }
.cookie__actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; margin-top: 4px; }

/* Motion */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float { 0%, 100% { transform: translate(24px, 24px); } 50% { transform: translate(24px, 12px); } }
@keyframes grow { from { transform: scaleX(0); } }
.rise { animation: rise .9s var(--ease) both; }
.spin { animation: spin 18s linear infinite; }
.float { animation: float 7s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Mobile */
@media (max-width: 900px) {
  .js .burger { display: inline-flex; }
  .site-header__in { min-height: 72px; }
  .logo__img { max-height: 40px; }
  .logo__word { font-size: 24px; }
  .js .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); padding: 32px var(--gutter) 40px; flex-direction: column; align-items: stretch; gap: 28px; min-height: calc(100vh - 72px); display: none; }
  .js .site-nav.is-open { display: flex; }
  .js .site-nav__list { flex-direction: column; align-items: flex-start; gap: 4px; }
  .js .site-nav__list a { font-family: var(--serif); font-size: 44px; letter-spacing: 0; }
  .no-js .site-header__in { flex-wrap: wrap; padding-block: 12px; }
  .no-js .site-nav { flex-wrap: wrap; gap: 16px; }
  .no-js .site-nav__list { flex-wrap: wrap; gap: 16px; }
  .burger[aria-expanded="true"] .burger__open { display: none; }
  .burger[aria-expanded="true"] .burger__close { display: block; }
  .hero__visual { height: 400px; margin-inline: calc(var(--gutter) * -1); }
  .hero__visual .frame, .badge { display: none; }
  .hero__photo, .hero__visual--simple .hero__photo { inset: 0; width: 100%; height: 100%; }
  .stat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 32px; }
  .stat-strip li { flex-direction: column; gap: 4px; }
  .stat-strip__value { font-size: 44px; }
  .stat-strip__label { font-size: 13px; }
  .stat-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .stat-card { min-height: 150px; padding: 18px 12px; gap: 10px; }
  .stat-card__value { font-size: 36px; }
  .stat-card__label { font-size: 12px; line-height: 1.35; }
  .tabs { width: 100%; }
  .tabs__btn { flex: 1; padding: 8px 10px; font-size: 13px; line-height: 1.25; }
  .testimonial__text { grid-column: auto; font-size: 16px; }
  .testimonial__initial { width: 56px; height: 56px; font-size: 26px; }
  .faq__a { padding-left: 0; }
  .faq__num { display: none; }
  .num-card { flex-direction: column; gap: 12px; padding: 24px 20px; }
  .cards--areas { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cards--areas .card { padding: 20px 16px; min-height: 0; gap: 10px; }
  .cards--areas .card__num { font-size: 36px; }
  .cards--areas .h-s { font-size: 22px; }
  .cards--areas p { font-size: 14px; line-height: 1.5; }
  .card { min-height: 0; padding: 26px 22px; }
  .bg-word { font-size: 120px; }
  .pill { width: 100%; }
  .pill > span:first-child { white-space: normal; }
  .form .pill, .contact__talk .pill { width: 100%; }
  .cookie { left: 8px; right: 8px; bottom: 8px; }
}
@media (max-width: 340px) {
  .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
