:root {
  --ink: #252528;
  --sub: #5f5c55;
  --gold: #e6cd78;
  --gold-strong: #b58225;
  --cream: #f6eccc;
  --sand: #eedca2;
  --paper: #fffdfa;
  --off: #fcf8f0;
  --aqua: #1e6e72;
  --aqua-pale: #e2f1ef;
  --border: #e9dfca;
  --shadow: 0 16px 42px rgba(67,50,24,.065);
  --rad: 24px;
  --content: 1210px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.7 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  overflow-x: hidden;
}

body:before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 760px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(closest-side at 90% 15%,#f8eaca 0%,transparent 100%),linear-gradient(180deg,#fffaf0 0%,#fffdfa 100%);
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--aqua);
}

button {
  font: inherit;
}

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

::selection {
  background: #e2ce7a;
  color: #202020;
}

:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  top: -130px;
  left: 1rem;
  background: #fff;
  padding: .8rem 1rem;
  z-index: 1100;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(calc(100% - 88px),var(--content));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,253,248,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(208,190,154,.5);
}

.header-inner {
  min-height: 77px;
  display: flex;
  align-items: center;
  gap: 26px;
  justify-content: space-between;
}

.wordmark {
  font: 500 27px/.95 Georgia,"Times New Roman",serif;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: -.7px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.wordmark:before {
  content: "";
  display: block;
  width: 4px;
  height: 26px;
  border-radius: 3px;
  background: var(--gold-strong);
}

.nav {
  display: flex;
  gap: clamp(14px,2.4vw,36px);
  align-items: center;
}

.nav a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 650;
  color: #45423d;
  white-space: nowrap;
  position: relative;
}

.nav a:after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 100%;
  height: 2px;
  background: var(--gold-strong);
  transition: right .22s;
}

.nav a:hover:after,.nav a.active:after {
  right: 0;
}

.lang {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.lang a {
  padding: 7px 5px;
  text-decoration: none;
  color: #67615a;
}

.lang a[aria-current=page] {
  color: #145c63;
  border-bottom: 2px solid #145c63;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.section {
  padding: clamp(96px,10.5vw,154px) 0;
}

.section--soft {
  background: #fcf8ef;
}

.section--gold {
  background: linear-gradient(180deg,#fff9e9,#f7edce);
}

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.1px;
  font-weight: 820;
  color: #805b1d;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 23px;
}

.section-label:before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--gold-strong);
}

h1,h2,h3,h4,p {
  margin-top: 0;
}

h1,h2,h3 {
  font-family: Georgia,"Times New Roman",serif;
  letter-spacing: -.045em;
  font-weight: 400;
  line-height: 1.13;
}

h1 {
  font-size: clamp(46px,5.3vw,80px);
  margin-bottom: 26px;
  letter-spacing: -.06em;
}

h2 {
  font-size: clamp(40px,4.2vw,64px);
  margin-bottom: 22px;
}

h3 {
  font-size: clamp(29px,3vw,41px);
  margin-bottom: 17px;
}

p {
  margin-bottom: 19px;
}

.muted {
  color: var(--sub);
}

.small {
  font-size: 13px;
  line-height: 1.6;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 750;
  color: #6b5b36;
}

.highlight {
  box-shadow: inset 0 -.22em #eedca2;
}

.highlight-aqua {
  box-shadow: inset 0 -.18em #b8dfdc;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border-radius: 100px;
  padding: 13px 22px;
  background: var(--gold);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  border: 1px solid var(--gold);
  color: #24211a;
  transition: transform .2s,box-shadow .2s,border-color .2s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(155,113,36,.12);
  color: #24211a;
}

.btn-outline {
  background: #fffaf0;
  border-color: #938364;
}

.btn-tertiary {
  background: transparent;
  border-color: var(--border);
  color: var(--aqua);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  border: 1px solid #e8d8ae;
  background: #f8efd2;
  color: #5a4930;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 650;
  padding: 7px 11px;
  border-radius: 25px;
}

.tag-aqua {
  background: #e2f1ee;
  color: #165e60;
  border-color: #b9d8d1;
}

.hero {
  padding: clamp(76px,8vw,126px) 0 120px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  align-items: center;
  gap: 36px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy p.hero-lede {
  font-size: 17px;
  line-height: 1.78;
  max-width: 540px;
  color: #4a473e;
}

.hero-kicker {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 1.8px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: #715b2d;
}

.hero-kicker:before {
  content: "";
  height: 2px;
  width: 27px;
  background: var(--gold-strong);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 29px 0 39px;
}

.hero-signals {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-signals span {
  font-size: 12px;
  font-weight: 690;
  color: #58544b;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-signals svg {
  width: 17px;
  height: 17px;
  stroke: var(--aqua);
  fill: none;
  stroke-width: 1.9;
}

.hero-art {
  position: relative;
  margin-right: calc(min(0px,(1210px - 100vw)/2));
  border-radius: 90px 30px 60px 30px;
  isolation: isolate;
}

.hero-art:before {
  content: "";
  position: absolute;
  inset: 18px 0 0 12px;
  border-radius: 44% 30% 33% 44%;
  background: #f6e4b7;
  filter: blur(30px);
  opacity: .65;
  z-index: -1;
}

.hero-art img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.63/1;
  object-fit: cover;
  object-position: center center;
  mask-image: radial-gradient(ellipse 75% 65% at 51% 49%,#000 60%,transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 51% 49%,#000 60%,transparent 100%);
}

.hero-art figcaption {
  font-size: 11px;
  color: #676059;
  text-align: right;
  padding: 0 24px;
}

.identity-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  background: #fdf9f0;
}

.strip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 56px;
  justify-content: space-between;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 12px;
  font-weight: 720;
  color: #565149;
}

.strip-circle {
  width: 9px;
  height: 9px;
  background: var(--aqua);
  border-radius: 50%;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 60px;
}

.section-header h2 {
  max-width: 750px;
  margin-bottom: 0;
}

.section-header p {
  max-width: 370px;
  color: var(--sub);
  margin-bottom: 4px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
}

.expert-card {
  border: 1px solid var(--border);
  background: #fffefa;
  border-radius: 22px;
  padding: 34px 30px 36px;
  box-shadow: var(--shadow);
  min-height: 380px;
}

.expert-card .icon-wrap {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  background: var(--aqua-pale);
  border-radius: 20px;
  margin-bottom: 29px;
}

.expert-card:nth-child(2) .icon-wrap {
  background: #f8edc8;
}

.expert-card:nth-child(3) .icon-wrap {
  background: #f8e8d8;
}

.expert-card .icon-wrap img {
  width: 55px;
  height: 55px;
}

.expert-card h3 {
  font-size: 28px;
}

.expert-card p {
  color: #5b574f;
  font-size: 14px;
}

.expert-card .tags {
  margin-top: 27px;
}

.expertise-note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--sub);
}

