@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=DM+Mono:wght@400&family=Manrope:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap");

:root {
  --black: #121211;
  --ink: #171716;
  --charcoal: #1f1f1d;
  --line: rgba(244, 238, 229, 0.18);
  --ivory: #f5efe6;
  --muted: rgba(245, 239, 230, 0.68);
  --soft: rgba(245, 239, 230, 0.42);
  --wine: #6d1f2c;
  --moss: #4e5743;
  --steel: #a7a99f;
  --header-height: 86px;
  --sans: Manrope, Arial, sans-serif;
  --display: "Playfair Display", Georgia, serif;
  --logo-serif: Cinzel, "Trajan Pro", "Times New Roman", serif;
  --mono: "DM Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  /* Page-to-page scrolling is driven by JS (see index.html); keep native behavior instant. */
  scroll-behavior: auto;
}

body {
  margin: 0;
  color: var(--ivory);
  background: #000;
  font-family: var(--sans);
  letter-spacing: 0;
  overscroll-behavior: none;
  animation: page-fade-enter 360ms ease both;
}

body.is-page-leaving {
  overflow: hidden;
}

body.is-page-leaving main,
body.is-page-leaving .site-header {
  opacity: 0;
  transition: opacity 320ms ease;
}

@keyframes page-fade-enter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

.page-section {
  min-height: 100vh;
  min-height: 100svh;
}

/* Snap points live on non-sticky elements so the sticky hero never traps the scroll. */
.snap-anchor {
  height: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  height: var(--header-height);
  padding: 14px clamp(18px, 3vw, 46px);
  border-bottom: 0;
  background:
    linear-gradient(180deg, rgba(12, 12, 11, 0.62) 0%, rgba(12, 12, 11, 0.28) 58%, rgba(12, 12, 11, 0) 100%);
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
  min-width: 0;
}

.nav-left {
  justify-content: flex-start;
}

.nav-right {
  justify-content: flex-end;
  padding-right: calc(40px + clamp(14px, 2vw, 34px));
}

.mobile-menu {
  display: none;
}

.site-header a,
.social-menu summary,
.language-menu {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.82);
}

.site-header a:hover,
.social-menu summary:hover,
.language-option:hover {
  color: var(--ivory);
}

@keyframes menu-reveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes submenu-reveal {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 128px;
}

.brand img {
  display: block;
  width: 100%;
  max-height: 26px;
  height: auto;
  object-fit: contain;
}

.social-menu {
  position: relative;
}

.social-menu summary {
  display: block;
  cursor: pointer;
  list-style: none;
}

.social-menu summary::-webkit-details-marker {
  display: none;
}

.social-panel {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  display: grid;
  gap: 13px;
  min-width: 120px;
  padding: 16px 18px;
  background: rgba(18, 18, 17, 0.72);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transform-origin: top right;
  pointer-events: none;
}

.social-menu[open] .social-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  animation: menu-reveal 240ms ease both;
}

.language-menu {
  position: absolute;
  top: 50%;
  right: clamp(18px, 3vw, 46px);
  display: flex;
  align-items: center;
  gap: 2px;
  color: rgba(245, 239, 230, 0.42);
  transform: translateY(-50%);
}

.language-option {
  padding: 0;
  border: 0;
  color: rgba(245, 239, 230, 0.46);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  transition: color 160ms ease;
}

.language-option.is-active {
  color: rgba(245, 239, 230, 0.86);
}

.mobile-menu {
  position: relative;
  grid-column: 1;
  justify-self: flex-start;
}

.mobile-menu > summary {
  display: grid;
  gap: 6px;
  width: 34px;
  padding: 8px 0;
  cursor: pointer;
  list-style: none;
}

.mobile-menu > summary::-webkit-details-marker,
.mobile-social-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu > summary span {
  display: block;
  width: 22px;
  height: 1px;
  background: rgba(245, 239, 230, 0.86);
  transition: transform 220ms ease, background 220ms ease;
}

.mobile-menu[open] > summary span:first-child {
  transform: translateY(3.5px) rotate(24deg);
}

