:root {
  color-scheme: light;
  --ink: #022937;
  --muted: #596b70;
  --paper: #f3e1c7;
  --white: #fff;
  --blue: #022937;
  --pink: #ed5a57;
  --orange: #f28a18;
  --cyan: #293e48;
  --green: #607b63;
  --green-soft: #c9d0b6;
  --sage: #909574;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  position: relative;
  margin: 0;
  padding: 0 clamp(18px, 4vw, 56px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 3% 8%, rgba(237, 90, 87, .17), transparent 27rem),
    radial-gradient(circle at 97% 36%, rgba(2, 41, 55, .12), transparent 32rem),
    var(--paper);
}

body::before,
body::after {
  content: "";
  width: 50%;
  height: 100vh;
  height: 100svh;
  position: fixed;
  z-index: 0;
  top: 0;
  pointer-events: none;
  background-image: url("assets/season-doodles-v2.png?v=2");
  background-repeat: no-repeat;
  background-size: max(100vw, 1500px) auto;
  opacity: .55;
}

body::before {
  left: 0;
  background-position: left center;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 66%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 66%, transparent 100%);
  animation: winter-drift 12s ease-in-out infinite;
}

body::after {
  right: 0;
  background-position: right center;
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 66%, transparent 100%);
  mask-image: linear-gradient(to left, #000 0%, #000 66%, transparent 100%);
  animation: summer-drift 9s ease-in-out infinite;
}

@keyframes winter-drift {
  0%, 100% { transform: translateY(-4px); }
  50% { transform: translateY(8px); }
}

@keyframes summer-drift {
  0%, 100% { transform: translateY(3px); }
  50% { transform: translateY(-5px); }
}

a { color: inherit; }

.topbar,
main,
footer {
  width: min(1180px, 100%);
  position: relative;
  z-index: 1;
  margin-inline: auto;
}

.topbar,
footer { z-index: 3; }

main { z-index: 1; }

.brand,
.contact {
  position: relative;
  z-index: 1;
}

body.menu-open { overflow: hidden; }

main::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(243, 225, 199, .08) 0%,
    rgba(243, 225, 199, .3) 14%,
    rgba(243, 225, 199, .48) 30%,
    rgba(243, 225, 199, .48) 70%,
    rgba(243, 225, 199, .3) 86%,
    rgba(243, 225, 199, .08) 100%
  );
  -webkit-backdrop-filter: blur(1.5px);
  backdrop-filter: blur(1.5px);
}

.topbar::before,
footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 9px -14px;
  pointer-events: none;
  border-radius: 20px;
  background: rgba(243, 225, 199, .8);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.topbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-left {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 22px);
}

.menu-toggle {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  color: var(--ink);
  font: inherit;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .04em;
  border: 1px solid rgba(2, 41, 55, .16);
  border-radius: 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, .5);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(2, 41, 55, .34);
  background: rgba(255, 255, 255, .78);
}

.menu-toggle:focus-visible,
.menu-close:focus-visible,
.drawer-nav a:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.menu-icon {
  width: 20px;
  display: grid;
  gap: 4px;
}

.menu-icon span {
  width: 100%;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: currentColor;
}

.menu-backdrop {
  position: fixed;
  z-index: 199;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  background: rgba(2, 25, 34, .46);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  transition: opacity .4s ease, visibility .4s;
}

.site-drawer {
  width: min(350px, calc(100vw - 26px));
  position: fixed;
  z-index: 200;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 25px 24px 28px;
  overflow-y: auto;
  visibility: hidden;
  border-right: 1px solid rgba(2, 41, 55, .12);
  background:
    radial-gradient(circle at 8% 86%, rgba(237, 90, 87, .13), transparent 15rem),
    #fffefb;
  box-shadow: 24px 0 70px rgba(2, 41, 55, .18);
  transform: translateX(-105%);
  transition:
    transform .5s cubic-bezier(.4, 0, .2, 1),
    visibility .5s;
}

.menu-open .menu-backdrop {
  opacity: 1;
  visibility: visible;
}

