/* ============================================================
   GAHARWAR GROUP Luxury corporate identity
   ------------------------------------------------------------
   01  Tokens
   02  Reset & base
   03  Typography utilities
   04  Buttons & icons
   05  Navigation
   06  Mobile navigation
   07  Hero + slideshow
   08  About
   09  Industries (cards)
   10  Group values
   11  Vision
   12  Contact
   13  Footer
   14  Industry detail overlay
   15  Reveal animations
   16  Responsive
   17  Reduced motion / print
============================================================ */


/* ============================================================
   01  TOKENS
============================================================ */
:root{
  /* Brand */
  --burgundy:        #600E1C;
  --burgundy-deep:   #3E0912;
  --burgundy-soft:   #7A1626;
  --cream:           #F9DEB0;
  --cream-dim:       #E7C893;

  /* Supporting neutrals */
  --ink:             #0B0709;   /* near-black with a red bias */
  --charcoal:        #171213;
  --offwhite:        #F6F1EA;
  --paper:           #FBF8F3;
  --line:            rgba(96, 14, 28, .16);
  --line-light:      rgba(249, 222, 176, .22);

  /* Type */
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", "Manrope", "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rhythm */
  --shell:    1320px;
  --gutter:   clamp(20px, 5vw, 72px);
  --section-y: clamp(84px, 11vw, 168px);

  /* Motion */
  --ease:      cubic-bezier(.22, .61, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, .05, .36, 1);

  --nav-h: 86px;
}


/* ============================================================
   02  RESET & BASE
============================================================ */
*,
*::before,
*::after{ box-sizing: border-box; }

html{
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body{
  margin: 0;
  background: var(--paper);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: clamp(15px, 1.02vw, 17px);
  font-weight: 350;
  line-height: 1.72;
  letter-spacing: .002em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.is-locked{ overflow: hidden; }

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

img{ height: auto; }

h1, h2, h3, h4{
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.04;
}

p{ margin: 0 0 1.1em; }
p:last-child{ margin-bottom: 0; }

ul, ol{ margin: 0; padding: 0; list-style: none; }

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

button{
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

em{ font-style: italic; }

::selection{
  background: var(--burgundy);
  color: var(--cream);
}

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

.on-dark :focus-visible,
.hero :focus-visible,
.values :focus-visible,
.vision :focus-visible,
.footer :focus-visible,
.detail :focus-visible,
.mnav :focus-visible{
  outline-color: var(--cream);
}

.anchor{
  display: block;
  position: absolute;
  top: 0;
}

.skip-link{
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 12px 20px;
  background: var(--burgundy);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform .3s var(--ease);
}
.skip-link:focus{ transform: translateY(0); }

/* Subtle film grain across the whole page */
.grain{
  position: fixed;
  inset: -50%;
  z-index: 900;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.shell{
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section{
  position: relative;
  padding-block: var(--section-y);
}


/* ============================================================
   03  TYPOGRAPHY UTILITIES
============================================================ */
.eyebrow{
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.eyebrow--light{ color: var(--cream); }

.rule{
  display: inline-block;
  width: clamp(28px, 5vw, 62px);
  height: 1px;
  background: currentColor;
  opacity: .5;
  flex: none;
}

.sec-head{
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: clamp(38px, 5vw, 70px);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.sec-head--light{ border-bottom-color: var(--line-light); }

.sec-num{
  font-family: var(--serif);
  font-size: clamp(13px, 1vw, 15px);
  letter-spacing: .1em;
  color: var(--burgundy);
  opacity: .55;
}
.sec-head--light .sec-num{ color: var(--cream); opacity: .6; }
.sec-head--light .eyebrow{ color: var(--cream); }

.h-display{
  font-size: clamp(2.35rem, 5.4vw, 4.6rem);
  line-height: 1.02;
  color: var(--burgundy);
}
.h-display em{ color: var(--charcoal); }

.prose p{
  max-width: 60ch;
  color: rgba(23, 18, 19, .78);
}


/* ============================================================
   04  BUTTONS & ICONS
============================================================ */
.btn{
  --btn-fg: var(--cream);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 30px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--btn-fg);
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease);
}
.btn > span{ position: relative; z-index: 2; }
.btn svg{ position: relative; z-index: 2; }

.btn::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--burgundy);
  transform: translateY(0);
  transition: transform .55s var(--ease-out);
}

.btn--solid{ border-color: var(--burgundy); }
.btn--solid::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--cream);
}
.btn--solid:hover{ color: var(--burgundy); }
.btn--solid:hover::before{ transform: translateY(101%); }

.btn--ghost{
  color: var(--burgundy);
  border-color: var(--line);
}
.btn--ghost::before{ transform: translateY(101%); }
.btn--ghost:hover{ color: var(--cream); border-color: var(--burgundy); }
.btn--ghost:hover::before{ transform: translateY(0); }

.btn--lg{ padding: 20px 38px; font-size: 12px; }

.btn--nav{
  padding: 13px 22px;
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--cream);
  border-color: rgba(249, 222, 176, .35);
}
.btn--nav::before{ transform: translateY(101%); }
.btn--nav:hover{ color: var(--burgundy); border-color: var(--cream); }
.btn--nav::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--cream);
  transform: translateY(101%);
  transition: transform .55s var(--ease-out);
}
.btn--nav:hover::after{ transform: translateY(0); }

