/* frenchrivieralimousine.com — concierge site. Pages are generated by build.py. */
:root {
  --ground: #0b1626;
  --raised: #12233b;
  --ink: #f4f3f0;
  --muted: #b3bdcb;
  --accent: #0a76ba;
  --accent-press: #0965a0;
  --paper: #e8eaed;
  --paper-ink: #0b1626;
  --paper-muted: #4a5568;
  --margin: clamp(16px, 2.2vw, 32px);
  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2rem, 1.3rem + 3.2vw, 4rem);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--step-body); line-height: 1.55; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.03em; line-height: 1.05; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: #fff; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--margin); top: var(--margin); z-index: 10; background: var(--paper); color: var(--paper-ink); padding: 8px 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  background: var(--accent); color: #fff; text-decoration: none; font: inherit; font-weight: 500; font-size: var(--step-small);
  border: 0; border-radius: 0; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { background: var(--accent-press); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-block { width: 100%; min-height: 54px; font-size: var(--step-body); }

/* Hero: photograph over the top 58%, the name on the ground below */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 66svh 1fr; }
.hero-pic { overflow: hidden; position: relative; }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.nav {
  position: absolute; top: 0; right: 0; left: 0; display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap;
  gap: 6px 24px; padding: 20px var(--margin) 40px; font-size: 15px; font-weight: 500;
  background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, 0)); /* scrim behind the nav row only taste-skill-ignore */
}
.nav a { color: #fff; text-decoration: none; transition: opacity .2s; }
.nav a:hover { opacity: .75; }
.langs { display: inline-flex; gap: 12px; }
.nav .langs { margin-left: 12px; }
.langs a[aria-current] { text-decoration: underline; text-underline-offset: 4px; }
.hero-band { display: flex; flex-direction: column; justify-content: space-between; padding: 24px var(--margin) 20px; gap: 28px; }
.hero-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.hero-line { max-width: 44ch; font-size: var(--step-lead); line-height: 1.35; }
.wordmark {
  font-size: clamp(48px, 9.2vw, 190px); font-weight: 400; letter-spacing: -0.05em; line-height: .9; white-space: nowrap;
  transform-origin: 0 100%; will-change: transform;
}

/* Intro: heading as caption to a panorama */
.intro { padding-top: clamp(96px, 14vh, 160px); }
.intro-text { padding: 0 var(--margin); }
.intro h2 { font-size: clamp(40px, 5.6vw, 92px); max-width: 16ch; line-height: .98; }
.captions { display: flex; gap: 48px; margin-top: 28px; }
.captions p { width: 220px; font-size: var(--step-small); color: var(--muted); line-height: 1.5; }
.panorama { margin-top: 48px; overflow: hidden; }
.panorama img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 50%; transform: scale(1.08); }