.mobile-menu[open] > summary span:last-child {
  transform: translateY(-3.5px) rotate(-24deg);
}

.mobile-menu-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  display: grid;
  align-items: start;
  gap: 18px;
  min-width: 156px;
  padding: 18px 22px;
  background: rgba(18, 18, 17, 0.76);
  backdrop-filter: blur(16px);
  transform-origin: top left;
}

.mobile-menu[open] .mobile-menu-panel {
  animation: menu-reveal 240ms ease both;
}

.mobile-menu-panel a,
.mobile-social-menu summary {
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.84);
}

.mobile-menu-panel a:hover,
.mobile-social-menu summary:hover {
  color: var(--ivory);
}

.mobile-social-menu {
  display: grid;
  gap: 0;
}

.mobile-social-menu summary {
  cursor: pointer;
  list-style: none;
}

.mobile-social-menu div {
  display: grid;
  gap: 13px;
  padding: 14px 0 0 14px;
  transform-origin: top left;
}

.mobile-social-menu[open] div {
  animation: submenu-reveal 220ms ease both;
}

.mobile-social-menu div a {
  color: rgba(245, 239, 230, 0.62);
}

.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  display: grid;
  align-items: end;
  height: 100vh;
  height: 100svh;
  padding: var(--header-height) clamp(22px, 6vw, 96px) 7vh;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #000;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(245, 239, 230, 0.025), transparent 38%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.32), transparent 50%, rgba(0, 0, 0, 0.24));
}

.hero-logo-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transform: scale(1.08);
  transform-origin: center;
}

.hero-logo-fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: block;
  width: min(52vw, 720px);
  max-height: min(46svh, 520px);
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.hero-logo-fallback {
  display: none;
  width: min(34vw, 430px);
  opacity: 0.92;
}

.hero.is-video-fallback .hero-logo-video {
  display: none;
}

.hero.is-video-fallback .hero-logo-fallback {
  display: block;
}

.hero-discover {
  position: absolute;
  left: 50%;
  bottom: clamp(28px, 5vh, 58px);
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 10px;
  color: rgba(245, 239, 230, 0.92);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.discover-arrow {
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

.hero-discover:hover .discover-arrow {
  transform: translateY(3px) rotate(45deg);
}

.atelier-panel {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  row-gap: clamp(20px, 3.4vh, 38px);
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-height) + 34px) clamp(22px, 5vw, 78px) clamp(30px, 4.5vh, 52px);
  overflow: hidden;
  box-shadow: 0 -36px 80px rgba(0, 0, 0, 0.55);
  background: #000;
}

.atelier-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  z-index: 0;
  background: transparent;
  pointer-events: none;
}

.atelier-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(18rem, 0.98fr) minmax(20rem, 1fr);
  align-items: center;
  gap: clamp(42px, 6vw, 94px);
  width: min(1240px, 92vw);
}

.atelier-map {
  position: relative;
  width: min(600px, 100%);
  justify-self: end;
}

.world-map {
  width: 100%;
  aspect-ratio: 900 / 440;
  margin: 0 auto;
  max-height: 62svh;
}

.world-map svg {
  display: block;
  width: 100%;
  height: 100%;
}

.atelier-panel .jvm-container,
.atelier-panel .jvm-tooltip {
  background: transparent;
}

.atelier-panel .jvm-zoom-btn {
  display: none;
}

.atelier-copy {
  max-width: 37rem;
  justify-self: start;
}

.atelier-copy p {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(1.3rem, 1.7vw, 1.7rem);
  line-height: 1.62;
  letter-spacing: 0;
  color: rgba(245, 239, 230, 0.82);
}

.country-marquee {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: stretch;
  width: calc(100% + 2 * clamp(22px, 5vw, 78px));
  margin-inline: calc(-1 * clamp(22px, 5vw, 78px));
  margin-bottom: clamp(16px, 3.5vh, 44px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: marquee-scroll 46s linear infinite;
}

.country-marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  padding: 0 clamp(18px, 2vw, 34px);
  font-family: var(--mono);
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.72);
  white-space: nowrap;
}

