:root {
  --ink: #172f34;
  --ink-deep: #112125;
  --rose: #813c45;
  --sand: #c18a72;
  --blush: #d6a28d;
  --cream: #f2e8d5;
  --cream-2: #f7f1e6;
  --line: rgba(129, 60, 69, 0.45);
  --serif: "Playfair Display", Georgia, serif;
  --italic: "Cormorant Garamond", Georgia, serif;
  --sans: "Hanken Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --bar: 4.15rem;
  --gutter: 8vw;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  background: var(--cream-2);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.45;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: var(--cream);
  color: var(--ink);
  padding: 0.6rem 0.9rem;
}
.skip:focus { top: 0.8rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--bar);
  padding: 0 1.25rem;
  background: var(--ink);
}

.menu-btn {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 60;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--cream);
  position: absolute;
  left: 12px;
}

.menu-icon { top: 22px; }
.menu-icon::before,
.menu-icon::after { content: ""; left: 0; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }

.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.15rem 0.62rem;
  width: min(1380px, 100%);
}

.nav a {
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.3rem 0.05rem 0.22rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav a[aria-current="true"] {
  color: var(--sand);
  border-bottom-color: var(--blush);
}

.nav a:hover { color: var(--sand); }

main > section {
  min-height: 100dvh;
  width: 100%;
  scroll-snap-align: start;
}

.wrap {
  width: min(1120px, calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.hero {
  --intro: 1.7;
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 100dvh;
  padding: calc(var(--bar) + 1.1rem) 0 0;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(17, 33, 37, 0.62) 0%, rgba(17, 33, 37, 0.18) 46%, rgba(17, 33, 37, 0) 72%);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: calc(52.65px * var(--intro));
  letter-spacing: 0;
  line-height: calc(58px * var(--intro));
  color: #c18a72;
}

.hero h1::after {
  content: "";
  display: block;
  width: calc(107px * var(--intro));
  height: calc(2px * var(--intro));
  margin-top: calc(12px * var(--intro));
  background: #813c45;
}

.role {
  margin-top: calc(19px * var(--intro));
  font-family: var(--sans);
  font-size: calc(19.5px * var(--intro));
  font-weight: 400;
  letter-spacing: 0.433em;
  line-height: calc(27px * var(--intro));
  text-transform: uppercase;
  color: #f2e8d5;
}

.disciplines {
  margin-top: 0;
  font-family: var(--sans);
  font-size: calc(17.05px * var(--intro));
  font-weight: 400;
  letter-spacing: 0;
  line-height: calc(24px * var(--intro));
  text-transform: uppercase;
  color: #f2e8d5;
}

.tagline {
  margin-top: calc(53px * var(--intro));
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: calc(22.74px * var(--intro));
  line-height: calc(32px * var(--intro));
  letter-spacing: 0;
  color: #f2e8d5;
}

.tagline::after {
  content: "";
  display: block;
  width: calc(42px * var(--intro));
  height: calc(2px * var(--intro));
  margin-top: calc(8px * var(--intro));
  background: #813c45;
}

.hero-lead {
  max-width: calc(190px * var(--intro));
  margin-top: calc(27px * var(--intro));
  color: #f2e8d5;
  font-family: var(--sans);
  font-size: calc(12.2px * var(--intro));
  font-weight: 400;
  line-height: calc(17px * var(--intro));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.3rem;
  padding: 0.55rem 1.15rem;
  border-radius: 14px;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.15;
  transition: background 0.25s ease, filter 0.25s ease;
}

.btn svg { width: 1.35rem; height: 1.35rem; flex: none; }

.btn-fill {
  background: var(--rose);
  color: var(--cream);
}

.btn-ghost {
  border: 1.5px solid rgba(242, 232, 213, 0.85);
  color: var(--cream);
  background: transparent;
}

.btn-fill:hover { filter: brightness(1.08); }

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  filter: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
  padding: 0 var(--gutter) 20px;
}

.hero-intro {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: hero-fade-out 1.2s ease 5s forwards;
}

@keyframes hero-fade-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

.band-dark { background: var(--ink); color: var(--cream); }
.band-cream { background: var(--cream); color: var(--ink); }

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
}

.display::after,
.ruled::after {
  content: "";
  display: block;
  width: 3.4rem;
  height: 2px;
  margin: 0.45rem 0 1.2rem;
  background: var(--blush);
}