.btn:active{ transform: translateY(1px); }

/* Arrow icon */
.ico-arrow{
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .5s var(--ease-out);
}
.btn:hover .ico-arrow,
a:hover > .ico-arrow,
button:hover > .ico-arrow{ transform: translateX(6px); }


/* ============================================================
   05  NAVIGATION
============================================================ */
.nav{
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  transition: background .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 7, 9, .55), transparent);
  opacity: 1;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}

.nav.is-stuck{
  background: rgba(62, 9, 18, .82);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: rgba(249, 222, 176, .16);
  box-shadow: 0 18px 50px -32px rgba(0, 0, 0, .9);
}
.nav.is-stuck::before{ opacity: 0; }

.nav.is-hidden{ transform: translateY(-100%); }
.nav{ transition: background .5s var(--ease), border-color .5s var(--ease),
                  box-shadow .5s var(--ease), transform .55s var(--ease-out); }

.nav__inner{
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding: 0 var(--gutter);
  height: var(--nav-h);
  transition: height .5s var(--ease);
}
.nav.is-stuck .nav__inner{ height: 70px; }

/* Brand */
.brand{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
}
/* Logo mark: the artwork carries its own frame, so no box is drawn here */
.brand__mark{
  display: block;
  width: 40px;
  height: 40px;
  flex: none;
  object-fit: contain;
  transition: opacity .45s var(--ease), transform .6s var(--ease-out);
}
.brand:hover .brand__mark{
  opacity: .88;
  transform: rotate(-4deg);
}
.brand__text{ display: block; }
.brand__name{
  display: block;
  font-family: var(--serif);
  font-size: clamp(15px, 1.35vw, 19px);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.1;
}
.brand__sub{
  display: block;
  margin-top: 3px;
  font-size: 8.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(249, 222, 176, .55);
}

/* Links */
.nav__links{
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 40px);
}
.nav__links a{
  position: relative;
  padding: 6px 0;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(249, 222, 176, .82);
  transition: color .4s var(--ease);
}
.nav__links a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--cream);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .55s var(--ease-out);
}
.nav__links a:hover,
.nav__links a.is-current{ color: var(--cream); }
.nav__links a:hover::after,
.nav__links a.is-current::after{ transform: scaleX(1); }

/* Burger */
.burger{
  display: none;
  width: 46px;
  height: 46px;
  padding: 14px 11px;
  border: 1px solid rgba(249, 222, 176, .3);
}
.burger span{
  display: block;
  height: 1px;
  background: var(--cream);
  transition: transform .45s var(--ease), opacity .3s;
}
.burger span + span{ margin-top: 6px; }
.burger[aria-expanded="true"] span:first-child{ transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child{ transform: translateY(-3.5px) rotate(-45deg); }


/* ============================================================
   06  MOBILE NAVIGATION
============================================================ */
.mnav{
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  padding: 26px var(--gutter) 40px;
  background: linear-gradient(160deg, var(--burgundy-deep), var(--ink) 70%);
  color: var(--cream);
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
}
.mnav[hidden]{ display: none; }
.mnav.is-open{ opacity: 1; visibility: visible; }

.mnav__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-light);
}
.mnav__eyebrow{
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.mnav__close{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-light);
}
.mnav__close svg{
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
}

