:root {
  color-scheme: light;
  --ink: #292522;
  --paper: #f8f5ef;
  --blue: #6f8c96;
  --sky: #8aadb4;
  --section-title-size: clamp(40px, 5.04vw, 64.5px);
  font-family: Inter, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { min-width: 320px; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@keyframes about-niches-scroll {
  to { transform: translateX(-25%); }
}

.about-section--fr .about-section__niches-track > span { padding-right: 0; }
.about-section--fr .about-section__niches-track > span::after {
  content: " •";
  margin-left: 5px;
  margin-right: calc(0.25em + 5px);
}
.about-section--fr .about-section__niche-separator { display: inline-block; margin-inline: 5px; }
.about-section--en .about-section__niches-track > span { padding-right: 0; }
.about-section--en .about-section__niches-track > span::after {
  content: " •";
  margin-left: 5px;
  margin-right: calc(0.25em + 5px);
}
.about-section--en .about-section__niche-separator { display: inline-block; margin-inline: 5px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

.hero {
  display: flex;
  height: max(610.77px, min(47.734vw, 733.4px));
  justify-content: center;
  overflow: hidden;
  background: var(--sky);
  color: var(--paper);
}

.hero__canvas {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--sky);
  background-image: url("./assets/portfolio-header.webp");
  background-size: min(266vw, 4090px) auto;
  background-position: 60% 39%;
}

.language-switch {
  position: absolute;
  z-index: 4;
  top: clamp(18px, 3.4vw, 48px);
  right: clamp(14px, 2.7vw, 38px);
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-switch__link {
  position: relative;
  display: block;
  width: clamp(44px, 4.2vw, 58px);
  aspect-ratio: 27 / 26;
  line-height: 0;
  transition: transform 160ms ease;
}

.language-switch__link:hover { transform: translateY(-2px); }
.language-switch__link:focus-visible { outline: 2px solid var(--paper); outline-offset: 4px; border-radius: 50%; }
.language-switch__icon { position: absolute; inset: 0; display: block; width: 100%; height: 100%; transition: opacity 160ms ease; }
.language-switch__icon--hover { opacity: 0; }
.language-switch__link--fr:hover .language-switch__icon--hover,
.language-switch__link--fr:focus-visible .language-switch__icon--hover,
.language-switch__link--en:hover .language-switch__icon--hover,
.language-switch__link--en:focus-visible .language-switch__icon--hover { opacity: 1; }
.language-switch__link--fr:hover .language-switch__icon:not(.language-switch__icon--hover),
.language-switch__link--fr:focus-visible .language-switch__icon:not(.language-switch__icon--hover),
.language-switch__link--en:hover .language-switch__icon:not(.language-switch__icon--hover),
.language-switch__link--en:focus-visible .language-switch__icon:not(.language-switch__icon--hover) { opacity: 0; }

.hero__content {
  container-type: inline-size;
  position: relative;
  width: min(1536px, 100%);
  height: 100%;
  margin: 0 auto;
}

.hero__role,
.hero__tagline,
.hero h1,
.hero__button {
  position: absolute;
}

.hero h1 {
  top: 14.97cqw;
  left: 34.3cqw;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0;
  transform: translate(-50%, -50%);
  font-family: "Libre Bodoni", Georgia, serif;
  font-size: 6.3cqw;
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.hero__role {
  top: 22.81cqw;
  left: 34.3cqw;
  margin: 0;
  transform: translate(-50%, -50%);
  font-size: 1.89cqw;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
}

.hero__tagline {
  top: 25.54cqw;
  left: 34.3cqw;
  width: max-content;
  max-width: calc(100% - 32px);
  margin: 0;
  transform: translate(-50%, -50%);
  font-size: 1.89cqw;
  font-weight: 500;
  line-height: 1.4;
  text-align: center;
}

.hero__tagline span {
  font-family: "Caveat Brush", cursive;
  font-size: 3.15cqw;
}

.hero__button {
  top: 31.58cqw;
  left: 21.89cqw;
  background: var(--paper);
  color: var(--blue);
}

.hero__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgb(41 37 34 / 16%);
}

.hero__button:focus-visible {
  outline: 3px solid var(--paper);
  outline-offset: 5px;
}

.portfolio {
  --portfolio-paper-tail: clamp(20px, 7vw, 100px);
  position: relative;
  min-height: 670px;
  padding: clamp(52px, 4.4vw, 64px) 24px calc(58px + 32px);
  background: #ede6de;
  color: var(--ink);
}

.portfolio__title {
  margin: 0 0 34px;
  font-family: "Libre Bodoni", Georgia, serif;
  font-size: clamp(20px, 2.52vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  user-select: text;
}

.portfolio__tabbed {
  --portfolio-tab-width: 201px;
  --portfolio-tab-height: 44px;
  --portfolio-tab-step: 174px;
  --portfolio-tabs-left: 20px;
  --portfolio-tabs-width: calc(var(--portfolio-tab-width) + var(--portfolio-tab-step) + var(--portfolio-tab-step) + var(--portfolio-tab-step));
  --portfolio-panel-radius: 22px;
  position: relative;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding-top: 30px;
  filter: drop-shadow(0 12px 18px rgb(41 37 34 / 11%));
}

.portfolio__tabs {
  position: absolute;
  z-index: 0;
  top: -12px;
  left: var(--portfolio-tabs-left);
  display: flex;
  width: var(--portfolio-tabs-width);
  height: var(--portfolio-tab-height);
}

.portfolio__tab {
  position: relative;
  flex: 0 0 var(--portfolio-tab-width);
  display: grid;
  width: var(--portfolio-tab-width);
  height: var(--portfolio-tab-height);
  margin-left: calc(var(--portfolio-tab-step) - var(--portfolio-tab-width));
  padding: 0;
  place-items: center;
  border: 0;
  background: none;
  color: var(--paper);
  cursor: pointer;
  font-family: "Caveat Brush", cursive;
  font-size: calc(var(--portfolio-tab-width) * 0.0966);
  line-height: 1;
  white-space: nowrap;
  transition: filter 180ms ease, text-shadow 180ms ease;
}

.portfolio__tab:first-child { margin-left: 0; }
.portfolio__tab[aria-selected="true"] { z-index: 2; color: var(--blue); }
.portfolio__tab:not([aria-selected="true"]):hover { filter: brightness(1.1) saturate(1.06); }
.portfolio__tab:focus-visible { outline: none; }
.portfolio__tab:focus-visible span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.portfolio__tab img {
  position: absolute;
  inset: 0;
  display: block;
  width: var(--portfolio-tab-width);
  height: var(--portfolio-tab-height);
  pointer-events: none;
}

.portfolio__tab span { position: relative; z-index: 1; }
.portfolio__tab-mobile-break { display: none; }

.portfolio__panels { position: relative; z-index: 1; }

.portfolio__panel {
  --portfolio-panel-top-padding: 34px;
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 438px;
  margin: 0 auto;
  padding: 34px 34px 30px;
  padding-bottom: calc(30px + var(--portfolio-paper-tail));
  border: 0;
  border-radius: var(--portfolio-panel-radius);
  background: #F8F5EF;
}

.portfolio__panel[hidden] { display: none; }

.portfolio__panel-content {
  position: relative;
  display: grid;
  transform: translateY(-10px);
  min-height: 372px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 20px;
}

.portfolio__copy {
  min-width: 0;
  transform: translateY(calc(clamp(8px, 1vw, 14px) - clamp(12px, 1.17vw, 16px)));
}

.portfolio__panel-title {
  margin: 0 0 24px;
  font-family: "Libre Bodoni", Georgia, serif;
  font-size: 35.6px;
  font-weight: 400;
  line-height: 1.12;
  text-transform: uppercase;
}

.portfolio__features {
  display: grid;
  gap: 16.5px;
}

.portfolio__feature {
  display: grid;
  min-width: 0;
  min-height: 66.65px;
  grid-template-columns: 61.3px minmax(0, 1fr);
  align-items: center;
  gap: 17.3px;
}


.portfolio__feature > img {
  display: block;
  width: 61.3px;
  height: 61.3px;
}

.portfolio__feature h4,
.portfolio__feature p { margin: 0; }

.portfolio__feature h4 {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.12;
}

.portfolio__feature p {
  width: max-content;
  max-width: 100%;
  margin-top: 3px;
  font-size: 13.7px;
  line-height: 1.15;
}

.portfolio__feature p span {
  display: block;
  white-space: nowrap;
}

.portfolio__visual {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  width: 100%;
  min-width: 0;
  aspect-ratio: 8016 / 5709;
}

.portfolio__phones {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.portfolio__paper-crop {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}

.portfolio__paper-picture { position: absolute; inset: 0; }

.portfolio__paper {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 78.3%;
  height: auto;
  transform: translate(-50%, -50%);
}

.portfolio__phone-row {
  position: absolute;
  z-index: 1;
  inset: 5% 15%;
  display: grid;
  box-sizing: border-box;
  padding-top: 20px;
  --portfolio-phone-gap: 4.3%;
  grid-auto-columns: calc((100% - var(--portfolio-phone-gap)) / 2);
  grid-auto-flow: column;
  column-gap: var(--portfolio-phone-gap);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.portfolio__phone-row::-webkit-scrollbar { display: none; }

.portfolio__phone {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: clamp(18px, 1.6vw, 22px) minmax(0, 1fr);
  justify-items: center;
  gap: 0;
  margin: 0;
  scroll-snap-align: start;
}

.portfolio__carousel-controls {
  position: absolute;
  z-index: 5;
  top: 50%;
  right: max(0px, calc(10.85% - clamp(29px, 3.2vw, 51px) - 8px));
  left: max(0px, calc(10.85% - clamp(29px, 3.2vw, 51px) - 8px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}
.portfolio__carousel-controls[hidden] { display: none; }

.portfolio__carousel-button {
  display: grid;
  width: clamp(29px, 3.2vw, 51px);
  height: clamp(29px, 3.2vw, 51px);
  padding: 0;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 160ms ease, filter 160ms ease;
}

.portfolio__carousel-button:hover:not(:disabled) { transform: scale(1.08); filter: drop-shadow(0 2px 3px rgb(41 37 34 / 20%)); }
.portfolio__carousel-button:disabled { opacity: 0.18; cursor: inherit; filter: grayscale(0.35); }

.portfolio__carousel-button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.portfolio__carousel-button[hidden] { display: none; }

.portfolio__carousel-button img {
  display: block;
  width: 100%;
  height: 100%;
}

.portfolio__carousel-button--previous img {
  transform: scaleX(-1);
}

.portfolio__carousel-button--next {
  translate: 0 0;
}

.portfolio__carousel-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.portfolio__phone figcaption {
  align-self: center;
  transform: translateY(-20px);
  color: var(--ink);
  font-family: "Caveat Brush", cursive;
  font-size: 3.3cqi;
  line-height: 1;
  text-align: center;
}

.portfolio__device {
  position: relative;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 301.16 / 616.95;
  justify-self: center;
}

.portfolio__video {
  position: absolute;
  inset: auto;
  top: 8.4945%;
  left: 5.865%;
  width: 88.27%;
  height: 83.711%;
  border-radius: 9% / 4.5%;
  object-fit: cover;
  background: #292522;
}

.portfolio__video-toggle {
  position: absolute;
  z-index: 2;
  inset: 7.2% 4.5% 6.5%;
  display: grid;
  width: 91%;
  height: 86.3%;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 9% / 4.5%;
  background: transparent;
  color: white;
  cursor: pointer;
}

.portfolio__video-toggle svg {
  width: clamp(28px, 3.4vw, 44px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 1px 4px rgb(0 0 0 / 35%));
  opacity: 0.92;
  transition: opacity 150ms ease, transform 150ms ease;
}

.portfolio__video-toggle circle {
  fill: rgb(41 37 34 / 68%);
  stroke: rgb(255 255 255 / 90%);
  stroke-width: 1.2;
}

.portfolio__play-icon,
.portfolio__pause-icon { fill: #fff; }
.portfolio__pause-icon { display: none; }
.portfolio__video-toggle[aria-pressed="true"] .portfolio__play-icon { display: none; }
.portfolio__video-toggle[aria-pressed="true"] .portfolio__pause-icon { display: block; }
.portfolio__video-toggle[aria-pressed="true"] svg { opacity: 0; }
.portfolio__video-toggle:not([aria-pressed="true"]):hover svg { opacity: 1; transform: scale(1.08); }
.portfolio__video-toggle:focus-visible { outline: 2px solid #fff; outline-offset: -5px; }

.portfolio__phone-frame {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

@media (min-width: 601px) and (max-width: 800px) {
  .portfolio { min-height: 600px; padding-right: 16px; padding-left: 16px; }
  .portfolio__title { font-size: clamp(42px, 6.3vw, 54px); }
  .portfolio__tabbed {
    --portfolio-tab-width: min(176px, calc((100vw - 96px) / 3.34));
    --portfolio-tab-height: 34px;
    --portfolio-tab-step: calc(var(--portfolio-tab-width) * 0.78);
    --portfolio-tabs-left: calc((100% - var(--portfolio-tabs-width)) / 2);
    --portfolio-tabs-width: calc(var(--portfolio-tab-width) + var(--portfolio-tab-step) + var(--portfolio-tab-step) + var(--portfolio-tab-step));
  }
  .portfolio__tabs { top: -2px; }
  .portfolio__tab:first-child { margin-left: 0; }
  .portfolio__panel { --portfolio-panel-top-padding: 24px; min-height: 400px; padding: 24px; padding-bottom: calc(24px + var(--portfolio-paper-tail)); }
  .portfolio__panel-title { font-size: 35.6px; }
  .portfolio__feature {
    min-height: 66.65px;
    grid-template-columns: 61.3px minmax(0, 1fr);
    gap: 17.3px;
  }
  .portfolio__feature > img { width: 61.3px; height: 61.3px; }
  .portfolio__feature h4 { font-size: 20px; line-height: 1.12; }
  .portfolio__feature p { font-size: 13.7px; line-height: 1.15; letter-spacing: normal; }

}

@media (min-width: 801px) {
  .portfolio { padding-right: 12px; padding-left: 12px; }
  .portfolio__title { margin-bottom: calc(32px + clamp(12px, 1.2vw, 16px)); }
  .portfolio__tabbed {
    --portfolio-folder-narrowing: clamp(0px, 12vw, 180px);
    --portfolio-folder-half-narrowing: clamp(0px, 6vw, 90px);
    --portfolio-content-gap-adjust: clamp(0px, 0.9vw, 14px);
    --portfolio-tab-height: clamp(44px, 4.3vw, 58.7px);
    --portfolio-tab-width: min(clamp(201px, 19.62vw, 268px), calc((min(1493px, 100vw - 24px) - 108px - var(--portfolio-folder-narrowing)) / 3.6));
    --portfolio-tab-step: calc(var(--portfolio-tab-width) * 0.866);
    --portfolio-tabs-left: calc((30px + var(--portfolio-folder-narrowing)) / 2 + 30px);
    --portfolio-tabs-width: calc(var(--portfolio-tab-width) + var(--portfolio-tab-step) + var(--portfolio-tab-step) + var(--portfolio-tab-step));
    --portfolio-panel-radius: 29px;
    width: min(1493px, 100%);
    padding-top: clamp(30px, 2.93vw, 40px);
  }
  .portfolio__tabs {
    top: calc(0px - clamp(12px, 1.2vw, 16px));
  }
  .portfolio__panel {
    --portfolio-panel-top-padding: clamp(34px, 3.3vw, 45.3px);
    width: calc(100% - 30px - var(--portfolio-folder-narrowing));
    min-height: clamp(438px, 42.75vw, 584px);
    padding: clamp(34px, 3.3vw, 45.3px);
    padding-bottom: calc(clamp(34px, 3.3vw, 45.3px) + var(--portfolio-paper-tail));
    border-radius: var(--portfolio-panel-radius);
  }
  .portfolio__panel-content {
    width: calc(100% + var(--portfolio-folder-narrowing));
    margin-left: calc(0px - var(--portfolio-folder-half-narrowing));
    translate: clamp(0px, 1vw, 15px) 0;
    min-height: clamp(372px, 36.31vw, 496px);
    gap: clamp(16px, 1.45vw, 20px);
  }
  .portfolio__copy {
    translate: calc(clamp(45px, 5vw, 85px) - var(--portfolio-content-gap-adjust) + 15px) 0;
    transform: translateY(calc(clamp(8px, 1vw, 14px) - clamp(12px, 1.17vw, 16px) + 78px));
  }
  .portfolio__visual { translate: calc(-1 * (clamp(20px, 4vw, 55px) + var(--portfolio-folder-half-narrowing) + clamp(0px, 2vw, 32px) - var(--portfolio-content-gap-adjust)) + clamp(40px, 4vw, 64px)) clamp(40px, 4.1vw, 76px); }
  .portfolio__paper-crop { transform: none; }
  .portfolio__panel-title {
    margin-bottom: 24px;
    font-size: 35.6px;
  }
  .portfolio__features { gap: 16.5px; }
  .portfolio__feature {
    min-height: 66.65px;
    grid-template-columns: 61.3px minmax(0, 1fr);
    gap: 17.3px;
  }
  .portfolio__feature > img {
    width: 61.3px;
    height: 61.3px;
  }
  .portfolio__feature h4 { font-size: 20px; line-height: 1.12; }
  .portfolio__feature p { margin-top: 3px; font-size: 13.7px; line-height: 1.15; }

}

@media (min-width: 601px) and (max-width: 1250px) {
  .portfolio__panel {
    padding-bottom: calc(clamp(34px, 3.3vw, 45.3px) + var(--portfolio-paper-tail));
  }
  .portfolio__panel-content {
    width: 100%;
    min-height: 0;
    margin-left: 0;
    padding-top: clamp(14px, 2.2vw, 24px);
    transform: none;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: clamp(64px, 7vw, 80px);
    translate: 0 0;
  }
  .portfolio__panel-title { margin-bottom: 24px; font-size: 35.6px; }
  .portfolio__features { gap: 16.5px; }
  .portfolio__feature {
    min-height: 66.65px;
    grid-template-columns: 61.3px minmax(0, 1fr);
    gap: 17.3px;
  }
  .portfolio__feature > img { width: 61.3px; height: 61.3px; }
  .portfolio__feature h4 { font-size: 20px; }
  .portfolio__feature p { font-size: 13.7px; }
  .portfolio__copy {
    width: max-content;
    max-width: 100%;
    justify-self: center;
    translate: 0 0;
    transform: none;
  }
  .portfolio__visual {
    width: min(100%, 850px);
    margin-inline: auto;
    translate: 0 0;
  }
  .portfolio__phones { width: 100%; height: 100%; }
  .portfolio__paper-crop {
    inset: 0;
    transform: none;
  }
  .portfolio__paper { transform: translate(-50%, -50%); }
  .portfolio__phone-row { transform: none; }
}

/* The about section artwork keeps the SVG's 2567 × 1596 proportions. */
.about-section {
  width: 100%;
  overflow: hidden;
  background: #ede6de;
}
.about-section__canvas {
  width: 100%;
  overflow: hidden;
  line-height: normal;
  background: #ede6de;
}

.about-section__stage {
  position: relative;
  width: min(2567px, 100vw);
  margin-inline: auto;
}

.about-section__artwork {
  display: block;
  max-width: 100%;
  height: auto;
}

@media (min-width: 601px) {
  .about-section--fr .about-section__accessible-copy {
    position: absolute;
    top: 29.8%;
    left: 45%;
    width: 20.5%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    border: 0;
  }
  .about-section--fr .about-section__accessible-copy h3,
  .about-section--fr .about-section__accessible-copy h2,
  .about-section--fr .about-section__cta-mobile { display: none; }
  .about-section--fr .about-section__accessible-copy .about-section__niches-marquee {
    position: absolute;
    top: 64%;
    left: -219.512%;
    display: block;
    width: 487.805%;
    overflow: hidden;
    color: var(--blue);
    font: clamp(5px, 1vw, 26px)/1.2 "Caveat Brush", cursive;
    white-space: nowrap;
  }
  .about-section--fr .about-section__niches-track {
    display: flex;
    width: max-content;
    animation: about-niches-scroll 34s linear infinite;
    will-change: transform;
  }
  .about-section--fr .about-section__niches-track > span {
    flex: 0 0 auto;
    padding-right: 0;
    white-space: nowrap;
  }
  .about-section--en .about-section__accessible-copy {
    position: absolute;
    top: 29.8%;
    left: 45%;
    width: 20.5%;
    height: 100%;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    border: 0;
  }
  .about-section--en .about-section__accessible-copy h2,
  .about-section--en .about-section__accessible-copy ul,
  .about-section--en .about-section__accessible-copy p,
  .about-section--en .about-section__cta-mobile { display: none; }
  .about-section--en .about-section__accessible-copy .about-section__niches-marquee {
    position: absolute;
    top: 64%;
    left: -219.512%;
    display: block;
    width: 487.805%;
    overflow: hidden;
    color: var(--blue);
    font: clamp(5px, 1vw, 26px)/1.2 "Caveat Brush", cursive;
    white-space: nowrap;
  }
  .about-section--en .about-section__niches-track {
    display: flex;
    width: max-content;
    animation: about-niches-scroll 34s linear infinite;
    will-change: transform;
  }
  .about-section--en .about-section__niches-track > span {
    flex: 0 0 auto;
    padding-right: 0;
    white-space: nowrap;
  }
  .about-section--fr .about-section__accessible-copy ul {
    position: static;
    display: grid;
    width: 100%;
    gap: 0.12em;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #292522;
    font: clamp(8px, 1.3vw, 34px)/1.15 "Caveat Brush", cursive;
  }
  .about-section--fr .about-section__accessible-copy li::before { content: "•  "; }
  .about-section--fr .about-section__accessible-copy p {
    position: static;
    width: 100%;
    margin: 0;
    color: #292522;
    font: clamp(8px, 1.3vw, 34px)/1.22 "Caveat Brush", cursive;
  }
  .about-section--fr .about-section__accessible-copy p:first-of-type {
    margin-top: clamp(12px, 1.4vw, 30px);
  }
  .about-section--fr .about-section__accessible-copy p:first-of-type::after {
    content: "  ♥";
    color: #292522;
  }
  .about-section--fr .about-section__accessible-copy p:nth-of-type(2) { margin-top: clamp(8px, 1vw, 24px); }
}

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

.about-section__cta {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
}
.about-section__cta-mobile { display: none; }

.about-section__cta--en {
  top: 75.095%;
  left: 44.216%;
  width: 12.406%;
  height: 4.8%;
}

.about-section__cta--fr {
  top: 75.126%;
  left: 43.942%;
  width: 12.406%;
  height: 4.8%;
}

.about-section__cta:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.work-with-me-button {
  display: grid;
  width: min(318.46px, calc(100vw - 48px));
  min-height: clamp(68px, 5.98vw, 76.544px);
  padding: 12.8px 23.04px;
  place-items: center;
  appearance: none;
  border: 0;
  border-radius: 999px;
  font: 500 clamp(19px, 1.89vw, 24.192px)/normal Inter, Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.behind-section {
  display: flex;
  min-height: 800px;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: #ede6de;
  color: var(--ink);
}

.behind-section__layout {
  display: grid;
  width: min(900px, 100%);
  min-height: 704px;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  align-items: center;
  column-gap: 48px;
  row-gap: 0;
}

.behind-section__phone {
  display: block;
  width: min(100%, 300px);
  height: auto;
  justify-self: center;
  align-self: center;
  margin-bottom: 0;
  transform: translateY(-45px);
}

.behind-section__copy { min-width: 0; }

.behind-section__title {
  grid-column: 2;
  justify-self: center;
  translate: 0 -10px;
  margin: 0 0 34px;
  font-family: "Libre Bodoni", Georgia, serif;
  width: 100%;
  font-size: clamp(20px, 2.52vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.behind-section__copy > p {
  margin: 0 0 22px;
  font-size: 22px;
  line-height: 1.22;
}

.brand-inquiry-form {
  display: grid;
  gap: 16px;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

.brand-inquiry-form label,
.brand-inquiry-form legend {
  display: block;
  min-width: 0;
  margin: 0;
  text-indent: 5px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.brand-inquiry-form legend { padding: 0 0 7px; }
.brand-inquiry-form__marker,
.brand-inquiry-form legend span { color: var(--blue); font-size: 12px; font-weight: 400; }

.brand-inquiry-form input:not([type="checkbox"]),
.brand-inquiry-form select,
.brand-inquiry-form textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid rgb(111 140 150 / 48%);
  border-radius: 7px;
  background: rgb(248 245 239 / 90%);
  color: var(--ink);
  font: 400 15px/1.35 Inter, Arial, sans-serif;
}

.brand-inquiry-form textarea { min-height: 88px; resize: vertical; }
.brand-inquiry-form select {
  appearance: none;
  padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='m1 1 6 6 6-6' fill='none' stroke='%238a8a86' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 12px 8px;
}
.brand-inquiry-form input::placeholder,
.brand-inquiry-form textarea::placeholder { color: rgb(41 37 34 / 48%); }
.brand-inquiry-form .is-empty { color: rgb(41 37 34 / 48%); }
.brand-inquiry-form input.is-empty::-webkit-datetime-edit { color: rgb(41 37 34 / 48%); }
.brand-inquiry-form input:focus-visible,
.brand-inquiry-form select:focus-visible,
.brand-inquiry-form textarea:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.brand-inquiry-form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.brand-inquiry-form__row--availability .brand-inquiry-form__label-text {
  display: block;
  min-height: 2.7em;
  padding-left: 5px;
  text-align: left;
  text-indent: 0;
}

.brand-inquiry-form__row--business .brand-inquiry-form__label-text { display: block; }
.brand-inquiry-form__label-text--nowrap { white-space: nowrap; }

.brand-inquiry-form__submit {
  justify-self: center;
  margin-top: 10px;
  min-height: calc(clamp(68px, 5.98vw, 76.544px) - 9px);
  padding-block: 8.3px;
  background: var(--blue);
  color: var(--paper);
  cursor: pointer;
}

.brand-inquiry-form__submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgb(41 37 34 / 16%); }
.brand-inquiry-form__submit:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.brand-inquiry-form__note {
  width: min(270px, calc(100vw - 48px));
  justify-self: center;
  margin: -8px 0 0 !important;
  color: rgb(41 37 34 / 68%);
  font-size: 12px !important;
  line-height: 1.4 !important;
  text-align: left;
}

.behind-section__cta {
  container-type: inline-size;
  position: relative;
  width: min(100%, 620px);
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.behind-section__callout {
  display: block;
  width: 50.3226cqw;
  height: auto;
  margin: 0;
}

.behind-section__button {
  display: grid;
  width: 51.4516cqw;
  height: 12.4194cqw;
  min-height: 0;
  margin: -8.3871cqw 0.6cqw 0 auto;
  padding: 2.1cqw 3.7cqw;
  transform: translateY(0);
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: var(--paper);
  font-size: 3.871cqw;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.behind-section__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgb(41 37 34 / 16%);
}

.behind-section__button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}

.site-footer {
  position: relative;
  width: 100%;
  background: var(--paper);
}
.site-footer__layout {
  container-type: inline-size;
  position: relative;
  display: flex;
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 58px 16px 50px;
  flex-direction: column;
  align-items: center;
}
.site-footer__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ink);
  font-size: clamp(13px, 1.875cqw, 24px);
  line-height: 1.25;
  text-align: center;
}
.site-footer__copy p { margin: 0; }
.site-footer__copy a {
  color: inherit;
  text-decoration: none;
}
.site-footer__social {
  position: relative;
  width: 203px;
  height: 60px;
  margin-top: 42px;
  flex: none;
}
.site-footer__icons {
  display: block;
  width: 203px;
  height: 60px;
}
.site-footer__link {
  position: absolute;
  top: 4px;
  display: block;
  height: 50px;
  border-radius: 6px;
}
.site-footer__link--email { left: 8px; width: 60px; }
.site-footer__link--tiktok { left: 85px; width: 44px; }
.site-footer__link--instagram { left: 146px; width: 49px; }
.site-footer__link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.site-footer__note {
  position: absolute;
  top: 18px;
  right: 16px;
  margin: 0;
  color: var(--blue);
  font-family: "Caveat Brush", cursive;
  font-size: clamp(15px, 1.48cqw, 19px);
  line-height: 1.2;
  text-align: right;
}

@media (max-width: 700px) {
  .site-footer__layout { padding: 44px 16px 28px; }
  .site-footer__social { margin-top: 24px; }
  .site-footer__note { top: 10px; right: 16px; font-size: 15px; }
}

@media (max-width: 480px) {
  .brand-inquiry-form__row--availability { grid-template-columns: 1fr; }
}

@media (min-width: 701px) and (max-width: 1279px) {
  .hero { height: max(360px, 47.734vw); }
  .hero__canvas {
    background-size: 266vw auto;
    background-position: 60% 39%;
  }
  .hero h1 {
    top: 14.97cqw;
    left: 34.3cqw;
    font-size: 6.3cqw;
  }
  .hero__role {
    top: 22.81cqw;
    left: 34.3cqw;
    font-size: 1.89cqw;
  }
  .hero__tagline {
    top: 25.54cqw;
    left: 34.3cqw;
    font-size: 1.89cqw;
  }
  .hero__tagline span { font-size: 3.15cqw; }
  .hero__button {
    top: 31.58cqw;
    left: 34.3cqw;
    transform: translateX(-50%);
  }
  .hero__button:hover { transform: translate(-50%, -2px); }
}

@media (min-width: 701px) and (max-width: 1000px) {
  .hero h1 {
    left: 34.3cqw;
    font-size: 5cqw;
    line-height: 1.05;
  }
  .hero__role,
  .hero__tagline { left: 34.3cqw; }
  .hero__button {
    left: 34.3cqw;
  }
  .behind-section { margin-top: 0; min-height: 0; padding: 56px 24px 64px; }
  .behind-section__layout {
    display: flex;
    width: min(520px, 100%);
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .behind-section__phone { width: min(70vw, 300px); align-self: center; margin: 0 auto 16px; transform: none; }
  .behind-section__title { margin-bottom: 0; }
  .behind-section__copy > p { font-size: 19px; }
  .behind-section__cta { margin-top: 30px; }
}

@media (max-width: 700px) {
  :root { --section-title-size: clamp(30px, 8vw, 48px); }
  .hero { height: 600px; min-height: 600px; }
  .language-switch { top: 16px; right: 16px; gap: 6px; }
  .language-switch__link { width: calc(44px * 2 / 3); }
  .language-switch__icon { filter: brightness(0) invert(1); }
  .language-switch__link:not(.language-switch__link--current) { opacity: 0.72; }
  html[lang="en"] .language-switch__link--fr { opacity: 0.6; }
  .language-switch__link:not(.language-switch__link--current):hover,
  .language-switch__link:not(.language-switch__link--current):focus-visible { opacity: 1; }
  .hero__canvas {
    width: 100%;
    height: 640px;
    background-image: url("./assets/portfolio-header-cellphone.webp");
    background-size: auto 100%;
    background-position: 65% top;
    background-repeat: no-repeat;
  }
  .hero__content { width: 100%; height: 640px; margin: 0 auto; }
  .hero__content::before {
    position: absolute;
    inset: 0;
    content: "";
    background: linear-gradient(90deg, rgb(34 53 58 / 46%), rgb(34 53 58 / 8%));
  }
  .hero h1 { top: 82px; left: 50%; width: calc(100% - 32px); max-width: none; font-size: clamp(28px, 7.6vw, 40px); }
  .hero__role { top: 135px; left: 50%; font-size: 14px; }
  .hero__tagline { top: 174px; left: 50%; width: calc(100% - 32px); font-size: 13px; }
  .hero__tagline span { font-size: 27px; }
  .hero__button {
    top: 475px;
    left: 50%;
    width: min(238.845px, calc((100vw - 48px) * 0.75));
    min-height: 51px;
    padding: 9.6px 17.28px;
    font-size: clamp(14.25px, 1.4175vw, 18.144px);
    transform: translateX(-50%);
  }
  .hero__button:hover { transform: translate(-50%, -2px); }

  .behind-section { min-height: 0; padding: 56px 24px 64px; }
  .behind-section__layout {
    display: flex;
    width: min(520px, 100%);
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .behind-section__phone { width: min(70vw, 300px); align-self: center; margin: 0 auto 16px; transform: none; }
  .behind-section__title { margin-bottom: 0; font-size: clamp(16px, 4vw, 24px); translate: 0 0; position: relative; top: -20px; }
  .behind-section__copy > p { margin-bottom: 20px; font-size: 18px; line-height: 1.35; }
  .behind-section__cta { margin-top: 30px; }
}

@media (max-width: 600px) {
  .portfolio { min-height: 0; height: auto; padding: 40px 10px 0; }
  .portfolio__title { margin-bottom: 30px; font-size: clamp(34px, 8vw, 48px); }
  .portfolio__tabbed {
    --portfolio-tab-width: min(134px, calc((100vw - 40px) / 3.2));
    --portfolio-tab-height: 42px;
    --portfolio-tab-step: calc(var(--portfolio-tab-width) * 0.76);
    --portfolio-tabs-width: calc(var(--portfolio-tab-width) + var(--portfolio-tab-step) + var(--portfolio-tab-step) + var(--portfolio-tab-step));
    --portfolio-tabs-left: calc((100% - var(--portfolio-tabs-width)) / 2);
    --portfolio-panel-radius: 18px;
    width: 100%;
    padding-top: 38px;
  }
  .portfolio__tabs {
    top: 2px;
  }
  .portfolio__tab:first-child { margin-left: 0; }
  .portfolio__panel {
    --portfolio-panel-top-padding: 22px;
    width: 100%;
    min-height: 0;
    padding: 22px;
    padding-bottom: calc(22px + var(--portfolio-paper-tail));
    border-radius: var(--portfolio-panel-radius);
  }
  .portfolio__panel-content {
    min-height: 0;
    padding-top: clamp(14px, 2.2vw, 24px);
    transform: none;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 56px;
  }
  .portfolio__panel-title {
    margin-bottom: 24px;
    font-size: clamp(20px, 6vw, 24px);
    line-height: 1.12;
  }
  :lang(fr) .portfolio__panel-title { font-size: clamp(19px, 5.5vw, 22px); }
  .portfolio__copy {
    width: max-content;
    max-width: 100%;
    justify-self: center;
    transform: translateY(6px);
  }
  .portfolio__features {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .portfolio__feature {
    min-height: 48px;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
  }
  .portfolio__feature > img { width: 44px; height: 44px; }
  .portfolio__feature h4 { font-size: 14.5px; line-height: 1.12; }
  .portfolio__feature p { font-size: 11px; line-height: 1.18; }
  .portfolio__feature p span { display: inline; white-space: normal; }
  .portfolio__visual {
    width: 100%;
    max-width: min(100%, 520px);
    aspect-ratio: 5709 / 8016;
    margin: 0 auto;
  }
  .portfolio__phones { width: 100%; height: 100%; }
  .portfolio__phone-row {
    inset: -3% 15%;
    transform: translateY(-10px);
    --portfolio-phone-gap: 0%;
    grid-auto-columns: 100%;
  }
  .portfolio__phone { justify-self: center; width: 100%; }
  .portfolio__phone figcaption { transform: translateY(10px); font-size: clamp(21px, 7.2cqi, 33px); }
  .portfolio__device { transform: translateY(10px) scale(0.924); transform-origin: center; }
  .portfolio__carousel-controls { left: calc(8% - 10px); right: calc(8% - 10px); }
  .portfolio__paper-crop {
    inset: 0;
    transform: none;
  }
  .portfolio__paper { width: 114%; transform: translate(-50%, -50%); }
}

@media (max-width: 600px) {
  .portfolio__tab {
    padding: 0 4px;
    font-size: clamp(11.5px, 3.4vw, 14px);
    line-height: 1;
    white-space: normal;
  }
  .portfolio__tab span { width: 86%; max-width: 86%; text-align: center; overflow-wrap: anywhere; }
  .portfolio__tab-mobile-break { display: block; }
  #portfolio-tab-experience span { width: 100%; max-width: 100%; white-space: nowrap; overflow-wrap: normal; font-size: clamp(9px, 3.1vw, 11.5px); }

  .about-section__canvas {
    position: relative;
    overflow: visible;
    padding: 0 0 84px;
    background: #ede6de;
  }

  .about-section__canvas::before {
    position: absolute;
    z-index: 0;
    content: "";
    inset: 0;
    background-image: linear-gradient(to bottom, #ede6de 0 50px, transparent 50px), url("./assets/about-section-photo.jpg");
    background-repeat: no-repeat;
    background-position: 0 0, 54% -219px;
    background-size: 100% 100%, auto 1058px;
  }

  .about-section--en .about-section__canvas::before {
    background-position: 0 0, 54% -239px;
    background-size: 100% 100%, auto 1164px;
  }

  .about-section__stage { z-index: 1; width: min(100%, 520px); }
  .about-section__artwork { display: none; }
  .about-section__accessible-copy {
    position: static;
    position: relative;
    z-index: 1;
    width: 230px;
    height: auto;
    padding: 173px 0 0;
    margin: 0 auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    border: 0;
  }
  .about-section__accessible-copy h2,
  .about-section__accessible-copy h3 {
    margin: 0 0 18px;
    font-family: "Libre Bodoni", Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
  }
  .about-section__accessible-copy ul {
    display: grid;
    gap: 4px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    color: var(--ink);
    font-family: "Caveat Brush", cursive;
    font-size: 16px;
    line-height: 1.2;
  }
  .about-section__accessible-copy li::before {
    content: "•  ";
    color: var(--ink);
  }
  .about-section--fr .about-section__accessible-copy li {
    padding-left: 0.7em;
    text-indent: -0.7em;
  }
  .about-section--fr .about-section__accessible-copy ul,
  .about-section--fr .about-section__accessible-copy p {
    font-size: 16px;
  }
  .about-section__accessible-copy p {
    margin: 0 0 8px;
    color: var(--ink);
    font-family: "Caveat Brush", cursive;
    font-size: 16px;
    line-height: 1.15;
  }
  .about-section__accessible-copy p:first-of-type {
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 16px;
    line-height: 1.15;
  }
  .about-section--fr .about-section__accessible-copy p:first-of-type {
    font-size: 16px;
  }
  .about-section--en .about-section__accessible-copy ul,
  .about-section--en .about-section__accessible-copy p {
    font-size: 15px;
  }
  .about-section--en .about-section__accessible-copy > h2:first-child,
  .about-section--en .about-section__accessible-copy > ul,
  .about-section--en .about-section__accessible-copy > ul ~ p {
    position: relative;
    top: 20px;
  }
  .about-section__accessible-copy p:first-of-type::after { content: "  ♥"; }
  .about-section__accessible-copy h2:first-child,
  .about-section__accessible-copy h3:first-child { margin-top: 0; }
  .about-section__accessible-copy ul + p + p + .about-section__cta-mobile + h2,
  .about-section__accessible-copy ul + p + p + .about-section__cta-mobile + h3 { margin: 38px 0 18px; }
  .about-section__accessible-copy ul + p + p + .about-section__cta-mobile + h2,
  .about-section__accessible-copy ul + p + p + .about-section__cta-mobile + h3 {
    position: relative;
    top: 40px;
    left: 50%;
    width: 84vw;
    transform: translateX(-50%);
    font-size: clamp(27px, 7.5vw, 34px);
  }
  .about-section__accessible-copy ul + p + p + .about-section__cta-mobile + h2 + .about-section__niches-marquee,
  .about-section__accessible-copy ul + p + p + .about-section__cta-mobile + h3 + .about-section__niches-marquee {
    position: relative;
    left: 50%;
    width: 100vw;
    margin: 20px 0 0;
    transform: translateX(-50%);
    top: 40px;
    overflow: hidden;
    color: var(--blue);
    font-family: "Caveat Brush", cursive;
    font-size: clamp(16px, 4.6vw, 18px);
    line-height: 24px;
    text-align: center;
    border-block: 0;
    padding: 8px 0;
  }
  .about-section__accessible-copy .about-section__niches-marquee::before,
  .about-section__accessible-copy .about-section__niches-marquee::after {
    position: absolute;
    left: 50%;
    width: calc(100% - 96px);
    height: 1px;
    content: "";
    background: var(--blue);
    transform: translateX(-50%);
    pointer-events: none;
  }
  .about-section__accessible-copy .about-section__niches-marquee::before { top: 0; }
  .about-section__accessible-copy .about-section__niches-marquee::after { bottom: 0; }
  .about-section__niches-track {
    display: flex;
    width: max-content;
    animation: about-niches-scroll 34s linear infinite;
  }
  .about-section__niches-track > span {
    flex: 0 0 auto;
    padding-right: 1.5rem;
    white-space: nowrap;
  }
  @keyframes about-niches-scroll {
    to { transform: translateX(-25%); }
  }
  @media (prefers-reduced-motion: reduce) {
    .about-section__niches-track {
      animation: none;
      width: 100%;
      justify-content: center;
    }
    .about-section__niches-track > span:nth-child(n + 2) { display: none; }
    .about-section--fr .about-section__niches-track > span::after { content: none; }
    .about-section--en .about-section__niches-track > span::after { content: none; }
    .about-section__niches-track > span:first-child {
      white-space: normal;
      text-align: center;
      padding: 0 12px;
    }
  }
  .about-section__cta {
    position: relative;
    top: 30px;
    left: auto;
    display: grid;
    width: min(238.845px, calc((100vw - 48px) * 0.75));
    height: 51px;
    margin: 72px auto 0;
    padding: 9.6px 17.28px;
    transform: none;
    place-items: center;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font: 500 clamp(14.25px, 1.4175vw, 18.144px)/normal Inter, Arial, sans-serif;
    text-decoration: none;
    text-transform: uppercase;
  }
  .about-section__cta-desktop { display: none; }
  .about-section__cta-mobile { display: grid; }
  .about-section__cta--en::after { content: "WORK WITH ME"; }
  .about-section__cta--fr::after { content: "CONTACTEZ-MOI"; }
}

@media (max-width: 420px) {
  .brand-inquiry-form__row--business { grid-template-columns: 1fr; }
  .behind-section__phone { width: min(58vw, 230px); }
}

@media (max-width: 700px) {
  .behind-section__title { font-size: clamp(18px, 5vw, 22px); }
}

@media (max-width: 380px) {
  .portfolio__panel { --portfolio-panel-top-padding: 19px; padding: 19px; padding-bottom: calc(19px + var(--portfolio-paper-tail)); }
  .portfolio__panel-content { gap: 56px; }
  .portfolio__visual { max-width: min(100%, 320px); }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio__tab { transition: none; }
}