.marquee-sep {
  color: rgba(245, 239, 230, 0.3);
  font-size: 11px;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.showcase {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: 0 -36px 80px rgba(0, 0, 0, 0.55);
}

.showcase-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.showcase-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  filter: saturate(0.9) contrast(1.02);
  transition: opacity 1200ms ease;
}

.showcase-slide.is-active {
  opacity: 1;
}

.showcase-slide-atelier {
  background-image: url("assets/showcase-03-atelier.jpg");
}

.showcase-slide-sketch {
  background-image: url("assets/showcase-02-sketch.jpg");
}

.showcase-slide-blue {
  background-image: url("assets/showcase-04-blue-collection.jpg");
  background-position: 84% top;
}

.showcase-slide-moodboards {
  background-image: url("assets/showcase-06-moodboards.jpg");
}

.showcase-slide-shirts {
  background-image: url("assets/showcase-01-shirts.jpg");
  background-position: 82% center;
  background-size: 112% auto;
}

.showcase-slide-fitting {
  background-image: url("assets/showcase-05-fitting.jpg");
}

.showcase::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, transparent 32%, transparent 64%, rgba(0, 0, 0, 0.42) 100%);
  pointer-events: none;
}

.showcase-dots {
  position: absolute;
  left: 50%;
  bottom: clamp(26px, 5vh, 56px);
  z-index: 2;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.showcase-dots button {
  position: relative;
  width: 5px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  background: rgba(245, 239, 230, 0.4);
  transition: background 220ms ease, transform 220ms ease;
}

/* Larger invisible hit area so the small dots are easy to tap. */
.showcase-dots button::before {
  position: absolute;
  inset: -12px;
  content: "";
}

.showcase-dots button.is-active {
  background: var(--ivory);
  transform: scale(1.3);
}

.showcase-dots button:hover {
  background: rgba(245, 239, 230, 0.72);
}

.showcase-gallery-link {
  position: absolute;
  left: 50%;
  bottom: clamp(48px, 7vh, 78px);
  z-index: 2;
  color: rgba(245, 239, 230, 0.94);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  transform: translateX(-50%);
  transition: color 180ms ease, transform 180ms ease;
}

.showcase-gallery-link:hover {
  color: var(--ivory);
  transform: translate(-50%, -2px);
}

.site-footer {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-rows: 0.5fr auto 1.5fr auto 1.5fr auto 0.5fr;
  justify-items: center;
  align-items: center;
  min-height: 58vh;
  min-height: 58svh;
  padding: 0 clamp(22px, 5vw, 78px);
  color: var(--ivory);
  background: #000;
  box-shadow: 0 -26px 64px rgba(0, 0, 0, 0.48);
}

.footer-logo {
  grid-row: 2;
  display: block;
  width: min(178px, 42vw);
}

.footer-logo img {
  display: block;
  width: 100%;
  height: auto;
}

/* Address — centered in the gap between the logo and the link row; same typeface as "Scopri di più". */
.footer-address {
  grid-row: 3;
  margin: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-style: normal;
  text-align: center;
  color: rgba(245, 239, 230, 0.78);
}

/* The link row sits at the vertical center of the footer. */
.footer-links {
  grid-row: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
}

/* Social icons centered between the link row and the legal line. */
.footer-icon-links {
  grid-row: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.footer-links a,
.footer-legal span {
  color: rgba(245, 239, 230, 0.76);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: var(--ivory);
}

.footer-icon-links a {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: rgba(245, 239, 230, 0.82);
  transition: color 180ms ease, transform 180ms ease;
}

.footer-icon-links a:hover {
  color: var(--ivory);
  transform: translateY(-2px);
}

.footer-icon-links svg {
  display: block;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-icon-links svg circle:last-child {
  fill: currentColor;
  stroke: none;
}

/* Legal sits a little above the bottom edge (row 7 is the spacer below it). */
.footer-legal {
  grid-row: 6;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.gallery-body {
  min-height: 100vh;
  overflow-x: hidden;
  background: #000;
}

.gallery-main {
  min-height: 100vh;
  padding: var(--header-height) 0 0;
  overflow: visible;
}

.info-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-height) + 38px) clamp(22px, 7vw, 110px) 56px;
  background: #000;
}

.info-copy {
  width: min(880px, 100%);
  text-align: center;
}

.info-copy p {
  margin: 0;
  color: rgba(245, 239, 230, 0.82);
  font-family: var(--sans);
  font-size: clamp(1.08rem, 1.55vw, 1.45rem);
  font-weight: 500;
  line-height: 1.72;
}

.contact-copy p {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  font-weight: 700;
  line-height: 1.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.contact-hours {
  width: min(360px, 100%);
  margin: clamp(30px, 5vh, 52px) auto 0;
  padding-top: clamp(22px, 3vh, 34px);
  border-top: 1px solid rgba(245, 239, 230, 0.28);
  color: rgba(245, 239, 230, 0.82);
  font-family: var(--sans);
  text-transform: uppercase;
}

.contact-hours h2 {
  margin: 0 0 16px;
  font-size: clamp(0.78rem, 0.9vw, 0.92rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}

.contact-hours dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.contact-hours div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: baseline;
}

.contact-hours dt,
.contact-hours dd {
  margin: 0;
  font-size: clamp(0.78rem, 0.88vw, 0.9rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.025em;
}

.contact-hours dt {
  text-align: left;
}

.contact-hours dd {
  text-align: right;
}

.contact-page {
  position: relative;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(32px, 6vw, 92px);
  place-items: center;
  overflow: hidden;
  background: #000;
}

.contact-page::before,
.contact-page::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.contact-page::before {
  z-index: 0;
  background: #000;
}

.contact-page::after {
  z-index: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.035) 0 18%, rgba(0, 0, 0, 0) 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(0, 0, 0, 0) 36%, rgba(255, 255, 255, 0.018));
}

.contact-copy {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  text-align: center;
}

.contact-map {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
}

.contact-map iframe {
  display: block;
  width: 100%;
  border: 0;
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 0;
}

.service-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-height) + 42px) clamp(22px, 7vw, 110px) 58px;
  background: #000;
}