.menu-open .site-drawer {
  visibility: visible;
  transform: translateX(0);
}

.drawer-head {
  min-height: 65px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.drawer-head > a {
  display: inline-flex;
  align-items: center;
}

.drawer-head img {
  width: 124px;
  height: auto;
  display: block;
}

.menu-close {
  width: 42px;
  height: 42px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  padding: 0 0 3px;
  color: var(--ink);
  font: inherit;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  border: 1px solid rgba(2, 41, 55, .14);
  border-radius: 50%;
  cursor: pointer;
  background: var(--paper);
  transition: transform .2s ease, background .2s ease;
}

.menu-close:hover {
  transform: rotate(5deg);
  background: #f7d8b1;
}

.drawer-kicker {
  margin: 28px 0 13px;
  color: #65757b;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(2, 41, 55, .11);
}

.drawer-nav a {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 4px;
  color: var(--ink);
  font-size: .96rem;
  font-weight: 780;
  line-height: 1.25;
  text-decoration: none;
  border-bottom: 1px solid rgba(2, 41, 55, .11);
  transition: color .2s ease, padding .2s ease, background .2s ease;
}

.drawer-nav a:hover,
.drawer-nav a[aria-current="page"] {
  padding-inline: 11px;
  color: #b9363c;
  background: rgba(237, 90, 87, .08);
}

.drawer-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--pink); }

.drawer-nav b {
  flex: 0 0 auto;
  font-size: 1.05rem;
  transition: transform .2s ease;
}

.drawer-nav a:hover b { transform: translateX(4px); }

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: clamp(100px, 10vw, 126px);
  height: auto;
  display: block;
}

.contact {
  padding-bottom: 3px;
  color: #4b5870;
  font-size: .85rem;
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hero {
  max-width: 900px;
  position: relative;
  isolation: isolate;
  padding: clamp(50px, 7vw, 90px) 0 clamp(58px, 8vw, 96px);
}

.hero::before,
.legal-intro::before,
.contact-intro::before,
.section-heading::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 24px;
  background: linear-gradient(90deg, rgba(243, 225, 199, .96), rgba(243, 225, 199, .82) 72%, rgba(243, 225, 199, .18));
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.hero::before { inset: 24px -34px; }

.eyebrow,
.change-label,
.profile-tag {
  margin: 0;
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.eyebrow { color: var(--blue); }

h1 {
  max-width: 880px;
  margin: 16px 0 0;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: .94;
  letter-spacing: -.06em;
}

.intro {
  max-width: 650px;
  margin: 31px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.65;
}

.section-heading {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}

.section-heading::before { inset: -15px -20px; }

.section-heading p {
  margin: 0 0 8px;
  color: var(--pink);
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.35rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.profiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.profile {
  min-height: 540px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(20px, 3vw, 30px);
  overflow: hidden;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid rgba(2, 41, 55, .12);
  border-radius: 28px;
  box-shadow: 0 16px 50px rgba(23, 35, 61, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}

.profile::after {
  content: "";
  position: absolute;
  right: -48px;
  bottom: -62px;
  width: 190px;
  height: 190px;
  border: 24px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
}

.profile:hover,
.profile:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 24px 65px rgba(23, 35, 61, .13);
}

.profile:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

.profile-gms { color: white; background: rgba(237, 90, 87, .86); }
.profile-rp { color: white; background: rgba(2, 41, 55, .86); }
.profile-total { background: rgba(242, 138, 24, .86); }
.profile-vibe { background: rgba(144, 149, 116, .86); }
.profile-detail {
  color: white;
  background: rgba(41, 62, 72, .86);
}
.profile-change { background: rgba(201, 208, 182, .88); }
.profile-detail .profile-tag { color: rgba(255, 255, 255, .72); }
.profile-detail .profile-copy { color: rgba(255, 255, 255, .78); }

.profile-photo {
  width: 100%;
  height: 210px;
  display: block;
  position: relative;
  z-index: 1;
  margin-bottom: 25px;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, .2);
}

.profile-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(2, 41, 55, .2));
}

