/* ============================================================
   INES MADOURI — STUDIO D'ARCHITECTURE D'INTÉRIEUR
   ============================================================ */

@font-face { font-family: "Corinthia"; src: url("uploads/Corinthia-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
:root {
  /* Palette: Bordeaux */
  --bg: #F4F0EA;
  --bg-alt: #EAE3DA;
  --ink: #1C1418;
  --ink-soft: #3A332B;
  --muted: #7A6E78;
  --line: #A7C7E7;
  --accent: #520B20;
  --invert-bg: #520B20;
  --invert-ink: #F4F0EA;

  /* Type scale */
  --display: "Corinthia", cursive;
  --sans: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --blue: #A7C7E7;

  --maxw: 1680px;
  --gutter: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html, body { overflow-x: clip; }

body.no-scroll { overflow: hidden; height: 100vh; }

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

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

::selection { background: var(--ink); color: var(--bg); }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--blue);
}
.eyebrow--script { font-family: var(--display); font-size: clamp(28px, 2.4vw, 40px); letter-spacing: 0; text-transform: none; line-height: 1; }
.display {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.02;
}
.italic { font-style: normal; }

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed; inset: 0;
  background: #F5EEE2;
  z-index: 9000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  pointer-events: none;
}
.loader__inner {
  text-align: center;
  position: relative;
  z-index: 2;
}
.loader__pops { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.loader__pop {
  position: absolute;
  width: clamp(120px, 16vw, 260px);
  aspect-ratio: 4/3;
  object-fit: cover;
  opacity: 0;
  transform: scale(.6) rotate(var(--r, 0deg));
  animation: popIn 1.3s cubic-bezier(.2,.7,.2,1) forwards;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}
.loader__pop--1 { top: 8%;  left: 6%;  --r: -6deg; animation-delay: .25s; }
.loader__pop--2 { top: 14%; right: 8%; --r: 5deg;  animation-delay: .55s; box-shadow: none; aspect-ratio: auto; height: auto; width: clamp(220px, 26vw, 400px); }
.loader__pop--3 { bottom: 14%; left: 10%; --r: 4deg; animation-delay: .85s; }
.loader__pop--4 { bottom: 10%; right: 12%; --r: -5deg; animation-delay: 1.15s; box-shadow: none; aspect-ratio: auto; height: auto; width: clamp(220px, 26vw, 400px); }
.loader__pop--5 { top: 46%; left: 2%; --r: 3deg; animation-delay: 1.45s; width: clamp(90px, 12vw, 190px); }
.loader__pop--6 { top: 40%; right: 2%; --r: -4deg; animation-delay: 1.75s; width: clamp(220px, 26vw, 400px); box-shadow: none; aspect-ratio: auto; height: auto; }
.loader__pop--7 { top: 4%; left: 42%; --r: 2deg; animation-delay: 2.0s; width: clamp(100px, 13vw, 210px); }
@keyframes popIn { 0% { opacity: 0; transform: scale(.6) rotate(var(--r)); } 60% { opacity: 1; transform: scale(1.04) rotate(var(--r)); } 100% { opacity: 1; transform: scale(1) rotate(var(--r)); } }
@media (max-width: 880px) { .loader__pop--5, .loader__pop--6, .loader__pop--7 { display: none; } }
.loader__name {
  font-family: var(--sans);
  font-size: clamp(24px, 3.6vw, 56px);
  font-style: normal;
  font-weight: 100;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: #1C1814;
  overflow: hidden;
}
.loader__name span {
  display: inline-block;
  transform: translateY(110%);
  animation: rise 1.1s cubic-bezier(.2,.7,.2,1) forwards;
}
.loader__name span:nth-child(2) { animation-delay: .12s; }
.loader__sub {
  margin-top: 22px;
  font-size: 10.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #1C1814;
  opacity: 0;
  animation: fade .9s .9s ease forwards;
}
.loader__count {
  position: absolute;
  bottom: -88px; left: 50%; transform: translateX(-50%);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: #1C1814;
  font-variant-numeric: tabular-nums;
}
.loader__bar {
  position: absolute;
  bottom: 6vh; left: 50%; transform: translateX(-50%);
  width: min(360px, 60vw);
  height: 1px;
  background: var(--line);
}
.loader__bar::after {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  background: var(--blue);
  animation: fill 2.4s .35s cubic-bezier(.7,0,.2,1) forwards;
}
.loader.exit { animation: loaderOut 1.1s .15s cubic-bezier(.7,0,.2,1) forwards; }
.loader.exit .loader__inner { animation: innerOut .8s ease forwards; }

@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes fill { to { width: 100%; } }
@keyframes loaderOut {
  0% { transform: translateY(0); }
  100% { transform: translateY(-100%); }
}
@keyframes innerOut {
  to { opacity: 0; transform: translateY(-30px); }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; justify-content: center;
  padding: 18px var(--gutter);
  color: #FFFFFF;
  pointer-events: none;
  transition: padding .6s cubic-bezier(.2,.7,.2,1);
}
.nav.nav--dark { color: #1C1814; text-shadow: none; }
/* the bar: full width at the top of the page, a floating pill once scrolled */
.nav__bar {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  width: 100%;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: width .75s cubic-bezier(.2,.7,.2,1), padding .75s cubic-bezier(.2,.7,.2,1),
              background .5s ease, border-color .5s ease, box-shadow .5s ease;
  will-change: width;
}
.nav.is-pill { padding-top: 14px; }
.nav.is-pill .nav__bar {
  width: 236px;
  padding: 6px 8px 6px 14px;
  background: rgba(28,20,24,.55);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  backdrop-filter: blur(20px) saturate(1.4);
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 10px 32px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.12);
}
.nav.is-pill.nav--dark .nav__bar {
  background: rgba(244,240,234,.72);
  border-color: rgba(28,20,24,.14);
  box-shadow: 0 10px 32px rgba(28,20,24,.12), inset 0 1px 0 rgba(255,255,255,.6);
}
/* scrolling down: tiny logo-only pill (hover brings the CTA back) */
.nav.is-pill.is-mini .nav__bar { width: 64px; padding: 7px; justify-content: center; }
.nav.is-pill.is-mini .nav__bar:hover { width: 236px; padding: 6px 8px 6px 14px; justify-content: space-between; }

.nav__brand img { filter: invert(1) brightness(1.15) drop-shadow(0 1px 6px rgba(0,0,0,.35)); transition: filter .4s ease, height .75s cubic-bezier(.2,.7,.2,1); }
.nav.nav--dark .nav__brand img { filter: none; }
.nav__logo { height: 84px; display: block; }
.nav.is-pill .nav__logo { height: 30px; }
.nav.is-pill.is-mini .nav__logo { height: 26px; }
.nav.is-pill.is-mini .nav__bar:hover .nav__logo { height: 30px; }
.nav__brand { display: block; line-height: 0; }

.nav__cta {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  padding: 11px 22px;
  border-radius: 999px;
  white-space: nowrap;
  display: inline-flex; align-items: center;
  line-height: 1;
  color: inherit;
  background: rgba(0,0,0,.16);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  backdrop-filter: blur(10px) saturate(1.3);
  text-shadow: 0 1px 3px rgba(0,0,0,.35);
  max-width: 320px;
  transition: color .4s ease, border-color .4s ease, background .4s ease, box-shadow .4s ease,
              max-width .6s cubic-bezier(.2,.7,.2,1), opacity .35s ease, padding .6s cubic-bezier(.2,.7,.2,1);
}
.nav.nav--dark .nav__cta { color: #1C1814; border-color: rgba(28,24,20,.7); background: rgba(255,255,255,.35); text-shadow: none; }
.nav.nav--dark .nav__cta:hover { background: rgba(28,24,20,.06); border-color: #1C1814; }
.nav__cta:hover {
  background: rgba(167,199,231,.22);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  border-color: rgba(237,230,216,.45);
  box-shadow: inset 0 1px 0 rgba(237,230,216,.18), 0 4px 20px rgba(0,0,0,.28);
}
.nav__cta-short { display: none; }
.nav.is-pill .nav__cta { padding: 9px 14px; font-size: 10.5px; background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; text-shadow: none; border-color: rgba(255,255,255,.35); }
.nav.is-pill.nav--dark .nav__cta { border-color: rgba(28,20,24,.4); background: transparent; }
.nav.is-pill .nav__cta-full { display: none; }
.nav.is-pill .nav__cta-short { display: inline; }
.nav.is-pill.is-mini .nav__cta { max-width: 0; opacity: 0; padding-left: 0; padding-right: 0; border-color: transparent; }
.nav.is-pill.is-mini .nav__bar:hover .nav__cta { max-width: 320px; opacity: 1; padding: 9px 14px; border-color: rgba(255,255,255,.35); }
.nav.is-pill.is-mini.nav--dark .nav__bar:hover .nav__cta { border-color: rgba(28,20,24,.4); }

@media (max-width: 880px) {
  .nav { padding: 14px var(--gutter); }
  .nav:not(.is-pill) .nav__cta { display: none; }
  .nav__logo { height: 56px; }
  .nav.is-pill .nav__bar { width: 188px; }
  .nav.is-pill.is-mini .nav__bar { width: 60px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  background: var(--invert-bg);
  color: var(--invert-ink);
}
.hero__media {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero__slide.active { opacity: 1; }
.hero__slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: kenburns 12s ease-out forwards;
}
.hero__slide:first-child img {
  transform: scale(1.45);
  animation: kenburns-zoom 12s ease-out forwards;
  object-position: center 35%;
}
@media (max-width: 880px) {
  .hero__slide:first-child img {
    transform: scale(2.2);
    animation: kenburns-zoom-mobile 12s ease-out forwards;
    object-position: 55% 35%;
  }
}
@keyframes kenburns {
  to { transform: scale(1); }
}
@keyframes kenburns-zoom {
  to { transform: scale(1.32); }
}
@keyframes kenburns-zoom-mobile {
  to { transform: scale(2.05); }
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: right center;
}
.hero__grain {
  display: none;
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .6;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 140px 140px;
  animation: grain .5s steps(4) infinite;
}
@keyframes grain {
  0% { background-position: 0 0; }
  25% { background-position: -40px 20px; }
  50% { background-position: 30px -50px; }
  75% { background-position: -20px -30px; }
  100% { background-position: 0 0; }
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.05) 30%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}

.hero__inner {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 0 var(--gutter) clamp(40px, 8vh, 96px);
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--display);
  font-size: clamp(20px, 1.9vw, 30px);
  letter-spacing: 0.01em;
  text-transform: none;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
  opacity: 1;
  margin: 14px 0 0 0.06em;
}
.hero__eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
}
.hero__title {
  font-family: var(--sans);
  font-weight: 100;
  font-size: clamp(40px, 7vw, 120px);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0;
}
.hero__title .it { font-style: normal; font-weight: 100; }
.hero__title .row { display: block; overflow: hidden; margin-left: -0.04em; }
.hero__title .row > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.hero.show .hero__title .row > span { transform: translateY(0); }
.hero__title .row:nth-child(2) > span { transition-delay: .12s; }
.hero__title .row:nth-child(3) > span { transition-delay: .22s; }

.hero__meta {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin: 0 0 22px 0.06em;
  gap: 32px;
  flex-wrap: wrap;
}
.hero__meta-block {
  font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase;
  opacity: .95;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,.45);
  max-width: 320px;
}
.hero__meta-block strong { display: block; font-weight: 500; opacity: 1; margin-bottom: 6px; color: #fff;}
.hero__pager {
  display: flex; gap: 6px;
}
.hero__pager button {
  width: 28px; height: 1px; background: rgba(255,255,255,.35);
  border: 0; padding: 0; cursor: pointer; transition: background .4s;
}
.hero__pager button.active { background: var(--blue); height: 2px; transform: translateY(.5px); }

.hero__scroll {
  position: absolute;
  bottom: 32px; right: var(--gutter);
  font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase;
  opacity: .7;
  display: flex; align-items: center; gap: 12px;
}
.hero__scroll .line {
  width: 50px; height: 1px; background: currentColor;
  position: relative; overflow: hidden;
}
.hero__scroll .line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--blue);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateX(-100%); }
  60%, 100% { transform: translateX(100%); }
}