.mnav__links{
  display: flex;
  flex-direction: column;
  margin-top: auto;
  margin-bottom: auto;
  padding-block: 30px;
}
.mnav__links a{
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 11vw, 3.1rem);
  line-height: 1;
  border-bottom: 1px solid rgba(249, 222, 176, .12);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .3s;
}
.mnav.is-open .mnav__links a{ opacity: 1; transform: none; }
.mnav.is-open .mnav__links a:nth-child(1){ transition-delay: .1s; }
.mnav.is-open .mnav__links a:nth-child(2){ transition-delay: .17s; }
.mnav.is-open .mnav__links a:nth-child(3){ transition-delay: .24s; }
.mnav.is-open .mnav__links a:nth-child(4){ transition-delay: .31s; }
.mnav__links a i{
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: .2em;
  opacity: .5;
}
.mnav__links a:hover{ color: #fff; }

.mnav__cta{ align-self: flex-start; }
.mnav__cta::before{ background: var(--burgundy-soft); }

.mnav__foot{
  margin: 24px 0 0;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .5;
}


/* ============================================================
   07  HERO
============================================================ */
.hero{
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) 0 130px;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}

.hero__media{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s var(--ease-in-out);
  will-change: opacity;
}
.slide.is-active{ opacity: 1; }
.slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transition: transform 9s linear;
}
/* Slow Ken-Burns drift only on the visible frame, only while running */
.hero.is-playing .slide.is-active img{ transform: scale(1.14); }

.hero__scrim{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 7, 9, .72) 0%, rgba(11, 7, 9, .46) 38%, rgba(11, 7, 9, .82) 100%),
    linear-gradient(95deg, rgba(62, 9, 18, .78) 0%, rgba(62, 9, 18, .22) 62%, transparent 100%);
}
.hero__vignette{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(120% 85% at 50% 45%, transparent 38%, rgba(0, 0, 0, .55) 100%);
}

