/*
Theme Name: Viniyoga Studio
Theme URI: https://viniyoga-studio.fr/
Author: Viniyoga Studio
Description: Thème sur mesure pour Viniyoga Studio, avec horaires, tarifs, contenus, coordonnées, photos et séjours administrables.
Version: 1.5.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: viniyoga-studio
*/

:root {
  --ink: #302a32;
  --aubergine: #815c9e;
  --terracotta: #f06f7a;
  --terracotta-dark: #d95664;
  --sage: #9370ad;
  --sage-light: #eee7f3;
  --ivory: #faf7fc;
  --paper: #ffffff;
  --line: rgba(129, 92, 158, 0.18);
  --shadow: 0 24px 70px rgba(129, 92, 158, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, summary:focus-visible { outline: 3px solid rgba(240,111,122,.42); outline-offset: 5px; border-radius: 4px; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  width: 100%; min-height: 86px; padding: 0 max(24px, calc((100vw - 1180px) / 2));
  display: flex; align-items: center; gap: 36px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(129, 92, 158, .1);
}
.admin-bar .site-header { top: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark {
  position: relative; flex: 0 0 46px; width: 46px; height: 46px;
  display: block; overflow: hidden;
}
.brand-mark img { position: absolute; top: 50%; left: 50%; width: 128px; max-width: none; transform: translate(-50%, -50%); }
.brand strong, .brand small { display: block; line-height: 1; }
.brand strong { color: var(--aubergine); font: 600 22px/1 Georgia, serif; letter-spacing: .01em; }
.brand small { margin-top: 4px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
.desktop-nav { display: flex; gap: 30px; align-items: center; font-size: 14px; font-weight: 650; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--terracotta); transition: right .2s ease; }
.desktop-nav a:hover::after { right: 0; }
.mobile-menu { display: none; }

.button, .outline-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 750; transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button { color: white; background: var(--aubergine); }
.button:hover { transform: translateY(-2px); background: #6f4c8d; }
.button-small { min-height: 44px; padding-inline: 20px; }
.outline-button { color: white; border: 1px solid rgba(255,255,255,.45); }
.outline-button:hover { background: white; color: var(--aubergine); }
.button-light { color: var(--aubergine); background: var(--paper); }
.button-light:hover { color: white; background: var(--terracotta); }
.text-link { width: fit-content; font-size: 15px; font-weight: 750; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.text-link span { color: var(--terracotta); margin-left: 6px; }

.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; padding-block: 120px; }
.section-wide { padding: 120px max(24px, calc((100vw - 1180px) / 2)); }
.section-kicker { margin: 0 0 18px; color: var(--terracotta); font-size: 11px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.light-kicker { color: #f7c4ca; }
h1, h2, h3, p { text-wrap: pretty; }
h2 { margin: 0; color: var(--aubergine); font: 500 clamp(40px, 4.5vw, 64px)/1.05 Georgia, "Times New Roman", serif; letter-spacing: -.03em; }
h3 { margin: 0; color: var(--aubergine); font: 500 27px/1.2 Georgia, serif; }
.large-copy { color: #4e4947; font-size: clamp(19px, 2vw, 24px); line-height: 1.55; }
.section-heading { display: grid; grid-template-columns: 1fr 340px; align-items: end; gap: 80px; margin-bottom: 58px; }
.section-heading > p { margin: 0 0 8px; color: #6b6461; }

.hero {
  min-height: calc(100vh - 86px);
  padding: 70px max(24px, calc((100vw - 1180px) / 2)) 84px;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  gap: clamp(48px, 7vw, 104px);
  background: radial-gradient(circle at 12% 18%, rgba(240,111,122,.11), transparent 26%), var(--ivory);
  border-radius: 0 0 52px 52px; overflow: hidden;
}
.eyebrow { margin: 0 0 22px; color: var(--terracotta); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 700px; margin: 0; color: var(--aubergine); font: 500 clamp(48px, 5.3vw, 76px)/.99 Georgia, "Times New Roman", serif; letter-spacing: -.04em; }
.hero-lead { max-width: 630px; margin: 30px 0 0; color: #5f5856; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.65; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 28px; }
.hero-credentials { width: fit-content; max-width: 560px; margin-top: 30px; padding: 12px 18px 12px 12px; display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.72); box-shadow: 0 12px 32px rgba(129,92,158,.09); }
.credential-marks { display: flex; align-items: center; }
.credential-marks img { width: 42px; height: 42px; object-fit: contain; border-radius: 50%; background: white; border: 2px solid white; }
.credential-marks img + img { margin-left: -8px; }
.hero-credentials p { display: grid; margin: 0; line-height: 1.35; }
.hero-credentials strong { color: var(--aubergine); font-size: 14px; }
.hero-credentials span { color: #655e68; font-size: 12px; }
.hero-proof { display: flex; gap: 34px; margin: 48px 0 0; padding: 25px 0 0; border-top: 1px solid var(--line); list-style: none; }
.hero-proof li { display: grid; gap: 2px; }
.hero-proof strong { color: var(--aubergine); font: 600 23px/1.1 Georgia, serif; }
.hero-proof span { color: #756e6b; font-size: 12px; }
.hero-visual { position: relative; min-height: 610px; }
.hero-visual::before { content: ""; position: absolute; inset: 7% -20% -9% 10%; border-radius: 47% 53% 46% 54%; background: var(--sage-light); }
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 53%; border-radius: 46% 46% 18px 18px; filter: saturate(.92) contrast(.98); box-shadow: 0 28px 70px rgba(129,92,158,.18); }
.hero-note { position: absolute; right: -22px; bottom: 42px; margin: 0; padding: 16px 22px; border-radius: 14px; background: rgba(255,255,255,.95); box-shadow: 0 16px 40px rgba(129,92,158,.16); font-size: 13px; }
.hero-note span { display: block; color: var(--terracotta); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 10vw, 140px); align-items: start; }
.intro-grid p:first-child { margin-top: 0; }
.value-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 90px; border: 1px solid var(--line); background: var(--line); }
.value-row article { min-height: 230px; padding: 38px; background: var(--paper); }
.value-row article > span { color: var(--terracotta); font: 400 35px/1 Georgia, serif; }
.value-row h3 { margin-top: 34px; font-size: 24px; }
.value-row p { margin: 10px 0 0; color: #706965; font-size: 15px; }

.sessions { background: var(--ivory); }
.session-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.session-card { min-height: 350px; padding: 42px; display: flex; flex-direction: column; background: var(--paper); border-radius: 18px; border: 1px solid transparent; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.session-card:hover { transform: translateY(-5px); border-color: var(--line); box-shadow: var(--shadow); }
.card-number { color: var(--terracotta); font: italic 500 17px/1 Georgia, serif; }
.session-card h3 { margin-top: 58px; font-size: 34px; }
.session-card p { max-width: 510px; color: #625c59; }
.session-card small { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); color: var(--aubergine); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }

.studio-section { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(60px, 9vw, 130px); align-items: center; }
.studio-gallery { position: relative; min-height: 650px; }
.studio-gallery img { position: absolute; object-fit: cover; box-shadow: var(--shadow); }
.studio-gallery img:first-child { inset: 0 18% 16% 0; width: 82%; height: 84%; border-radius: 48% 48% 18px 18px; }
.studio-gallery img:last-child { right: 0; bottom: 0; width: 46%; height: 44%; border-radius: 14px; border: 9px solid var(--paper); }
.studio-copy > p { color: #645e5a; }
.studio-copy .large-copy { margin-top: 28px; }
.check-list { display: grid; gap: 12px; margin: 32px 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 28px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--terracotta); font-weight: 800; }

.retreats-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 9vw, 130px); align-items: center; background: var(--ivory); }
.retreats-copy .large-copy { margin: 28px 0; }
.retreat-destination { color: var(--aubergine); }
.retreat-details { color: #655e68; font-size: 15px; }
.retreat-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 34px; padding: 0; list-style: none; }
.retreat-tags li { padding: 8px 13px; color: var(--aubergine); background: var(--sage-light); border-radius: 999px; font-size: 12px; font-weight: 750; }
.retreat-price { margin: -12px 0 30px; color: #655e68; font-size: 14px; }
.retreat-price strong { color: var(--aubergine); font: 600 25px/1 Georgia, serif; }
.retreat-carousel { width: min(100%, 510px); margin-inline: auto; }
.retreat-carousel-frame { position: relative; aspect-ratio: 707 / 1000; overflow: hidden; border-radius: 22px; background: #f6eee8; box-shadow: var(--shadow); }
.retreat-slide { position: absolute; inset: 0; margin: 0; opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.retreat-slide.is-active { opacity: 1; pointer-events: auto; }
.retreat-slide a, .retreat-slide img { width: 100%; height: 100%; }
.retreat-slide img { object-fit: contain; }
.retreat-carousel-controls { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.retreat-carousel-controls > button { flex: 0 0 46px; width: 46px; height: 46px; padding: 0; display: grid; place-items: center; color: white; background: var(--aubergine); border: 0; border-radius: 50%; cursor: pointer; font-size: 20px; transition: transform .2s ease, background .2s ease; }
.retreat-carousel-controls > button:hover { transform: translateY(-2px); background: #6f4c8d; }
.retreat-carousel-dots { display: flex; align-items: center; justify-content: center; gap: 9px; }
.retreat-carousel-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(129,92,158,.28); cursor: pointer; transition: width .2s ease, background .2s ease; }
.retreat-carousel-dots button.is-active { width: 28px; border-radius: 999px; background: var(--terracotta); }
.retreat-carousel button:focus-visible, .retreat-slide a:focus-visible { outline: 3px solid rgba(240,111,122,.5); outline-offset: 4px; }
.retreat-carousel-caption { margin: 11px 0 0; color: #756e6b; font-size: 11px; text-align: center; }

.planning-section { color: white; background: var(--aubergine); }
.planning-heading h2 { color: white; }
.planning-heading > p { color: rgba(255,255,255,.68); }
.schedule-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.day-card { min-height: 230px; padding: 28px 24px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; }
.day-card h3 { color: white; font-size: 24px; }
.day-card ul { margin: 24px 0 0; padding: 0; display: grid; gap: 9px; list-style: none; }
.day-card li { color: rgba(255,255,255,.73); font-size: 14px; }
.day-card li::before { content: "— "; color: #f7c4ca; }
.schedule-footer { margin-top: 38px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.schedule-footer p { display: grid; margin: 0; }
.schedule-footer p span { color: rgba(255,255,255,.58); font-size: 13px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price-card { position: relative; padding: 38px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; }
.price-card.featured-price { color: white; background: var(--sage); border-color: var(--sage); transform: translateY(-14px); box-shadow: var(--shadow); }
.price-label { margin: 0; color: var(--aubergine); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.featured-price .price-label { color: white; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 24px 0 14px; }
.price strong { color: var(--aubergine); font: 500 52px/1 Georgia, serif; }
.featured-price .price strong { color: white; }
.price span { color: #77706c; font-size: 13px; }
.featured-price .price span { color: rgba(255,255,255,.86); }
.price-card > p:not(.price,.price-label,.price-badge) { color: #6d6662; font-size: 15px; }
.price-card.featured-price > p:not(.price,.price-label,.price-badge) { color: #fff; font-weight: 600; }
.price-card a { margin-top: auto; padding-top: 34px; color: var(--aubergine); font-weight: 750; font-size: 14px; }
.featured-price a { color: white; }
.price-card a span { color: var(--terracotta); margin-left: 7px; }
.featured-price a span { color: #ffd1d6; }
.price-badge { position: absolute; top: 0; right: 28px; margin: 0; padding: 7px 13px; border-radius: 0 0 8px 8px; color: var(--aubergine) !important; background: #f8d9dd; font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.other-prices { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.other-prices p { margin: 0; padding: 26px 24px; display: grid; border-right: 1px solid var(--line); }
.other-prices p:last-child { border-right: 0; }
.other-prices strong { color: var(--aubergine); font-size: 14px; }
.other-prices span { color: #716a66; font-size: 13px; }

.about-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(70px, 10vw, 150px); align-items: center; background: var(--ivory); }
.portrait-frame { position: relative; min-height: 520px; border-radius: 48% 48% 18px 18px; overflow: hidden; background: var(--sage-light); }
.portrait-frame img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center; filter: saturate(.72); image-rendering: auto; }
.about-portrait > p { margin: 20px 0 0; text-align: center; color: var(--aubergine); font: 500 20px/1.3 Georgia, serif; }
.about-portrait > p span { color: #766e6a; font: 500 11px/1 sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.about-copy .large-copy { margin: 30px 0 20px; }
.about-copy > p:not(.section-kicker,.large-copy) { color: #655f5c; }
.certifications { display: flex; flex-wrap: wrap; gap: 28px 44px; margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.certifications div { display: flex; align-items: center; gap: 14px; }
.certifications img { width: 58px; height: 58px; object-fit: contain; border-radius: 50%; }
.certifications span { color: #756e6b; font-size: 11px; line-height: 1.35; text-transform: uppercase; letter-spacing: .06em; }
.certifications strong { color: var(--aubergine); }

.contact-section { padding: 110px max(24px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; color: white; background: var(--terracotta); }
.contact-card h2 { max-width: 760px; color: white; }
.contact-card > p:not(.section-kicker) { max-width: 650px; color: rgba(255,255,255,.8); font-size: 19px; }
.contact-actions { display: flex; gap: 14px; margin-top: 34px; }
.email-menu { position: relative; }
.retreats-copy .email-menu { width: fit-content; }
.email-menu-trigger { width: 100%; cursor: pointer; font-family: inherit; }
.email-menu-trigger.outline-button { border: 1px solid rgba(255,255,255,.45); background: transparent; }
.email-menu-trigger span { margin-left: 10px; font-size: 19px; font-weight: 500; }
.email-menu-panel[hidden] { display: none; }
.email-menu-panel { position: absolute; left: 0; bottom: calc(100% + 14px); z-index: 10; width: min(340px, calc(100vw - 40px)); padding: 12px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 60px rgba(74,38,85,.25); }
.email-menu-panel::after { content: ""; position: absolute; left: 32px; top: 100%; border: 8px solid transparent; border-top-color: white; }
.email-menu-panel > p { margin: 4px 8px 10px; color: #655e68; font-size: 12px; }
.email-menu-panel a, .email-copy { width: 100%; min-height: 58px; padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: var(--ink); background: transparent; border: 0; border-radius: 10px; cursor: pointer; font-family: inherit; text-align: left; transition: background .18s ease; }
.email-menu-panel a:hover, .email-copy:hover { background: var(--sage-light); }
.email-menu-panel strong { color: var(--aubergine); font-size: 14px; }
.email-menu-panel span { color: #746d69; font-size: 11px; }
.contact-details { display: grid; align-content: center; gap: 24px; border-left: 1px solid rgba(255,255,255,.25); padding-left: 52px; }
.contact-details > div { display: grid; grid-template-columns: 86px 1fr; gap: 16px; }
.contact-details span { color: rgba(255,255,255,.55); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-details p { margin: 0; font-size: 14px; }
.contact-details a { border-bottom: 1px solid rgba(255,255,255,.45); }

footer { width: min(1180px, calc(100% - 48px)); min-height: 150px; margin: 0 auto; display: flex; align-items: center; gap: 30px; color: #746d69; font-size: 13px; }
.footer-brand { margin-right: 12px; }
.footer-legal { margin-left: auto; display: grid; gap: 4px; text-align: right; }
.footer-legal p { margin: 0; }
.footer-legal p:last-child { font-size: 11px; letter-spacing: .01em; }

.content-shell { width: min(900px, calc(100% - 48px)); margin: 0 auto; padding: 70px 0 110px; }
.content-shell > .brand { margin-bottom: 70px; }
.content-card { margin-top: 30px; padding: 44px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
.content-card h1 { font-size: clamp(38px, 5vw, 60px); }
.content-card h1 a { color: var(--aubergine); }
.content-card a { color: var(--terracotta-dark); text-decoration: underline; text-underline-offset: 3px; }
.content-card img { height: auto; }

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { cursor: pointer; list-style: none; font-size: 13px; font-weight: 750; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary::after { content: " +"; color: var(--terracotta); }
  .mobile-menu[open] summary::after { content: " −"; }
  .mobile-menu nav { position: absolute; top: 38px; right: 0; width: 230px; padding: 12px; display: grid; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
  .mobile-menu nav a { padding: 10px 12px; font-size: 14px; border-bottom: 1px solid var(--line); }
  .mobile-menu nav a:last-child { border-bottom: 0; }
  .hero { grid-template-columns: 1fr 1fr; gap: 46px; }
  .hero-visual { min-height: 550px; }
  .schedule-grid { grid-template-columns: repeat(3, 1fr); }
  .day-card { min-height: 190px; }
}

@media (max-width: 800px) {
  .section-shell, .section-wide { padding-block: 84px; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 540px; }
  .intro-grid, .studio-section, .retreats-section, .about-section, .contact-section { grid-template-columns: 1fr; }
  .section-heading { grid-template-columns: 1fr; gap: 24px; }
  .value-row, .other-prices { grid-template-columns: 1fr; }
  .value-row article { min-height: auto; }
  .session-grid { grid-template-columns: 1fr; }
  .studio-gallery { min-height: 580px; }
  .schedule-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: 1fr; gap: 16px; }
  .price-card.featured-price { transform: none; }
  .other-prices p { border-right: 0; border-bottom: 1px solid var(--line); }
  .other-prices p:last-child { border-bottom: 0; }
  .about-portrait { max-width: 460px; margin-inline: auto; }
  .contact-section { gap: 50px; }
  .contact-details { border-left: 0; border-top: 1px solid rgba(255,255,255,.25); padding: 36px 0 0; }
  footer { flex-wrap: wrap; padding-block: 40px; }
  .footer-legal { width: 100%; margin-left: 0; text-align: left; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .site-header { min-height: 74px; padding-inline: 16px; gap: 12px; }
  .brand strong { font-size: 19px; }
  .brand-mark { flex-basis: 42px; width: 42px; height: 42px; }
  .brand-mark img { width: 118px; }
  .header-cta { display: none; }
  .mobile-menu { margin-left: auto; }
  .hero { min-height: auto; padding: 48px 20px 64px; gap: 52px; border-radius: 0 0 30px 30px; }
  h1 { font-size: clamp(44px, 13vw, 60px); }
  h2 { font-size: 42px; }
  .hero-lead { margin-top: 24px; font-size: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-credentials { margin-top: 26px; padding-right: 14px; }
  .credential-marks img { width: 38px; height: 38px; }
  .hero-proof { gap: 14px; justify-content: space-between; }
  .hero-proof strong { font-size: 20px; }
  .hero-proof span { max-width: 78px; line-height: 1.35; }
  .hero-visual { min-height: 460px; }
  .hero-note { right: -4px; bottom: 22px; }
  .section-shell { width: calc(100% - 40px); }
  .section-wide, .contact-section { padding-inline: 20px; }
  .value-row { margin-top: 55px; }
  .session-card { min-height: 330px; padding: 30px; }
  .session-card h3 { margin-top: 44px; }
  .studio-gallery { min-height: 440px; }
  .retreat-carousel-controls { margin-top: 16px; }
  .schedule-grid { grid-template-columns: 1fr; }
  .day-card { min-height: auto; }
  .schedule-footer, .contact-actions { align-items: stretch; flex-direction: column; }
  .email-menu-panel { bottom: calc(100% + 12px); }
  .certifications { flex-direction: column; }
  .portrait-frame { min-height: 430px; }
  .contact-details > div { grid-template-columns: 70px 1fr; }
  footer { width: calc(100% - 40px); display: grid; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
