/* Shared layout. Every site uses ONE font family (Libre Baskerville) at different sizes and weights. */
:root {
  color-scheme: dark;
  --font: "Libre Baskerville", Georgia, serif;
  --radius: 18px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.7 var(--font); }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: inherit; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.kicker { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: .9em; }
.lead { font-size: 1.12rem; }
.source { color: var(--muted); font-style: italic; font-size: .9rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; top: 8px; }
section { padding: 44px 0; scroll-margin-top: 72px; }
.page-head { padding-top: 56px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.brand { font-size: 1.15rem; font-weight: 700; color: var(--text); text-decoration: none; }
.navs { display: flex; align-items: center; gap: 26px; }
.main-nav { display: flex; gap: 22px; }
.main-nav a { color: var(--muted); text-decoration: none; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current] { color: var(--text); }
.main-nav a[aria-current] { box-shadow: inset 0 -2px var(--accent); }
.langs { display: flex; gap: 4px; }
.langs a { color: var(--muted); text-decoration: none; font-size: .78rem; font-weight: 700; padding: 4px 8px; border-radius: 8px; border: 1px solid transparent; }
.langs a[aria-current] { color: var(--text); border-color: var(--line); background: var(--bg2); }
.menu-btn { display: none; background: var(--bg2); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font: inherit; font-size: .9rem; cursor: pointer; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: var(--btn-radius, 999px); border: 1px solid var(--line); background: var(--bg2); color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.2; min-height: 48px; margin: 0; vertical-align: middle; transition: transform .15s, border-color .15s; }
.btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ic { width: 18px; height: 18px; flex: none; }
p:has(> .btn), .btns { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.center p:has(> .btn), .contact .btns { justify-content: center; }

/* grids, cards */
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; align-items: start; }
.card { display: flex; flex-direction: column; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 22px 24px 24px; }
.card-body p { color: var(--muted); }
.card .more { color: var(--accent); font-weight: 600; font-size: .95rem; }
.facts { font-size: .88rem; color: var(--accent) !important; }

/* hero */
.hero { padding-top: 48px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero-img img { border-radius: var(--radius); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }

/* boxes + lists */
.box { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.box p:last-child, .box ul:last-child { margin-bottom: 0; }
.list { padding: 0; margin: 0 0 1em; list-style: none; }
.list li { position: relative; padding-left: 22px; margin-bottom: .55em; }
.list li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery img { aspect-ratio: 1/1; object-fit: cover; border-radius: calc(var(--radius) * .6); width: 100%; transition: opacity .2s; }
.gallery a:hover img { opacity: .85; }
.lightbox { position: fixed; inset: 0; background: rgba(8,6,10,.92); display: grid; place-items: center; z-index: 50; padding: 20px; cursor: zoom-out; }
.lightbox img { max-height: 90vh; border-radius: 10px; }
.teacher { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; }
.teacher img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }

/* cats */
.needs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.needs li { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; align-items: center; gap: 10px; font-weight: 600; }
.emo { font-size: 1.4rem; }
.prices-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 22px; align-items: start; }
.prices { display: grid; gap: 14px; }
.price { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: baseline; }
.price .amount { font-size: 2.2rem; font-weight: 800; color: var(--accent); margin: 0; grid-row: span 2; }
.price .per { color: var(--muted); font-size: .85rem; margin: 0; }
.price p:last-child { margin: 0; }
.zones { border-radius: var(--radius); width: 100%; height: auto; }
.tip-teaser { display: grid; grid-template-columns: .8fr 1.2fr; gap: 36px; align-items: center; }
.tip-teaser img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; }
details { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; }
summary { cursor: pointer; padding: 18px 48px 18px 22px; font-weight: 700; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 1.4rem; }
details[open] summary::after { content: "–"; }
.ans { padding: 0 22px 18px; }
.ans ul { padding-left: 20px; }
.ans li { margin-bottom: .4em; }

/* french */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; }
.stat .num { font-size: 1.9rem; font-weight: 700; color: var(--accent); margin: 0; }
.stat p:last-child { margin: 0; color: var(--muted); font-size: .88rem; }
.video button { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; background: #000; }
.video button img { width: 100%; aspect-ratio: 16/9; object-fit: cover; opacity: .85; }
.video .play { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.video .play .ic { width: 32px; height: 32px; }
.video iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); }
.video p { margin-top: 8px; }
.ptable { width: 100%; border-collapse: collapse; background: var(--bg2); border: 1px solid var(--line); }
.ptable td { padding: 13px 18px; border-bottom: 1px solid var(--line); }
.ptable tr:last-child td { border-bottom: 0; }
.ptable td:nth-child(2) { color: var(--accent); font-weight: 700; }
.ptable td:last-child { text-align: right; color: var(--muted); }
.reviews { columns: 3 300px; column-gap: 18px; }
.review { break-inside: avoid; margin: 0 0 18px; background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.review .stars { color: var(--accent); letter-spacing: 2px; font-size: .9rem; }
.review blockquote { margin: 10px 0; }
.review figcaption { color: var(--muted); font-size: .88rem; }
.cv { list-style: none; padding: 0; margin: 0; }
.cv li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 130px 1fr; gap: 16px; }
.cv .when { color: var(--accent); font-weight: 700; font-size: .9rem; }