/* ============================================================
   INTRO / PHILOSOPHY
   ============================================================ */
.intro {
  padding: clamp(120px, 18vh, 220px) var(--gutter);
  position: relative;
}
.intro__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(40px, 5vw, 96px);
  align-items: center;
}
.intro__label {
  font-size: 11px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--blue);
  display: flex; align-items: center; gap: 14px;
}
.intro__label::before {
  content: ""; width: 36px; height: 1px; background: var(--line);
}
.intro__text {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(18px, 1.7vw, 26px);
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
}
.intro__text em { font-family: var(--display); font-style: normal; font-size: 1.55em; line-height: 0; color: var(--accent); }

@media (max-width: 880px) {
  .intro__grid { grid-template-columns: 1fr; gap: 28px; }
}
.intro__side { display: flex; flex-direction: column; gap: 28px; }
.intro__portrait { max-width: 420px; aspect-ratio: 4 / 5; overflow: hidden; }
.intro__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }

/* ============================================================
   PROJECTS
   ============================================================ */
.projects {
  padding: clamp(60px, 10vh, 140px) 0 clamp(80px, 14vh, 180px);
  position: relative;
}
.projects__head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: clamp(40px, 8vh, 100px);
  gap: 24px; flex-wrap: wrap;
}
.projects__title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(17px, 2vw, 30px);
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0;
}
.projects__title em { font-style: normal; font-weight: 400; }
.projects__nav {
  display: flex; gap: 28px;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--muted);
}
.projects__nav a { color: var(--accent); position: relative; }
.projects__nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  height: 1px; width: 100%;
  background: var(--ink); transform-origin: right; transform: scaleX(0);
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.projects__nav a:hover::after { transform-origin: left; transform: scaleX(1); }

