/* Carole Ledroit -- static rebuild by Noko Studio */

@font-face { font-family: "Quicksand"; src: url("fonts/quicksand-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url("fonts/open-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --yellow: #e8ca2b;
  --yellow-soft: #efda6a;
  --brown: #524742;
  --ink: #292321;
  --white: #ffffff;
  /* Text on the yellow bands. The Wix site used white (1.6:1 contrast, fails WCAG).
     Set to var(--white) to restore the original look. */
  --on-yellow: var(--brown);

  --display: "Quicksand", system-ui, sans-serif;
  --body: "Open Sans", system-ui, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 72px);
  --header-h: clamp(96px, 12vw, 172px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; margin: 0; }
address { font-style: normal; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 8px 14px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Header */
.site-header { background: var(--white); position: relative; z-index: 20; }
.header-inner { min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.brand img { width: clamp(118px, 13vw, 176px); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(20px, 2.4vw, 32px); }
.nav a { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; padding: 6px 0; background: linear-gradient(var(--yellow), var(--yellow)) 0 100% / 0 2px no-repeat; transition: background-size .25s ease; }
.nav a:hover, .nav a:focus-visible { background-size: 100% 2px; }

.menu-toggle { display: none; }

@media (max-width: 760px) {
  .menu-toggle { display: grid; gap: 7px; width: 44px; height: 44px; place-content: center; background: none; border: 0; cursor: pointer; position: relative; z-index: 31; padding: 0; }
  .menu-toggle span { display: block; width: 30px; height: 2px; background: var(--yellow); transition: transform .3s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] span { background: var(--brown); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .nav { position: fixed; inset: 0; z-index: 30; background: var(--yellow); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
  .nav.open { opacity: 1; visibility: visible; transition: opacity .3s ease; }
  .nav ul { flex-direction: column; align-items: center; gap: 28px; }
  .nav a { font-size: 26px; color: var(--brown); background-image: linear-gradient(var(--brown), var(--brown)); }
  body.menu-open { overflow: hidden; }
}

/* Hero */
.hero { background: var(--yellow); color: var(--on-yellow); text-align: center; padding-block: clamp(120px, 15vw, 220px); }
.hero h1 { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: .1em; line-height: 1.45; max-width: 16em; margin-inline: auto; text-wrap: balance; }

/* About */
.about { background: var(--brown); color: var(--yellow); padding-block: clamp(64px, 8vw, 120px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); gap: clamp(40px, 8vw, 140px); align-items: start; }
.about h2 { color: var(--white); font-size: clamp(26px, 2.6vw, 34px); letter-spacing: .2em; line-height: 1.35; margin-bottom: 1.2em; }
.about p { margin: 0 0 1.4em; font-size: 16px; line-height: 1.75; max-width: 34em; }
.about p:last-child { margin-bottom: 0; }
.portrait { margin: 0; }
.portrait img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 65% 35%; box-shadow: 0 18px 40px -18px rgba(0,0,0,.45); }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 440px; }
}

/* Illustration band */
.motif { padding-block: clamp(72px, 10vw, 150px); }
.motif img { width: min(100%, 980px); margin-inline: auto; }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Contact */
.contact { background: var(--yellow); color: var(--on-yellow); padding-block: clamp(64px, 7vw, 104px); }
.contact h2 { text-align: center; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: .2em; margin-bottom: clamp(36px, 5vw, 64px); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; text-align: center; font-size: 18px; line-height: 1.7; }
.contact a { text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.contact a:hover, .contact a:focus-visible { border-bottom-color: currentColor; }
.contact .directions { display: inline-block; margin-top: .6em; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .15em; text-transform: uppercase; border-bottom-color: currentColor; }
@media (max-width: 560px) {
  .contact h2 { text-align: left; }
  .contact-grid { grid-template-columns: 1fr; text-align: left; font-size: 17px; }
}

/* Map -- MapLibre + OpenFreeMap (OpenStreetMap data), styled in assets/map-style.json */
.plan { background: var(--brown); }
.map { position: relative; width: 100%; height: clamp(360px, 46vw, 560px); background: var(--brown); }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--yellow); font-family: var(--display); font-weight: 700; letter-spacing: .15em; text-transform: uppercase; font-size: 14px; text-decoration: none; }
.map.is-ready .map-fallback { display: none; }
.map .maplibregl-ctrl-attrib { background: rgba(41, 35, 33, .75); color: #d4cdc9; font-family: var(--body); font-size: 11px; }
.map .maplibregl-ctrl-attrib a { color: #f2eae7; }
.map .maplibregl-ctrl-attrib-button { background-color: #f2eae7; }
.map .maplibregl-ctrl-group { background: var(--ink); border-radius: 2px; box-shadow: none; }
.map .maplibregl-ctrl-group button + button { border-top-color: #3d3532; }
.map .maplibregl-ctrl-group button .maplibregl-ctrl-icon { filter: invert(1) sepia(.3); }
.map .maplibregl-cooperative-gesture-screen { background: rgba(41, 35, 33, .75); color: #f2eae7; font-family: var(--body); }
.pin { display: block; width: 34px; height: 46px; cursor: pointer; filter: drop-shadow(0 4px 6px rgba(0,0,0,.35)); }
.pin svg { display: block; width: 100%; height: 100%; transition: transform .2s ease; transform-origin: 50% 100%; }
.pin:hover svg, .pin:focus-visible svg { transform: scale(1.12); }

/* Footer */
.site-footer { padding-block: clamp(40px, 5vw, 64px); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 24px; font-size: 14px; }
.footer-mark img { width: clamp(56px, 6vw, 80px); }
.copy { margin: 0; text-align: right; }
.credit { margin: 0; grid-column: 1 / -1; justify-self: end; font-size: 12px; color: #6e6e6e; }
.credit a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.credit a:hover { color: var(--ink); }

/* Map attribution: keep the required OSM credit, readable in brand colours */
.map .maplibregl-ctrl-bottom-right .maplibregl-ctrl-attrib,
.map .maplibregl-ctrl-attrib.maplibregl-compact,
.map .maplibregl-ctrl-attrib.maplibregl-compact-show { background-color: rgba(41, 35, 33, .85); color: #d4cdc9; }
.map .maplibregl-ctrl-attrib-inner, .map .maplibregl-ctrl-attrib-inner a { color: #f2eae7; }
.map .maplibregl-ctrl-attrib-button { background-color: #f2eae7; border-radius: 50%; }