.service-page-split {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  place-items: stretch;
  padding: 0;
  overflow: hidden;
}

main.service-page-split::before {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: calc(var(--header-height) + 150px);
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.28) 35%, transparent 68%),
    radial-gradient(ellipse at 100% 0%, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.24) 35%, transparent 68%),
    linear-gradient(180deg, rgba(6, 6, 6, 0.62) 0%, rgba(6, 6, 6, 0.32) 42%, rgba(6, 6, 6, 0.1) 70%, rgba(6, 6, 6, 0) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.88) 38%, rgba(0, 0, 0, 0.34) 74%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.88) 38%, rgba(0, 0, 0, 0.34) 74%, transparent 100%);
}

.service-slideshow {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #000;
}

.service-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 26%),
    linear-gradient(90deg, transparent 72%, rgba(0, 0, 0, 0.28));
}

.service-slideshow-secondary::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 26%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 28%);
}

.service-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.015);
  filter: saturate(0.95) contrast(1.02);
  transition: opacity 1200ms ease;
}

.service-slide.is-active {
  opacity: 1;
}

.service-copy {
  position: relative;
  z-index: 11;
  display: grid;
  align-content: center;
  justify-items: start;
  width: 100%;
  min-width: 0;
  padding: calc(var(--header-height) + clamp(36px, 6vw, 88px)) clamp(40px, 7vw, 112px) clamp(42px, 6vw, 84px);
  text-align: left;
}