.hero__inner{
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.hero__eyebrow{
  color: var(--cream);
  margin-bottom: clamp(20px, 3vw, 34px);
  font-size: 10.5px;
  letter-spacing: .3em;
}

.hero__title{
  margin: 0;
  color: var(--cream);
  font-size: clamp(2.9rem, 8.4vw, 7.6rem);
  line-height: .98;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.hero__title em{
  color: #fff;
  font-style: italic;
  font-weight: 400;
}
.hero__title .line{
  display: block;
  overflow: hidden;
  /* Room for italic descenders ("g" in Legacies) inside the reveal mask,
     pulled back so the two lines keep their original rhythm. */
  padding-bottom: .22em;
  margin-bottom: -.18em;
}
.hero__title .line > span{
  display: block;
  transform: translateY(110%);
  animation: heroRise 1.25s var(--ease-out) forwards;
}
.hero__title .line:nth-child(1) > span{ animation-delay: .18s; }
.hero__title .line:nth-child(2) > span{ animation-delay: .32s; }

@keyframes heroRise{
  to{ transform: translateY(0); }
}

.hero__sub{
  max-width: 50ch;
  margin: clamp(24px, 3.4vw, 40px) 0 0;
  font-size: clamp(15px, 1.35vw, 19px);
  font-weight: 300;
  line-height: 1.68;
  color: rgba(246, 241, 234, .82);
}

.hero__cta{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(32px, 4vw, 52px);
}
.hero .btn--ghost{
  color: var(--cream);
  border-color: rgba(249, 222, 176, .4);
}
.hero .btn--ghost::before{ background: var(--cream); }
.hero .btn--ghost:hover{ color: var(--burgundy); border-color: var(--cream); }

/* Dots */
.hero__dots{
  position: absolute;
  right: var(--gutter);
  bottom: 54px;
  z-index: 4;
  display: flex;
  gap: 10px;
}
.hero__dots button{
  width: 34px;
  height: 2px;
  padding: 10px 0;
  background: none;
  position: relative;
}
.hero__dots button::after{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  background: rgba(249, 222, 176, .32);
  transition: background .4s var(--ease), transform .4s var(--ease);
}
.hero__dots button[aria-selected="true"]::after{
  background: var(--cream);
  transform: scaleY(2);
}

/* Scroll cue */
.scroll-cue{
  position: absolute;
  left: var(--gutter);
  bottom: 38px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(249, 222, 176, .75);
  transition: color .4s var(--ease);
}
.scroll-cue:hover{ color: var(--cream); }
.scroll-cue__label{
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.scroll-cue__line{
  position: relative;
  width: 64px;
  height: 1px;
  background: rgba(249, 222, 176, .25);
  overflow: hidden;
}
.scroll-cue__line::after{
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cream);
  transform-origin: left;
  animation: cueSweep 2.6s var(--ease-in-out) infinite;
}
@keyframes cueSweep{
  0%{ transform: scaleX(0); }
  45%{ transform: scaleX(1); }
  100%{ transform: scaleX(1) translateX(100%); }
}
.scroll-cue__arrow{
  font-size: 14px;
  animation: cueBob 2.2s var(--ease-in-out) infinite;
}
@keyframes cueBob{
  0%, 100%{ transform: translateY(0); opacity: .6; }
  50%{ transform: translateY(5px); opacity: 1; }
}


/* ============================================================
   08  ABOUT
============================================================ */
.about{
  background: var(--paper);
}
.about::before{
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.about__grid{
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: start;
}

.about__visual{ margin: 0; position: relative; }
.frame{
  position: relative;
  overflow: hidden;
  background: var(--burgundy-deep);
}
.frame::after{
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(249, 222, 176, .3);
  pointer-events: none;
  z-index: 2;
}
.frame img{
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
}
.about__visual:hover .frame img{ transform: scale(1.05); }

.about__visual::before{
  content: "";
  position: absolute;
  left: -14px;
  top: -14px;
  width: 42%;
  height: 1px;
  background: var(--burgundy);
}
.about__visual::after{
  content: "";
  position: absolute;
  left: -14px;
  top: -14px;
  width: 1px;
  height: 26%;
  background: var(--burgundy);
}

.about__caption{
  margin-top: 16px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(23, 18, 19, .5);
}

.about__body{ padding-top: clamp(0px, 1vw, 10px); }
.about__body .prose{ margin-top: clamp(26px, 3vw, 38px); }

.principles{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(34px, 4vw, 48px);
  background: var(--line);
  border: 1px solid var(--line);
}
.principles li{
  padding: 22px 24px;
  background: var(--paper);
  transition: background .45s var(--ease), color .45s var(--ease);
}
.principles li strong{
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--burgundy);
  transition: color .45s var(--ease);
}
.principles li span{
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: rgba(23, 18, 19, .6);
  transition: color .45s var(--ease);
}
.principles li:hover{ background: var(--burgundy); }
.principles li:hover strong,
.principles li:hover span{ color: var(--cream); }

.highlights{
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
  margin-top: clamp(36px, 4vw, 54px);
  padding-top: clamp(28px, 3vw, 38px);
  border-top: 1px solid var(--line);
}
.highlight__num{
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5vw, 3.9rem);
  line-height: 1;
  color: var(--burgundy);
}
.highlight__num--inf{ font-size: clamp(2.8rem, 5.4vw, 4.2rem); line-height: .86; }
.highlight__label{
  display: block;
  margin-top: 10px;
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(23, 18, 19, .6);
}


/* ============================================================
   09  INDUSTRIES
============================================================ */
.industries{
  background:
    linear-gradient(180deg, var(--paper), var(--offwhite));
}

.industries__head{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(20px, 4vw, 70px);
  align-items: end;
  margin-bottom: clamp(38px, 5vw, 64px);
}
.industries__lead{
  max-width: 44ch;
  color: rgba(23, 18, 19, .66);
}

.cards{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  /* Equal rows so every card renders at exactly the same size */
  grid-auto-rows: 1fr;
  gap: clamp(16px, 1.6vw, 26px);
}

.card{
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 100%;
  min-height: clamp(360px, 42vw, 520px);
  padding: 0;
  text-align: left;
  color: var(--cream);
  background: var(--burgundy-deep);
  overflow: hidden;
  isolation: isolate;
  transition: transform .8s var(--ease-out), box-shadow .8s var(--ease-out);
}


.card:hover,
.card:focus-visible{
  transform: translateY(-6px);
  box-shadow: 0 46px 90px -50px rgba(62, 9, 18, .8);
}

.card__media{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(.82) contrast(1.04);
  transition: transform 1.5s var(--ease-out), filter 1.2s var(--ease);
}
.card:hover .card__media img,
.card:focus-visible .card__media img{
  transform: scale(1.12);
  filter: saturate(1) contrast(1.06);
}

.card__scrim{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 7, 9, .5) 0%, rgba(11, 7, 9, .2) 34%, rgba(11, 7, 9, .92) 100%);
  transition: background .8s var(--ease);
}
.card:hover .card__scrim{
  background:
    linear-gradient(180deg, rgba(62, 9, 18, .5) 0%, rgba(62, 9, 18, .38) 30%, rgba(40, 5, 11, .94) 100%);
}

/* Cream sweep border on hover */
.card__edge{
  position: absolute;
  inset: 14px;
  z-index: 3;
  pointer-events: none;
  border: 1px solid rgba(249, 222, 176, 0);
  transition: border-color .7s var(--ease), inset .7s var(--ease);
}
.card:hover .card__edge,
.card:focus-visible .card__edge{ border-color: rgba(249, 222, 176, .42); }

.card__body{
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: clamp(24px, 2.6vw, 40px);
}

