/* Provençal: a little piece of the south of France in Hampshire */
:root {
  --paper: #eadbb4;      /* sun-bleached ochre paper */
  --paper-hi: #f3e8cc;
  --ochre: #d9a441;
  --ochre-lt: #e8b75a;
  --terracotta: #a9472a;
  --olive: #3f4a26;      /* plane-tree shade */
  --olive-deep: #2d361a;
  --sage: #b8c19a;
  --lavender: #cfc4e0;
  --lavender-deep: #5b4e86;
  --shutter: #2c6a8a;    /* painted shutters */
  --shutter-deep: #1f5068;
  --ink: #2a2716;
  --ink-soft: #4a4530;
  --gravel: #c4c3bd;  /* fine grey grit */

  --display: "Limelight", "Didot", Georgia, serif;
  --text: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --gravel-tex: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='d'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .32 0 0 0 0 .31 0 0 0 2.6 -1.35'/%3E%3C/filter%3E%3Cfilter id='l'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 .97 0 0 0 0 .97 0 0 0 0 .95 0 0 0 2.6 -1.4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23d)'/%3E%3Crect width='100%25' height='100%25' filter='url(%23l)'/%3E%3C/svg%3E");
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1200px;
  --ease-lazy: cubic-bezier(.25, .6, .2, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .2 0 0 0 0 .15 0 0 0 0 .05 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.6;
  overflow-x: clip;
}
/* paper grain over everything */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  opacity: .22;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 50;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--shutter-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--shutter); outline-offset: 3px; border-radius: 2px; }
.olive-bg :focus-visible, .hero-band :focus-visible, .mene :focus-visible, .contact :focus-visible, .site-foot :focus-visible, .ferry :focus-visible { outline-color: var(--ochre-lt); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 11vw, 140px); position: relative; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 22px;
  font: 500 1.0625rem/1.1 var(--text);
  text-decoration: none; border-radius: 999px; border: 2px solid transparent;
  transition: transform .5s var(--ease-lazy), background-color .3s, color .3s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-sun { background: var(--ochre); color: var(--ink); border-color: var(--ochre); }
.btn-sun:hover { background: var(--ochre-lt); }
.btn-ghost { color: var(--paper-hi); border-color: currentColor; }
.btn-blue { background: var(--shutter); color: #fff; }
.btn-blue:hover { background: var(--shutter-deep); }
.btn-line { color: var(--shutter-deep); border-color: var(--shutter-deep); }
.btn-line-dark { color: var(--ink); border-color: var(--ink); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: .95rem; background: var(--shutter); color: #fff; }

/* ---------- Section titles: French word, English beside it ---------- */
.title { display: flex; flex-direction: column; gap: .35rem; margin-bottom: clamp(28px, 5vw, 56px); }
.title .fr { font-family: var(--display); font-size: clamp(2.6rem, 9vw, 5.4rem); line-height: .95; color: var(--olive); letter-spacing: .01em; }
.title .en { font-family: var(--text); font-weight: 500; font-size: clamp(1.15rem, 2.4vw, 1.5rem); line-height: 1.3; color: var(--ink-soft); max-width: 34ch; }

.tag {
  display: inline-block; font-style: normal; font-size: .78rem; line-height: 1.2;
  padding: 2px 8px; border-radius: 999px; border: 1px dashed currentColor;
  color: var(--lavender-deep); vertical-align: .12em; white-space: nowrap;
}
.small { font-size: .95rem; color: var(--ink-soft); }
.lede { font-size: clamp(1.2rem, 2.4vw, 1.45rem); line-height: 1.5; max-width: 38ch; }

/* ---------- Top bar ---------- */
.topbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gutter);
  background: var(--paper);
  position: relative; z-index: 5;
}
.back { font-size: .95rem; color: var(--ink); white-space: nowrap; }
.wordmark { margin: 0; font-family: var(--display); font-size: 1.15rem; color: var(--olive); text-align: center; line-height: 1.1; }
@media (max-width: 520px) { .wordmark { display: none; } }