.service-copy h1 {
  display: inline-block;
  margin: 0 0 clamp(22px, 3.4vh, 40px);
  color: rgba(245, 239, 230, 0.96);
  font-family: var(--logo-serif);
  font-size: clamp(1.55rem, 2.7vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  transform: scaleY(0.92);
  transform-origin: left center;
}

.service-letter-o {
  display: inline-block;
  margin-inline: -0.035em;
}

.service-letter-e {
  display: inline-block;
  margin-inline: -0.03em;
}

.service-copy p {
  margin: 0;
  max-width: 36rem;
  color: rgba(245, 239, 230, 0.84);
  font-family: var(--sans);
  font-size: clamp(1rem, 1.12vw, 1.18rem);
  font-weight: 500;
  line-height: 1.68;
  text-align: left;
}

.about-page {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #000;
}

.about-page::before {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: calc(var(--header-height) + 170px);
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.32) 34%, transparent 68%),
    radial-gradient(ellipse at 100% 0%, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.25) 34%, transparent 68%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.62) 0%, rgba(7, 7, 7, 0.34) 38%, rgba(7, 7, 7, 0.12) 68%, rgba(7, 7, 7, 0) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.88) 38%, rgba(0, 0, 0, 0.38) 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.88) 38%, rgba(0, 0, 0, 0.38) 72%, transparent 100%);
}

.about-copy-panel {
  display: grid;
  align-items: center;
  justify-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--header-height) + clamp(28px, 5vw, 78px)) clamp(54px, 8vw, 124px) clamp(34px, 7vw, 110px);
}

.about-copy {
  width: min(560px, 100%);
  margin: 0 auto;
}

.about-copy h1 {
  display: inline-block;
  margin: 0 0 clamp(18px, 2.8vh, 30px);
  color: rgba(245, 239, 230, 0.96);
  font-family: var(--logo-serif);
  font-size: clamp(1.55rem, 2.7vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.025em;
  text-transform: uppercase;
  transform: scaleY(0.92);
  transform-origin: left center;
}

.title-word-chi {
  letter-spacing: -0.035em;
}

.title-word-siamo {
  letter-spacing: 0.015em;
}

.title-letter-o {
  display: inline-block;
  margin-left: -0.045em;
}

.about-copy p {
  margin: 0;
  color: rgba(245, 239, 230, 0.84);
  font-family: var(--sans);
  font-size: clamp(0.98rem, 1.08vw, 1.16rem);
  font-weight: 500;
  line-height: 1.66;
  text-align: left;
}

.about-copy p + p {
  margin-top: 1.1em;
}

.about-visual-panel {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: rgba(245, 239, 230, 0.04);
  box-shadow: -28px 0 54px rgba(0, 0, 0, 0.22);
}

.about-visual-panel img,
.about-visual-panel video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100svh;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(1.02);
}

.about-visual-panel::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: clamp(42px, 6vw, 90px);
  height: 100%;
  content: "";
  background: linear-gradient(90deg, rgba(7, 7, 7, 0.38), transparent);
  pointer-events: none;
}

.gallery-feature {
  position: relative;
  margin-top: calc(-1 * var(--header-height));
  padding-bottom: 5px;
}

.gallery-feature::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: calc(var(--header-height) + 170px);
  content: "";
  pointer-events: none;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.32) 34%, transparent 68%),
    radial-gradient(ellipse at 100% 0%, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.25) 34%, transparent 68%),
    linear-gradient(180deg, rgba(7, 7, 7, 0.62) 0%, rgba(7, 7, 7, 0.34) 38%, rgba(7, 7, 7, 0.12) 68%, rgba(7, 7, 7, 0) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.88) 38%, rgba(0, 0, 0, 0.38) 72%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.88) 38%, rgba(0, 0, 0, 0.38) 72%, transparent 100%);
}

.gallery-feature-image {
  margin: 0;
  overflow: hidden;
  background: rgba(245, 239, 230, 0.04);
  cursor: zoom-in;
}

.gallery-feature-image img {
  display: block;
  width: 100%;
  height: min(calc(74svh + var(--header-height)), 846px);
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.94) contrast(1.02);
}

/* Editorial lookbook grid: mixed tile sizes laid out on a dense grid for deliberate rhythm. */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(170px, 23vw, 290px);
  grid-auto-flow: dense;
  gap: 5px;
  min-height: calc(100vh - var(--header-height));
  padding-bottom: 5px;
}