.timeline-section {
  background: linear-gradient(180deg,#fbf4e3 0%,#fffaf0 48%,#fbf5e8 100%);
}

.timeline-intro {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 78px;
}

.timeline-intro .section-label {
  justify-content: center;
}

.timeline-intro h2 {
  margin-bottom: 20px;
}

.timeline-intro p {
  color: var(--sub);
}

.timeline {
  position: relative;
  width: min(100%,1080px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.timeline:before {
  content: "";
  position: absolute;
  top: 32px;
  bottom: 22px;
  width: 2px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg,#c59d42,#c59d42 70%,#dfcc9c);
}

.timeline-row {
  display: grid;
  grid-template-columns: 1fr 54px 1fr;
  align-items: start;
  gap: 0;
  position: relative;
}

.timeline-row.side-r .timeline-card {
  grid-column: 3;
}

.timeline-row.side-l .timeline-card {
  grid-column: 1;
}

.timeline-row .axis {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  justify-items: center;
  align-content: start;
  padding-top: 25px;
  z-index: 1;
}

.axis-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 3px #be912f,0 0 0 6px #fbf4e3;
}

.timeline-date {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .3px;
  background: #edd58d;
  color: #423720;
  padding: 6px 11px;
  border-radius: 22px;
  display: inline-block;
  margin-bottom: 12px;
}

.timeline-card {
  grid-row: 1;
  min-width: 0;
  background: #fffefa;
  border: 1px solid #eadfc9;
  border-radius: 18px;
  padding: 29px 34px 30px;
  box-shadow: 0 10px 24px rgba(101,80,40,.045);
}

.timeline-card h3 {
  font: 700 19px/1.3 system-ui,-apple-system,sans-serif;
  letter-spacing: -.03em;
  margin: 0 0 8px;
}

.timeline-card .place {
  font-size: 12px;
  font-weight: 750;
  color: var(--aqua);
  margin-bottom: 9px;
}

.timeline-card p {
  font-size: 13px;
  color: #605b55;
  margin-bottom: 14px;
  line-height: 1.7;
}

.timeline-card .tag {
  font-size: 10px;
  padding: 5px 9px;
}

.timeline-card.is-international {
  border-color: #b9dcd5;
  box-shadow: 0 6px 0 #e0f0ec, var(--shadow);
}

.timeline-company {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.mini-logo {
  font-size: 11px;
  color: #73521a;
  font-weight: 800;
  letter-spacing: .05em;
}

.mini-logo.blue {
  color: var(--aqua);
}

.intl-feature {
  margin-top: 85px;
  background: #e6f1ed;
  border: 1px solid #bfdcd6;
  border-radius: 28px;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 34px;
  padding: 44px 52px;
}

.intl-feature h3 {
  font-size: clamp(30px,3.8vw,49px);
  max-width: 570px;
}

.intl-feature p {
  color: #4d5e59;
  max-width: 630px;
}

.intl-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.intl-numbers strong {
  display: block;
  font: 400 33px/1.2 Georgia,serif;
  color: #205d61;
}

.intl-numbers span {
  font-size: 12px;
  color: #416367;
}

.intl-details {
  border-left: 1px solid #b2d0c9;
  padding-left: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
}

.intl-details strong {
  color: #145b5f;
}

.works-section {
  padding-bottom: 130px;
}

.works-intro .section-header {
  margin-bottom: 40px;
}

.work-nav {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
}

.work-nav a {
  white-space: nowrap;
  padding: 9px 14px;
  border: 1px solid #e5d7b6;
  border-radius: 28px;
  font-weight: 650;
  font-size: 12px;
  text-decoration: none;
  background: #fff;
}

.work-nav a:hover {
  background: #f7ecd0;
}

.project {
  padding: 75px 0;
  border-bottom: 1px solid #e5e0d6;
  scroll-margin-top: 85px;
}

.project:first-child {
  padding-top: 10px;
}

.project:last-child {
  border-bottom: 0;
}

.project-grid {
  display: grid;
  grid-template-columns: minmax(0,1.07fr) minmax(0,.93fr);
  gap: clamp(40px,7vw,100px);
  align-items: center;
}

.project.is-reversed .project-media {
  order: 2;
}

.project.is-reversed .project-text {
  order: 1;
}

.project-num {
  color: #80591d;
  font-size: 12px;
  font-weight: 830;
  letter-spacing: 2px;
  margin: 0 0 20px;
}

.project-text h3 {
  font-size: clamp(36px,4.1vw,61px);
}

.project-dek {
  color: #474841;
  font-size: 17px;
  line-height: 1.72;
  margin-bottom: 27px;
}

.project-label {
  font-weight: 780;
  font-size: 11px;
  color: #80591d;
  text-transform: uppercase;
  letter-spacing: 1.25px;
  margin-bottom: 10px;
}

.project-what {
  font-size: 14px;
  line-height: 1.85;
  color: #534f48;
  max-width: 550px;
}

.project-signature {
  border-left: 3px solid var(--aqua);
  background: #eef6f3;
  padding: 19px 22px;
  border-radius: 0 14px 14px 0;
  font-size: 13px;
  line-height: 1.7;
  margin: 28px 0 30px;
}

.project-signature strong {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #185e61;
  margin-bottom: 5px;
}

.project-text .tags {
  margin-bottom: 24px;
}

.project-more {
  padding-top: 10px;
}

.project-more details {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 13px 0;
}

.project-more summary {
  cursor: pointer;
  color: var(--aqua);
  font-weight: 750;
  font-size: 13px;
  display: list-item;
  list-style-position: inside;
}

.project-more ul {
  margin: 15px 0 0 0;
  padding-left: 20px;
  font-size: 13px;
  color: #615b50;
  line-height: 1.85;
}

.project-more li+li {
  margin-top: 7px;
}

.project-link {
  font-size: 12px;
  font-weight: 750;
  color: var(--aqua);
  display: inline-flex;
  margin-top: 22px;
  gap: 8px;
  text-decoration-thickness: 1px;
}

.project-media {
  margin: 0;
  min-width: 0;
}

.project-visual {
  min-height: 380px;
  position: relative;
  border-radius: 26px;
  border: 1px solid #e7dcc6;
  overflow: hidden;
  background: linear-gradient(135deg,#faf1dc,#e4eee9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px;
}

.project-visual img {
  width: 100%;
  height: auto;
  max-height: 435px;
  object-fit: contain;
  filter: drop-shadow(0 13px 16px rgba(33,34,32,.12));
}

.project-visual.stock-photo {
  padding: 0;
  background: #e1e4e6;
}

.project-visual.stock-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
  min-height: 420px;
  filter: none;
}

.project-visual.stock-photo:after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 100px;
  background: linear-gradient(transparent,rgba(0,0,0,.13));
}

.project-visual.stock-photo .visual-chip {
  z-index: 2;
}

.visual-chip {
  position: absolute;
  left: 21px;
  top: 21px;
  padding: 8px 12px;
  border-radius: 23px;
  background: #fffefa;
  box-shadow: 0 5px 22px rgba(0,0,0,.09);
  font-size: 10px;
  font-weight: 800;
  color: #524731;
  z-index: 3;
  letter-spacing: .3px;
}

.project-media figcaption {
  font-size: 11px;
  color: #706b60;
  margin-top: 13px;
  padding: 0 4px;
  line-height: 1.6;
}

.project-visual.borderlinx {
  background: linear-gradient(125deg,#d9f1f3,#fff9e7);
  align-items: center;
  flex-direction: column;
  gap: 27px;
}

.project-visual.borderlinx img.main-banner {
  max-width: 560px;
  max-height: 305px;
  border: 6px solid white;
  border-radius: 12px;
  box-shadow: 0 15px 24px rgba(34,80,84,.16);
  filter: none;
}

.project-visual.borderlinx img.tiny-banner {
  width: min(65%,250px);
  height: auto;
  align-self: flex-end;
  background: white;
  padding: 8px;
  border-radius: 10px;
  filter: none;
}

.project-visual.borderlinx img.border-logo {
  width: 185px;
  max-height: 72px;
  align-self: flex-start;
  filter: none;
  object-fit: contain;
}

.project-visual.media-art {
  background: radial-gradient(circle at 75% 75%,#cce2dc,transparent 58%),linear-gradient(130deg,#f3e7ad,#e7f2ef);
  gap: 22px;
}

.project-visual.media-art img {
  width: min(55%,250px);
  filter: drop-shadow(0 15px 15px rgba(0,0,0,.09));
}

.chart-illustration {
  width: 38%;
  border: 1px solid #c5d6d3;
  background: #fffdf9;
  border-radius: 15px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.chart-illustration svg {
  width: 100%;
  height: auto;
}

.project-visual.brand-art {
  background: linear-gradient(135deg,#e7efe6,#fdf2d2);
}

.project-visual.brand-art .logo-panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 50px 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  width: 80%;
  min-height: 250px;
}

.project-visual.brand-art .logo-panel img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  border-radius: 50%;
}

.project-visual.french-art {
  background: linear-gradient(130deg,#e8eee8,#f0e2c7);
  display: flex;
  gap: 28px;
}

.project-visual.french-art img {
  max-width: min(43%,245px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 100%;
  filter: none;
}

.project-visual.colas-art {
  padding: 20px;
  background: #e7edf0;
}

.project-visual.colas-art img {
  height: 470px;
  max-height: none;
  object-fit: contain;
  filter: none;
}

.creative-header {
  padding: 110px 0 18px;
  border-top: 1px solid var(--border);
  margin-top: 52px;
}

.creative-header p {
  max-width: 620px;
  color: var(--sub);
}

.creative-project .project-visual {
  min-height: 310px;
}

.creative-project .project-text h3 {
  font-size: clamp(32px,3.2vw,46px);
}

.carousel-section {
  background: linear-gradient(180deg,#fffaf0,#fdf6e7);
}

.carousel-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 35px;
}

.carousel-head p {
  max-width: 430px;
  color: #605c54;
}

.carousel-head h2 {
  margin-bottom: 0;
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 9px;
}

.circle-btn {
  height: 43px;
  min-width: 43px;
  padding: 0 11px;
  border: 1px solid #baad8b;
  border-radius: 100px;
  background: #fffdfa;
  color: #3e3a34;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-btn:hover {
  background: #f2e3bf;
}

.circle-btn:disabled {
  opacity: .4;
}

.carousel-controls .pause-btn {
  font-size: 12px;
  padding: 0 16px;
  min-width: 90px;
}

.carousel-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-padding-left: 2px;
  outline-offset: 6px;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-track {
  display: flex;
  gap: 22px;
  padding: 8px 4px 27px;
}

.portrait-card {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - 44px)/3);
  min-width: 0;
  min-height: 415px;
  border: 1px solid #e8dac0;
  background: #fffdf9;
  border-radius: 22px;
  padding: 28px 28px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.portrait-card .p-icon {
  height: 155px;
  border-radius: 19px;
  background: linear-gradient(125deg,#fcf1da,#f9f8f0);
  display: grid;
  place-items: center;
  margin-bottom: 27px;
}

.portrait-card .p-icon img {
  width: 112px;
  height: 112px;
  object-fit: contain;
}

.portrait-card .p-icon.is-photo img {
  border-radius: 18px;
  width: 90%;
  height: 145px;
  object-fit: cover;
  object-position: 50% 32%;
}

.portrait-card .question {
  font-size: 11px;
  color: #805d26;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 780;
  margin-bottom: 8px;
}

.portrait-card h3 {
  font-size: 26px;
  line-height: 1.13;
  margin-bottom: 14px;
}

.portrait-card p {
  font-size: 13px;
  color: #59564f;
  line-height: 1.8;
  margin-bottom: 0;
}

.carousel-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 16px;
}

.dots {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.dots button {
  border: 0;
  background: #c9c1b2;
  width: 9px;
  height: 9px;
  border-radius: 100%;
  cursor: pointer;
  padding: 0;
}

.dots button[aria-current=true] {
  background: var(--aqua);
  width: 25px;
}

.carousel-status {
  font-size: 12px;
  color: var(--sub);
}

.life-header {
  margin-bottom: 54px;
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 22px;
}

.life-card {
  border: 1px solid var(--border);
  background: #fffefa;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.life-card .life-image {
  aspect-ratio: 1.4;
  overflow: hidden;
  background: #f4ead5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.life-card .life-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.life-card .life-image.contains img {
  object-fit: contain;
  width: 86%;
  height: 86%;
}

.life-card h3 {
  font: 700 17px/1.3 system-ui,sans-serif;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

.life-card .life-content {
  padding: 24px 25px 27px;
}

.life-card p {
  font-size: 13px;
  color: #5e5952;
  line-height: 1.8;
  margin-bottom: 0;
}

.life-grid .life-card:first-child {
  grid-column: span 2;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
}

.life-grid .life-card:first-child .life-image {
  aspect-ratio: unset;
  min-height: 270px;
}

.life-grid .life-card:first-child .life-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
}

.contact-section {
  background: linear-gradient(118deg,#f4e1a5,#f8ebc7);
  padding: 96px 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 65px;
  align-items: center;
}

.contact-panel h2 {
  margin-bottom: 17px;
}

.contact-panel p {
  max-width: 580px;
}

.contact-card {
  border-left: 1px solid #bca569;
  padding-left: 45px;
}

.contact-card a.contact-email {
  display: block;
  font-weight: 800;
  font-size: 18px;
  overflow-wrap: anywhere;
  margin: 10px 0 16px;
}

.contact-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 720;
}

.footer {
  background: #fffdfa;
  padding: 29px 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-size: 12px;
  color: #777165;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-links a {
  text-decoration: none;
}

.foot-note {
  font-size: 11px;
  color: #81796a;
  margin-top: 10px;
}

.inline-flag {
  font-size: 16px;
  line-height: 1;
}

.sr-only {
  clip: rect(0,0,0,0);
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  border: 0;
}

@media (max-width:1030px) {
  .wrap {
    width: min(calc(100% - 52px),var(--content));
  }
  .header-inner {
    gap: 15px;
  }
  .wordmark {
    font-size: 23px;
  }
  .nav {
    gap: 13px;
  }
  .nav a {
    font-size: 12px;
  }
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .hero-art img {
    aspect-ratio: 1.63/1;
  }
  .timeline-card {
    padding: 23px;
  }
  .project-grid {
    gap: 40px;
  }
  .portrait-card {
    flex-basis: calc((100% - 22px)/2);
  }
}

@media (max-width:760px) {
  html {
    scroll-padding-top: 83px;
  }
  .wrap {
    width: min(calc(100% - 38px),var(--content));
  }
  .header-inner {
    min-height: 68px;
  }
  .menu-toggle {
    display: flex;
    margin-left: auto;
  }
  .nav {
    display: none;
    position: absolute;
    inset: 68px 0 auto;
    background: #fffdf8;
    padding: 26px 24px 30px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 14px 23px rgba(44,34,20,.06);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    font-size: 15px;
    padding: 12px;
  }
  .nav a:after {
    display: none;
  }
  .lang {
    margin-left: 3px;
  }
  .hero {
    padding: 65px 0 78px;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-copy {
    order: 1;
  }
  .hero-art {
    order: 2;
    margin: 16px -16px 0;
  }
  .hero-art img {
    aspect-ratio: 1.7/1;
    object-fit: cover;
    object-position: center center;
  }
  .hero-art figcaption {
    text-align: center;
  }
  .hero-copy p.hero-lede {
    font-size: 15px;
  }
  .hero-signals {
    gap: 12px 19px;
  }
  .strip-row {
    gap: 14px 26px;
  }
  .section {
    padding: 88px 0;
  }
  .section-header {
    flex-direction: column;
    align-items: start;
    gap: 17px;
    margin-bottom: 35px;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .expert-card {
    min-height: 0;
    padding: 27px;
  }
  .expert-card .icon-wrap {
    margin-bottom: 18px;
  }
  .expert-card .tags {
    margin-top: 19px;
  }
  .timeline-intro {
    margin-bottom: 45px;
  }
  .timeline:before {
    left: 13px;
    transform: none;
  }
  .timeline-row {
    display: grid;
    grid-template-columns: 27px minmax(0,1fr);
    gap: 12px;
  }
  .timeline-row .axis {
    grid-column: 1;
    grid-row: 1;
    padding-top: 31px;
  }
  .timeline-row.side-r .timeline-card,.timeline-row.side-l .timeline-card {
    grid-column: 2;
    grid-row: 1;
  }
  .timeline-card {
    padding: 24px 21px;
  }
  .timeline-card h3 {
    font-size: 17px;
  }
  .intl-feature {
    grid-template-columns: 1fr;
    padding: 30px;
    margin-top: 55px;
  }
  .intl-details {
    border-left: none;
    border-top: 1px solid #bdd6d0;
    padding-left: 0;
    padding-top: 20px;
  }
  .works-section {
    padding-bottom: 80px;
  }
  .work-nav {
    margin-bottom: 20px;
  }
  .project {
    padding: 54px 0;
  }
  .project-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .project.is-reversed .project-media,.project.is-reversed .project-text {
    order: initial;
  }
  .project-media {
    order: 1 !important;
  }
  .project-text {
    order: 2 !important;
  }
  .project-visual {
    min-height: 280px;
  }
  .project-visual.stock-photo img {
    min-height: 320px;
  }
  .project-visual.colas-art img {
    height: 360px;
  }
  .project-text h3 {
    font-size: 40px;
  }
  .project-dek {
    font-size: 16px;
  }
  .creative-header {
    padding-top: 80px;
  }
  .carousel-head {
    display: block;
  }
  .carousel-controls {
    margin-top: 20px;
  }
  .portrait-card {
    flex-basis: min(85%,370px);
  }
  .life-grid {
    grid-template-columns: 1fr 1fr;
  }
  .life-grid .life-card:first-child {
    grid-column: span 2;
  }
  .contact-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-card {
    border-left: none;
    border-top: 1px solid #bda76c;
    padding-left: 0;
    padding-top: 24px;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width:490px) {
  .wordmark {
    font-size: 22px;
  }
  .hero h1 {
    font-size: clamp(44px,11vw,61px);
  }
  .hero-art img {
    aspect-ratio: 1.42/1;
  }
  .hero-actions {
    gap: 8px;
  }
  .btn {
    padding: 12px 17px;
  }
  .hero-signals span {
    font-size: 11px;
  }
  .section {
    padding: 75px 0;
  }
  .timeline-card {
    padding: 21px 17px;
  }
  .intl-feature {
    padding: 25px;
  }
  .project-visual {
    padding: 16px;
  }
  .project-visual.stock-photo {
    padding: 0;
  }
  .project-visual.brand-art .logo-panel {
    padding: 20px;
  }
  .project-visual.borderlinx {
    gap: 12px;
  }
  .project-visual.borderlinx img.main-banner {
    border-width: 3px;
  }
  .project-visual.media-art {
    gap: 5px;
  }
  .chart-illustration {
    padding: 6px;
  }
  .portrait-card {
    flex-basis: calc(100% - 20px);
  }
  .life-grid {
    display: block;
  }
  .life-card {
    margin-bottom: 16px;
  }
  .life-grid .life-card:first-child {
    display: block;
  }
  .life-grid .life-card:first-child .life-image {
    aspect-ratio: 1.45;
    min-height: unset;
  }
  .life-grid .life-card:first-child .life-content {
    padding: 24px;
  }
  .footer-links {
    justify-content: center;
  }
}

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

/* =======================================================
   V4 — Design refinements. Intentionally kept as one layer
   on top of the original V3 style for straightforward review.
   ======================================================= */

:root {
  --content: 1200px;
  --aqua: #1e6e72;
  --gold: #e6cd78;
  --paper: #fffdfa;
}

.section {
  padding-block: clamp(110px,11vw,168px);
}

/* Equal-level section headings: one common alignment across the page. */

.section-label {
  justify-content: center;
  text-align: center;
}

.section-header, .timeline-intro, .works-intro, .life-header, .carousel-head {
  text-align: center;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto 62px;
}

.section-header h2 {
  margin: 0;
  max-width: 850px;
}

.section-header p {
  max-width: 675px;
  margin: 0 auto;
}

.timeline-intro {
  max-width: 820px;
  margin-inline: auto;
}

.timeline-intro p {
  margin-left: auto;
  margin-right: auto;
}

.works-intro {
  max-width: 920px;
  margin: 0 auto 54px;
}

.life-header {
  margin-bottom: 55px;
}

.life-header .section-header {
  margin-bottom: 0;
}

/* Hero: no external caption / framed card appearance; organic paper-edge blend. */

.hero {
  padding: clamp(90px,9vw,145px) 0 clamp(104px,11vw,160px);
}

.hero-grid {
  grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr);
  gap: clamp(20px,4vw,70px);
  align-items: center;
}

.hero-art {
  position: relative;
  margin: 0 -40px 0 -18px;
  isolation: isolate;
}

.hero-art img {
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: auto;
  border-radius: 0;
  -webkit-mask-image: radial-gradient(ellipse 75% 73% at 50% 49%, #000 48%, rgba(0,0,0,.94) 62%, transparent 98%);
  mask-image: radial-gradient(ellipse 75% 73% at 50% 49%, #000 48%, rgba(0,0,0,.94) 62%, transparent 98%);
  mix-blend-mode: multiply;
}

.hero-art figcaption {
  display: none;
}

.hero-signals {
  margin-top: 32px;
}

.hero-signals span {
  color: #285f61;
}

.identity-strip {
  border-block: 1px solid #eee3d1;
  background: rgba(251,246,236,.56);
}

/* Career section retains the exact V3 central timeline geometry. */

.timeline-section {
  background: #fbf6ec;
}

.timeline-card.is-international {
  background: #fffefa;
  border-color: var(--border);
}

.timeline-card.is-international:before {
  background: var(--gold);
}

.timeline-card .timeline-date {
  font-variant-numeric: tabular-nums;
}

.intl-feature.intl-career {
  background: linear-gradient(112deg,#fffefa,#f9f1dd);
  border: 1px solid #e8dcc5;
  box-shadow: var(--shadow);
}

.intl-career .intl-details {
  border-color: #e5d6b7;
}

.intl-career .section-label {
  justify-content: flex-start;
  text-align: left;
}

.intl-career h3 {
  max-width: 620px;
}

/* Projects: preserve narrative blocks, give the visual evidence its own space. */

.work-nav {
  margin: 0 auto 68px;
  max-width: 1090px;
}

.project {
  padding: clamp(86px,11vw,160px) 0;
}

.project:first-child {
  padding-top: 50px;
}

.project-grid {
  gap: clamp(54px,7vw,118px);
  grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
}

.project-text h3 {
  letter-spacing: -.05em;
}

.project-dek {
  font-size: clamp(16px,1.45vw,19px);
}

.project-what {
  font-size: 15px;
}

.project-num {
  font-variant-numeric: tabular-nums;
}

.project-visual {
  min-height: 450px;
  padding: 24px;
  border-radius: 27px;
  background: linear-gradient(128deg,#f9eed6,#eaf2eb);
}

.project-visual img {
  max-height: 430px;
}

.project-visual.stock-photo img {
  min-height: 450px;
}

.visual-chip {
  position: absolute;
  top: auto;
  bottom: 17px;
  left: 17px;
  background: rgba(255,253,248,.92);
  box-shadow: none;
  border: 1px solid #e9e2d4;
  color: #4e4b46;
  padding: 5px 10px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0;
}

.project-visual.stock-photo:after {
  display: none;
}

.project-media figcaption.sr-only {
  margin: 0;
  padding: 0;
}

.project-signature {
  background: #f0f7f5;
}

/* Empty intentionally: real visual will be selected by the portfolio owner. */

.project-visual.empty-brand-visual {
  background: linear-gradient(140deg,#f9f1df,#f0f5f0);
  border: 1px solid #e5dbc9;
}

.empty-image-art {
  width: 100%;
  height: 100%;
  min-height: 370px;
  border-radius: 19px;
  position: relative;
}

.empty-image-art:before {
  content: "";
  position: absolute;
  inset: 23px;
  border: 1px dashed rgba(131,116,82,.17);
  border-radius: 16px;
}

.empty-image-line {
  position: absolute;
  width: 27%;
  height: 2px;
  background: #d7c594;
  top: 50%;
  left: 37%;
  opacity: .25;
}

.empty-image-corner {
  position: absolute;
  width: 55px;
  height: 55px;
  border-left: 3px solid #b9d1c9;
  border-top: 3px solid #b9d1c9;
  top: 30px;
  left: 30px;
  opacity: .34;
}

/* Media Science — reassembled from original round user-made illustration, no lime-green disk. */

.project-visual.media-composite {
  background: radial-gradient(circle at 80% 75%,rgba(72,159,165,.13),transparent 55%),linear-gradient(145deg,#fff8eb,#e9f1ee);
  padding: 22px;
}

.media-rebuild {
  width: 100%;
  min-height: 400px;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: 14px;
  position: relative;
}

.media-marks {
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  z-index: 2;
  padding: 10px;
}

.media-marks-label {
  font: 750 11px/1.5 system-ui,sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: #18656a;
}

.media-marks img {
  object-fit: contain;
  max-height: 90px;
  max-width: 100%;
  filter: none;
}

.media-marks img:first-of-type {
  width: 260px;
}

.media-marks img:last-of-type {
  width: 245px;
  max-height: 110px;
}

.media-device {
  z-index: 2;
  padding: 15px;
}

.media-device img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  filter: drop-shadow(0 14px 12px rgba(0,68,71,.16));
}

.media-sprinkle {
  position: absolute;
  inset: auto 10% 12px auto;
  display: flex;
  gap: 7px;
}

.media-sprinkle span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c9dece;
}

.media-sprinkle span:nth-child(2) {
  background: #e5ca70;
}

/* Borderlinx — real cleaned transparent logo + original blue mascot. */

.project-visual.borderlinx-composite {
  background: linear-gradient(135deg,#dceefa 0%,#f3f8f6 48%,#fff5df 100%);
}

.borderlinx-stage {
  min-height: 405px;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.bl-logo-wrap {
  position: absolute;
  top: 14%;
  left: 5%;
  width: 73%;
  max-width: 420px;
  padding: 20px 24px 12px;
  background: #154f73;
  border-radius: 13px;
  transform: rotate(-2deg);
  box-shadow: 0 12px 26px rgba(26,79,105,.13);
}

.bl-logo {
  width: 100%;
  height: auto;
  filter: none !important;
  max-height: 130px !important;
}

.bl-mascot {
  position: absolute;
  width: clamp(175px,45%,260px) !important;
  height: auto !important;
  right: 4%;
  bottom: 4%;
  filter: drop-shadow(0 18px 22px rgba(30,75,126,.13)) !important;
  max-height: none !important;
}

.bl-parcel {
  position: absolute;
  left: 15%;
  bottom: 4%;
  width: 27%;
  height: 25%;
  background: #e8c68b;
  border: 2px solid #bc9060;
  border-radius: 6px;
  transform: rotate(-6deg);
  box-shadow: 12px 12px 0 rgba(204,157,92,.18);
}

.bl-parcel:before {
  content: "";
  position: absolute;
  inset: 0 auto 0 42%;
  width: 14%;
  background: #f8e5bb;
  border-inline: 1px solid #bd9869;
}

.bl-tape {
  position: absolute;
  left: 0;
  top: 27%;
  width: 100%;
  height: 7px;
  background: #cda571;
}

.bl-dot {
  position: absolute;
  right: 10%;
  top: 12%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #3a9bc8;
}

.bl-label {
  position: absolute;
  left: 5%;
  bottom: 37%;
  color: #235e7a;
  font: 800 11px system-ui,sans-serif;
  letter-spacing: 1.6px;
}

.bl-dashes {
  position: absolute;
  top: 3%;
  right: 5%;
  font-size: 35px;
  color: #74b2d8;
  opacity: .7;
}

/* Frenchnerd — only supplied original assets, with cinematic historical palette. */

.project-visual.frenchnerd-composite {
  padding: 0;
  background: #101414;
}

.french-collage {
  width: 100%;
  min-height: 430px;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.fn-bricks {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  opacity: .8;
  filter: none !important;
}

.french-collage:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,rgba(8,9,10,.12),rgba(8,9,10,.60));
  pointer-events: none;
}

.fn-logo {
  position: absolute;
  top: 7%;
  left: 7%;
  width: 85% !important;
  max-height: 165px !important;
  object-fit: contain !important;
  z-index: 3;
  filter: drop-shadow(0 8px 8px rgba(0,0,0,.7)) !important;
}

.fn-vdf {
  position: relative;
  z-index: 2;
  width: 47% !important;
  max-height: 245px !important;
  object-fit: contain !important;
  border-radius: 8px;
  transform: rotate(-5deg) translateY(60px);
  box-shadow: 0 15px 32px rgba(0,0,0,.5);
}

.project-visual.colas-full {
  padding: 0;
  background: #e9f3f3;
}

.project-visual.colas-full img {
  width: 100%;
  max-height: 580px;
  height: 100%;
  object-fit: contain;
  filter: none;
}

.project-visual.lingerie-still {
  padding: 0;
  background: #353435;
}

.project-visual.lingerie-still img {
  width: 100%;
  height: 100%;
  max-height: none;
  min-height: 340px;
  object-fit: contain;
  filter: none;
}

/* Portrait chinois — exactly ONE card, one V2-style archival illustration, clear arrows. */

.carousel-section {
  background: linear-gradient(180deg,#fffaf0,#fbf4e3);
}

.carousel-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  margin-bottom: 50px;
}

.carousel-head h2 {
  margin-bottom: 5px;
}

.carousel-head p {
  max-width: 650px;
  margin: 0 auto;
}

.single-carousel {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr) 58px;
  gap: clamp(12px,2.5vw,36px);
  align-items: center;
  max-width: 1010px;
  margin: auto;
}

.carousel-arrow {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid #b6a575;
  background: #fffdfa;
  color: #5a4322;
  font-size: 26px;
  cursor: pointer;
  transition: background .16s,transform .16s;
}

.carousel-arrow:hover {
  background: #f5e1ad;
  transform: scale(1.04);
}

.portrait-stage {
  min-width: 0;
  overflow: hidden;
  border-radius: 27px;
  box-shadow: 0 16px 34px rgba(85,57,14,.075);
  background: #fffdfa;
  border: 1px solid #e9d8b5;
}

.portrait-strip {
  display: flex;
  will-change: transform;
  transition: transform .65s cubic-bezier(.22,.7,.25,1);
}

.portrait-slide {
  min-width: 100%;
  flex: 0 0 100%;
  min-height: 350px;
  display: grid;
  grid-template-columns: .94fr 1.06fr;
  gap: clamp(24px,4vw,64px);
  padding: clamp(30px,4vw,55px);
  align-items: center;
}

.portrait-picture {
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 50% 50%,#fff6df 30%,#fffaf2 74%);
  border-radius: 20px;
  min-height: 260px;
  overflow: hidden;
}

.portrait-picture img {
  height: 205px;
  width: auto;
  max-width: 85%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.portrait-question {
  margin: 0 0 12px;
  color: #806026;
  font: 800 12px system-ui,sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.portrait-copy h3 {
  font-size: clamp(30px,3.8vw,48px);
  margin-bottom: 18px;
}

.portrait-copy p:last-child {
  font-size: clamp(15px,1.25vw,17px);
  line-height: 1.75;
  color: #494940;
  max-width: 450px;
}

.carousel-foot {
  max-width: 820px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin: 26px auto 0;
}

.carousel-progress {
  display: flex;
  align-items: center;
  gap: 19px;
  flex: 1;
}

.progress-line {
  display: block;
  width: min(36vw,280px);
  height: 4px;
  background: #e8dcc3;
  border-radius: 3px;
  overflow: hidden;
}

#progressFill {
  display: block;
  width: 12.5%;
  height: 100%;
  background: #287b80;
  transition: width .5s;
}

.carousel-status {
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.carousel-play {
  border: 1px solid #caba94;
  border-radius: 30px;
  padding: 8px 17px;
  background: #fffdfa;
  color: #4f473a;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
}

.carousel-play[aria-pressed=true] {
  border-color: #256c71;
  color: #165c60;
}

/* Personal: exactly 3 harmonised rows on wide screens, big featured illustration,
   plus UK and nail art; no orphan the dog. */

.life-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 22px;
}

.life-grid .life-card:first-child {
  grid-column: span 2;
  display: grid;
  grid-template-columns: .94fr 1.06fr;
}

.life-card .life-image {
  aspect-ratio: 1.4;
  background: #f4ead5;
}

.life-card .life-image img {
  object-fit: cover;
}

.life-card:first-child .life-image img {
  object-position: center 25%;
}

.life-card:last-child .life-image img {
  object-position: center 32%;
}

.life-content h3 {
  font-weight: 750;
}

/* Tablet/mobile */

@media (max-width:1050px) {
  .hero-art {
    margin: 0 -14px 0 -10px;
  }
  .project-grid {
    gap: 44px;
  }
  .project-visual {
    min-height: 350px;
  }
  .media-rebuild,.borderlinx-stage,.french-collage {
    min-height: 350px;
  }
  .bl-label {
    bottom: 35%;
    font-size: 10px;
  }
}

@media (max-width:760px) {
  .section {
    padding-block: 93px;
  }
  .section-header {
    align-items: center;
    text-align: center;
    gap: 15px;
  }
  .section-label {
    justify-content: center;
    text-align: center;
  }
  .hero-art {
    margin: 24px -8px 0;
  }
  .hero-art img {
    object-fit: contain;
    aspect-ratio: auto;
    width: 100%;
  }
  .project {
    padding: 75px 0;
  }
  .project-visual {
    min-height: 300px;
  }
  .project-visual.stock-photo img {
    min-height: 310px;
  }
  .project-text {
    text-align: left;
  }
  .project-num {
    margin-bottom: 14px;
  }
  .intl-career .section-label {
    justify-content: flex-start;
  }
  .single-carousel {
    grid-template-columns: 38px minmax(0,1fr) 38px;
    gap: 9px;
  }
  .carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 21px;
  }
  .portrait-slide {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 26px;
  }
  .portrait-picture {
    min-height: 160px;
  }
  .portrait-picture img {
    height: 145px;
  }
  .portrait-copy h3 {
    font-size: 34px;
  }
  .portrait-copy p:last-child {
    font-size: 14px;
  }
  .life-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .life-grid .life-card:first-child {
    grid-column: span 2;
  }
  .life-grid .life-card:last-child {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .life-grid .life-card:last-child .life-image {
    aspect-ratio: auto;
    min-height: 220px;
  }
  .life-grid .life-card:last-child .life-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width:520px) {
  .section {
    padding-block: 82px;
  }
  .hero {
    padding-top: 62px;
    padding-bottom: 75px;
  }
  .hero-grid {
    gap: 6px;
  }
  .hero-art {
    margin: 12px -18px 0;
  }
  .project-visual {
    min-height: 290px;
  }
  .project-visual.stock-photo img {
    min-height: 290px;
  }
  .media-rebuild {
    grid-template-columns: 1fr 1.2fr;
    min-height: 230px;
    gap: 4px;
  }
  .media-marks {
    gap: 4px;
    padding: 2px;
  }
  .media-marks-label {
    font-size: 7px;
    letter-spacing: .8px;
  }
  .media-marks img:first-of-type {
    width: 120px;
    max-height: 56px;
  }
  .media-marks img:last-of-type {
    width: 108px;
    max-height: 58px;
  }
  .media-device {
    padding: 0;
  }
  .borderlinx-stage {
    min-height: 250px;
  }
  .bl-logo-wrap {
    width: 86%;
    left: 4%;
    top: 10%;
    padding: 12px;
  }
  .bl-mascot {
    width: 42% !important;
    bottom: 2%;
  }
  .bl-parcel {
    width: 28%;
  }
  .bl-label {
    bottom: 37%;
    font-size: 7px;
  }
  .french-collage {
    min-height: 275px;
  }
  .fn-logo {
    top: 9%;
    max-height: 90px !important;
  }
  .fn-vdf {
    max-height: 160px !important;
    transform: rotate(-5deg) translateY(39px);
  }
  .portrait-stage {
    border-radius: 18px;
  }
  .single-carousel {
    grid-template-columns: 32px minmax(0,1fr) 32px;
    gap: 7px;
  }
  .carousel-arrow {
    width: 32px;
    height: 32px;
    font-size: 19px;
  }
  .portrait-slide {
    padding: 21px 18px 25px;
  }
  .portrait-picture {
    min-height: 135px;
  }
  .portrait-picture img {
    height: 126px;
  }
  .portrait-copy h3 {
    font-size: 30px;
  }
  .portrait-copy p:last-child {
    font-size: 13px;
    line-height: 1.65;
  }
  .carousel-foot {
    gap: 9px;
  }
  .progress-line {
    width: 70px;
  }
  .carousel-play {
    padding: 7px 10px;
    font-size: 11px;
  }
  .life-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .life-grid .life-card:first-child {
    grid-column: auto;
    display: block;
  }
  .life-grid .life-card:last-child {
    grid-column: auto;
    display: block;
  }
  .life-grid .life-card:last-child .life-image {
    min-height: 0;
    aspect-ratio: 1.4;
  }
  .life-card {
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion:reduce) {
  .portrait-strip,.carousel-arrow,.progress-line,#progressFill {
    transition: none !important;
    animation: none !important;
  }
}

/* Final hero integration: remove rectangular image perimeter with soft paper fade. */

.hero-art img {
  -webkit-mask-image: radial-gradient(ellipse 66% 64% at 50% 50%, #000 40%, rgba(0,0,0,.92) 48%, transparent 82%);
  mask-image: radial-gradient(ellipse 66% 64% at 50% 50%, #000 40%, rgba(0,0,0,.92) 48%, transparent 82%);
}

.portrait-picture img {
  height: 175px;
  max-width: 84%;
}

@media (max-width:760px) {
  .portrait-picture img {
    height: 142px;
  }
}

@media (max-width:520px) {
  .portrait-picture img {
    height: 125px;
  }
}

/* ===== V4.1 refinements ===== */

.hero {
  padding: clamp(88px,9vw,140px) 0 clamp(110px,11vw,164px);
}

.hero-grid {
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: clamp(20px,4vw,66px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.hero-art {
  position: relative;
  margin: 0 -26px 0 -8px;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.hero-art:before {
  content: "";
  position: absolute;
  inset: auto 4% 6% 18%;
  height: 19%;
  border-radius: 999px;
  background: rgba(206,178,108,.22);
  filter: blur(30px);
  z-index: 0;
}

.hero-art:after {
  content: "";
  position: absolute;
  inset: 1% 0;
  background: linear-gradient(90deg, rgba(255,253,250,.92) 0%, rgba(255,253,250,0) 11%, rgba(255,253,250,0) 90%, rgba(255,253,250,.88) 100%),
  linear-gradient(180deg, rgba(255,253,250,.82) 0%, rgba(255,253,250,0) 10%, rgba(255,253,250,0) 88%, rgba(255,253,250,.78) 100%);
  pointer-events: none;
  z-index: 2;
}

.hero-art img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center center;
  mask-image: none;
  -webkit-mask-image: none;
  filter: drop-shadow(0 18px 28px rgba(50,33,10,.12));
}

.project-visual.media-composite {
  padding: 26px;
  background: radial-gradient(circle at 82% 74%,rgba(30,110,114,.12),transparent 40%),linear-gradient(145deg,#fff9ef,#eaf3ef);
}

.media-rebuild {
  min-height: 415px;
  grid-template-columns: .82fr 1.18fr;
  gap: 22px;
  align-items: center;
}

.media-marks {
  background: rgba(255,253,249,.88);
  border: 1px solid #dce7e3;
  border-radius: 20px;
  box-shadow: 0 15px 28px rgba(30,89,92,.06);
  padding: 22px 18px;
}

.media-marks-label {
  margin-bottom: 2px;
}

.media-marks img {
  filter: none !important;
}

.media-marks img:first-of-type {
  width: min(100%,272px);
  max-height: 100px;
}

.media-marks img:last-of-type {
  width: min(100%,226px);
  max-height: 100px;
}

.media-device {
  position: relative;
  padding: 10px 2px 0;
}

.media-device:before {
  content: "";
  position: absolute;
  inset: auto 7% -2px 10%;
  height: 22px;
  border-radius: 50%;
  background: rgba(47,95,98,.10);
  filter: blur(12px);
}

.media-device img {
  width: 100%;
  max-height: none;
  filter: drop-shadow(0 16px 22px rgba(30,81,86,.15));
}

.media-sprinkle {
  inset: auto 7% 18px auto;
}

.bl-logo-wrap {
  box-shadow: 0 10px 24px rgba(26,79,105,.10);
}

.bl-mascot {
  filter: drop-shadow(0 12px 16px rgba(30,75,126,.10)) !important;
}

.project-visual.frenchnerd-composite {
  background: #1a1d1b;
}

.french-collage:before {
  background: linear-gradient(180deg,rgba(255,248,230,.08),rgba(10,13,13,.42));
}

.fn-bricks {
  opacity: .92;
  filter: brightness(1.1) saturate(.86) !important;
}

.fn-logo {
  top: 8%;
  left: 7%;
  width: 80% !important;
  max-height: 150px !important;
}

.fn-vdf {
  width: 34% !important;
  max-height: 175px !important;
  transform: rotate(-4deg) translateY(48px);
  box-shadow: 0 14px 28px rgba(0,0,0,.42);
}

.project-visual.colas-full {
  background: #dfeaec;
}

.project-visual.colas-full img {
  width: 100%;
  height: 100%;
  max-height: 590px;
  object-fit: contain;
  object-position: center center;
  filter: none;
}

.project-visual.lingerie-still {
  background: #3b3938;
}

.project-visual.lingerie-still img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  max-height: none;
  object-fit: cover;
  object-position: center 47%;
  filter: none;
}

.portrait-stage {
  background: linear-gradient(180deg,#fffdfa,#fff9f1);
}

.portrait-slide {
  grid-template-columns: minmax(250px,.92fr) minmax(0,1.08fr);
  gap: clamp(28px,4vw,66px);
  padding: clamp(34px,4.5vw,58px);
}

.portrait-picture {
  min-height: 275px;
  background: radial-gradient(circle at 50% 45%,#fff6df 0%,#fff9f0 54%,#fffdfa 100%);
  border: 1px solid #f0e1bf;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}

.portrait-picture img {
  width: min(88%,360px);
  height: auto;
  max-height: 240px;
  object-fit: contain;
  mix-blend-mode: normal;
}

.portrait-copy p:last-child {
  max-width: 470px;
}

@media (max-width:1050px) {
  .hero-art {
    margin: 10px -8px 0 -6px;
  }
  .media-rebuild {
    grid-template-columns: 1fr;
    min-height: 390px;
    gap: 18px;
  }
  .media-marks {
    justify-self: start;
    max-width: 380px;
  }
}

@media (max-width:760px) {
  .hero {
    padding-top: 68px;
    padding-bottom: 86px;
  }
  .hero-grid {
    gap: 12px;
  }
  .hero-art {
    margin: 18px -4px 0;
  }
  .hero-art:after {
    inset: 0;
    background: linear-gradient(180deg, rgba(255,253,250,.4), rgba(255,253,250,0) 12%, rgba(255,253,250,0) 88%, rgba(255,253,250,.45));
  }
  .hero-art img {
    width: 100%;
  }
  .project-visual.media-composite {
    padding: 18px;
  }
  .media-rebuild {
    min-height: 340px;
  }
  .fn-logo {
    width: 82% !important;
    max-height: 130px !important;
  }
  .fn-vdf {
    width: 36% !important;
    max-height: 155px !important;
    transform: rotate(-4deg) translateY(42px);
  }
  .project-visual.lingerie-still img {
    min-height: 300px;
  }
  .portrait-slide {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 24px;
  }
  .portrait-picture {
    min-height: 190px;
  }
  .portrait-picture img {
    width: min(78%,300px);
    max-height: 168px;
  }
}

@media (max-width:520px) {
  .hero-art {
    margin: 14px 0 0;
  }
  .hero-art:before {
    inset: auto 8% 6% 16%;
    height: 16%;
  }
  .project-visual.lingerie-still img {
    min-height: 270px;
  }
  .fn-vdf {
    width: 42% !important;
    max-height: 145px !important;
    transform: rotate(-4deg) translateY(34px);
  }
  .portrait-slide {
    padding: 24px 18px 26px;
  }
  .portrait-picture img {
    width: min(82%,260px);
  }
}

/* ===== V4.2 : artwork-only revisions; layout and content of V4 retained ===== */

.hero-art {
  position: relative;
  isolation: auto;
  overflow: visible;
  margin: 0 -36px 0 -17px;
  border-radius: 0;
}

.hero-art::before,.hero-art::after {
  display: none !important;
  content: none !important;
}

.hero-art img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain !important;
  object-position: center center !important;
  -webkit-mask-image: none !important;
  mask-image: none !important;
  filter: none !important;
  mix-blend-mode: normal;
}

/* The supplied historical Frenchnerd screenshot is shown as a cropped browser window. */

.project-visual.frenchnerd-composite {
  padding: 24px;
  background: radial-gradient(circle at 75% 16%,#eee2c3,transparent 58%),linear-gradient(130deg,#efe8db,#dce7e2);
}

.frenchnerd-browser {
  width: min(100%,510px);
  border-radius: 16px;
  overflow: hidden;
  background: #0d1419;
  border: 1px solid #7d827e;
  box-shadow: 0 24px 48px rgba(24,33,39,.2),0 0 0 9px rgba(255,255,255,.25);
}

.frenchnerd-toolbar {
  height: 38px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #65706d;
  background: #fafafa;
}

.frenchnerd-toolbar .traffic {
  display: flex;
  gap: 6px;
}

.frenchnerd-toolbar .traffic i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #db9c84;
}

.frenchnerd-toolbar .traffic i:nth-child(2) {
  background: #d9bd7a;
}

.frenchnerd-toolbar .traffic i:nth-child(3) {
  background: #92bdab;
}

.frenchnerd-address {
  font: 600 11px/1 system-ui,sans-serif;
  color: #56686a;
  letter-spacing: .3px;
}

.frenchnerd-crop {
  width: 100%;
  height: 385px;
  overflow: hidden;
}

.frenchnerd-crop img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  filter: none !important;
  border-radius: 0 !important;
}

/* Two cleaned/recreated source logos and a purposeful conceptual data interface. */

.project-visual.media-composite {
  padding: 23px;
  background: radial-gradient(circle at 82% 17%,#d1e8e4,transparent 45%),linear-gradient(140deg,#f9f1dc,#e8f4f0);
}

.media-v42-artwork {
  width: 100%;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.media-v42-brandrow {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 30px 1fr;
  gap: 9px;
  align-items: center;
}

.media-v42-brand {
  height: 102px;
  border: 1px solid rgba(98,134,126,.19);
  border-radius: 17px;
  background: rgba(255,253,250,.94);
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,71,66,.05);
}

.media-v42-brand img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 84px;
  object-fit: contain;
  filter: none !important;
}

.media-v42-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: #438d89;
  font-size: 23px;
}

.media-v42-connector span {
  width: 6px;
  height: 1px;
  background: #a0bbb6;
}

.media-v42-connector i {
  font-style: normal;
}

.media-v42-ui {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-v42-ui img {
  max-height: 300px;
  width: 100%;
  object-fit: contain;
  filter: none !important;
}

/* Each portrait visual is an independent high-definition artwork-only PNG, no former tile. */

.portrait-stage {
  background: #fffdfa;
}

.portrait-picture {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #fffdfa !important;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  padding: 10px;
  min-height: 265px;
}

.portrait-picture img {
  width: 100%;
  max-width: 370px;
  max-height: 250px;
  height: auto !important;
  object-fit: contain;
  mix-blend-mode: normal !important;
  filter: none !important;
}

@media (max-width:1050px) {
  .hero-art {
    margin: 8px -15px 0 -8px;
  }
  .media-v42-artwork {
    min-height: 385px;
  }
  .media-v42-brand {
    height: 92px;
  }
  .media-v42-ui img {
    max-height: 280px;
  }
}

@media (max-width:760px) {
  .hero-art {
    margin: 26px -7px 0;
  }
  .hero-art img {
    width: 100%;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }
  .project-visual.frenchnerd-composite {
    padding: 18px;
  }
  .frenchnerd-crop {
    height: 280px;
  }
  .media-v42-artwork {
    min-height: 360px;
    gap: 10px;
  }
  .media-v42-brand {
    height: 83px;
    padding: 12px;
  }
  .media-v42-ui img {
    max-height: 245px;
  }
  .portrait-picture {
    min-height: 170px;
    padding: 5px;
  }
  .portrait-picture img {
    max-height: 170px;
    max-width: 300px;
  }
}

@media (max-width:490px) {
  .hero-art {
    margin: 20px -4px 0;
  }
  .frenchnerd-crop {
    height: 244px;
  }
  .media-v42-artwork {
    min-height: 315px;
  }
  .media-v42-brand {
    height: 75px;
    padding: 8px;
  }
  .media-v42-brandrow {
    grid-template-columns: 1fr 23px 1fr;
    gap: 5px;
  }
  .media-v42-connector {
    font-size: 16px;
  }
  .media-v42-ui img {
    max-height: 223px;
  }
}

/**
 * Ajustements purement techniques de mise en production.
 * Aucune couleur, disposition ou typographie approuvée n'est modifiée.
 */

/* Dernier visuel Media Science approuvé : logos + œil / monocle + dashboard. */
.project-visual.media-approved-frame {
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 0;
  background: #e8f2ed;
}

.media-approved {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Si possible, ne jamais recadrer le hero transparent : the dog et les objets restent entiers. */
.hero-art img {
  object-fit: contain;
  object-position: center;
}

/* Touches discrètes au défilement, sans retirer le contenu au non-JS. */
@media (prefers-reduced-motion: no-preference) {
  .project-media.may-reveal {
    opacity: .88;
    transform: translateY(9px);
    transition: opacity .42s ease, transform .42s ease;
  }
  .project-media.may-reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
  }
}


/**
 * V4.2.1: corrections demandées après validation du design.
 * Ce fichier n'altère ni la structure ni la charte V4.2 : uniquement
 * cadrages d'images, suppression du letterboxing du projet Media Science.
 */

/* L'illustration approuvée est en 4:3 ; le cadre adopte exactement ce ratio. */
.project-visual.media-approved-frame {
  aspect-ratio: 4 / 3;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: #e8f2ed;
}
.project-visual.media-approved-frame > .media-approved {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

/* On montre toutes les extrémités des dessins sans les rogner dans le carrousel. */
.portrait-picture {
  box-sizing: border-box;
  overflow: visible;
}
.portrait-picture img {
  display: block;
  width: auto;
  height: auto !important;
  max-width: min(100%, 370px);
  max-height: 245px;
  object-fit: contain;
  object-position: center;
}

/* Portrait au ukulélé : le visage doit rester au centre du recadrage horizontal. */
.life-grid .life-card:nth-child(2) .life-image img {
  object-position: center top;
}

/* Remonter the dog dans son cadre sans déformer la photographie originale. */
.life-grid .life-card:last-child .life-image img {
  object-position: center 66%;
}

@media (max-width: 760px) {
  .portrait-picture img {
    max-height: 170px;
    max-width: min(100%, 300px);
  }
}

/* Two hand-adjusted crops approved by Marie: preserved across builds. */
.life-grid .life-card:nth-child(2) .life-image img{object-position:center 10%;}
.life-grid .life-card:last-child .life-image img{object-position:center bottom;}

/* V4.2.2 review: AI experience callout and thumb-reachable mobile scrollspy. */
.ai-feature {
  display:grid;
  grid-template-columns:minmax(0, 1.45fr) minmax(230px, .75fr);
  gap:clamp(18px, 3.5vw, 48px);
  align-items:center;
  margin-top:clamp(54px, 6vw, 90px);
  padding:clamp(27px, 4vw, 52px);
  background:linear-gradient(125deg,#fffdfa 0%,#fffdfa 62%,#f0f8f6 100%);
  border:1px solid var(--border);
  border-radius:var(--rad);
  box-shadow:var(--shadow);
}
.ai-feature-copy { min-width:0; }
.ai-feature-kicker { color:var(--aqua); font-size:.78rem; font-weight:750; text-transform:uppercase; letter-spacing:.13em; margin:0 0 9px; }
.ai-feature-kicker span { font-size:1.55rem; margin-right:12px; vertical-align:middle; }
.ai-feature h3 { font:500 clamp(31px,3.8vw,48px)/1.16 Georgia,"Times New Roman",serif; margin:0 0 20px; letter-spacing:-.03em; }
.ai-feature-copy > p:not(.ai-feature-kicker) { color:var(--sub); margin:0 0 24px; max-width:790px; line-height:1.8; }
.ai-feature-visual img { display:block; width:100%; height:auto; object-fit:contain; mix-blend-mode:multiply; }
.ai-feature-tags { list-style:none; display:flex; flex-wrap:wrap; gap:9px; margin:0; padding:0; }
.ai-feature-tags li { font-size:.83rem; font-weight:650; color:var(--aqua); border-radius:100px; background:#e2f1ef; padding:7px 14px; }

/* The mobile rail has real 44px touch targets; compact mode does not cover copy. */
.mobile-rail { display:none; }
@media (max-width:760px) {
  .ai-feature { grid-template-columns:1fr; gap:0; padding:28px 24px 24px; }
  .ai-feature-copy > p:not(.ai-feature-kicker) { font-size:.96rem; line-height:1.72; }
  .ai-feature-visual { width:min(100%,360px); margin:20px auto 0; }
  .ai-feature-tags { gap:7px; }
  .ai-feature-tags li { font-size:.77rem; }

  .mobile-rail {
    position:fixed; z-index:90; top:51%; right:max(5px,env(safe-area-inset-right));
    transform:translateY(-50%); display:flex; flex-direction:column; align-items:flex-end;
    width:48px; padding:5px 3px 7px; border:1px solid rgba(204,182,143,.55);
    border-radius:26px; background:rgba(255,253,248,.94);
    box-shadow:0 6px 26px rgba(48,43,32,.11);
    backdrop-filter:blur(10px); -webkit-backdrop-filter:blur(10px);
    transition:width .18s ease;
  }
  .mobile-rail.is-expanded { width:min(144px,calc(100vw - 22px)); border-radius:23px; }
  .mobile-rail-toggle {
    display:flex; align-items:center; justify-content:center; width:42px; height:44px;
    border:0; background:transparent; color:var(--aqua); border-radius:20px;
    cursor:pointer; font-size:1.7rem; font-weight:700; line-height:1; padding:0;
  }
  .mobile-rail-toggle span { display:block; transition:transform .18s ease; }
  .mobile-rail.is-expanded .mobile-rail-toggle span { transform:rotate(180deg); }
  .mobile-rail-links { width:100%; display:flex; flex-direction:column; align-items:stretch; }
  .mobile-rail-link {
    display:flex; gap:10px; height:44px; align-items:center; justify-content:center;
    text-decoration:none; border-radius:22px; color:var(--sub); font-size:.83rem;
    font-weight:600; padding:0 13px; white-space:nowrap; min-width:0;
  }
  .mobile-rail-link:hover,.mobile-rail-link:focus-visible { background:rgba(30,110,114,.08); }
  .mobile-rail-link[aria-current="location"] { background:#e1f1ec; color:#07585e; }
  .mobile-rail-dot { display:block; width:9px; height:9px; min-width:9px; border:1.5px solid #aa9b80; border-radius:50%; background:var(--paper); }
  .mobile-rail-link[aria-current="location"] .mobile-rail-dot { background:#0b777c; border-color:#0b777c; box-shadow:0 0 0 3px rgba(24,128,134,.13); }
  .mobile-rail-text { display:none; }
  .mobile-rail.is-expanded .mobile-rail-link { justify-content:flex-start; padding:0 10px 0 13px; }
  .mobile-rail.is-expanded .mobile-rail-text { display:inline; overflow:hidden; text-overflow:ellipsis; }
}
@media (max-width:370px) { .mobile-rail { right:3px; } .mobile-rail-link { height:44px; } }
@media (prefers-reduced-motion:reduce) {
 .mobile-rail, .mobile-rail-toggle span { transition:none; }
}

/* Compact rail section label */
@media (max-width:760px) {
  .mobile-rail:not(.is-expanded) .mobile-rail-link[aria-current="location"] .mobile-rail-text {
    display:block;position:absolute;right:calc(100% + 9px);max-width:min(142px,calc(100vw - 90px));overflow:hidden;text-overflow:ellipsis;
    padding:6px 12px;border-radius:20px;color:var(--aqua);background:rgba(255,253,248,.95);border:1px solid var(--border);
    box-shadow:0 6px 20px rgba(48,43,32,.08);pointer-events:none;
  }
}


/* V1.4.3 — contact form and accessible anchor position, locked design preserved. */
.contact-panel { grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr); gap:clamp(36px,5vw,70px); align-items:start; }
.contact-intro { padding-top:clamp(0px,2.4vw,25px); }
.contact-intro .section-label { justify-content:flex-start; text-align:left; }
.contact-alternative { font-size:.93rem; margin-top:27px; }
.contact-alternative a { color:var(--aqua); font-weight:750; overflow-wrap:anywhere; }
.contact-intro .contact-links { margin-top:28px; }
.contact-card { padding-left:clamp(22px,3vw,44px); }
.contact-form { display:grid; gap:15px; }
.contact-form-title { margin:0 0 2px !important; color:var(--ink); font-size:1.28rem; font-weight:750; }
.contact-field { display:flex; flex-direction:column; gap:6px; }
.contact-field label { color:#453f35; font-size:.87rem; font-weight:730; }
.contact-field input,.contact-field textarea { display:block; width:100%; min-width:0; border:1px solid #bcae89; background:rgba(255,253,250,.95); color:var(--ink); border-radius:12px; font-family:inherit; font-size:1rem; line-height:1.5; padding:11px 14px; outline-offset:3px; }
.contact-field textarea { resize:vertical; min-height:128px; }
.contact-field input:focus-visible,.contact-field textarea:focus-visible { outline:2px solid var(--aqua); border-color:var(--aqua); }
.contact-field input::placeholder,.contact-field textarea::placeholder { color:#847969; opacity:1; }
.contact-form .contact-privacy { margin:0 !important; max-width:100%; font-size:.76rem; line-height:1.55; color:#5f5545; }
.contact-privacy a { text-decoration:underline; }
.contact-submit { cursor:pointer; justify-self:start; border:0; min-height:48px; }
.contact-submit:disabled { opacity:.65; cursor:progress; }
.contact-status { min-height:1.4em; margin:0 !important; font-size:.9rem; font-weight:700; }
.contact-status.is-success { color:#145f48; }
.contact-status.is-error { color:#8d2929; }
.contact-honeypot { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
@media (max-width:760px) {
  .contact-panel { grid-template-columns:1fr; gap:30px; }
  .contact-card { border-left:0; border-top:1px solid #bda76c; padding:26px 0 0; }
  .contact-intro { padding-top:0; }
  .contact-form { max-width:580px; }
}
@media (max-width:490px) { .contact-submit { width:100%; justify-content:center; } }