.projects__list {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: clamp(48px, 9vh, 120px);
  column-gap: clamp(24px, 3vw, 56px);
}
.project {
  position: relative;
  cursor: pointer;
}
.project.reveal { opacity: 0; transform: translateY(40px) scale(.95); transition: opacity .7s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .9s cubic-bezier(.34,1.35,.4,1) var(--d, 0ms); }
.project.reveal.in { opacity: 1; transform: translateY(0) scale(1); }
.project .project__caption { opacity: 0; transform: translateY(10px); transition: opacity .7s ease calc(var(--d, 0ms) + .5s), transform .7s ease calc(var(--d, 0ms) + .5s); }
.project.reveal.in .project__caption { opacity: 1; transform: translateY(0); }
/* Right column drops down slightly for editorial rhythm */
.project:nth-child(even) { margin-top: clamp(40px, 8vh, 110px); }

/* ── Chrome frame ─────────────────────────────────────────
   The outer .project__media is the metallic frame and stays
   absolutely still. The inner .project__media-frame clips
   the image so the hover scale only moves the photo inside. */
.project__media {
  position: relative;
  padding: clamp(5px, 0.5vw, 8px);
  background-color: #d8d8d8;
  background-image:
    /* top edge   */ linear-gradient(90deg, #ffffff 0%, #a8a8a8 14%, #efefef 32%, #b8b8b8 50%, #efefef 68%, #a8a8a8 86%, #ffffff 100%),
    /* bottom edge*/ linear-gradient(90deg, #f4f4f4 0%, #888888 14%, #d6d6d6 32%, #a0a0a0 50%, #d6d6d6 68%, #888888 86%, #f4f4f4 100%),
    /* left edge  */ linear-gradient(180deg, #ffffff 0%, #a0a0a0 14%, #e8e8e8 32%, #b0b0b0 50%, #e8e8e8 68%, #a0a0a0 86%, #ffffff 100%),
    /* right edge */ linear-gradient(180deg, #ffffff 0%, #a0a0a0 14%, #e8e8e8 32%, #b0b0b0 50%, #e8e8e8 68%, #a0a0a0 86%, #ffffff 100%);
  background-size:
    100% clamp(5px, 0.5vw, 8px),
    100% clamp(5px, 0.5vw, 8px),
    clamp(5px, 0.5vw, 8px) 100%,
    clamp(5px, 0.5vw, 8px) 100%;
  background-position: top left, bottom left, top left, top right;
  background-repeat: no-repeat;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    inset 0 -1px 0 rgba(0,0,0,.32),
    inset 1px 0 0 rgba(255,255,255,.55),
    inset -1px 0 0 rgba(0,0,0,.22);
  isolation: isolate;
  overflow: hidden;
}
/* corner highlights — tiny white sparkle at each corner */
.project__media::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,.85), transparent 8px),
    radial-gradient(circle at 100% 0%, rgba(255,255,255,.85), transparent 8px),
    radial-gradient(circle at 0% 100%, rgba(255,255,255,.8), transparent 8px),
    radial-gradient(circle at 100% 100%, rgba(255,255,255,.8), transparent 8px);
  pointer-events: none;
  z-index: 3;
}

.project__media-frame {
  position: relative;
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--bg-alt);
}
.project__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(.2,.7,.2,1), filter .8s ease;
  filter: saturate(.92);
}
.project:hover .project__media img { transform: scale(1.04); filter: saturate(1.05); }