.gallery-mosaic-tile {
  margin: 0;
  overflow: hidden;
  background: rgba(245, 239, 230, 0.04);
  cursor: zoom-in;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.gallery-mosaic-tile.is-visible {
  opacity: 1;
  transform: none;
}

.gallery-mosaic-tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.94) contrast(1.02);
  transition: transform 1100ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.gallery-mosaic-tile:hover img {
  transform: scale(1.045);
}

/* Tile size variants — assigned in JS from image orientation + a repeating rhythm. */
.tile-tall {
  grid-row: span 2;
}

.tile-wide {
  grid-column: span 2;
}

.tile-statement {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  padding: 0;
  border: 0;
  color: var(--ivory);
  background: rgba(7, 7, 7, 0.18);
  backdrop-filter: blur(18px) brightness(0.62);
  -webkit-backdrop-filter: blur(18px) brightness(0.62);
}

.gallery-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px) brightness(0.62);
  -webkit-backdrop-filter: blur(18px) brightness(0.62);
}

.gallery-lightbox[open] {
  display: grid;
  place-items: center;
  animation: page-fade-enter 260ms ease both;
}

.gallery-lightbox figure {
  display: grid;
  place-items: center;
  width: min(86vw, 1280px);
  height: min(76vh, 820px);
  margin: 0;
  overflow: hidden;
}

.gallery-lightbox figure img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(86vw, 1280px);
  max-height: min(76vh, 820px);
  object-fit: contain;
}

.gallery-lightbox-close {
  position: fixed;
  top: 34px;
  right: 36px;
  z-index: 2;
  padding: 0;
  border: 0;
  color: rgba(245, 239, 230, 0.72);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
}

.gallery-lightbox-close:hover {
  color: var(--ivory);
}

@media (max-width: 920px) {
  :root {
    --header-height: 76px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: clamp(10px, 2.4vw, 18px);
    height: var(--header-height);
    padding: 12px clamp(12px, 3vw, 24px);
  }

  .mobile-menu {
    display: block;
  }

  .site-header .nav-left,
  .site-header .nav-right {
    display: none;
  }

  .brand {
    grid-column: 2;
    width: 126px;
  }

  .language-menu {
    right: clamp(12px, 3vw, 24px);
  }

  .hero {
    min-height: 100vh;
    min-height: 100svh;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(245, 239, 230, 0.025), transparent 38%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.36), transparent 58%, rgba(0, 0, 0, 0.2));
  }

  .hero-logo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.06);
    transform-origin: center;
  }

  .hero-logo-fallback {
    width: min(48vw, 260px);
    max-height: 42svh;
  }

  .atelier-panel {
    padding-top: calc(var(--header-height) + 20px);
  }

  .about-page {
    grid-template-columns: 1fr;
  }

  .about-copy-panel {
    align-items: start;
    min-height: auto;
    padding-top: calc(var(--header-height) + 6px);
  }

  .gallery-mosaic {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: clamp(160px, 30vw, 260px);
  }

}

