/* Nemetona Terra — site styles */
:root{
  --forest:#344E41;
  --sage:#829A89;
  --mineral:#597B83;
  --ochre:#C6A780;
  --ivory:#F2EEE3;
  --ivory-2:#EAE4D5;
  --ink:#2B2F2A;
  --ink-soft:#55605A;
  --line:rgba(52,78,65,.14);
  --serif:"Cormorant Garamond",Georgia,"Times New Roman",serif;
  --sans:"Source Sans 3","Source Sans Pro",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --max:1120px;
  --radius:14px;
  --gutter:clamp(26px,5vw,60px);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--ivory);color:var(--ink);font-family:var(--sans);font-size:17px;line-height:1.65;font-weight:400}
img{max-width:100%;height:auto;display:block}
a{color:var(--forest)}
h1,h2,h3,h4{font-family:var(--serif);font-weight:600;color:var(--forest);line-height:1.12;margin:0 0 .5em;letter-spacing:.005em}
h1{font-size:clamp(2.2rem,5vw,3.6rem)}
h2{font-size:clamp(1.8rem,3.6vw,2.6rem)}
h3{font-size:clamp(1.35rem,2.4vw,1.7rem)}
p{margin:0 0 1.1em}
.lede{font-size:1.2rem;color:var(--ink-soft);font-weight:300}
.eyebrow{font-family:var(--sans);text-transform:uppercase;letter-spacing:.18em;font-size:.76rem;color:var(--mineral);font-weight:600;margin-bottom:.9rem}
.wrap{max-width:calc(1080px + 2*var(--gutter));margin:0 auto;padding:0 var(--gutter)}
.narrow{max-width:760px}
.skip{position:absolute;left:-999px;top:0;background:var(--forest);color:#fff;padding:.6rem 1rem;z-index:100}
.skip:focus{left:12px;top:12px}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(242,238,227,.92);backdrop-filter:saturate(1.2) blur(8px);border-bottom:1px solid var(--line)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:68px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;margin-right:28px}
.brand img{height:34px;width:auto}
.brand span{font-family:var(--serif);font-weight:600;font-size:1.25rem;color:var(--forest);letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}
.menu{display:flex;align-items:center;gap:20px;list-style:none;margin:0;padding:0}
.menu a{text-decoration:none;color:var(--ink);font-weight:500;font-size:.95rem;padding:6px 0;border-bottom:2px solid transparent;white-space:nowrap}
@media (max-width:1100px) and (min-width:1041px){.menu{gap:14px}.menu a{font-size:.9rem}.brand span{font-size:1.1rem}}
.menu a:hover,.menu a[aria-current="page"]{border-color:var(--ochre);color:var(--forest)}
.menu .cta a{background:var(--forest);color:#fff;padding:10px 18px;border-radius:999px;border:0}
.menu .cta a:hover{background:#263a30}
.lang{display:flex;gap:4px;align-items:center;font-size:.9rem;margin-left:6px}
.lang a,.lang span{padding:4px 8px;border-radius:8px;text-decoration:none;color:var(--ink-soft)}
.lang span{background:var(--forest);color:#fff;font-weight:600}
.lang a:hover{background:var(--ivory-2);color:var(--forest)}
.burger{display:none;background:none;border:1px solid var(--line);border-radius:10px;padding:8px 10px;color:var(--forest);font:inherit;cursor:pointer}
@media (max-width:1040px){
  .burger{display:inline-flex;align-items:center;gap:8px}
  .menu{display:none;position:absolute;left:0;right:0;top:68px;background:var(--ivory);flex-direction:column;align-items:stretch;gap:0;padding:10px var(--gutter) 20px;border-bottom:1px solid var(--line);box-shadow:0 20px 40px rgba(0,0,0,.08)}
  .menu.open{display:flex}
  .menu li{border-bottom:1px solid var(--line)}
  .menu li:last-child{border:0}
  .menu a{display:block;padding:14px 0}
  .menu .cta a{display:inline-block;margin-top:12px;text-align:center}
  .menu .lang{padding:12px 0}
}

/* buttons */
.btn{display:inline-block;text-decoration:none;font-weight:600;padding:13px 24px;border-radius:999px;border:1.5px solid var(--forest);color:var(--forest);background:transparent;transition:all .18s ease;font-size:1rem;cursor:pointer;font-family:var(--sans)}
.btn:hover{background:var(--forest);color:#fff;transform:translateY(-1px)}
.btn.primary{background:var(--forest);color:#fff}
.btn.primary:hover{background:#263a30}
.btn.ochre{background:var(--ochre);border-color:var(--ochre);color:#2b2f2a}
.btn.ochre:hover{background:#b89668;border-color:#b89668;color:#2b2f2a}
.btn-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:1.4rem}

/* hero */
.hero{padding:56px 0 24px;text-align:center}
.hero .logo{width:min(330px,66vw);margin:0 auto 10px}
.hero .wordmark{width:min(480px,82vw);margin:0 auto 20px}
.hero h1{max-width:820px;margin:0 auto .6rem}
.hero .lede{max-width:780px;margin:0 auto;font-size:1.12rem}
.hero-photo{margin:34px 0 0;position:relative}
.hero-photo img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;object-position:center 40%;border-radius:var(--radius)}
.hero-photo figcaption{font-size:.85rem;color:var(--ink-soft);margin-top:10px;text-align:left}
.launch-note{display:inline-flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 16px;font-size:.92rem;color:var(--ink-soft);margin-top:18px}
.launch-note b{color:var(--forest)}
.dot{width:8px;height:8px;border-radius:50%;background:var(--ochre);box-shadow:0 0 0 4px rgba(198,167,128,.25)}

/* sections */
section{padding:54px 0}
section.tint{background:var(--ivory-2)}
section.forest{background:var(--forest);color:#eef0ea}
section.forest h2,section.forest h3{color:#fff}
section.forest .eyebrow{color:var(--ochre)}
section.forest a{color:#fff}
.section-head{max-width:720px;margin-bottom:38px}
.grid{display:grid;gap:26px}
.grid.cols-3{grid-template-columns:repeat(3,1fr)}
.grid.cols-2{grid-template-columns:repeat(2,1fr)}
@media (max-width:860px){.grid.cols-3,.grid.cols-2{grid-template-columns:1fr}}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:0 1px 0 rgba(0,0,0,.02)}
.card h3{margin-top:.2em}
.card .icon{width:46px;height:46px;border-radius:12px;background:var(--ivory);display:grid;place-items:center;margin-bottom:16px;color:var(--forest)}
.card .icon svg{width:26px;height:26px}
.split{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.split.reverse{grid-template-columns:.95fr 1.05fr}
.split img{border-radius:var(--radius);width:100%;object-fit:cover}
@media (max-width:860px){.split,.split.reverse{grid-template-columns:1fr;gap:28px}}
.portrait{width:min(300px,70vw);margin:0 auto}
.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.gallery img{width:100%;height:260px;object-fit:cover;border-radius:12px}
.gallery .wide{grid-column:span 2}
@media (max-width:760px){.gallery{grid-template-columns:1fr 1fr}.gallery .wide{grid-column:span 2}.gallery img{height:200px}}
figcaption,.caption{font-size:.85rem;color:var(--ink-soft);margin-top:10px}
.note{border-left:3px solid var(--ochre);padding:12px 18px;background:#fff;border-radius:0 10px 10px 0;color:var(--ink-soft);font-size:.95rem}
section.forest .note{background:rgba(255,255,255,.08);color:#eef0ea}
.badge{display:inline-block;font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;font-weight:700;color:var(--mineral);background:#fff;border:1px solid var(--line);border-radius:999px;padding:4px 10px;margin-bottom:12px}
blockquote{font-family:var(--serif);font-size:1.5rem;line-height:1.35;color:var(--forest);margin:0;padding-left:22px;border-left:3px solid var(--ochre)}

/* timeline */
.timeline{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:18px;counter-reset:step}
.timeline li{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:22px;position:relative}
.timeline li::before{counter-increment:step;content:counter(step);font-family:var(--serif);font-size:2rem;color:var(--ochre);font-weight:600;line-height:1;display:block;margin-bottom:8px}
.timeline b{display:block;color:var(--forest);font-size:1.05rem;margin-bottom:4px}
.timeline small{color:var(--ink-soft)}
@media (max-width:860px){.timeline{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.timeline{grid-template-columns:1fr}}

/* products */
.products{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
@media (max-width:760px){.products{grid-template-columns:1fr}}
.products .card ul{margin:.4rem 0 0;padding-left:1.1rem;color:var(--ink-soft)}

/* countdown */
.countdown{display:flex;gap:14px;flex-wrap:wrap;margin:18px 0 8px}
.countdown div{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:12px;padding:12px 16px;min-width:84px;text-align:center}
.countdown b{display:block;font-family:var(--serif);font-size:2rem;line-height:1;color:#fff}
.countdown small{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;opacity:.8}

/* faq */
details{border-top:1px solid var(--line);padding:16px 0}
details:last-of-type{border-bottom:1px solid var(--line)}
summary{cursor:pointer;font-weight:600;font-size:1.05rem;color:var(--forest);list-style:none;display:flex;justify-content:space-between;align-items:center}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";font-size:1.4rem;color:var(--ochre);line-height:1}
details[open] summary::after{content:"−"}
details p{margin:.8rem 0 0;color:var(--ink-soft)}

/* forms */
form.nt{display:grid;gap:14px;max-width:560px}
form.nt label{display:block;font-weight:600;font-size:.92rem;margin-bottom:6px;color:var(--forest)}
form.nt input,form.nt textarea{width:100%;font:inherit;font-size:1rem;padding:12px 14px;border:1px solid rgba(52,78,65,.3);border-radius:10px;background:#fff;color:var(--ink)}
form.nt input:focus,form.nt textarea:focus{outline:2px solid var(--mineral);outline-offset:1px;border-color:var(--mineral)}
form.nt textarea{min-height:140px;resize:vertical}
form.nt .consent{display:flex;gap:10px;align-items:flex-start;font-size:.88rem;color:var(--ink-soft)}
form.nt .consent input{width:18px;height:18px;margin-top:3px;flex:none}
form.nt .hp{position:absolute;left:-9999px;opacity:0;height:0;width:0}
.form-msg{font-size:.95rem;margin-top:6px;min-height:1.4em}
.form-msg.ok{color:var(--forest);font-weight:600}
.form-msg.err{color:#8a3a2b;font-weight:600}
.inline-form{display:flex;gap:10px;flex-wrap:wrap;max-width:560px}
.inline-form input{flex:1 1 220px;font:inherit;font-size:1rem;padding:12px 14px;border:1px solid rgba(52,78,65,.3);border-radius:10px}
section.forest .inline-form input{border-color:rgba(255,255,255,.3)}

/* footer */
.site-footer{background:#263a30;color:#d9ded6;padding:56px 0 32px;font-size:.95rem}
.site-footer a{color:#fff;text-decoration:none}
.site-footer a:hover{text-decoration:underline}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:34px}
@media (max-width:760px){.footer-grid{grid-template-columns:1fr}}
.site-footer h4{color:#fff;font-family:var(--sans);font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;margin-bottom:12px}
.site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.site-footer .brand span{color:#fff}
.copy{border-top:1px solid rgba(255,255,255,.12);margin-top:36px;padding-top:20px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:.85rem;color:#b9c2b8}

/* page header for inner pages */
.page-head{padding:28px 0 24px}
.page-head h1{margin-bottom:.4em}
.page-head .lede{max-width:720px}

/* motion */
@media (prefers-reduced-motion:no-preference){
  .reveal{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s ease}
  .reveal.in{opacity:1;transform:none}
}

/* ---- 21 Oct 2026 updates ---- */
.hero-tag{font-family:var(--serif);font-weight:700;color:var(--forest);font-size:min(2.15rem,5.2vw);line-height:1.15;white-space:nowrap;margin:0 auto .7rem}

/* home: place section, round photo on the right */
@media (min-width:861px){.split.place{grid-template-columns:1.1fr .9fr}}
.circle-photo{width:min(300px,70vw);aspect-ratio:1/1;margin:0 auto;border-radius:50%;overflow:hidden}
.circle-photo img{width:100%;height:100%;object-fit:cover;border-radius:0}

/* home: support block - one centred column, text edges = form edges */
.support-home .support-box{max-width:760px;margin:0 auto}
.support-home h2{font-size:clamp(1.45rem,5.2vw,2.15rem)}
@media (min-width:800px){.support-home h2{white-space:nowrap}}
.support-home .inline-form{display:grid;gap:12px;max-width:none;width:100%}
.support-home .inline-form input[type=email]{width:100%}
.support-home .inline-form .btn{width:100%;text-align:center}
.support-home .btn-row{margin-top:1.1rem}

/* home: creations card with botanical illustration, aligned with the photo card */
.home-cards .card{padding:0;overflow:hidden;display:flex;flex-direction:column}
.media-panel{position:relative;overflow:hidden;aspect-ratio:4/3;background:var(--ivory-2)}
.media-panel img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;border-radius:0}
.card-body{padding:28px;display:flex;flex-direction:column;flex:1}
.card-body .btn{align-self:flex-start;margin-top:auto}
.card-note{color:var(--ink-soft)}

/* cultures page */
.page-head.wide .lede{max-width:none}

/* contact page: title and intro on one line */
.page-head.inline .wrap{display:grid;grid-template-columns:auto 1fr;gap:10px 48px;align-items:end}
.page-head.inline h1{margin:0;white-space:nowrap}
.page-head.inline .lede{margin:0 0 .35em;max-width:none}
@media (max-width:760px){.page-head.inline .wrap{grid-template-columns:1fr}.page-head.inline h1{white-space:normal}}

/* farm stay: projection shown in full on the left, two photos stacked on the right */
.stay-gallery{display:grid;grid-template-columns:1.7fr 1fr;gap:14px;align-items:stretch}
.stay-gallery .projection{margin:0}
.stay-gallery .projection img{width:100%;height:auto;border-radius:12px}
.stay-gallery figcaption{font-size:.8rem;font-style:italic;color:var(--ink-soft);margin-top:6px}
.stay-gallery .side{display:grid;grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:14px;min-height:0}
.stay-gallery .side img{width:100%;height:100%;min-height:0;object-fit:cover;border-radius:12px}
@media (max-width:760px){
  .stay-gallery{grid-template-columns:1fr}
  .stay-gallery .side{grid-template-rows:none;grid-template-columns:1fr 1fr}
  .stay-gallery .side img{height:190px}
}

/* project article */
.article h2{margin-top:.2em}
.article p{margin-bottom:1em}
/* support page: its 3-step list is set inline to 3 columns; stack it on phones */
@media (max-width:700px){.timeline{grid-template-columns:1fr!important}}

/* ---- 29 Oct 2026 updates ---- */
/* never leave one or two words alone on a line (copy also gets non-breaking spaces at build time) */
p,li,figcaption,blockquote,small,summary{text-wrap:pretty}
h1,h2,h3,h4,.hero-tag,.hero .lede{text-wrap:balance}
/* short blocks inside cards and call-outs are balanced; full-width text keeps both edges */
.card p,.card-body p,.note,.launch-note,.consent-note,.timeline small,.center p,.support-box p{text-wrap:balance}

/* home hero */
.launch-note{text-align:center;justify-content:center;border-radius:26px}

/* newsletter form: consent line sits directly under the button; empty status line takes no room */
.inline-form .consent-note{flex-basis:100%;opacity:.85;font-size:.82rem;margin-top:-4px}
.inline-form .form-msg{flex-basis:100%}
.form-msg:empty{display:none}

/* dark call-to-action blocks: centred */
section.center{text-align:center}
section.center .btn-row,section.center .countdown{justify-content:center}
section.center .inline-form{margin-left:auto;margin-right:auto}
section.center .eyebrow{margin-bottom:.9rem}

/* section heads that must run to the same edges as the grid below */
.section-head.full{max-width:none}
section.tight{padding:30px 0}
.page-head.compact{padding-bottom:6px}
.page-head .lede{margin-bottom:.7em}
.page-head .lede:last-child{margin-bottom:0}

/* titles that must stay on one line on laptop and tablet widths */
.page-head.oneline h1{font-size:clamp(1.6rem,3.9vw,2.55rem)}
@media (min-width:900px){.page-head.oneline h1{white-space:nowrap}}
.page-head.oneline.wide .lede{max-width:none}

/* project article: text runs the full width of the photo */
.article h2{margin-top:.2em}

/* navigation dropdown */
.has-sub{position:relative;display:flex;align-items:center;gap:0}
.has-sub.current>a{border-color:var(--ochre);color:var(--forest)}
.sub-toggle{background:none;border:0;color:var(--forest);font-size:.75rem;cursor:pointer;padding:6px 4px 6px 5px;line-height:1}
.sub{list-style:none;margin:0;padding:8px;position:absolute;top:calc(100% - 4px);left:-14px;min-width:200px;background:var(--ivory);border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 40px rgba(0,0,0,.1);display:none;flex-direction:column;gap:0;z-index:60}
.has-sub:hover .sub,.has-sub:focus-within .sub,.has-sub.open .sub{display:flex}
.sub a{display:block;padding:10px 12px;border-bottom:0;border-radius:8px}
.sub a:hover,.sub a[aria-current="page"]{background:var(--ivory-2);color:var(--forest)}
@media (max-width:1040px){
  .has-sub{display:block}
  .sub-toggle{display:none}
  .sub{display:block;position:static;border:0;box-shadow:none;background:none;padding:0 0 8px 16px;min-width:0}
  .menu .sub li{border:0}
  .menu .sub a{padding:8px 0;font-size:.92rem;color:var(--ink-soft)}
  .menu .sub a:hover,.menu .sub a[aria-current="page"]{background:none}
}

/* phones: slightly smaller headings so short titles stay on one line */
@media (max-width:480px){
  h1{font-size:clamp(1.75rem,8vw,2.4rem)}
  h2{font-size:clamp(1.4rem,6.4vw,1.8rem)}
}

/* footer: two columns on tablets so the longer links stay on one line */
@media (max-width:960px) and (min-width:761px){.footer-grid{grid-template-columns:1fr 1fr}}
.page-head .wrap.narrow h1{font-size:clamp(1.7rem,4.2vw,2.5rem)}
@media (max-width:360px){.brand{margin-right:0;gap:8px}.brand span{font-size:1.02rem;letter-spacing:.02em}.nav{gap:8px}}

/* ---- 31 Oct 2026 updates ---- */
/* laptop: logo, wordmark and tagline fill the first screen, so no sentence is cut at the fold */
@media (min-width:900px){
  .hero{padding-top:18px}
  .hero-top{--A:calc(100vh - 87px);--lh:max(280px,min(640px,calc((var(--A) - 84px)/1.24)));min-height:var(--A);display:flex;flex-direction:column;align-items:center;justify-content:center}
  @supports (height:100svh){.hero-top{--A:calc(100svh - 87px)}}
  .hero .logo{width:calc(var(--lh)*.7237);height:var(--lh);margin:0 auto 8px}
  .hero .logo img{width:100%;height:100%;object-fit:contain}
  .hero .wordmark{width:min(540px,calc(var(--lh)*.85));margin:0 auto 14px}
  .hero .hero-tag{margin-bottom:0}
}
/* intro text centred, running the full width of the photo below it */
.hero .lede{max-width:none;text-wrap:pretty}

/* home sign-up block: everything centred */
.support-home .support-box{text-align:center}
.support-home .btn-row{justify-content:center}

/* centred page heads (project and support pages) */
.page-head.center{text-align:center}
.page-head.center .lede{max-width:none;margin-left:auto;margin-right:auto}

/* plants section: wider text column, drawing slightly further left */
@media (min-width:861px){.split.plants{grid-template-columns:1.6fr .8fr;gap:28px}}

/* timeline cards: let the text run on naturally */
.timeline small{text-wrap:wrap}

/* header: five menu items fit between 901 and 1100px */
@media (max-width:1100px) and (min-width:1041px){.nav{gap:10px}.brand{margin-right:6px}.brand span{font-size:1rem}.menu{gap:11px}.menu a{font-size:.86rem}.menu .cta a{padding:9px 14px}.lang{margin-left:0}}

/* ---- 1 Nov 2026 updates ---- */
/* tighter vertical rhythm: less space under the header and between sections */
@media (max-width:700px){section{padding:40px 0}.page-head{padding:18px 0 18px}}
/* Gîte page title stays on one line on phones */
.page-head.stay h1{font-size:clamp(1.55rem,8vw,2.4rem)}
@media (min-width:481px){.page-head.stay h1{font-size:clamp(2.2rem,5vw,3.6rem)}}
/* calendula drawing sits alone: keep it a sensible size */

/* header and footer: the stylised wordmark replaces the plain text name */

/* ---- 2 Nov 2026 updates ---- */
/* one-line wordmark in header and footer */
.brand .wm{height:auto;width:clamp(130px,calc(100vw - 190px),236px);min-width:0}
.site-footer .brand .wm{width:230px;filter:brightness(0) invert(1)}
@media (min-width:1041px){.brand .wm{width:196px}}
@media (min-width:1101px){.brand .wm{width:236px}}
@media (max-width:360px){.brand>img:first-child{display:none}.brand .wm{width:clamp(130px,calc(100vw - 150px),236px)}}

/* more air above the page title (project, support, about... pages) */
.page-head{padding:44px 0 24px}
@media (max-width:700px){.page-head{padding:32px 0 18px}}

/* home cards: everything centred */
.home-cards .card-body{text-align:center;align-items:center}
.home-cards .card-body .btn{align-self:center}

/* about page: bio text centred */
.about-text{text-align:center}
.about-text p{text-wrap:pretty}

/* wide text blocks run edge to edge, aligned with the pictures below them (laptop and tablet) */
@media (min-width:861px){
  .section-head.full p,.article p,.page-head.wide:not(.center):not(.center-lg) .lede,.page-head:not(.center):not(.center-lg):not(.inline) .lede{text-align:justify;text-justify:inter-word;hyphens:manual;-webkit-hyphens:manual;text-wrap:wrap}
}
/* plants section sits closer to its neighbours */
section.tight{padding:26px 0}
/* laptop header: give the wordmark room */
@media (min-width:1101px){.brand{margin-right:6px}.menu{gap:15px}.menu a{font-size:.92rem}.lang{margin-left:0}.menu .cta a{padding:10px 16px}.brand .wm{width:220px}}
.brand,.brand .wm{flex-shrink:0}
/* between 1041 and 1200px the longer English menu needs a slightly smaller name */
@media (min-width:1041px) and (max-width:1200px){.brand .wm{width:176px}}
@media (min-width:1201px){.brand .wm{width:220px}}

/* ---- margins and word breaks (3 Nov 2026) ---- */
/* words are never cut with a hyphen at the end of a line, anywhere on the site */
html,body,p,li,h1,h2,h3,h4,.lede,blockquote,small,figcaption,summary{hyphens:manual;-webkit-hyphens:manual;overflow-wrap:break-word}

/* phones and tablets: the header never pushes the Menu button into the margin */
@media (max-width:1040px){
  .brand{margin-right:0;gap:10px;min-width:0}
  .brand .wm{width:clamp(120px,calc(100vw - 2*var(--gutter) - 150px),236px)}
}
@media (max-width:360px){.brand .wm{width:clamp(120px,calc(100vw - 2*var(--gutter) - 112px),236px)}}
/* laptop header keeps a slimmer side margin so the whole menu fits */
@media (min-width:1041px){.site-header .wrap{padding-left:28px;padding-right:28px;max-width:1160px}}
.nb{white-space:nowrap}

/* ---- 3 Nov 2026 updates ---- */
/* gallery on the Gîte page: the two side photos fill exactly the height of the collage, in every browser */
.stay-gallery .side{grid-template-rows:minmax(0,1fr) minmax(0,1fr);align-self:stretch;min-height:0}
.stay-gallery .side .cell{position:relative;display:block;overflow:hidden;border-radius:12px;min-height:0;min-width:0}
.stay-gallery .side .cell img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0}
@media (max-width:760px){.stay-gallery .side .cell{height:190px}}

/* Expériences page: centred on every screen size */
.page-head.center-lg{text-align:center}
.page-head.center-lg .lede{margin-left:auto;margin-right:auto;max-width:none;text-align:center}
.exp-body{margin-left:auto;margin-right:auto;text-align:center}
.exp-body p{text-align:center;text-wrap:pretty}
.exp-body .note{border-left:0;border-top:3px solid var(--ochre);border-radius:10px}

/* About page: bio text uses the full content width, centred */
.about-text p{max-width:none}

/* ---- 4 Nov 2026 updates ---- */
/* phones: the two side photos sit side by side in ONE row (no empty second row under them) */
@media (max-width:760px){
  .stay-gallery .side{grid-template-rows:none;grid-template-columns:1fr 1fr;align-self:auto}
  .stay-gallery .side .cell{height:190px}
}
/* laptop header: the same gap everywhere, from the name to the sign-up button and the language switch */
@media (min-width:1041px){
  .site-header .nav{justify-content:space-between;gap:14px}
  .site-header .menu{display:contents}
  .site-header .menu>li{flex:none}
  .site-header .brand{margin-right:0}
}

/* ---- 5 Nov 2026 updates ---- */
/* FAQ: the question is one block, left-aligned, with the + at the far right (it was split into separate flex items) */
summary .q{flex:1;min-width:0;text-align:left;padding-right:16px}

/* laptop header: "Séjours & expériences" sits on the same line as the other items
   (the arrow is positioned beside the link instead of making the item a flex row) */
@media (min-width:1041px){
  .menu .has-sub{display:block;padding-right:19px}
  .menu .has-sub .sub-toggle{position:absolute;right:0;top:50%;transform:translateY(-50%);padding:6px 4px 6px 5px}
}
/* laptop header: the EN link has the same size and box as the FR pill, so both sit on the same line */
@media (min-width:1041px){.menu .lang a{border-bottom:0;font-size:inherit;padding:4px 8px}}

/* ---- form confirmation (3 Nov 2026) ----
   The message is a box with its own light background, so it is readable on the dark green blocks too
   (it used to be dark green text on dark green: invisible). */
.form-msg.ok,.form-msg.err{display:block;padding:12px 16px;border-radius:12px;font-size:1rem;font-weight:600;line-height:1.45;margin-top:10px;text-align:left}
.form-msg.ok{background:#e3f0e6;color:#1f3a2c;border:1px solid #b7d4bf}
.form-msg.ok::before{content:"\2713\00a0\00a0";font-weight:700}
.form-msg.err{background:#f8e4df;color:#7a2d1f;border:1px solid #e3b4a9}
section.center .form-msg.ok,section.center .form-msg.err{text-align:center}

/* ---- photos and round pictures (5 Nov 2026) ---- */
/* home card: the 2x2 photo grid is square, so it sits centred in the card's picture area with the same beige on both sides */
.media-panel.grid{background:var(--ivory-2)}
.media-panel.grid img{object-fit:contain}
/* round photos: "Au rythme des saisons" and the mushrooms use exactly the same size and position */
.round-photo{width:min(300px,70vw);aspect-ratio:1/1;margin:0 auto;border-radius:50%;overflow:hidden;justify-self:center}
.round-photo img{width:100%;height:100%;object-fit:cover;border-radius:0;display:block}