.card__num{
  display: block;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: .22em;
  color: rgba(249, 222, 176, .7);
}
.card__num::after{
  content: "";
  display: block;
  width: 30px;
  height: 1px;
  margin-top: 12px;
  background: var(--cream);
  opacity: .5;
  transition: width .7s var(--ease-out);
}
.card:hover .card__num::after{ width: 64px; }

.card__foot{ display: block; width: 100%; margin-top: auto; }

.card__title{
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3.1rem);
  letter-spacing: -.015em;
  line-height: 1;
  color: var(--cream);
}
.card__kicker{
  display: block;
  margin: 10px 0 0;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(249, 222, 176, .72);
}
.card__desc{
  display: block;
  max-width: 40ch;
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.66;
  color: rgba(246, 241, 234, .74);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .8s var(--ease-out), opacity .6s var(--ease), margin .8s var(--ease-out);
}
.card:hover .card__desc,
.card:focus-visible .card__desc{
  max-height: 7em;
  opacity: 1;
}

.card__cue{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--cream);
}
.card__cue svg{
  width: 30px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .6s var(--ease-out);
}
.card:hover .card__cue svg{ transform: translateX(8px); }

.card__tag{
  position: absolute;
  top: clamp(24px, 2.6vw, 40px);
  right: clamp(24px, 2.6vw, 40px);
  z-index: 3;
  padding: 7px 13px;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(249, 222, 176, .34);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  background: rgba(62, 9, 18, .3);
}


/* ============================================================
   10  GROUP VALUES
============================================================ */
.values{
  position: relative;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}
.values__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.values__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
  filter: grayscale(.35) contrast(1.05);
}
.values::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 7, 9, .9), rgba(62, 9, 18, .82)),
    radial-gradient(90% 70% at 20% 10%, rgba(96, 14, 28, .6), transparent 70%);
}
.values__inner{ position: relative; z-index: 2; }

.values__title{
  margin-bottom: clamp(44px, 6vw, 80px);
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: .98;
}
.values__title span{ display: block; color: var(--cream); }
.values__title em{
  display: block;
  color: #fff;
  opacity: .92;
  padding-left: clamp(0px, 8vw, 150px);
}

.values__list{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(249, 222, 176, .18);
  border-block: 1px solid rgba(249, 222, 176, .18);
}
.values__list li{
  position: relative;
  padding: clamp(26px, 3vw, 44px) clamp(18px, 2vw, 30px);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  line-height: 1.16;
  background: rgba(11, 7, 9, .45);
  transition: background .5s var(--ease);
}
.values__list li:hover{ background: rgba(96, 14, 28, .7); }
.values__list li i{
  display: block;
  margin-bottom: 20px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 10.5px;
  letter-spacing: .24em;
  color: rgba(249, 222, 176, .55);
}
.values__list li span{
  display: block;
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(246, 241, 234, .66);
}


/* ============================================================
   11  VISION
============================================================ */
.vision{
  position: relative;
  padding-block: clamp(110px, 15vw, 210px);
  color: var(--cream);
  background: var(--burgundy-deep);
  overflow: hidden;
  isolation: isolate;
}
.vision__bg{
  position: absolute;
  inset: -12% 0;
  z-index: 0;
  will-change: transform;
}
.vision__bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.75) contrast(1.05);
}
.vision__scrim{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(62, 9, 18, .95) 0%, rgba(62, 9, 18, .72) 45%, rgba(11, 7, 9, .55) 100%),
    radial-gradient(120% 100% at 80% 20%, transparent, rgba(11, 7, 9, .6));
}
.vision__inner{ position: relative; z-index: 2; }

.vision__title{
  margin: clamp(22px, 3vw, 34px) 0 clamp(36px, 5vw, 58px);
  font-size: clamp(2.6rem, 7.6vw, 6.2rem);
  line-height: .98;
}
.vision__title em{ display: block; color: #fff; padding-left: clamp(0px, 6vw, 110px); }

.vision__cols{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  max-width: 980px;
}
.vision__cols p{
  font-size: clamp(15px, 1.2vw, 17px);
  color: rgba(246, 241, 234, .82);
}

.vision__quote{
  max-width: 24ch;
  margin: clamp(48px, 6vw, 82px) 0 0;
  padding-left: clamp(18px, 2vw, 28px);
  border-left: 2px solid var(--cream);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1.32;
  color: var(--cream);
}


/* ============================================================
   12  CONTACT
============================================================ */
.contact{
  background: var(--offwhite);
  text-align: left;
}
.contact__title{
  font-size: clamp(2.6rem, 8vw, 6.4rem);
  line-height: .98;
  color: var(--burgundy);
}
.contact__title em{ display: block; color: var(--charcoal); }
.contact__lead{
  max-width: 48ch;
  margin-top: clamp(24px, 3vw, 34px);
  color: rgba(23, 18, 19, .68);
}
.contact__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(32px, 4vw, 48px);
}