.profile-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s ease;
}

.profile:hover .profile-photo img { transform: scale(1.045); }
.profile-total .profile-photo img { object-position: center 70%; }

.profile-eco-visual {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .28);
}

.profile-eco-visual::after { background: none; }

.profile-number {
  position: absolute;
  z-index: 2;
  top: 33px;
  right: 39px;
  padding: 6px 9px;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 850;
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
}

.profile-tag { position: relative; z-index: 1; color: rgba(2, 41, 55, .64); }
.profile-gms .profile-tag,
.profile-rp .profile-tag { color: rgba(255, 255, 255, .72); }

.profile strong {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  max-width: 490px;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: .97;
  letter-spacing: -.055em;
}

.profile-copy {
  max-width: 410px;
  margin-top: 18px;
  color: rgba(2, 41, 55, .72);
  font-size: .95rem;
  line-height: 1.55;
}

.profile-gms .profile-copy,
.profile-rp .profile-copy { color: rgba(255, 255, 255, .78); }

.profile-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 32px;
  font-size: .87rem;
  font-weight: 800;
}

.profile-action,
.profile strong,
.profile-copy { position: relative; z-index: 1; }

.profile-action b { font-size: 1.2rem; transition: transform .2s ease; }
.profile:hover .profile-action b { transform: translateX(5px); }

.simple-section {
  position: relative;
  margin-top: clamp(82px, 11vw, 132px);
  padding: clamp(30px, 5vw, 58px);
  overflow: hidden;
  color: white;
  border-radius: 32px;
  background:
    radial-gradient(circle at 93% 2%, rgba(237, 90, 87, .3), transparent 25rem),
    radial-gradient(circle at 8% 100%, rgba(242, 138, 24, .16), transparent 22rem),
    var(--blue);
  box-shadow: 0 24px 70px rgba(2, 41, 55, .18);
}

.simple-section::after {
  content: "";
  width: 230px;
  height: 230px;
  position: absolute;
  right: -92px;
  top: -100px;
  border: 34px solid rgba(255, 255, 255, .07);
  border-radius: 50%;
  pointer-events: none;
}

.simple-heading,
.simple-highlights,
.simple-copy {
  position: relative;
  z-index: 1;
}

.simple-heading {
  max-width: 700px;
}

.simple-heading p {
  margin: 0;
  color: #ff8f8b;
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.simple-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(2.2rem, 4.8vw, 3.75rem);
  line-height: .98;
  letter-spacing: -.055em;
}

.simple-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(34px, 5vw, 50px);
}

.simple-highlights article {
  min-height: 245px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 17px;
  background: rgba(255, 255, 255, .075);
}

.simple-highlights article:first-child {
  background: rgba(237, 90, 87, .19);
}

.simple-icon {
  width: clamp(114px, 10vw, 138px);
  height: auto;
  display: block;
  margin: 4px auto 0;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}

.simple-highlights span {
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(255, 255, 255, .48);
  font-size: .71rem;
  font-weight: 900;
  letter-spacing: .11em;
}

.simple-highlights strong {
  max-width: 210px;
  margin: auto auto 0;
  padding-top: 24px;
  font-size: .94rem;
  text-align: center;
  line-height: 1.35;
}

.simple-copy {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  align-items: start;
  gap: clamp(24px, 4vw, 46px);
  margin-top: clamp(36px, 6vw, 58px);
  padding-top: clamp(30px, 5vw, 45px);
  border-top: 1px solid rgba(255, 255, 255, .17);
}

.simple-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: .92rem;
  line-height: 1.68;
}

.simple-copy .simple-lead {
  color: white;
  font-size: clamp(1.04rem, 2vw, 1.18rem);
  font-weight: 720;
  line-height: 1.55;
}