@media (max-width: 820px) {
  .gallery-main {
    padding-top: var(--header-height);
  }

  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(150px, 32vw, 230px);
  }

  .about-page {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
  }

  .about-page::before {
    display: none;
  }

  /* Text takes its natural height; the video fills whatever space is left and is
     cropped (its bottom is cut off) so the page always fits one screen — no scroll. */
  .about-copy-panel {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    align-items: start;
    min-height: auto;
    padding: calc(var(--header-height) + clamp(18px, 3vh, 30px)) clamp(24px, 8vw, 58px) clamp(16px, 3vh, 26px);
  }

  .about-copy {
    width: min(620px, 100%);
    margin: 0 auto;
  }

  .about-visual-panel {
    position: relative;
    z-index: 1;
    flex: 1 1 0;
    min-height: 0;
    height: auto;
    margin-top: 0;
    border-left: 0;
    box-shadow: none;
  }

  .about-visual-panel img,
  .about-visual-panel video {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    transform: none;
    transform-origin: center;
  }

  .about-visual-panel::before {
    display: none;
  }

  .gallery-lightbox-close {
    top: 22px;
    right: 20px;
  }

  .atelier-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: clamp(14px, 2.2vh, 24px);
    width: min(520px, 90vw);
    text-align: center;
  }

  .atelier-map {
    width: min(430px, 100%);
    justify-self: center;
  }

  .world-map {
    max-height: 30svh;
  }

  .atelier-copy {
    max-width: min(40rem, 92vw);
    justify-self: center;
  }

  .atelier-copy p {
    font-size: clamp(0.98rem, 3.3vw, 1.18rem);
    line-height: 1.42;
  }

  .country-marquee {
    margin-bottom: clamp(8px, 1.8vh, 18px);
  }

}

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

  .marquee-track {
    animation: none;
  }

  .gallery-mosaic-tile {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .gallery-mosaic-tile img {
    transition: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: fixed;
  }

  .showcase-slide:first-child {
    background-image: url("assets/showcase-mobile-01-atelier.jpg") !important;
    background-position: center;
  }

  .showcase-slide-shirts {
    background-size: cover;
    background-position: center;
  }

  .showcase-gallery-link {
    bottom: clamp(52px, 7vh, 72px);
    font-size: 12px;
    white-space: nowrap;
  }

  .brand {
    width: 112px;
  }

  .language-menu,
  .language-option {
    font-size: 9px;
  }

  .hero {
    min-height: 100svh;
    height: 100svh;
    padding-bottom: 52px;
  }

  .hero-logo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    transform-origin: center;
  }

  .atelier-panel {
    min-height: 100svh;
    height: 100svh;
    grid-template-rows: 1fr auto;
    row-gap: 12px;
    padding: calc(var(--header-height) + 16px) 16px 24px;
  }

  .atelier-inner {
    align-content: center;
    gap: 14px;
    width: min(390px, 92vw);
  }

  .atelier-map {
    width: min(330px, 86vw);
  }

  .world-map {
    max-height: 24svh;
  }

  .atelier-copy {
    max-width: min(24rem, 90vw);
  }

  .atelier-copy p {
    font-size: clamp(0.88rem, 3.45vw, 1rem);
    line-height: 1.36;
  }

  .country-marquee {
    width: 100vw;
    margin-bottom: 0;
  }

  .footer-links {
    gap: 16px;
  }

  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: clamp(130px, 36vw, 190px);
    gap: 4px;
  }

  .gallery-feature-image img {
    height: calc(62svh + var(--header-height));
  }

  .about-copy-panel {
    padding-top: calc(var(--header-height) + 18px);
  }

  .about-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(1.35rem, 6.4vw, 2rem);
    transform-origin: center;
  }

  .about-copy {
    text-align: center;
  }

  .contact-page {
    grid-template-columns: 1fr;
    gap: 30px;
    padding-top: calc(var(--header-height) + 46px);
  }

  .contact-copy {
    text-align: center;
  }

  .contact-map iframe {
    height: auto;
    min-height: 0;
  }

  .service-page-split {
    grid-template-columns: 1fr;
    place-items: stretch;
    min-height: auto;
    padding: 0;
    overflow: visible;
  }

  .service-slideshow {
    position: relative;
    min-height: 48svh;
    order: 2;
  }

  .service-slideshow::after {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.34), transparent 36%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.36), transparent 38%);
  }

  .service-copy {
    order: 1;
    width: 100%;
    justify-items: center;
    padding: calc(var(--header-height) + 34px) clamp(22px, 7vw, 54px) clamp(34px, 6vh, 58px);
    text-align: center;
  }

  .service-copy h1 {
    font-size: clamp(1.35rem, 6.8vw, 2.2rem);
    letter-spacing: 0.025em;
    transform-origin: center;
  }

  .service-copy p {
    max-width: 36rem;
    font-size: clamp(0.98rem, 4vw, 1.14rem);
    line-height: 1.66;
    text-align: center;
  }

  .about-copy p {
    font-size: clamp(0.92rem, 3.75vw, 1.04rem);
    line-height: 1.62;
    text-align: left;
  }

  .about-copy p + p {
    margin-top: 1.1em;
  }

}