/* ---------- Metal boules and the wooden jack ---------- */
.piece { border-radius: 50%; position: relative; }
.boule {
  background: radial-gradient(circle at 36% 30%, #fbfbf6 0 3%, #dfe2dc 12%, #a7aca8 38%, #6a706c 66%, #33372f 96%);
  box-shadow: inset -4px -6px 12px rgba(20, 18, 8, .35), inset 3px 4px 8px rgba(255, 255, 255, .25), 0 .35em .5em -.15em rgba(45, 35, 10, .55);
  overflow: hidden;
}
.boule::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 33% 27%, rgba(255,255,255,.95) 0 4%, rgba(255,255,255,0) 22%),
              radial-gradient(circle at 70% 78%, rgba(255,240,200,.25) 0 6%, rgba(255,255,255,0) 26%);
  pointer-events: none;
}
.spin, .grooves { position: absolute; inset: 0; width: 100%; height: 100%; }
.grooves path { fill: none; stroke: rgba(30, 30, 26, .5); stroke-width: 2.4; stroke-linecap: round; }
.jack {
  background: radial-gradient(circle at 36% 30%, #f6d49a 0 6%, #d59550 34%, #a45f28 70%, #6a3a16 100%);
  box-shadow: inset -2px -3px 5px rgba(40, 20, 0, .35), 0 .25em .35em -.1em rgba(45, 35, 10, .5);
}

/* ---------- Dappled leaf shadows ---------- */
.leaves {
  position: absolute; inset: -8% -6%; width: 112%; height: 116%;
  pointer-events: none; mix-blend-mode: multiply; opacity: .5;
  animation: sway 16s ease-in-out infinite alternate;
  transform-origin: 30% 0;
}
.leaves-soft { opacity: .32; }
@keyframes sway {
  0% { transform: rotate(0deg) translate3d(0, 0, 0); }
  50% { transform: rotate(.8deg) translate3d(1.2%, .6%, 0); }
  100% { transform: rotate(-.6deg) translate3d(-1%, 1%, 0); }
}
@media (prefers-reduced-motion: reduce) { .leaves { animation: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; }
.hero-picture { position: relative; height: clamp(300px, 46svh, 720px); overflow: hidden; background: #cdb98c; }
.hero-picture > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.hero-picture::after { /* afternoon sun warmth */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 78% 8%, rgba(255, 214, 140, .35), rgba(255, 214, 140, 0) 55%);
}
.hero-strip {
  position: relative; height: clamp(84px, 9vw, 116px); overflow: hidden;
  background-color: var(--gravel);
  background-image: var(--gravel-tex), var(--grain);
  background-size: 180px 180px, 220px 220px;
  border-top: 6px solid #8a6a3e;
  box-shadow: inset 0 10px 14px -8px rgba(60, 40, 10, .45);
}
.hero-strip .leaves { opacity: .35; }
.roller { position: absolute; bottom: 24%; }
.roller .piece { width: var(--d); height: var(--d); }
.hero-strip .boule { --d: clamp(46px, 6vw, 72px); }
.hero-strip .jack { --d: clamp(16px, 2vw, 24px); }
.r1 { left: 6%; }
.r2 { left: calc(6% + clamp(58px, 8vw, 96px)); bottom: 27%; }
.r3 { left: 52%; bottom: 40%; }
.r4 { left: calc(52% + clamp(30px, 4vw, 52px)); bottom: 18%; }

.hero-band { background: var(--olive); color: var(--paper-hi); padding: clamp(28px, 5vw, 56px) 0 clamp(40px, 6vw, 72px); position: relative; }
.hero-band::before { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: .35; mix-blend-mode: soft-light; pointer-events: none; }
.hero-grid { display: grid; gap: 28px; position: relative; }
.hero h1 {
  font-family: var(--display); font-size: clamp(2.7rem, 10.5vw, 6.4rem); line-height: .95; letter-spacing: .005em;
  color: var(--paper-hi); max-width: 12ch; text-wrap: balance;
}
.hero-sub { margin: 18px 0 0; font-size: clamp(1.15rem, 2.2vw, 1.4rem); color: var(--sage); max-width: 36ch; }
.hero-sub strong { color: var(--ochre-lt); font-weight: 500; }
.affil { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; font-size: 1rem; line-height: 1.4; color: var(--paper-hi); max-width: 40ch; }
.affil::before { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--ochre-lt); background: radial-gradient(circle, var(--ochre-lt) 0 22%, transparent 24%); }
.hero-facts { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 0; }
.hero-facts li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(234, 219, 180, .25); font-size: 1.15rem; font-weight: 500; color: var(--paper-hi); }
.hero-facts li span { font-weight: 400; color: var(--sage); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 64px; }
  .hero-picture { height: clamp(340px, 42vh, 560px); }
  .hero-picture > img { object-position: 50% 42%; }
  .hero-strip { height: 100px; }
  .hero-band { padding-top: 40px; }
  .hero h1 { font-size: clamp(3.4rem, 5vw, 4.9rem); max-width: 17ch; }
}