/* contact + footer */
.contact { margin-top: 32px; background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 52px 0; text-align: center; }
.contact .btns { display: flex; flex-wrap: wrap; justify-content: center; }
.foot { padding: 40px 0 28px; color: var(--muted); font-size: .92rem; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.foot .brand { color: var(--text); }
.also { margin-bottom: .3em; font-weight: 700; color: var(--text); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 18px; }

@media (max-width: 860px) {
  .menu-btn { display: block; }
  .navs { display: none; position: absolute; left: 0; right: 0; top: 66px; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; }
  .navs.open { display: flex; }
  .main-nav { flex-direction: column; gap: 0; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .main-nav a[aria-current] { box-shadow: none; color: var(--accent); }
  .langs { padding-top: 14px; }
  .langs a { padding: 8px 14px; font-size: .9rem; }
  .grid2, .hero-grid, .teacher, .prices-grid, .tip-teaser, .foot-cols { grid-template-columns: 1fr; }
  .hero { padding-top: 24px; }
  .hero-grid { gap: 24px; }
  .hero-img { order: -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  section { padding: 28px 0; }
  .zones { max-width: 420px; }
  .cv li { grid-template-columns: 1fr; gap: 2px; }
  .foot-bottom { flex-direction: column; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* French lessons — "une librairie le soir": bottle-green bookshop, cream paper, brass and
   wine accents. ONE font: Libre Baskerville. Hierarchy by size, italic, weight, tracking. */
:root {
  --bg: #0e1915; --bg2: #14231e; --bg3: #1a2c26; --line: #2c4038; --line2: #3d544a;
  --text: #f4ead7; --muted: #bdb5a2;
  --accent: #dcb46c; --accent2: #e8a597; --accent-ink: #1b1409;
  --radius: 3px; --btn-radius: 2px; --wrap: 1140px;
  --fleuron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 16'%3E%3Cg fill='none' stroke='%23dcb46c' stroke-width='1'%3E%3Cpath d='M0 8h62M98 8h62'/%3E%3Cpath d='M80 1l7 7-7 7-7-7z'/%3E%3Ccircle cx='68' cy='8' r='1.6' fill='%23dcb46c'/%3E%3Ccircle cx='92' cy='8' r='1.6' fill='%23dcb46c'/%3E%3C/g%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .95 0 0 0 0 .9 0 0 0 0 .8 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- page, paper, lamplight ---------- */
html.site-french { background: var(--bg); }
body {
  font-size: 16px; line-height: 1.8;
  background:
    var(--grain),
    radial-gradient(1100px 620px at 78% -8%, rgba(220, 180, 108, .13), transparent 62%),
    radial-gradient(900px 600px at -10% 38%, rgba(232, 165, 151, .06), transparent 60%),
    var(--bg);
  background-attachment: scroll, fixed, fixed, scroll;
}
::selection { background: var(--accent); color: var(--accent-ink); }
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 { text-wrap: balance; }
h1 { font-weight: 400; letter-spacing: -.02em; line-height: 1.14; font-size: clamp(2.2rem, 5vw, 3.7rem); }
h2 { font-weight: 400; font-style: italic; letter-spacing: -.01em; line-height: 1.2; font-size: clamp(1.55rem, 3vw, 2.2rem); }
h3 { font-weight: 400; font-style: italic; font-size: 1.3rem; color: var(--text); }
p { text-wrap: pretty; }
.lead { font-size: 1.06rem; color: #e3d9c4; line-height: 1.85; }
.muted, .small.muted { color: var(--muted); }
.kicker {
  display: flex; align-items: center; gap: 14px;
  font-style: italic; text-transform: none; letter-spacing: .01em; font-size: 1.05rem; font-weight: 400;
  color: var(--accent2); margin-bottom: 1.1em;
}
.kicker::before { content: ""; width: 38px; height: 1px; background: currentColor; opacity: .8; flex: none; }

/* h2 gets a small ornament underneath, like a chapter heading */
main h2::after {
  content: ""; display: block; width: 120px; height: 12px; margin: .55em 0 0;
  background: var(--fleuron) left center / contain no-repeat; opacity: .85;
}
.center h2::after, .contact h2::after { margin-left: auto; margin-right: auto; background-position: center; }

/* ---------- header ---------- */
.top { border-bottom: 0; background: color-mix(in srgb, var(--bg) 90%, transparent); box-shadow: 0 1px 0 var(--line), 0 3px 0 -1px rgba(220, 180, 108, .25); }
.brand { font-weight: 400; font-style: italic; font-size: 1.2rem; letter-spacing: .01em; display: inline-flex; align-items: center; gap: 10px; }
.brand::before {
  content: "IF"; font-style: normal; font-size: .72rem; letter-spacing: .08em; color: var(--accent);
  width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--accent); border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 4px rgba(220, 180, 108, .45);
}
.navs .main-nav a { font-size: .9rem; letter-spacing: .02em; }
.main-nav a[aria-current] { box-shadow: none; color: var(--text); font-style: italic; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 8px; }
.langs a { font-weight: 400; letter-spacing: .1em; font-size: .74rem; border-radius: 2px; }
.langs a[aria-current] { color: var(--accent); border-color: rgba(220, 180, 108, .5); background: transparent; }
.menu-btn { border-radius: 2px; font-style: italic; background: transparent; }

/* ---------- buttons: equal height, perfectly aligned ---------- */
p:has(> .btn), .btns { align-items: stretch; gap: 12px; }
.btn {
  justify-content: center; text-align: center; min-height: 52px; padding: 12px 24px;
  font-weight: 400; font-size: .95rem; letter-spacing: .02em; line-height: 1.25;
  background: transparent; color: var(--text); border: 1px solid rgba(244, 234, 215, .38);
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn.primary { font-weight: 700; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 28px -14px rgba(220, 180, 108, .7); }
.btn.primary:hover { background: #e7c584; border-color: #e7c584; color: var(--accent-ink); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 40px; }
.hero-grid { grid-template-columns: 1.15fr .85fr; gap: 64px; }
.hero-text { animation: fr-rise .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero-text .lead { max-width: 36em; margin-bottom: 1.6em; }
.hero h1 { margin-bottom: .45em; }
.hero-img { max-width: 400px; width: 100%; justify-self: center; position: relative; padding: 14px; animation: fr-rise 1.1s .15s cubic-bezier(.2, .7, .2, 1) both; }
/* Parisian window arch: thin brass frame offset around the portrait */
.hero-img::before {
  content: ""; position: absolute; inset: 0; border: 1px solid rgba(220, 180, 108, .6);
  border-radius: 999px 999px 4px 4px; pointer-events: none;
}
.hero-img::after {
  content: "Bonjour !"; content: "Bonjour !" / ""; position: absolute; left: -18px; bottom: 34px; padding: 10px 18px;
  background: var(--bg2); border: 1px solid var(--line2); color: var(--accent2); font-style: italic; font-size: 1rem;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .7); transform: rotate(-3deg);
}
.hero-img img { aspect-ratio: 4/5; border-radius: 999px 999px 2px 2px; filter: saturate(.9) contrast(1.02); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .8); }

/* ---------- stats: a colophon band between double rules ---------- */
.stats {
  gap: 0; padding: 26px 0; border-top: 3px double rgba(220, 180, 108, .45); border-bottom: 3px double rgba(220, 180, 108, .45);
}
.stat { background: transparent; border: 0; border-radius: 0; text-align: center; padding: 6px 14px; position: relative; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .num { font-weight: 400; font-style: italic; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--accent); line-height: 1.2; margin-bottom: 4px; }
.stat p:last-child { color: var(--muted); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }

/* ---------- video ---------- */
.video-row { align-items: center; gap: 56px; }
.video button {
  border: 1px solid var(--line2); border-radius: var(--radius); background: #050807; padding: 10px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); transition: border-color .25s;
}
.video button:hover { border-color: var(--accent); }
.video button img { opacity: .8; border-radius: 1px; transition: opacity .3s; }
.video button:hover img { opacity: .95; }
.video .play { width: 78px; height: 78px; background: rgba(14, 25, 21, .78); color: var(--accent); border: 1px solid var(--accent); box-shadow: 0 0 0 8px rgba(220, 180, 108, .14); transition: transform .25s; }
.video button:hover .play { transform: scale(1.06); }
.video p { font-style: italic; text-align: center; }
.video iframe { border-radius: var(--radius); }

/* ---------- reviews: letters on cream-edged cards ---------- */
.reviews { columns: 3 290px; column-gap: 22px; margin-top: 28px; }
.review {
  background: linear-gradient(180deg, var(--bg3), var(--bg2)); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 28px 24px; margin: 0 0 22px; position: relative;
  box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .9);
}
.review::before {
  content: "“"; position: absolute; left: 22px; top: 2px; font-size: 4.2rem; line-height: 1; color: var(--accent); opacity: .55; font-style: italic;
}
.review .stars { text-align: right; color: var(--accent); letter-spacing: 3px; font-size: .78rem; }
.review blockquote { font-style: italic; margin: 14px 0 16px; line-height: 1.8; color: #ece2cd; }
.review figcaption { color: var(--muted); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.review figcaption::before { content: ""; width: 22px; height: 1px; background: var(--accent); flex: none; }

/* ---------- lessons page ---------- */
.page-head { padding-top: 72px; padding-bottom: 12px; text-align: center; }
.page-head .kicker { justify-content: center; }
.page-head .kicker::after { content: ""; width: 38px; height: 1px; background: currentColor; opacity: .8; flex: none; }
.page-head h1::after { content: ""; display: block; width: 160px; height: 14px; margin: .5em auto 0; background: var(--fleuron) center / contain no-repeat; }

.info { counter-reset: chap; gap: 26px; align-items: stretch; }
.box {
  counter-increment: chap; position: relative; background: linear-gradient(180deg, var(--bg3), var(--bg2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 32px 28px;
  box-shadow: inset 0 0 0 6px var(--bg2), inset 0 0 0 7px rgba(220, 180, 108, .18);
}
.box::before {
  content: counter(chap, upper-roman) "."; display: block; font-style: italic; color: var(--accent); font-size: 1.05rem; letter-spacing: .08em; margin-bottom: .3em;
}
.box h3 { font-size: 1.45rem; }
.list li { padding-left: 28px; margin-bottom: .7em; }
.list li::before {
  content: ""; width: 10px; height: 10px; top: .62em; left: 2px; border-radius: 0; background: none;
  border: 1px solid var(--accent); transform: rotate(45deg) scale(.75);
}

/* price list: a café "carte" in a double frame, dotted leaders */
#prices .grid2 { align-items: center; gap: 56px; }
.ptable {
  background: var(--bg2); border: 1px solid rgba(220, 180, 108, .5); outline: 1px solid rgba(220, 180, 108, .25); outline-offset: 6px;
  margin: 8px; width: calc(100% - 16px); font-size: 1rem;
}
.ptable td { padding: 18px 22px; border-bottom: 1px dotted var(--line2); vertical-align: baseline; }
.ptable td:first-child { font-style: italic; }
.ptable td:nth-child(2) { color: var(--accent); font-weight: 400; font-style: italic; font-size: 1.06rem; white-space: nowrap; }
.ptable td:last-child { color: var(--muted); white-space: nowrap; font-size: .9rem; }
.ptable tr:hover td { background: rgba(220, 180, 108, .05); }

.cv { margin-top: 18px; border-left: 1px solid var(--line2); padding-left: 0; }
.cv li { position: relative; grid-template-columns: 140px 1fr; padding: 16px 0 16px 28px; border-bottom: 0; }
.cv li::before { content: ""; position: absolute; left: -5px; top: 1.55em; width: 9px; height: 9px; background: var(--bg); border: 1px solid var(--accent); transform: rotate(45deg); }
.cv .when { font-weight: 400; font-style: italic; font-size: .95rem; }

/* ---------- contact + footer ---------- */
.contact {
  margin-top: 56px; padding: 72px 0 76px; border: 0; position: relative;
  background: radial-gradient(700px 300px at 50% 0%, rgba(220, 180, 108, .12), transparent 70%), var(--bg2);
  box-shadow: inset 0 1px 0 var(--line), inset 0 4px 0 -2px rgba(220, 180, 108, .18), inset 0 -1px 0 var(--line);
}
.contact h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 1.1em; }
.foot { font-size: .9rem; }
.foot .brand { font-size: 1.1rem; }
.also { font-weight: 400; font-style: italic; color: var(--text); }
.foot-bottom { border-top: 1px solid var(--line); }

@keyframes fr-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .navs { background: var(--bg); }
  .main-nav a[aria-current] { text-decoration: none; color: var(--accent); }
  .hero { padding: 28px 0 24px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-img { max-width: 300px; padding: 10px; }
  .hero-img::after { left: -6px; bottom: 22px; font-size: .9rem; padding: 8px 14px; }
  .hero-text .kicker { margin-bottom: .7em; }
  .stats { padding: 10px 0; }
  .stat { padding: 16px 10px; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .video-row, #prices .grid2 { gap: 32px; }
  .box { padding: 28px 22px 22px; }
  .ptable td { padding: 15px 12px; }
  .ptable td:first-child { padding-left: 16px; }
  .ptable td:last-child { padding-right: 16px; }
  .cv li { grid-template-columns: 1fr; padding-left: 22px; }
  .contact { padding: 52px 0 56px; }
}
@media (max-width: 520px) {
  /* stacked full-width buttons on phones: always same width and height */
  p:has(> .btn), .btns { flex-direction: column; }
  .btn { width: 100%; }
  .ptable { font-size: .92rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-text, .hero-img { animation: none; }
}