.screen {
  width: 100%;
  min-height: 100dvh;
}

.halves {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  min-height: 100dvh;
}

.visual {
  position: relative;
  margin: 0;
  min-height: 46vh;
  overflow: hidden;
}

.visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.france-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: clamp(1.4rem, 6vh, 3.2rem) clamp(0.6rem, 2vw, 1.6rem);
  box-sizing: border-box;
}

.france-land {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.4;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.city { outline: none; cursor: pointer; }

.city-hit { fill: transparent; }

.city-dot {
  fill: var(--rose);
  pointer-events: none;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.16s ease;
}

.city-label {
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 700;
  fill: var(--ink);
  stroke: var(--cream);
  stroke-width: 6px;
  paint-order: stroke fill;
  opacity: 0;
  pointer-events: none;
}

.city:hover .city-label,
.city:focus-visible .city-label,
.city.is-on .city-label { opacity: 1; }

.city:hover .city-dot,
.city:focus-visible .city-dot,
.city.is-on .city-dot { transform: scale(1.5); }

.copy {
  display: flex;
  flex-direction: column;
  justify-content: safe center;
  min-width: 0;
  padding: calc(var(--bar) + 1.5rem) var(--gutter) 1.8rem;
}

.place-lists h2 {
  color: var(--rose);
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: left;
}

.place-lists ul {
  width: max-content;
  margin: 0.7rem 0 2rem;
}

.place-lists li {
  position: relative;
  padding: 0.18rem 0 0.18rem 1.1rem;
  color: var(--sand);
  font-size: 1.02rem;
}

.place-lists li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blush);
}

.blocks li {
  padding: 0.85rem 0 1rem;
  border-bottom: 1px solid var(--line);
}

.blocks h3,
.credits h3 {
  font-family: var(--sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.blocks p,
.credits p {
  margin-top: 0.2rem;
  color: rgba(242, 232, 213, 0.78);
  font-size: 1.02rem;
}

.band-cream .credits p { color: #5c534c; }

.ruled {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: 0.04em;
  text-align: left;
}

.credits li {
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
}

.band-cream .credits h3 { color: var(--ink); }

.label {
  margin: 1.15rem 0 0.45rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
  color: var(--sand);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

#infos .label:first-of-type { border-top: 0; padding-top: 0; }

#infos .copy li {
  position: relative;
  padding: 0.16rem 0 0.16rem 1rem;
  font-size: 1.02rem;
}

#infos .copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sand);
}

.news-item {
  margin: 0 0 0.9rem;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.portfolio {
  display: flex;
  flex-direction: column;
  height: 100dvh;
  overflow: hidden;
  padding: calc(var(--bar) + 1.3rem) var(--gutter) 1.6rem;
}

.portfolio h2 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.portfolio h2::after {
  content: "";
  display: block;
  width: 4.2rem;
  height: 3px;
  margin-top: 0.35rem;
  background: var(--rose);
}

.folio-sub {
  margin: 0.7rem 0 1.3rem;
  color: var(--rose);
  font-size: 1.05rem;
}

.folio {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.7rem;
  flex: 1;
  min-height: 0;
}

.folio-col {
  display: grid;
  gap: 0.7rem;
  min-width: 0;
  min-height: 0;
}

.folio-one { grid-template-rows: 1fr; }
.folio-two { grid-template-rows: 1fr 1fr; }
.folio-three {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.folio-three img:first-child { grid-column: 1 / -1; }

.folio img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--bar) + 1.5rem) 0 0;
  background: var(--cream-2);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  margin-top: auto;
  flex-shrink: 0;
  min-height: var(--bar);
  padding: 0.85rem var(--gutter);
  background: var(--ink);
  color: var(--cream);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.contact h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: center;
}

.contact h2::after {
  content: "";
  display: block;
  width: 3.4rem;
  height: 2px;
  margin: 0.45rem auto 0;
  background: var(--blush);
}

.contact-split {
  width: 100%;
  margin-top: 1.6rem;
}

.contact-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.1rem;
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.4rem;
  padding: 1.35rem 1.25rem 1.2rem;
  border: 1px solid var(--blush);
  border-radius: 22px;
  background: #fbf6ee;
  box-shadow: 0 14px 28px rgba(23, 47, 52, 0.08);
}

.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
  min-width: 0;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.contact-form abbr {
  color: var(--rose);
  text-decoration: none;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(129, 60, 69, 0.35);
  border-radius: 12px;
  background: #fbf6ee;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  padding: 0.62rem 0.8rem;
}