/* Services: sticky photograph, active list */
.services {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 var(--margin);
  padding: clamp(120px, 16vh, 200px) var(--margin) 0;
}
.svc-stage { grid-column: 1 / 6; position: sticky; top: 12vh; align-self: start; aspect-ratio: 4 / 5; overflow: hidden; background: var(--raised); }
.svc-pic { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease); }
.svc-pic.is-active { opacity: 1; }
.svc-pic img { width: 100%; height: 100%; object-fit: cover; }
.svc-list { grid-column: 7 / 13; }
.svc-list h2 { font-size: var(--step-head); margin-bottom: 40px; }
.svc-list ul { list-style: none; margin: 0; padding: 0; }
.svc { padding: 6px 0; }
.svc-head {
  width: 100%; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; min-height: 64px;
  padding: 12px 0; background: none; border: 0; color: var(--muted); font: inherit; text-align: left; cursor: pointer;
  transition: color .25s var(--ease);
}
.svc-name { font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em; line-height: 1.15; }
.svc-tag { font-size: var(--step-small); white-space: nowrap; }
.svc.is-active .svc-head, .svc-head:hover { color: var(--ink); }
.svc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.svc-body > div { overflow: hidden; display: grid; gap: 12px; }
.svc.is-active .svc-body { grid-template-rows: 1fr; }
.svc-body p { max-width: 46ch; color: var(--ink); }
.svc-link { justify-self: start; color: var(--ink); font-weight: 500; text-underline-offset: 5px; padding: 4px 0 18px; }
.svc-link:hover { color: #7cc4f2; }
.svc-pic-m { display: none; }

/* Your home: rows on an axis with margin photographs */
.home { padding: clamp(140px, 18vh, 220px) var(--margin) 0; background: var(--raised); margin-top: clamp(140px, 18vh, 220px); padding-bottom: clamp(120px, 16vh, 200px); }
.home-head { display: grid; grid-template-columns: 35% 1fr; gap: 0 var(--margin); align-items: end; margin-bottom: clamp(72px, 10vh, 120px); }
.home-head h2 { font-size: clamp(40px, 5vw, 80px); max-width: 12ch; }
.home-pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 60%; }
.row { display: grid; grid-template-columns: 35% 1fr auto; gap: 0 var(--margin); align-items: start; margin-bottom: 104px; }
.row:last-child { margin-bottom: 0; }
.row-text { grid-column: 2; max-width: 40ch; }
.row h3 { font-size: clamp(26px, 2.6vw, 42px); margin-bottom: 14px; }
.row-pic { grid-column: 3; }
.row-pic-1 img { width: 320px; aspect-ratio: 4 / 5; object-fit: cover; }
.row-pic-3 img { width: 380px; aspect-ratio: 3 / 2; object-fit: cover; }

/* How it works: three steps side by side, same picture shape */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px var(--margin); padding: clamp(140px, 18vh, 220px) var(--margin) 0; }
.steps > h2 { grid-column: 1 / -1; font-size: var(--step-head); }
.step img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.step p { max-width: 36ch; margin-top: 20px; }
.step strong { font-weight: 600; }
.step-1 img { object-position: 50% 55%; }
.step-2 img { object-position: 50% 60%; }
.step-3 img { object-position: 50% 70%; }