/* ============================================================
   13  FOOTER
============================================================ */
.footer{
  padding-block: clamp(56px, 7vw, 92px) 34px;
  background: var(--ink);
  color: rgba(249, 222, 176, .8);
}
.footer__grid{
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: clamp(38px, 5vw, 60px);
  border-bottom: 1px solid rgba(249, 222, 176, .14);
}
.brand--footer{ margin: 0 0 20px; }
.footer__brand p{
  font-size: 14px;
  line-height: 1.75;
  color: rgba(246, 241, 234, .6);
}
.footer__col h3{
  margin-bottom: 20px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(249, 222, 176, .5);
}
.footer__col a,
.footer__col .linklike{
  display: block;
  padding: 7px 0;
  font-size: 14px;
  text-align: left;
  color: rgba(246, 241, 234, .74);
  transition: color .35s var(--ease), transform .45s var(--ease-out);
}
.footer__col a:hover,
.footer__col .linklike:hover{ color: var(--cream); transform: translateX(4px); }

.footer__bar{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
}
.footer__bar p{
  margin: 0;
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(246, 241, 234, .48);
}
.footer__tag{
  text-transform: uppercase;
  letter-spacing: .2em !important;
  font-size: 10px !important;
}


/* ============================================================
   14  INDUSTRY DETAIL OVERLAY
============================================================ */
.detail{
  position: fixed;
  inset: 0;
  z-index: 1800;
  background: var(--ink);
  color: var(--offwhite);
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s var(--ease), visibility .55s;
}
.detail[hidden]{ display: none; }
.detail.is-open{ opacity: 1; visibility: visible; }

/* Cinematic burgundy curtain wipe */
.detail__curtain{
  position: absolute;
  inset: 0;
  z-index: 40;
  background: var(--burgundy);
  transform-origin: bottom;
  transform: scaleY(1);
  transition: transform .7s var(--ease-out);
  pointer-events: none;
}
.detail.is-revealed .detail__curtain{ transform: scaleY(0); }

.detail__scroll{
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.detail__x{
  position: fixed;
  top: 22px;
  right: clamp(16px, 4vw, 40px);
  z-index: 50;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--cream);
  border: 1px solid rgba(249, 222, 176, .3);
  background: rgba(62, 9, 18, .55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity .5s var(--ease) .35s, background .4s var(--ease), transform .4s var(--ease);
}
.detail.is-revealed .detail__x{ opacity: 1; }
.detail__x:hover{ background: var(--cream); color: var(--burgundy); transform: rotate(90deg); }
.detail__x svg{
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
}

/* Detail hero */
.dhero{
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  padding: clamp(96px, 12vh, 150px) 0 clamp(48px, 6vw, 80px);
  overflow: hidden;
  isolation: isolate;
  background: var(--burgundy-deep);
}
.dhero__media{
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.dhero__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  opacity: 0;
  transition: transform 1.6s var(--ease-out), opacity 1.1s var(--ease);
}
.detail.is-revealed .dhero__media img{ transform: scale(1); opacity: 1; }

.dhero__scrim{
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(11, 7, 9, .7) 0%, rgba(11, 7, 9, .3) 40%, rgba(11, 7, 9, .92) 100%),
    linear-gradient(95deg, rgba(62, 9, 18, .7), transparent 70%);
}
.dhero__inner{ position: relative; z-index: 2; }

.dback{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(30px, 5vw, 58px);
  padding: 12px 20px 12px 16px;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream);
  border: 1px solid rgba(249, 222, 176, .3);
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.dback svg{
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .5s var(--ease-out);
}
.dback:hover{ background: var(--cream); color: var(--burgundy); border-color: var(--cream); }
.dback:hover svg{ transform: translateX(-5px); }

.dhero__num{
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: .3em;
  color: rgba(249, 222, 176, .7);
}
.dhero__title{
  font-size: clamp(3rem, 11vw, 9rem);
  line-height: .92;
  letter-spacing: -.03em;
  color: var(--cream);
}
.dhero__sub{
  margin: clamp(14px, 2vw, 22px) 0 0;
  font-size: clamp(13px, 1.5vw, 17px);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(246, 241, 234, .82);
}
.dhero__action{ margin-top: clamp(28px, 3.4vw, 42px); }
.dhero__action--foot{ margin-top: clamp(30px, 4vw, 44px); }