.team-section {
  position: relative;
  margin-top: clamp(24px, 4vw, 42px);
  padding: clamp(30px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(2, 41, 55, .11);
  border-radius: 32px;
  background:
    radial-gradient(circle at 96% 3%, rgba(237, 90, 87, .16), transparent 24rem),
    rgba(255, 254, 251, .86);
  box-shadow: 0 22px 65px rgba(2, 41, 55, .09);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
}

.team-section::after {
  content: "";
  width: 230px;
  height: 230px;
  position: absolute;
  right: -95px;
  top: -105px;
  border: 32px solid rgba(237, 90, 87, .08);
  border-radius: 50%;
  pointer-events: none;
}

.team-heading,
.team-grid,
.team-section blockquote {
  position: relative;
  z-index: 1;
}

.team-heading {
  max-width: 700px;
}

.team-heading > p {
  margin: 0;
  color: var(--pink);
  font-size: .73rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.team-heading h2 {
  margin: 12px 0 0;
  font-size: clamp(2.2rem, 5vw, 4.35rem);
  line-height: .96;
  letter-spacing: -.06em;
}

.team-heading > span {
  max-width: 620px;
  display: block;
  margin-top: 20px;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.62;
}

.team-poles {
  margin-top: clamp(38px, 6vw, 58px);
}

.team-pole + .team-pole {
  margin-top: clamp(42px, 6vw, 66px);
  padding-top: clamp(34px, 5vw, 48px);
  border-top: 1px solid rgba(2, 41, 55, .11);
}

.team-pole-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.team-pole-heading span {
  min-width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  color: white;
  font-size: .72rem;
  font-weight: 850;
  border-radius: 50%;
  background: var(--ink);
}

.team-pole-heading h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.team-pole--commercial .team-pole-heading span { background: var(--pink); }
.team-pole--logistique .team-pole-heading span { background: #159b95; }
.team-pole--direction .team-pole-heading span { background: #f28a18; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.team-pole--commercial .team-grid {
  max-width: 820px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.team-pole--logistique .team-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.team-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(2, 41, 55, .11);
  border-radius: 20px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 30px rgba(2, 41, 55, .06);
  transition: transform .22s ease, box-shadow .22s ease;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(2, 41, 55, .11);
}

.team-avatar {
  width: 100%;
  aspect-ratio: 1.05;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(243, 225, 199, .62), rgba(255, 255, 255, .92));
}

.team-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.team-card-content {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 19px 18px 21px;
}

.team-card h3 {
  margin: 0;
  font-size: 1.32rem;
  line-height: 1;
  letter-spacing: -.035em;
}

.team-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 720;
  line-height: 1.45;
}

.team-card a {
  margin-top: auto;
  padding-top: 17px;
  color: #405860;
  font-size: .76rem;
  font-weight: 800;
  text-underline-offset: 3px;
}

.team-card a:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
}

.team-section blockquote {
  max-width: 780px;
  margin: clamp(36px, 6vw, 58px) 0 0;
  padding: 22px 0 2px clamp(20px, 4vw, 42px);
  color: #425960;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 720;
  font-style: normal;
  line-height: 1.5;
  border-left: 4px solid var(--pink);
}

.change-section {
  min-height: 370px;
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  margin-top: 18px;
  padding: clamp(32px, 6vw, 72px);
  overflow: hidden;
  color: var(--ink);
  border-radius: 30px;
  background: var(--green-soft);
}

.change-symbol {
  width: 150px;
  height: 150px;
  position: relative;
  display: grid;
  place-items: center;
  border: 2px solid rgba(52, 123, 88, .24);
  border-radius: 50%;
}

.change-symbol span {
  position: absolute;
  width: 38px;
  height: 82px;
  border-radius: 100% 0 100% 0;
  background: var(--green);
  transform-origin: 50% 100%;
}

.change-symbol span:nth-child(1) { transform: translateY(-19px) rotate(-35deg); }
.change-symbol span:nth-child(2) { transform: translateY(-19px) rotate(35deg); }
.change-symbol span:nth-child(3) { height: 65px; transform: translateY(13px) rotate(90deg); opacity: .72; }

.change-label { color: var(--green); }