/* ---------- First visit: the "carte" ---------- */
.first { padding-top: clamp(56px, 9vw, 120px); }
.carte { margin: 0; border-top: 2px solid var(--olive); }
.carte-row { display: grid; gap: 4px 32px; padding: 20px 0; border-bottom: 1px solid rgba(63, 74, 38, .35); }
.carte dt { font-family: var(--display); font-size: 1.6rem; line-height: 1.1; color: var(--terracotta); }
.carte dd { margin: 0; max-width: 60ch; }
.carte dd strong { font-weight: 600; }
.aside { display: block; margin-top: 4px; color: var(--ink-soft); }
.steps { margin: 4px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 0 52px; min-height: 36px; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 600; color: #fff;
  background: radial-gradient(circle at 36% 30%, #6f97ad 0 10%, var(--shutter) 45%, var(--shutter-deep) 100%);
}
.steps a { overflow-wrap: anywhere; }
@media (min-width: 760px) {
  .carte-row { grid-template-columns: 200px 1fr; align-items: baseline; padding: 26px 0; }
}

/* ---------- Afternoon ---------- */
.afternoon { background: var(--sage); }
.afternoon .title .fr { color: var(--olive-deep); }
.afternoon-grid { display: grid; gap: 40px; }
.afternoon-photo { margin: 0; position: relative; overflow: hidden; border-radius: 180px 180px 6px 6px; aspect-ratio: 4 / 5; }
.afternoon-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.big-line { font-family: var(--display); font-size: clamp(1.7rem, 4.4vw, 2.6rem); line-height: 1.12; color: var(--olive-deep); max-width: 22ch; margin-bottom: 28px; }
.afternoon-copy p:not(.big-line) { max-width: 52ch; }
.sample { margin: 32px 0 0; padding: 18px 22px; border-left: 4px solid var(--terracotta); background: rgba(243, 232, 204, .6); }
.sample p { font-size: 1.25rem; margin: 0 0 6px; }
.sample footer { font-size: .9rem; color: var(--ink-soft); }
@media (min-width: 900px) {
  .afternoon .title .fr, .ferry .title .fr { font-size: clamp(2.8rem, 4.6vw, 4.2rem); white-space: nowrap; }
  .afternoon-grid { grid-template-columns: 5fr 6fr; align-items: center; gap: 72px; }
}

/* ---------- Une mène: pinned scene ---------- */
.mene { background: var(--olive); color: var(--paper-hi); padding-block: clamp(64px, 10vw, 120px); position: relative; overflow: clip; }
.mene .title .fr { color: var(--paper-hi); }
.mene .title .en { color: var(--sage); }
.mene .title { margin-bottom: 12px; }
.mene-intro { color: var(--sage); }
.mene-inner { display: grid; gap: 24px; }
.court-wrap { position: relative; }
.court {
  position: relative; container-type: inline-size;
  aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden;
  background-color: var(--gravel);
  background-image: var(--gravel-tex), var(--grain);
  background-size: 160px 160px, 220px 220px;
  box-shadow: 0 0 0 8px #8a6a3e, 0 0 0 10px #6c5030, 0 30px 60px -20px rgba(0,0,0,.5);
  margin: 10px;
}
.court .piece { position: absolute; margin-left: calc(var(--d) / -2); margin-top: calc(var(--d) / -2); width: var(--d); height: var(--d); }
.court .boule { --d: 7.5cqi; }
.court .jack { --d: 2.8cqi; }
.court .yours { outline: .5cqi solid var(--shutter); outline-offset: .3cqi; }
.court .theirs { outline: .5cqi solid var(--terracotta); outline-offset: .3cqi; }
.circle-mark { position: absolute; left: 9%; top: 50%; width: 9cqi; height: 9cqi; margin: -4.5cqi 0 0 -4.5cqi; border: .5cqi solid rgba(250, 245, 230, .8); border-radius: 50%; }
.ring { position: absolute; width: 12cqi; height: 12cqi; margin: -6cqi 0 0 -6cqi; border-radius: 50%; border: .5cqi dashed var(--ochre-lt); }
/* final positions (static / reduced motion) */
[data-p="jack"] { left: 76%; top: 46%; }
[data-p="a1"] { left: 71%; top: 52%; }
[data-p="b1"] { left: 93%; top: 82%; }
[data-p="a2"] { left: 82%; top: 37%; }
[data-p="b2"] { left: 60%; top: 66%; }
[data-p="a3"] { left: 50%; top: 26%; }
[data-p="b3"] { left: 63%; top: 30%; }
.ring-a1 { left: 71%; top: 52%; }
.ring-a2 { left: 82%; top: 37%; }
.leaves-court { opacity: .38; }
.legend { margin: 18px 10px 0; font-size: .95rem; color: var(--sage); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.key { width: 14px; height: 14px; border-radius: 50%; display: inline-block; background: #a7aca8; }
.key-yours { box-shadow: 0 0 0 3px var(--shutter); }
.key-theirs { box-shadow: 0 0 0 3px var(--terracotta); margin-left: 12px; }

.lexique { list-style: none; margin: 0; padding: 0; counter-reset: lx; display: grid; gap: 22px; }
.lexique li { counter-increment: lx; padding-top: 16px; border-top: 1px solid rgba(234, 219, 180, .3); }
.lexique .term { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 6px; }
.lexique .term::before { content: counter(lx) " of 5"; flex-basis: 100%; font-size: .9rem; color: var(--sage); }
.lexique dfn { font-family: var(--display); font-style: normal; font-size: clamp(2rem, 6vw, 3rem); line-height: 1; color: var(--ochre-lt); }
.lexique .say { font-size: .95rem; color: var(--sage); font-style: italic; }
.lexique li p:last-child { margin: 0; max-width: 44ch; }
.motion-only { display: none; }

@media (min-width: 900px) {
  .mene-inner { grid-template-columns: 1.35fr 1fr; column-gap: 56px; align-items: center; }
  .mene-head { grid-column: 1 / -1; }
}

/* pinned mode (JS + motion only) */
.is-motion .motion-only { display: inline; }
.is-motion .mene { min-height: 100svh; padding-block: clamp(20px, 4vh, 48px); display: flex; align-items: center; }
.is-motion .mene-inner { gap: 14px; }
.is-motion .mene .title .fr { font-size: clamp(2.2rem, 7vw, 4.4rem); }
.is-motion .mene-intro { margin: 0; }
.is-motion .lexique { position: relative; min-height: 190px; }
.is-motion .lexique li { position: absolute; inset: 0 0 auto 0; }
@media (max-width: 899px) {
  .is-motion .mene .title .en { font-size: 1.05rem; }
  .is-motion .mene-intro { font-size: 1rem; }
  .is-motion .legend { margin-top: 12px; }
}
@media (min-width: 900px) {
  .is-motion .lexique { min-height: 260px; }
  .is-motion .lexique li { inset: 0; display: flex; flex-direction: column; justify-content: center; border-top: 0; }
}

/* ---------- Court & map ---------- */
.court-grid { display: grid; gap: 40px; }
.ticks { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: baseline; }
.ticks li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 36% 30%, #fff 0 6%, #aeb2ae 40%, #4f544f 100%); transform: translateY(1px); }
.map-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.map-frame { position: relative; }
.map-frame iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 6px; display: block; filter: sepia(.25) saturate(.9); box-shadow: 0 0 0 6px var(--paper-hi), 0 0 0 7px rgba(63,74,38,.4); }
.map-note { margin-top: 12px; }
@media (min-width: 900px) { .court-grid { grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; } }

/* ---------- No ferry ---------- */
.ferry { background: var(--shutter-deep); color: var(--paper-hi); }
.ferry .title .fr { color: var(--paper-hi); }
.ferry .title .en { color: var(--lavender); }
.ferry .big-line { color: var(--ochre-lt); }
.ferry p { max-width: 50ch; }
.ferry-grid { display: grid; gap: 40px; }
.poster { margin: 0; padding: 12px; background: var(--paper-hi); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); transform: rotate(-1.5deg); }
@media (min-width: 900px) { .ferry-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; } }