.dhero__action .btn--solid::before{ background: var(--burgundy-soft); }

.badge-soon{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 30px;
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(249, 222, 176, .8);
  border: 1px dashed rgba(249, 222, 176, .4);
}
.badge-soon::before{
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cream);
  opacity: .7;
}

/* Detail sections */
.dsec{
  padding-block: clamp(64px, 8vw, 128px);
  border-top: 1px solid rgba(249, 222, 176, .12);
}
.dsec--overview{ background: var(--ink); border-top: 0; }
.dsec--approach{ background: #120C0E; }
.dsec--caps{ background: var(--ink); }
.dsec--future{
  background:
    linear-gradient(140deg, var(--burgundy-deep), var(--ink) 75%);
}
.dsec--next{
  background: var(--ink);
  padding-block: clamp(52px, 6vw, 88px);
}

.dgrid{
  display: grid;
  grid-template-columns: minmax(0, .3fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: start;
}
.dgrid__label{
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(249, 222, 176, .66);
  padding-top: 10px;
}

.dlede{
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.8vw, 2.3rem);
  line-height: 1.26;
  letter-spacing: -.01em;
  color: var(--cream);
  margin-bottom: clamp(26px, 3vw, 40px);
  max-width: 34ch;
}
.dsec .prose p{
  max-width: 68ch;
  color: rgba(246, 241, 234, .74);
}

/* Approach steps */
.dsteps{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(249, 222, 176, .14);
  border: 1px solid rgba(249, 222, 176, .14);
}
.dsteps li{
  padding: clamp(22px, 2.6vw, 36px);
  background: #120C0E;
  transition: background .5s var(--ease);
}
.dsteps li:hover{ background: rgba(96, 14, 28, .55); }
.dsteps li b{
  display: block;
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .26em;
  color: rgba(249, 222, 176, .6);
}
.dsteps li h4{
  font-size: clamp(1.15rem, 1.9vw, 1.6rem);
  color: var(--cream);
}
.dsteps li p{
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.66;
  color: rgba(246, 241, 234, .68);
}

/* Capabilities */
.dcaps{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.dcap{
  position: relative;
  padding: clamp(22px, 2.4vw, 32px);
  border: 1px solid rgba(249, 222, 176, .16);
  background: rgba(249, 222, 176, .03);
  overflow: hidden;
  transition: border-color .5s var(--ease), background .5s var(--ease), transform .6s var(--ease-out);
}
.dcap::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--cream);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .6s var(--ease-out);
}
.dcap:hover{
  border-color: rgba(249, 222, 176, .34);
  background: rgba(96, 14, 28, .3);
  transform: translateY(-4px);
}
.dcap:hover::before{ transform: scaleY(1); }
.dcap h4{
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  color: var(--cream);
}
.dcap p{
  margin: 12px 0 0;
  font-size: 13.5px;
  line-height: 1.66;
  color: rgba(246, 241, 234, .66);
}

/* Future */
.dfuture{
  max-width: 34ch;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.4vw, 2.85rem);
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--cream);
}

/* Next / close */
.dnext{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin-top: 22px;
  padding: clamp(24px, 3vw, 40px) 0;
  border-block: 1px solid rgba(249, 222, 176, .16);
  color: var(--cream);
  transition: color .4s var(--ease), padding-left .5s var(--ease-out);
}
.dnext:hover{ padding-left: 14px; }
.dnext__name{
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.6vw, 3.4rem);
  line-height: 1;
}
.dnext .ico-arrow{ width: 28px; height: 28px; flex: none; }

.dclose-all{
  margin-top: 28px;
  padding: 4px 0;
  font-size: 10.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(249, 222, 176, .6);
  border-bottom: 1px solid rgba(249, 222, 176, .3);
  transition: color .4s var(--ease), border-color .4s var(--ease);
}
.dclose-all:hover{ color: var(--cream); border-color: var(--cream); }