.change-content h2 {
  margin: 12px 0 0;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: .94;
  letter-spacing: -.06em;
}

.change-content > p:last-child {
  max-width: 560px;
  margin: 21px 0 0;
  color: #496352;
  line-height: 1.6;
}

.change-link {
  min-width: 188px;
  display: inline-flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  color: white;
  font-size: .84rem;
  font-weight: 800;
  text-decoration: none;
  border-radius: 12px;
  background: var(--blue);
  transition: transform .2s ease, background .2s ease;
}

.change-link:hover { transform: translateY(-3px); background: #174455; }
.change-link:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

footer {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #737d8e;
  font-size: .8rem;
}

footer a { text-underline-offset: 3px; }

.footer-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 13px 22px;
}

.footer-withdrawal {
  padding: 7px 10px;
  font-weight: 750;
  text-decoration: none;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.legal-main {
  max-width: 900px;
  padding: clamp(48px, 7vw, 88px) 0 clamp(70px, 9vw, 120px);
}

.legal-intro h1 {
  max-width: none;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
}

.legal-intro,
.contact-intro {
  position: relative;
  isolation: isolate;
}

.legal-intro::before,
.contact-intro::before { inset: -24px -30px; }

.legal-intro p:last-child {
  max-width: 620px;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.legal-card {
  margin-top: clamp(38px, 6vw, 66px);
  padding: clamp(26px, 5vw, 58px);
  border: 1px solid rgba(2, 41, 55, .12);
  border-radius: 28px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 18px 55px rgba(2, 41, 55, .08);
  backdrop-filter: blur(8px);
}

.legal-card section + section {
  margin-top: 42px;
  padding-top: 36px;
  border-top: 1px solid rgba(2, 41, 55, .12);
}

.legal-card h2 {
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.legal-card h3 {
  margin: 28px 0 8px;
  font-size: 1rem;
}

.legal-card p,
.legal-card address {
  margin: 8px 0 0;
  color: #435a62;
  font-size: .97rem;
  font-style: normal;
  line-height: 1.7;
}

.legal-card a { text-underline-offset: 3px; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  padding: 9px 12px;
  font-size: .88rem;
  font-weight: 800;
  text-underline-offset: 4px;
  border-radius: 10px;
  background: rgba(243, 225, 199, .88);
}

.contact-main {
  padding: clamp(48px, 7vw, 88px) 0 clamp(70px, 9vw, 120px);
}

.contact-intro {
  max-width: 760px;
}

.contact-intro h1 {
  max-width: none;
  font-size: clamp(2.7rem, 5.3vw, 4.8rem);
}

.contact-intro > p:last-child {
  max-width: 630px;
  margin: 22px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .65fr);
  align-items: start;
  gap: 18px;
  margin-top: clamp(38px, 6vw, 66px);
}

.contact-form-card,
.contact-details {
  border-radius: 28px;
  box-shadow: 0 18px 55px rgba(2, 41, 55, .08);
}

.contact-form-card {
  padding: clamp(25px, 4.5vw, 52px);
  border: 1px solid rgba(2, 41, 55, .12);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(8px);
}

.contact-form-card h2,
.contact-details h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: -.04em;
}

.form-note {
  margin: 10px 0 30px;
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.55;
}

.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field-full { grid-column: 1 / -1; }

.form-field label {
  font-size: .82rem;
  font-weight: 800;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  font: inherit;
  border: 1px solid rgba(2, 41, 55, .2);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, .8);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-field textarea {
  min-height: 170px;
  resize: vertical;
  line-height: 1.55;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--pink);
  background: white;
  box-shadow: 0 0 0 4px rgba(237, 90, 87, .13);
}

.consent-field {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.5;
}

.consent-field input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--pink);
}

.consent-field a { text-underline-offset: 3px; }

.submit-button {
  grid-column: 1 / -1;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 4px;
  padding: 15px 20px;
  color: white;
  font: inherit;
  font-size: .9rem;
  font-weight: 850;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  background: var(--pink);
  box-shadow: 0 10px 26px rgba(237, 90, 87, .22);
  transition: transform .2s ease, background .2s ease;
}