.contact-form textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.contact-form label.is-invalid input,
.contact-form label.is-invalid textarea {
  border-color: var(--rose);
}

.form-error {
  margin: 0;
  color: var(--rose);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0;
}

.contact-form button {
  align-self: flex-start;
  margin-top: 0.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.72rem 1.6rem;
  cursor: pointer;
}

.contact-form button:hover { background: var(--rose); }

.contact-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 11.5rem;
  padding: 1.4rem 1rem;
  border: 1px solid transparent;
  border-radius: 22px;
  background: transparent;
  color: var(--rose);
  text-align: center;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-tile svg { width: 3.1rem; height: 3.1rem; }

.contact-tile span {
  font-size: 1.05rem;
  font-weight: 700;
}

.contact-tile strong {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-tile:hover,
.contact-tile:focus-visible {
  background: #fbf6ee;
  border-color: var(--blush);
  box-shadow: 0 14px 28px rgba(23, 47, 52, 0.08);
  transform: translateY(-6px);
}

.contact-inner { width: min(1120px, calc(100% - (var(--gutter) * 2))); }

body.menu-open { overflow: hidden; }

@media (min-width: 1121px) {
  .contact {
    height: 100dvh;
    overflow: hidden;
  }

  .contact-inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: calc(100% - (var(--gutter) * 2));
  }

  .contact-split {
    display: grid;
    grid-template-columns: minmax(16rem, 22rem) minmax(0, 1fr);
    gap: 2rem;
    align-items: stretch;
    flex: 1;
    min-height: 0;
    margin-top: 1.1rem;
    margin-bottom: 1.15rem;
  }

  .contact-row {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 0.75rem;
    min-height: 0;
  }

  .contact-tile {
    min-height: 0;
    padding: 0.7rem 0.85rem;
  }

  .contact-tile svg { width: 2.3rem; height: 2.3rem; }

  .contact-form {
    min-height: 0;
    margin-top: 0;
  }

  .field-message {
    flex: 1;
    min-height: 0;
  }

  .contact-form textarea {
    flex: 1;
    min-height: 0;
    resize: none;
  }

  .screen {
    height: 100dvh;
    overflow: hidden;
  }

  .halves {
    grid-template-columns: 1fr 1fr;
    height: 100dvh;
    min-height: 0;
  }

  .visual {
    height: 100%;
    min-height: 0;
  }

  .visual-end .visual { order: 2; }

  .copy {
    height: 100%;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--blush) transparent;
  }
}

@media (max-width: 1120px) {
  .contact-form { display: none; }

  .topbar {
    justify-content: flex-end;
    padding-right: 0.7rem;
    padding-top: env(safe-area-inset-top);
    height: calc(var(--bar) + env(safe-area-inset-top));
  }

  .menu-btn { display: block; }

  .nav { display: none; }

  .nav.is-open {
    display: flex;
    position: fixed;
    z-index: 40;
    inset: 0;
    width: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0.2rem;
    padding: 5rem 2.2rem;
    background: var(--ink-deep);
  }

  .nav.is-open a {
    font-family: var(--serif);
    font-size: clamp(1.85rem, 5vw, 2.7rem);
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    border-bottom: 0;
    padding: 0.15rem 0;
  }
}

@media (max-width: 720px) {
  .contact-row,
  .folio,
  .folio-col {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 100dvh;
    padding: calc(var(--bar) + 1rem) 0 0;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(17, 33, 37, 0.55) 0%, rgba(17, 33, 37, 0.2) 100%);
  }

  #geographie .visual {
    min-height: calc(46vh * 1.4);
  }

  #geographie .france-map {
    padding: clamp(0.7rem, 3vh, 1.6rem) clamp(0.2rem, 1vw, 0.7rem);
  }

  .portfolio {
    height: auto;
    overflow: visible;
  }

  .folio { flex: none; }

  .folio-one,
  .folio-two,
  .folio-three { grid-template-rows: none; }

  .folio-three img:first-child { grid-column: auto; }

  .folio img { height: 240px; }

  .contact-tile { min-height: 0; }

  .form-pair { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none; }
  .hero-intro { animation: none; }
  .btn,
  .city-dot,
  .contact-tile { transition: none; }
  .contact-tile:hover,
  .contact-tile:focus-visible { transform: none; }
}