/* Progressive reveal of detail content */
.detail .dhero__inner > *,
.detail .dgrid > *{
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.detail.is-revealed .dhero__inner > *,
.detail.is-revealed .dgrid > *{ opacity: 1; transform: none; }
.detail.is-revealed .dhero__inner > *:nth-child(1){ transition-delay: .30s; }
.detail.is-revealed .dhero__inner > *:nth-child(2){ transition-delay: .38s; }
.detail.is-revealed .dhero__inner > *:nth-child(3){ transition-delay: .46s; }
.detail.is-revealed .dhero__inner > *:nth-child(4){ transition-delay: .56s; }
.detail.is-revealed .dhero__inner > *:nth-child(5){ transition-delay: .66s; }
.detail.is-revealed .dgrid > *{ transition-delay: .5s; }


/* ============================================================
   15  REVEAL ANIMATIONS
============================================================ */
.reveal{
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .95s var(--ease-out),
    transform .95s var(--ease-out);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in{
  opacity: 1;
  transform: none;
  will-change: auto;
}

.card{
  opacity: 0;
  transform: translateY(46px);
  transition:
    opacity 1s var(--ease-out),
    transform 1s var(--ease-out),
    box-shadow .8s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.card.is-in{ opacity: 1; transform: translateY(0); }
.card.is-in:hover,
.card.is-in:focus-visible{ transform: translateY(-6px); }


/* ============================================================
   16  RESPONSIVE
============================================================ */

/* Large desktop: allow the layout to breathe */
@media (min-width: 1700px){
  :root{ --shell: 1480px; }
}

/* Small desktop / large tablet */
@media (max-width: 1180px){
  .dcaps{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values__list{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tablet */
@media (max-width: 1024px){
  :root{ --nav-h: 76px; }

  .nav__links,
  .btn--nav{ display: none; }
  .burger{ display: block; }

  .about__grid{ grid-template-columns: 1fr; }
  .about__visual{ max-width: 520px; }
  .frame img{ aspect-ratio: 16 / 11; }

  .industries__head{ grid-template-columns: 1fr; align-items: start; }

  .dgrid{ grid-template-columns: 1fr; }
  .dgrid__label{ padding-top: 0; }

  .vision__cols{ grid-template-columns: 1fr; }
}

/* Large phone / small tablet */
@media (max-width: 860px){
  .cards{ grid-template-columns: 1fr; }
  .card{ min-height: 400px; }
  .card__desc{ max-height: none; overflow: visible; opacity: 1; }

  .dsteps{ grid-template-columns: 1fr; }
  .principles{ grid-template-columns: 1fr; }

  .hero__dots{ bottom: 96px; right: var(--gutter); }
  .scroll-cue{ bottom: 40px; }
}

/* Phone */
@media (max-width: 640px){
  body{ line-height: 1.68; }

  .brand__sub{ display: none; }

  .hero{ padding-bottom: 150px; }
  .hero__title{ font-size: clamp(2.5rem, 12vw, 3.6rem); }
  .hero__cta{ flex-direction: column; align-items: stretch; }
  .hero__cta .btn{ justify-content: center; }

  .scroll-cue__line{ width: 40px; }

  .values__list{ grid-template-columns: 1fr; }
  .values__title em{ padding-left: 0; }
  .vision__title em{ padding-left: 0; }

  .dcaps{ grid-template-columns: 1fr; }
  .footer__grid{ grid-template-columns: 1fr; }

  .contact__actions{ flex-direction: column; align-items: stretch; }
  .contact__actions .btn{ justify-content: center; }
  .contact__actions .btn span{
    overflow-wrap: anywhere;
  }

  .detail__x{ top: 14px; width: 44px; height: 44px; }
  .dnext{ flex-wrap: wrap; }
}

/* Very small phone */
@media (max-width: 400px){
  :root{ --gutter: 18px; }
  .btn{ padding: 15px 22px; font-size: 10.5px; letter-spacing: .16em; }
  .highlights{ gap: 22px; }
}

/* Short viewports: keep hero usable in landscape */
@media (max-height: 620px) and (min-width: 860px){
  .hero{ padding-block: calc(var(--nav-h) + 24px) 100px; }
  .hero__title{ font-size: clamp(2.4rem, 6vw, 4rem); }
}

/* Hover-capable devices only: the "reveal on hover" description */
@media (hover: none){
  .card__desc{ max-height: none; overflow: visible; opacity: 1; }
  .card__edge{ border-color: rgba(249, 222, 176, .2); }
}


/* ============================================================
   17  REDUCED MOTION / PRINT
============================================================ */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }

  *,
  *::before,
  *::after{
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .card,
  .detail .dhero__inner > *,
  .detail .dgrid > *{
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__title .line > span{ transform: none; animation: none; }
  .slide img{ transform: none !important; }
  .hero.is-playing .slide.is-active img{ transform: none; }
  .detail__curtain{ display: none; }
  .scroll-cue__line::after{ transform: scaleX(1); }
}

@media print{
  .nav, .mnav, .hero__media, .detail, .grain, .scroll-cue, .hero__dots{ display: none !important; }
  body{ background: #fff; color: #000; }
}