.project__num {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 10px; letter-spacing: 0.32em;
  color: rgba(255,255,255,.85);
  z-index: 2;
  font-variant-numeric: tabular-nums;
}
.project__caption {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 18px;
  gap: 16px;
}
.project__name {
  font-family: var(--sans);
  font-style: normal;
  font-size: clamp(15px, 1.3vw, 20px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.project__name + .project__sub { margin-top: 6px;}
.project__sub {
  font-family: "Corinthia", cursive;
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.project__year {
  font-size: 11px; letter-spacing: 0.24em;
  color: var(--blue);
  font-variant-numeric: tabular-nums;
}

/* Editorial layout — uniform 2-up grid */
.project--lg, .project--md-l, .project--md-r,
.project--sm-l, .project--sm-r, .project--wide {
  grid-column: auto;
}
.project__media { aspect-ratio: 4 / 3; }

/* Chrome frame variant — for moodboards / landscape inserts */
.project--chrome .project__media {
  aspect-ratio: 4 / 3;
}

/* ── Ornate gold frames (PNG overlay) ───────────────────
   Frame PNG overlays on top; photo sits inside its window. */
.project--gframe .project__media {
  background: none;
  padding: 0;
  overflow: visible;
  box-shadow: none;
}
.project--gframe .project__media::before { content: none; }
.project--gframe .project__media::after {
  content: "";
  position: absolute; inset: 0;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 5;
  pointer-events: none;
}
.project--gframe .project__media-frame {
  position: absolute;
  width: auto; height: auto;
  overflow: hidden;
  background: var(--bg-alt);
}
.project--gframe .project__num {
  z-index: 6;
}

/* Frame A — square Greek-key (project 01) */
.gframe-A .project__media { aspect-ratio: 1394 / 1360; }
.gframe-A .project__media::after { background-image: url("uploads/gold-frame-a.webp"); }
.gframe-A .project__media-frame {
  top: 6.76%; bottom: 4.34%; left: 6.67%; right: 6.74%;
}
.gframe-A .project__num { top: 10%; left: 10%; }

/* Frame B — landscape floral (project 02) */
.gframe-B .project__media { aspect-ratio: 1654 / 1277; }
.gframe-B .project__media::after { background-image: url("uploads/gold-frame-b.webp"); }
.gframe-B .project__media-frame {
  top: 8.61%; bottom: 8.46%; left: 6.35%; right: 6.71%;
}
.gframe-B .project__num { top: 12%; left: 9%; }
.project--chrome .project__media img {
  filter: saturate(.95);
  background: #f6f4ef;
}
.project--chrome:hover .project__media img { transform: scale(1.02); }
.project--chrome .project__num {
  top: 22px; left: 22px;
  color: rgba(28,24,20,.7);
  background: rgba(255,255,255,.6);
  padding: 4px 10px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 3;
}
.project__num {
  position: absolute;
  top: clamp(14px, 1.2vw, 22px); left: clamp(14px, 1.2vw, 22px);
  font-size: 10px; letter-spacing: 0.32em;
  color: rgba(255,255,255,.85);
  z-index: 4;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 2px rgba(0,0,0,.4);
}

@media (max-width: 880px) {
  .projects__list { grid-template-columns: 1fr; }
  .project:nth-child(even) { margin-top: 0; }
  .project__media { aspect-ratio: 4/5 !important; }
}

/* ============================================================
   SERVICES (split scroll columns)
   ============================================================ */
.services {
  background: var(--invert-bg);
  color: var(--invert-ink);
  padding: clamp(72px, 10vh, 120px) var(--gutter);
}
.services__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 4vw, 80px);
  align-items: start;
}
.services__head {
  position: sticky; top: 12vh;
}
.services__head .eyebrow { color: var(--blue); }
.services__head h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(44px, 5vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 18px 0 22px;
}
.services__head h2 em { font-style: normal; }
.services__head p {
  max-width: 380px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(237,230,216,.7);
}
.services__list {
  border-top: 1px solid rgba(237,230,216,.18);
}
.service {
  border-bottom: 1px solid rgba(237,230,216,.18);
  padding: clamp(16px, 2vh, 26px) 0;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  align-items: baseline;
  cursor: pointer;
  transition: padding .5s cubic-bezier(.2,.7,.2,1);
}
.service:hover { padding-left: 12px; }
.service__num {
  font-size: 11px; letter-spacing: 0.28em; color: var(--blue);
  font-variant-numeric: tabular-nums;
}
.service__name {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(19px, 1.7vw, 26px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.05;
}
.service__name em { font-style: normal; color: var(--blue); }
.service__body { display: flex; flex-direction: column; gap: 6px; }
.service__desc {
  font-family: var(--display);
  font-size: clamp(22px, 1.75vw, 28px);
  line-height: 1.2;
  color: rgba(237,230,216,.95);
  padding-left: 1.3em;
}
.service__arrow {
  width: 38px; height: 38px;
  border: 1px solid rgba(237,230,216,.3);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px;
  transition: background .4s ease, border-color .4s ease, box-shadow .4s ease, transform .5s cubic-bezier(.2,.7,.2,1);
}
.service:hover .service__arrow {
  background: rgba(167,199,231,.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  border-color: rgba(237,230,216,.42);
  box-shadow: inset 0 1px 0 rgba(237,230,216,.22), 0 4px 18px rgba(0,0,0,.32);
  transform: rotate(-45deg);
}

@media (max-width: 880px) {
  .services__inner { grid-template-columns: 1fr; }
  .services__head { position: static; }
}

/* ============================================================
   HORIZONTAL GALLERY (scroll-driven)
   ============================================================ */
.hgal { position: relative; background: #F6F0E5; z-index: 3; }
.hgal__sticky { position: -webkit-sticky; position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.hgal__track { display: flex; align-items: center; gap: clamp(24px, 3vw, 56px); padding: 0 var(--gutter); will-change: transform; width: max-content; }
.hgal__item { flex: 0 0 auto; margin: 0; height: 62vh; overflow: hidden; }
.hgal__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(28px, 5vh, 48px); height: 1px; background: rgba(28,24,20,.14); }
.hgal__progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); will-change: transform; }
.hgal__item img { height: 100%; width: auto; max-width: none; object-fit: cover; display: block; }
.hgal__meta { display: none; }
/* mobile: native swipe carousel with scroll-snap (no pinning) */
@media (max-width: 880px) {
  .hgal__sticky { position: static; height: auto; display: block; padding: clamp(56px, 10vh, 80px) 0 clamp(56px, 9vh, 80px); }
  .hgal__track { transform: none !important; width: auto; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 14px; padding: 0 var(--gutter); scrollbar-width: none; scroll-padding: 0 var(--gutter); }
  .hgal__track::-webkit-scrollbar { display: none; }
  .hgal__item { height: auto; width: min(80vw, 420px); aspect-ratio: 4 / 3; scroll-snap-align: center; scroll-snap-stop: always; }
  .hgal__item img { width: 100%; height: 100%; }
  .hgal__progress { position: static; margin: 22px var(--gutter) 0; }
  .hgal__meta { display: flex; justify-content: space-between; margin: 14px var(--gutter) 0; font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; color: rgba(28,24,20,.5); font-variant-numeric: tabular-nums; }
}

/* ============================================================
   PRESS / RECOGNITION
   ============================================================ */
.press {
  padding: clamp(100px, 14vh, 160px) var(--gutter);
  border-bottom: 1px solid var(--line);
}
.press__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.press__head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: clamp(40px, 8vh, 80px);
  gap: 32px; flex-wrap: wrap;
}
.press__title {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(20px, 2.4vw, 36px);
  line-height: 1.1; margin: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.press__title em { font-style: normal; }
.press__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.press__item {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  padding: 32px 24px;
  display: flex; flex-direction: column;
  gap: 12px;
  min-height: 200px;
  transition: background .5s ease;
  cursor: pointer;
}
.press__item:hover { background: var(--bg-alt); }
.press__item:nth-child(4n) { border-right: none; }
.press__item .name {
  font-family: var(--sans);
  font-style: normal;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 300;
  line-height: 1.05;
}
.press__item .meta {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
}
.press__item .label {
  font-size: 13px;
  margin-top: auto;
  color: var(--ink-soft);
}

@media (max-width: 880px) {
  .press__list { grid-template-columns: repeat(2, 1fr); }
  .press__item:nth-child(4n) { border-right: 1px solid var(--line); }
  .press__item:nth-child(2n) { border-right: none; }
}

/* ============================================================
   JOURNAL
   ============================================================ */
.journal {
  padding: clamp(120px, 16vh, 200px) var(--gutter);
}
.journal__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.journal__head {
  display: flex; justify-content: space-between; align-items: end;
  margin-bottom: clamp(40px, 8vh, 80px);
  gap: 32px; flex-wrap: wrap;
}
.journal__title {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(40px, 5vw, 80px);
  line-height: 1; margin: 0;
  letter-spacing: -0.02em;
}
.journal__title em { font-style: normal; }
.journal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.entry {
  cursor: pointer;
  display: flex; flex-direction: column;
  gap: 18px;
}
.entry__media { aspect-ratio: 4/5; overflow: hidden; }
.entry__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.entry:hover .entry__media img { transform: scale(1.05); }
.entry__meta {
  display: flex; justify-content: space-between;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--muted);
}
.entry__title {
  font-family: var(--display);
  font-style: normal;
  font-weight: 300;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.entry__title:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }

@media (max-width: 880px) {
  .journal__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PROCESS — pinned scroll storytelling
   ============================================================ */
.process { position: relative; height: 460vh; background: var(--invert-bg); color: var(--invert-ink); }
.process__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.process__inner { position: relative; height: 100%; max-width: var(--maxw); margin: 0 auto; padding: clamp(88px,13vh,150px) var(--gutter) clamp(48px,7vh,80px); display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); grid-template-rows: auto 1fr; column-gap: clamp(40px,6vw,110px); align-items: start; }

.process__head { grid-column: 1; grid-row: 1; max-width: 34ch; }
.process__eyebrow { font-family: var(--sans); font-size: 10.5px; letter-spacing: .34em; text-transform: uppercase; color: rgba(237,230,216,.45); margin-bottom: 18px; }
.process__title { font-family: var(--display); font-weight: 400; font-size: clamp(40px,4.4vw,72px); line-height: 1; letter-spacing: 0; margin: 0 0 16px; }
.process__lead { font-size: 13.5px; line-height: 1.75; color: rgba(237,230,216,.6); margin: 0; max-width: 36ch; }

.process__steps { grid-column: 1; grid-row: 2; list-style: none; margin: clamp(28px,5vh,56px) 0 0; padding: 0; display: flex; flex-direction: column; align-self: center; }
.pstep { display: grid; grid-template-columns: 3.4em 1fr; align-items: baseline; gap: 4px clamp(16px,1.8vw,28px); padding: clamp(12px,1.9vh,22px) 0; border-top: 1px solid rgba(237,230,216,.1); opacity: .3; transition: opacity 1s cubic-bezier(.2,.7,.2,1); }
.pstep:last-child { border-bottom: 1px solid rgba(237,230,216,.1); }
.pstep.is-active { opacity: 1; }
.pstep__num { font-family: var(--display); font-size: clamp(24px,2.2vw,34px); line-height: 1; color: var(--blue); }
.pstep__body { display: flex; flex-direction: column; gap: 5px; }
.pstep__title { font-family: var(--sans); font-weight: 400; font-size: clamp(14px,1.15vw,17px); text-transform: uppercase; letter-spacing: .14em; line-height: 1.2; }
.pstep__desc { font-family: var(--sans); font-size: clamp(12px,.95vw,13.5px); line-height: 1.6; color: rgba(237,230,216,.55); }

.process__stage { grid-column: 2; grid-row: 1 / span 2; position: relative; width: min(62vh, 100%); aspect-ratio: 1; justify-self: center; align-self: center; }
.process__circle { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.process__slot { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity 1.4s ease, transform 2.2s cubic-bezier(.2,.7,.2,1); }
.process__slot.is-active { opacity: 1; transform: scale(1); }
.process__slot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.process__ring { position: absolute; inset: clamp(-30px,-2.6vw,-16px); width: auto; height: auto; right: clamp(-30px,-2.6vw,-16px); bottom: clamp(-30px,-2.6vw,-16px); transform: rotate(-90deg); overflow: visible; pointer-events: none; }
.process__ring circle { fill: none; vector-effect: non-scaling-stroke; }
.process__ring-fg { stroke: var(--blue); stroke-width: 1.2; stroke-linecap: butt; transition: stroke-dashoffset .3s linear; }
.process__mark { fill: rgba(237,230,216,.22); stroke: none; transition: fill .8s ease, r .8s ease; }
.process__mark.is-active { fill: rgba(237,230,216,.6); r: 1.2; }

@media (max-width: 1024px) {
  .process { height: auto; }
  .process__pin { position: static; height: auto; }
  .process__inner { grid-template-columns: 1fr; grid-template-rows: auto auto auto; padding: clamp(64px,10vh,110px) var(--gutter); row-gap: clamp(32px,5vh,56px); }
  .process__head { grid-column: 1; grid-row: 1; max-width: none; }
  .process__stage { grid-column: 1; grid-row: 2; width: min(74vw, 440px); }
  .process__steps { grid-column: 1; grid-row: 3; margin: 0; }
  .pstep { opacity: 1; }
  .process__slot { transition: none; }
}

/* ============================================================
   CONTACT / FOOTER
   ============================================================ */
.contact {
  background: var(--invert-bg);
  color: var(--invert-ink);
  padding: clamp(48px, 7vh, 80px) var(--gutter) 28px;
}
.contact__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.contact__hero {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 120px);
  line-height: 0.95;
  letter-spacing: 0;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.contact__hero em { font-style: normal; color: #fff; }
.contact__hero .arrow {
  display: inline-block;
  width: clamp(40px, 4.5vw, 64px);
  height: clamp(40px, 4.5vw, 64px);
  border: 1px solid currentColor;
  border-radius: 50%;
  vertical-align: middle;
  margin-left: 18px;
  transform: translateY(-8px);
  position: relative;
  transition: background .5s ease, color .5s ease;
}
.contact__hero .arrow::after {
  content: "→"; position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: clamp(15px, 1.5vw, 20px);
  font-family: var(--sans);
  font-weight: 300;
}
.contact__hero a:hover .arrow {
  background: rgba(167,199,231,.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  border-color: rgba(237,230,216,.42);
  box-shadow: inset 0 1px 0 rgba(237,230,216,.22), 0 4px 18px rgba(0,0,0,.32);
}

.contact__lead {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(237,230,216,.72);
  max-width: 52ch;
  margin: clamp(28px, 4vh, 44px) 0 0;
  text-wrap: pretty;
}
.contact__cta {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(167,199,231,.45);
  transition: border-color .4s ease, color .4s ease;
}
.contact__cta:hover { color: var(--invert-ink); border-color: var(--invert-ink); }

.contact__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(40px, 6vw, 120px);
  align-items: end;
}
.contact__top .contact__col { padding-top: 0; padding-bottom: 2px; justify-self: end; }
.contact__grid {
  margin-top: clamp(36px, 5vh, 60px);
  border-top: 1px solid rgba(237,230,216,.2);
}
.contact__col h4 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 18px;
}
.contact__col p, .contact__col a {
  font-size: 14px; line-height: 1.7; color: rgba(237,230,216,.85);
  margin: 0;
}
.contact__col .contact__name { color: var(--invert-ink); font-weight: 400; }
.contact__col a { display: block; }
.contact__col > a { margin-top: 14px; }
.contact__social { display: flex; gap: 24px; margin-top: 14px; }
.contact__social a { display: inline-block; }
.contact__col a:hover { color: var(--invert-ink); text-decoration: underline; text-underline-offset: 4px; }

.contact__bottom {
  display: flex; justify-content: space-between; align-items: end;
  margin-top: clamp(24px, 4vh, 44px);
  gap: 24px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(237,230,216,.45);
}
@font-face{font-family:"Mrs Saint Delafield";src:url("uploads/MrsSaintDelafield-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
.contact__wordmark {
  font-family: "Mrs Saint Delafield", var(--display);
  font-style: normal;
  font-size: clamp(60px, 10vw, 160px);
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: rgba(237,230,216,.08);
  margin: 24px 0 0;
  padding: .3em .15em .45em .1em;
  line-height: 1;
  white-space: nowrap;
  overflow: visible;
  position: relative;
}
.contact__wordmark-ch {
  display: inline-block;
  opacity: 0;
  transform: translateX(-0.12em);
}
.contact__wordmark.in .contact__wordmark-ch {
  animation: wmLetter .55s cubic-bezier(.2,.7,.2,1) forwards;
}
@keyframes wmLetter { to { opacity: 1; transform: translateX(0); } }

@media (max-width: 880px) {
  .contact__top { grid-template-columns: 1fr; gap: 48px; }
  .contact__top .contact__col { padding-top: 0; }
  .contact__social { flex-direction: column; gap: 4px; }
}

/* ============================================================
   REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.reveal-mask > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.reveal-mask.in > span { transform: translateY(0); }

/* ============================================================
   CURSOR
   ============================================================ */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 28px; height: 28px;
  border: 1px solid #A7C7E7;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%) scale(.4);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), background .3s ease, border-color .3s ease, box-shadow .3s ease, opacity .3s;
  box-shadow: 0 0 0 1px rgba(28,24,20,.25);
  opacity: 0;
}
.cursor.ready { opacity: 1; }
.cursor.hover {
  transform: translate(-50%, -50%) scale(2.6);
  background: rgba(237,230,216,.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-color: rgba(237,230,216,.5);
}
.cursor.view {
  transform: translate(-50%, -50%) scale(2.6);
  background: rgba(237,230,216,.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-color: rgba(237,230,216,.5);
}
.cursor::after { content: none; }

@media (hover: none) {
  .cursor { display: none; }
}

/* ── Chrome shimmer on buttons ── */
.nav__cta, .contact__cta, .contact__hero .arrow, .nav__back, .btn-submit, .social-pill, .pnext__back { position: relative; overflow: hidden; isolation: isolate; }
.nav__cta::before, .contact__cta::before, .contact__hero .arrow::before, .nav__back::before, .btn-submit::before, .social-pill::before, .pnext__back::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 45%;
  background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 30%, rgba(255,255,255,.85) 50%, rgba(255,255,255,.18) 70%, rgba(255,255,255,0) 100%);
  transform: skewX(-18deg); opacity: 0; pointer-events: none; z-index: 1;
}
.nav__cta:hover::before, .contact__cta:hover::before, .contact__hero a:hover .arrow::before, .nav__back:hover::before, .btn-submit:hover::before, .social-pill:hover::before, .pnext__back:hover::before {
  animation: chromeShine .9s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes chromeShine { 0% { left: -60%; opacity: 0; } 15% { opacity: 1; } 100% { left: 130%; opacity: 0; } }
.nav__cta:hover::before { animation-duration: 1.8s; }
.press__item { position: relative; overflow: hidden; isolation: isolate; transform-style: preserve-3d; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease, background .5s ease; will-change: transform; }
.press__item:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); box-shadow: 0 18px 40px rgba(28,24,20,.12); z-index: 2; }
.press__item::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 45%;
  background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.15) 30%, rgba(255,255,255,.7) 50%, rgba(255,255,255,.15) 70%, rgba(255,255,255,0) 100%);
  transform: skewX(-18deg); opacity: 0; pointer-events: none; z-index: 1;
}
.press__item:hover::before { animation: chromeShine 1.4s cubic-bezier(.4,0,.2,1) forwards; }
.contact__hero .arrow::after { z-index: 2; }
.service { position: relative; overflow: hidden; isolation: isolate; }
.service::before {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 45%;
  background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.14) 30%, rgba(255,255,255,.55) 50%, rgba(255,255,255,.14) 70%, rgba(255,255,255,0) 100%);
  transform: skewX(-18deg); opacity: 0; pointer-events: none; z-index: 1;
}
.service:hover::before { animation: chromeShine 1.3s cubic-bezier(.4,0,.2,1) forwards; }