/* ---------- Club life ---------- */
.club { background: var(--lavender); }
.club .title .fr { color: var(--lavender-deep); }
.club-lede { margin-bottom: 44px; max-width: 46ch; }
.path { list-style: none; margin: 0 0 56px; padding: 0; counter-reset: pth; display: grid; gap: 0; }
.path li { counter-increment: pth; position: relative; padding: 0 0 22px 56px; }
.path li::before {
  content: counter(pth); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 600; color: var(--ink);
  background: radial-gradient(circle at 36% 30%, #fbfbf6 0 6%, #d4d7d2 26%, #9a9f9b 62%, #5d625d 100%);
}
.path li::after { content: ""; position: absolute; left: 18px; top: 42px; bottom: 4px; border-left: 2px dotted var(--lavender-deep); }
.path li:last-child::after { display: none; }
.path li:last-child::before { background: radial-gradient(circle at 36% 30%, #f6d49a 0 8%, #d59550 40%, #a8642e 100%); color: var(--ink); }
.path strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.45rem; line-height: 1.15; color: var(--olive-deep); }
.path span { display: block; color: var(--ink); max-width: 34ch; }
@media (min-width: 900px) {
  .path { grid-template-columns: repeat(4, 1fr); column-gap: 28px; }
  .path li { padding: 54px 0 0; }
  .path li::after { left: 46px; right: -24px; top: 18px; bottom: auto; border-left: 0; border-top: 2px dotted var(--lavender-deep); }
}
.club-grid { display: grid; gap: 0; border-top: 2px solid var(--lavender-deep); }
.club-item { padding: 26px 0; border-bottom: 1px solid rgba(91, 78, 134, .35); }
.club-item h3 { font-family: var(--display); font-size: 1.75rem; line-height: 1.1; color: var(--olive-deep); margin-bottom: 8px; }
.club-item p { margin: 0 0 8px; max-width: 48ch; }
.club-item .date strong { color: var(--lavender-deep); }
@media (min-width: 900px) {
  .club-grid { grid-template-columns: repeat(2, 1fr); column-gap: 56px; border-top: 0; }
  .club-item { border-top: 2px solid var(--lavender-deep); border-bottom: 0; }
}

/* ---------- Join ---------- */
.join { background: var(--ochre); overflow: clip; padding-top: clamp(40px, 6vw, 80px); }
.join .title .fr { color: var(--olive-deep); }
.join .title .en { color: var(--ink); }
.join .tag { color: var(--ink); }
.join .small { color: var(--ink); }
.regroup { position: relative; height: clamp(90px, 14vw, 150px); max-width: 520px; margin: 0 auto 24px; container-type: inline-size; }
.regroup .piece { position: absolute; margin-left: calc(var(--d) / -2); margin-top: calc(var(--d) / -2); width: var(--d); height: var(--d); }
.regroup .boule { --d: min(15cqi, 72px); }
.regroup .jack { --d: min(5cqi, 22px); }
[data-g="jack"] { left: 50%; top: 58%; }
[data-g="g1"] { left: 36%; top: 50%; }
[data-g="g2"] { left: 61%; top: 40%; }
[data-g="g3"] { left: 57%; top: 76%; }
.join-grid { display: grid; gap: 36px; }
.form-card { background: var(--paper-hi); border-radius: 8px; padding: clamp(20px, 4vw, 40px); box-shadow: 0 30px 60px -30px rgba(60, 40, 0, .5); position: relative; }
.field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 500; margin-bottom: 6px; padding: 0; }
.opt { font-weight: 400; color: var(--ink-soft); }
input[type="text"], input[type="email"], select, textarea {
  width: 100%; font: 400 1.0625rem/1.4 var(--text); color: var(--ink);
  padding: 12px 14px; min-height: 48px; border: 2px solid #8f866a; border-radius: 6px; background: #fffaf0;
}
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--shutter); outline-offset: 1px; border-color: var(--shutter); }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.field .choice { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin: 0; padding: 8px 18px 8px 14px; border: 2px solid #8f866a; border-radius: 999px; font-weight: 400; cursor: pointer; background: #fffaf0; }
.field .choice:has(input:checked) { border-color: var(--shutter); background: #e3edf2; }
.check { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; min-height: 44px; cursor: pointer; }
input[type="radio"], input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--shutter); margin: 0; }
.form-error { color: #8a2f16; font-weight: 500; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-actions .btn-sun { background: var(--olive); border-color: var(--olive); color: var(--paper-hi); }
.form-actions .btn-sun:hover { background: var(--olive-deep); }
.thanks:focus { outline: none; }
.thanks-fr { font-family: var(--display); font-size: clamp(3rem, 10vw, 4.6rem); line-height: 1; color: var(--olive); margin-bottom: 12px; }
.thanks-en { font-size: 1.25rem; }
.join-note { margin: 48px 0 0; padding-top: 20px; border-top: 1px solid rgba(42, 39, 22, .4); max-width: 60ch; }
.join-note a { color: var(--ink); overflow-wrap: anywhere; }
@media (min-width: 900px) { .join-grid { grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: start; } }

/* ---------- Contact + footer ---------- */
.contact { background: var(--olive); color: var(--paper-hi); }
.contact .title .fr { color: var(--paper-hi); }
.contact .title .en { color: var(--sage); }
.contact a { color: var(--ochre-lt); overflow-wrap: anywhere; }
.contact .tag { color: var(--lavender); }
.contact-list { margin: 0; display: grid; gap: 0; }
.contact-list div { display: grid; gap: 2px 24px; padding: 14px 0; border-bottom: 1px solid rgba(234, 219, 180, .25); }
.contact-list dt { color: var(--sage); }
.contact-list dd { margin: 0; font-size: 1.2rem; }
@media (min-width: 760px) { .contact-list div { grid-template-columns: 140px 1fr; } }
@media (min-width: 900px) { .contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; } }

.site-foot { background: var(--olive-deep); color: var(--paper-hi); padding: 48px 0 110px; }
.foot-grid { display: grid; gap: 12px; }
.foot-mark { font-family: var(--display); font-size: 1.6rem; margin: 0; }
.foot-motto { color: var(--sage); margin: 0 0 12px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { color: var(--paper-hi); display: inline-block; padding: 6px 0; }
.foot-credit { color: var(--sage); margin-top: 16px; }
@media (min-width: 900px) { .site-foot { padding-bottom: 48px; } }

/* ---------- Floating CTA (mobile) ---------- */
.float-cta {
  position: fixed; right: 16px; bottom: 16px; z-index: 40;
  box-shadow: 0 12px 30px -10px rgba(40, 30, 0, .6);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .6s var(--ease-lazy), transform .6s var(--ease-lazy);
}
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 900px) { .float-cta { display: none; } }