/* Places: the names set large */
.places { padding: clamp(140px, 18vh, 220px) var(--margin) clamp(120px, 16vh, 200px); }
.places h2 { font-size: var(--step-head); margin-bottom: 48px; }
.places ul { list-style: none; margin: 0; padding: 0; }
.places a {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--margin); align-items: baseline;
  padding: 14px 0; text-decoration: none; transition: color .25s var(--ease);
}
.pl-name { font-size: clamp(40px, 6.4vw, 110px); letter-spacing: -0.045em; line-height: 1; transition: transform .35s var(--ease), color .25s; }
.pl-line { color: var(--muted); max-width: 40ch; }
.places a:hover .pl-name, .places a:focus-visible .pl-name { color: #7cc4f2; transform: translateX(12px); }

/* Request: card on a photograph — the form is the live thing */
.request { display: grid; grid-template-columns: 1fr minmax(0, 560px); align-items: stretch; background: var(--paper); }
.req-pic { position: relative; overflow: hidden; min-height: 100%; }
.req-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.req-card {
  position: relative; width: 100%; background: var(--paper); color: var(--paper-ink);
  padding: 64px clamp(24px, 4vw, 56px) 72px; border-radius: 0;
}
.req-card h2 { font-size: 32px; margin-bottom: 24px; }
.req-card fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.req-card legend { font-weight: 600; font-size: 15px; margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 8px 14px; background: #d9dde3; font-size: 14px; line-height: 1.3;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.chip input:checked + span { background: var(--paper-ink); color: var(--paper); }
.chip:hover span { background: #cbd0d8; }
.chip input:checked:hover + span, .chip:hover input:checked + span { background: var(--paper-ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chip input:active + span { transform: scale(.97); }
.summary { font-size: 20px; letter-spacing: -0.02em; margin: 6px 0 20px; min-height: 1.4em; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--paper-muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--paper-ink); background: #fff; border: 1px solid #c3c9d2; border-radius: 0;
  padding: 12px 12px; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--paper-ink); outline: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; margin: 6px 0 18px; color: var(--paper-muted); }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--paper-ink); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* honeypot taste-skill-ignore */
.form-error { color: #a31d1d; font-size: 15px; margin-bottom: 14px; }
.req-done h3 { font-size: 28px; margin-bottom: 12px; }
.req-done:focus { outline: none; }
.req-fail p { margin-bottom: 16px; }

/* Footer: the contact is the headline, on the brand blue */
.foot { background: var(--accent); color: #fff; min-height: 90svh; display: flex; flex-direction: column; padding: 40px var(--margin) 28px; }
.foot-top { display: flex; justify-content: space-between; gap: 32px; font-size: 15px; }
.foot-top p { max-width: 52ch; }
.foot-contact { margin-top: auto; padding: 64px 0 40px; }
.foot-contact p { position: relative; z-index: 1; font-size: var(--step-lead); margin-bottom: 20px; }
.foot-phone { display: block; width: max-content; padding-top: .05em; font-size: clamp(44px, 9.5vw, 180px); letter-spacing: -0.05em; line-height: .95; text-decoration: none; white-space: nowrap; transition: opacity .2s; }
.foot-phone:hover { opacity: .85; }
.foot-meta { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 24px; font-size: 14px; align-items: end; }
.foot-meta .credits { font-size: 13px; opacity: .85; }
.foot-meta p:last-child { text-align: right; }
.credits a { text-decoration: none; }
.credits a:hover { text-decoration: underline; }
.foot a:focus-visible { outline-color: #fff; }

/* Entrances (only once JS marks the page ready; without JS everything is visible) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .wordmark, .panorama img { transform: none !important; }
  .svc-pic, .svc-body, .pl-name { transition: none; }
}

/* Tablet */
@media (max-width: 1100px) {
  .home > h2 { margin-left: 0; }
  .row { grid-template-columns: 1fr auto; }
  .row-text { grid-column: 1; }
  .row-pic { grid-column: 2; }
  .row-pic-1 img { width: 240px; } .row-pic-3 img { width: 280px; }
}

/* Phone: its own composition */
@media (max-width: 800px) {
  .hero { grid-template-rows: 50svh auto; }
  .nav { justify-content: space-between; gap: 6px 14px; font-size: 14px; padding-bottom: 28px; }
  .nav .langs { margin-left: 0; }
  .hero-band { padding-top: 20px; gap: 24px; }
  .hero-row { flex-direction: column; gap: 18px; }
  .hero-line { font-size: 17px; }
  .wordmark { font-size: 15.4vw; white-space: normal; line-height: .88; }
  .wordmark span { display: block; white-space: nowrap; }
  .intro h2 { font-size: 12vw; }
  .captions { flex-direction: column; gap: 4px; }
  .captions p { width: auto; font-size: 15px; }
  .panorama img { aspect-ratio: 4 / 3; }
  .home-head { display: block; }
  .home-pic { margin-top: 32px; }
  .services { display: block; }
  .svc-stage { display: none; }
  .svc-list h2 { margin-bottom: 16px; }
  .svc-name { font-size: 22px; }
  .svc-head { flex-direction: column; gap: 2px; align-items: flex-start; }
  .svc-pic-m { display: block; overflow: hidden; max-height: 0; transition: max-height .45s var(--ease); }
  .svc.is-active .svc-pic-m { max-height: 80vw; margin-bottom: 18px; }
  .svc-pic-m img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
  .home-head h2 { font-size: 10vw; }
  .home-head { margin-bottom: 56px; }
  .row { display: block; margin-bottom: 64px; }
  .row h3 { font-size: 26px; }
  .steps { display: block; }
  .steps > h2 { margin-bottom: 32px; }
  .steps > h2 { font-size: 34px; margin-bottom: 40px; }
  .step { display: block; margin: 0 0 56px; }
  .step p { margin-top: 18px; }
  .places a { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
  .pl-name { font-size: 13vw; }
  .request { display: block; padding: 0; }
  .req-pic { height: 56vw; min-height: 0; }
  .req-card { padding: 32px 16px 48px; }
  .two { grid-template-columns: 1fr; gap: 0; }
  .foot-top { flex-direction: column; gap: 12px; }
  .foot-phone { font-size: 12.4vw; }
  .foot-meta { grid-template-columns: 1fr; gap: 10px; font-size: 13px; }
  .foot-meta p:last-child { text-align: left; }
}