.submit-button:hover { transform: translateY(-2px); background: #d94b49; }
.submit-button:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }

.form-status {
  margin: 0 0 26px;
  padding: 14px 16px;
  font-size: .9rem;
  line-height: 1.55;
  border-radius: 12px;
}

.form-status-success { color: #24543d; background: #dce9d9; }
.form-status-error { color: #7d2726; background: #f8d9d6; }

.form-trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.contact-details {
  padding: clamp(25px, 3.5vw, 38px);
  color: white;
  background: var(--blue);
}

.contact-details h2 { color: white; }

.contact-details section {
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, .17);
}

.contact-details h3 {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .68);
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.contact-details p,
.contact-details address {
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: .92rem;
  font-style: normal;
  line-height: 1.65;
}

.contact-details a { color: white; text-underline-offset: 3px; }

.policy-table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: .9rem;
}

.table-scroll { overflow-x: auto; }

.policy-table th,
.policy-table td {
  padding: 13px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(2, 41, 55, .12);
}

.policy-table th { color: var(--ink); }

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.sitemap-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(2, 41, 55, .12);
  border-radius: 14px;
  background: rgba(243, 225, 199, .42);
  transition: transform .2s ease, background .2s ease;
}

.sitemap-link:hover { transform: translateY(-2px); background: rgba(237, 90, 87, .1); }

.field-hint {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}

.withdrawal-warning {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  color: #6d4b19;
  font-size: .87rem;
  line-height: 1.55;
  border-radius: 12px;
  background: #f7e7c8;
}

@media (max-width: 820px) {
  .profiles { grid-template-columns: 1fr; }
  .profile { min-height: 520px; }
  .simple-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .simple-copy { grid-template-columns: 1fr; }
  .team-pole .team-grid {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .change-section { grid-template-columns: 1fr; }
  .change-symbol { width: 110px; height: 110px; }
  .change-link { width: fit-content; }
  .contact-layout { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  body { padding-inline: 14px; }
  body::before,
  body::after {
    background-size: 900px auto;
    opacity: .3;
  }
  main::before { background: rgba(243, 225, 199, .44); }
  .hero::before,
  .legal-intro::before,
  .contact-intro::before,
  .section-heading::before { background: rgba(243, 225, 199, .9); }
  .topbar::before,
  footer::before { background: rgba(243, 225, 199, .9); }
  .topbar { min-height: 72px; }
  .header-left { gap: 10px; }
  .menu-toggle {
    width: 42px;
    padding-inline: 10px;
  }
  .menu-toggle > span:last-child { display: none; }
  .brand img { width: 98px; }
  .site-drawer { padding: 22px 20px 26px; }
  .hero { padding-top: 50px; }
  h1 { font-size: clamp(2.35rem, 11.8vw, 3.7rem); }
  .section-heading { display: block; }
  .profile { border-radius: 22px; }
  .simple-section {
    padding-inline: 18px;
    border-radius: 24px;
  }
  .simple-highlights { grid-template-columns: 1fr; }
  .simple-highlights article {
    min-height: 230px;
  }
  .team-section {
    padding-inline: 18px;
    border-radius: 24px;
  }
  .team-pole .team-grid { grid-template-columns: 1fr; }
  .team-card {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    border-radius: 16px;
  }
  .team-avatar {
    height: 100%;
    aspect-ratio: auto;
  }
  .team-card-content { min-height: 154px; }
  .change-section { border-radius: 22px; }
  .legal-card { border-radius: 22px; }
  .contact-form-card,
  .contact-details { border-radius: 22px; }
  .contact-fields { grid-template-columns: 1fr; }
  .form-field-full,
  .consent-field,
  .submit-button,
  .withdrawal-warning { grid-column: auto; }
  footer { flex-direction: column; justify-content: center; gap: 12px; }
  .footer-links { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  body::before,
  body::after { animation: none !important; }
}
