/* ═══════════════════════════════════════════════════════════════════════════
   THE LINE STUDIOS — styles.css
   Palette / type per CI Guide:
     Deep Charcoal #373025 · Warm Taupe #7B6E5F · Stone #9B9084
     Warm Greige #AEA59C · Soft Limestone #CFC9C4 · Warm White #F4F1ED
     Sage Olive #737866 · Soft Black #24211D
     Headings: Playfair Display · Body: Montserrat
     Ratio: 60% warm white/limestone · 20% charcoal · 15% taupe/greige · 5% sage
═══════════════════════════════════════════════════════════════════════════ */

:root {
  --charcoal:  #373025;
  --taupe:     #7B6E5F;
  --stone:     #9B9084;
  --greige:    #AEA59C;
  --limestone: #CFC9C4;
  --white:     #F4F1ED;
  --sage:      #737866;
  --black:     #24211D;

  --paper:     #FAF8F5;
  --paper-2:   #EFEBE5;
  --line:      #DFD9D2;
  --paper-sage: #F2F3EE;   /* warm white with a sage cast */
  --sage-deep:  #5F6455;
  --taupe-deep: #6A5E50;

  --text:      #373025;
  --text-mid:  #6B6154;
  --text-soft: #8C8377;

  --font-h: 'Playfair Display', Georgia, serif;
  --font-b: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-h: 128px;
  --r:   3px;
  --r-l: 6px;

  --sh-s: 0 1px 3px rgba(55,48,37,.07);
  --sh-m: 0 6px 22px rgba(55,48,37,.10);
  --sh-l: 0 18px 50px rgba(55,48,37,.16);

  --ease: cubic-bezier(.22,.61,.36,1);
  --t: .38s var(--ease);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* The [hidden] attribute must always win over any display declaration.
   Without this, rules like `.modal { display:flex }` override it and the
   element renders on page load. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-b);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

::selection { background: var(--charcoal); color: var(--white); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }
.section   { padding: 116px 0; }

/* ── TYPE ── */
.label {
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-h);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1.14;
  letter-spacing: -.005em;
  color: var(--charcoal);
}
.section-title em { font-style: italic; color: var(--taupe); }
.section-sub {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: .95rem;
  font-weight: 300;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 68px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  font-family: var(--font-b);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  border-radius: var(--r);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
  white-space: nowrap;
}
.btn-sm { padding: 11px 22px; font-size: .64rem; }

.btn-primary { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.btn-primary:hover { background: var(--taupe); border-color: var(--taupe); transform: translateY(-2px); box-shadow: var(--sh-m); }

.btn-secondary { background: transparent; color: var(--white); border-color: rgba(244,241,237,.5); }
.btn-secondary:hover { background: var(--white); color: var(--charcoal); border-color: var(--white); transform: translateY(-2px); }

.btn-light { background: var(--white); color: var(--charcoal); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); border-color: var(--white); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--charcoal); border-color: var(--line); }
.btn-ghost:hover { background: var(--paper-2); border-color: var(--greige); }

.btn-store { background: var(--white); color: var(--charcoal); border-color: var(--white); }
.btn-store:hover { background: var(--limestone); border-color: var(--limestone); transform: translateY(-2px); box-shadow: var(--sh-m); }
.btn-store svg { width: 17px; height: 17px; }

/* ═══════ NAV ═══════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(to bottom, rgba(36,33,29,.55), transparent);
  transition: background var(--t), box-shadow var(--t);
}
#navbar.scrolled {
  background: rgba(250,248,245,.96);
  backdrop-filter: blur(14px);
  box-shadow: var(--sh-s);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 16px; }
.nav-logo-icon {
  height: 90px;
  width: auto;
  display: block;
  /* Logo artwork is dark by default — invert to white so it reads over
     the transparent/dark hero nav, then reveal true color once scrolled */
  filter: brightness(0) invert(1);
  transition: filter var(--t);
}
.nav-logo-word {
  height: 82px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  transition: filter var(--t);
}
#navbar.scrolled .nav-logo-icon,
#navbar.scrolled .nav-logo-word { filter: none; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  position: relative;
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(244,241,237,.86);
  transition: color var(--t);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: currentColor;
  transition: width var(--t);
}
.nav-links a:hover::after { width: 100%; }
#navbar.scrolled .nav-links a { color: var(--text-mid); }
#navbar.scrolled .nav-links a:hover { color: var(--charcoal); }

.nav-cta {
  padding: 10px 22px;
  border: 1px solid rgba(244,241,237,.45);
  border-radius: var(--r);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--white); color: var(--charcoal) !important; }
#navbar.scrolled .nav-cta { border-color: var(--line); }
#navbar.scrolled .nav-cta:hover { background: var(--charcoal); color: var(--white) !important; border-color: var(--charcoal); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white);
  transition: transform var(--t), opacity var(--t), background var(--t);
}
#navbar.scrolled .hamburger span { background: var(--charcoal); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--paper);
  border-top: 1px solid var(--line);
  max-height: 0;
  overflow: hidden;
  transition: max-height .42s var(--ease);
}
.mobile-menu.open { max-height: 460px; }
.mobile-menu a {
  padding: 17px 40px;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mid);
  border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ═══════ HERO ═══════ */
#hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 72% 28%, #4A4235 0%, transparent 56%),
    radial-gradient(ellipse at 22% 74%, #2C2721 0%, transparent 60%),
    linear-gradient(140deg, #24211D 0%, #373025 42%, #4A4235 72%, #2C2721 100%);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(100deg, rgba(36,33,29,.80) 0%, rgba(36,33,29,.42) 52%, rgba(36,33,29,.14) 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  color: var(--white);
}
.hero-eyebrow {
  font-size: .66rem;
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--limestone);
  margin-bottom: 22px;
}
.hero-headline {
  font-family: var(--font-h);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.4vw, 5.1rem);
  line-height: 1.06;
  letter-spacing: -.012em;
}
.hero-headline em { font-style: italic; color: var(--limestone); }
.hero-sub {
  margin-top: 26px;
  max-width: 480px;
  font-size: 1rem;
  font-weight: 200;
  line-height: 1.85;
  color: rgba(244,241,237,.82);
}
.hero-actions { margin-top: 40px; display: flex; gap: 15px; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(26px); animation: revealUp .95s var(--ease) forwards; }
.hero-eyebrow.reveal  { animation-delay: .25s; }
.hero-headline.reveal { animation-delay: .45s; }
.hero-sub.reveal      { animation-delay: .65s; }
.hero-actions.reveal  { animation-delay: .85s; }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }


/* ── HERO SCENE (8s loop) ── */
.hero-scene { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-scene-svg { width: 100%; height: 100%; display: block; animation: drift 18s ease-in-out infinite; }

.hero-scene-svg g path,
.hero-scene-svg g circle,
.hero-scene-svg g ellipse,
.hero-scene-svg g rect {
  fill: none;
  stroke: #CFC9C4;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.hero-scene-svg .thin { stroke-width: 1.1; opacity: .68; }
.hero-scene-svg .win-glow,
.hero-scene-svg .lamp-glow,
.hero-scene-svg .pend-glow { stroke: none; }

.sc-arch .draw {
  stroke-dasharray: 1500; stroke-dashoffset: 1500;
  animation-duration: 8s; animation-iteration-count: infinite;
  animation-timing-function: cubic-bezier(.4,0,.2,1);
}
.sc-arch .draw-1 { animation-name: aD1; }
.sc-arch .draw-2 { animation-name: aD2; }
.sc-arch .draw-3 { animation-name: aD3; }
.sc-arch .draw-4 { animation-name: aD4; }
@keyframes aD1 { 0%{stroke-dashoffset:1500;opacity:0} 3%{opacity:.8} 12%{stroke-dashoffset:0} 88%{stroke-dashoffset:0;opacity:.8} 100%{stroke-dashoffset:0;opacity:0} }
@keyframes aD2 { 0%,3%{stroke-dashoffset:1500;opacity:0} 6%{opacity:.8} 16%{stroke-dashoffset:0} 88%{stroke-dashoffset:0;opacity:.8} 100%{stroke-dashoffset:0;opacity:0} }
@keyframes aD3 { 0%,7%{stroke-dashoffset:1500;opacity:0} 10%{opacity:.8} 19%{stroke-dashoffset:0} 88%{stroke-dashoffset:0;opacity:.8} 100%{stroke-dashoffset:0;opacity:0} }
@keyframes aD4 { 0%,11%{stroke-dashoffset:1500;opacity:0} 14%{opacity:.55} 22%{stroke-dashoffset:0} 88%{stroke-dashoffset:0;opacity:.55} 100%{stroke-dashoffset:0;opacity:0} }

.sc-piece {
  opacity: 0;
  animation-duration: 8s;
  animation-timing-function: cubic-bezier(.16,.9,.28,1);
  animation-iteration-count: infinite;
  will-change: transform, opacity;
}
.pc-rug     { animation-name: fRug;  transform-origin: 50% 100%; }
.pc-sofa    { animation-name: fSofa; transform-origin: 30% 60%; }
.pc-table   { animation-name: fTab;  transform-origin: 50% 50%; }
.pc-chair   { animation-name: fCha;  transform-origin: 70% 60%; }
.pc-lamp    { animation-name: fLamp; transform-origin: 20% 80%; }
.pc-pendant { animation-name: fPen;  transform-origin: 50% 0%; }
.pc-console { animation-name: fCon;  transform-origin: 30% 20%; }
.pc-side    { animation-name: fSide; transform-origin: 55% 70%; }
.pc-plant   { animation-name: fPla;  transform-origin: 75% 90%; }
.pc-stool   { animation-name: fSto;  transform-origin: 85% 90%; }

@keyframes fRug  { 0%,13%{opacity:0;transform:translate3d(0,180px,0) scale(.86)} 28%{opacity:1;transform:translate3d(0,-8px,0) scale(1.015)} 32%{transform:none} 87%{opacity:1;transform:none} 100%{opacity:0;transform:translate3d(0,-26px,0) scale(1.03)} }
@keyframes fSofa { 0%,17%{opacity:0;transform:translate3d(-460px,40px,0) rotate(-7deg) scale(.9)} 33%{opacity:1;transform:translate3d(14px,-6px,0) rotate(.8deg) scale(1.01)} 38%{transform:none} 87%{opacity:1;transform:none} 100%{opacity:0;transform:translate3d(0,-26px,0) scale(1.03)} }
@keyframes fPen  { 0%,21%{opacity:0;transform:translate3d(0,-260px,0) scale(.9)} 37%{opacity:1;transform:translate3d(0,10px,0) rotate(1.6deg)} 44%{transform:translate3d(0,-3px,0) rotate(-1deg)} 50%{transform:rotate(.4deg)} 55%{transform:none} 87%{opacity:1;transform:none} 100%{opacity:0;transform:translate3d(0,-26px,0) scale(1.03)} }
@keyframes fCha  { 0%,22%{opacity:0;transform:translate3d(440px,30px,0) rotate(8deg) scale(.9)} 38%{opacity:1;transform:translate3d(-12px,-6px,0) rotate(-1deg) scale(1.01)} 43%{transform:none} 87%{opacity:1;transform:none} 100%{opacity:0;transform:translate3d(0,-26px,0) scale(1.03)} }
@keyframes fTab  { 0%,26%{opacity:0;transform:translate3d(0,-300px,0) rotate(9deg) scale(.86)} 41%{opacity:1;transform:translate3d(0,12px,0) rotate(-1.5deg) scale(1.02)} 46%{transform:translate3d(0,-4px,0) rotate(.4deg)} 50%{transform:none} 87%{opacity:1;transform:none} 100%{opacity:0;transform:translate3d(0,-26px,0) scale(1.03)} }
@keyframes fCon  { 0%,29%{opacity:0;transform:translate3d(-240px,-190px,0) rotate(-9deg) scale(.88)} 44%{opacity:1;transform:translate3d(8px,8px,0) rotate(1deg) scale(1.01)} 50%{transform:none} 87%{opacity:1;transform:none} 100%{opacity:0;transform:translate3d(0,-26px,0) scale(1.03)} }
@keyframes fLamp { 0%,32%{opacity:0;transform:translate3d(-360px,-140px,0) rotate(-16deg) scale(.88)} 47%{opacity:1;transform:translate3d(10px,8px,0) rotate(2deg) scale(1.01)} 52%{transform:none} 87%{opacity:1;transform:none} 100%{opacity:0;transform:translate3d(0,-26px,0) scale(1.03)} }
@keyframes fSide { 0%,35%{opacity:0;transform:translate3d(320px,90px,0) rotate(7deg) scale(.9)} 49%{opacity:1;transform:translate3d(-10px,-5px,0) rotate(-1deg) scale(1.01)} 55%{transform:none} 87%{opacity:1;transform:none} 100%{opacity:0;transform:translate3d(0,-26px,0) scale(1.03)} }
@keyframes fPla  { 0%,38%{opacity:0;transform:translate3d(280px,150px,0) rotate(11deg) scale(.84)} 53%{opacity:1;transform:translate3d(-8px,-8px,0) rotate(-1.5deg) scale(1.02)} 59%{transform:none} 87%{opacity:1;transform:none} 100%{opacity:0;transform:translate3d(0,-26px,0) scale(1.03)} }
@keyframes fSto  { 0%,42%{opacity:0;transform:translate3d(220px,-170px,0) rotate(14deg) scale(.86)} 56%{opacity:1;transform:translate3d(-6px,8px,0) rotate(-2deg) scale(1.02)} 61%{transform:none} 87%{opacity:1;transform:none} 100%{opacity:0;transform:translate3d(0,-26px,0) scale(1.03)} }

.win-glow, .lamp-glow, .pend-glow { opacity: 0; animation: bloom 8s ease-in-out infinite; }
@keyframes bloom { 0%,47%{opacity:0} 63%{opacity:1} 85%{opacity:1} 100%{opacity:0} }
@keyframes drift { 0%,100%{transform:scale(1.02)} 50%{transform:scale(1.045) translate3d(-10px,-6px,0)} }

/* ═══════ MARQUEE ═══════ */
.marquee-strip {
  background: var(--charcoal);
  padding: 17px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marq 38s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}
.marquee-track span {
  padding: 0 30px;
  font-size: .66rem;
  font-weight: 300;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--limestone);
}
.marquee-track i { color: var(--sage); font-style: normal; align-self: center; }
@keyframes marq { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }

/* ═══════ ABOUT ═══════ */
.about-section { background: var(--white); }

.about-intro { padding: 110px 0 78px; }
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.intro-text p {
  color: var(--text-mid);
  font-size: .93rem;
  line-height: 1.92;
  margin-bottom: 20px;
}
.intro-quote {
  font-family: var(--font-h) !important;
  font-size: 1.12rem !important;
  font-style: italic;
  color: var(--charcoal) !important;
  line-height: 1.6 !important;
  padding: 22px 0 22px 26px;
  border-left: 2px solid var(--greige);
  margin: 30px 0 !important;
}
.intro-figure {
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--sh-m);
  background: var(--paper-2);
  position: sticky;
  top: 108px;
}
.intro-figure img { width: 100%; height: auto; }

/* Stats — warm taupe band */
.stats-bar {
  background: linear-gradient(135deg, var(--taupe) 0%, var(--taupe-deep) 55%, var(--sage-deep) 100%);
  padding: 48px 40px;
}
.stats-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.stat-num {
  font-family: var(--font-h);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--white);
}
.stat-label {
  font-size: .64rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(244,241,237,.72);
}
.stat-div { width: 1px; height: 52px; background: rgba(244,241,237,.28); flex: 0 0 1px; }

/* Team */

/* About photo (static — no flip interaction) */
.about-photo {
  position: relative;
  position: sticky;
  top: 108px;
  min-height: 620px;
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--sh-m);
  background: var(--paper-2);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.flip-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 46px 30px 26px;
  background: linear-gradient(to top, rgba(36,33,29,.9), transparent);
  color: var(--white);
}
.flip-caption h3 { font-family: var(--font-h); font-size: 1.4rem; font-weight: 500; }
.flip-caption p {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .8;
  margin-top: 5px;
}

/* About Me copy (now the intro text, on the light section background) */
.intro-text h3 {
  font-family: var(--font-h);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.intro-text .flip-role {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 22px;
}
.intro-text .flip-meta {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 15px;
}
.intro-text .flip-meta span {
  display: block;
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 3px;
}
.intro-text .flip-meta strong { font-weight: 400; font-size: .86rem; color: var(--charcoal); }


/* Approach / Philosophy */
.about-ap { background: var(--paper-sage); padding: 96px 0; }
.ap-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 88px;
}
.ap-row:last-child { margin-bottom: 0; }
.ap-heading {
  font-family: var(--font-h);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.ap-text p { color: var(--text-mid); font-size: .92rem; line-height: 1.9; margin-bottom: 17px; }
.ap-img {
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--sh-m);
  aspect-ratio: 4/3;
}
.ap-img-approach { aspect-ratio: 3/4; background: var(--paper-2); }
.ap-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ap-img-approach img {
  width: 100%;
  height: 100%;
  margin: 0;
  display: block;
  object-fit: cover;
}
.ap-img:hover img { transform: scale(1.04); }
.ap-img-approach:hover img { transform: none; }

/* ═══════ SERVICES ═══════ */
.services-section { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--sh-m);
}
.svc-col { display: flex; flex-direction: column; gap: 2px; }
.service-card {
  flex: 1;
  background: var(--paper);
  padding: 44px 34px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .65s var(--ease), transform .65s var(--ease), background var(--t);
}
.service-card.visible { opacity: 1; transform: translateY(0); }
.service-card:hover { background: var(--paper-2); }
.svc-icon { width: 40px; height: 40px; color: var(--sage); margin-bottom: 20px; }
.svc-icon svg { width: 100%; height: 100%; }
.service-card h3 {
  font-family: var(--font-h);
  font-size: 1.24rem;
  font-weight: 400;
  line-height: 1.28;
  color: var(--charcoal);
  margin-bottom: 13px;
}
.service-card p { flex: 1; font-size: .86rem; line-height: 1.82; color: var(--text-mid); margin-bottom: 22px; }
.svc-link {
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sage);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: gap var(--t), color var(--t);
}
.svc-link::after { content: '→'; transition: transform var(--t); }
.svc-link:hover { color: var(--charcoal); gap: 12px; }

.svc-col-img { gap: 2px; }
.svc-fig { position: relative; flex: 1; overflow: hidden; min-height: 260px; }
.svc-fig img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.svc-fig:hover img { transform: scale(1.05); }
.svc-fig figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 24px 20px;
  background: linear-gradient(to top, rgba(36,33,29,.82), transparent);
  color: var(--white);
  font-family: var(--font-h);
  font-size: 1.02rem;
  font-style: italic;
}


/* ═══════ CLIENT LOGO STRIPS ═══════ */
.clients {
  background: var(--paper-sage);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 52px 0 56px;
  overflow: hidden;
}
.clients-label {
  text-align: center;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 34px;
}

.logo-strip {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  /* Fade the logos out at both edges instead of a hard cut */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
}
.logo-strip + .logo-strip { margin-top: 6px; }

.logo-track {
  display: flex;
  width: max-content;
}
.logo-track-l { animation: logoScrollL 42s linear infinite; }
.logo-track-r { animation: logoScrollR 38s linear infinite; }
.logo-strip:hover .logo-track { animation-play-state: paused; }

.logo-group { display: flex; align-items: center; flex-shrink: 0; }

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 190px;
  height: 74px;
  padding: 0 16px;
}
.logo-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  /* Desaturate + flatten to sit inside the warm neutral palette */
  filter: grayscale(1) brightness(.62) contrast(.95) opacity(.55);
  transition: filter .4s var(--ease), transform .4s var(--ease);
}
.logo-item:hover img {
  filter: grayscale(1) brightness(.34) contrast(1) opacity(.95);
  transform: scale(1.05);
}

@keyframes logoScrollL { from { transform: translate3d(0,0,0); }    to { transform: translate3d(-50%,0,0); } }
@keyframes logoScrollR { from { transform: translate3d(-50%,0,0); } to { transform: translate3d(0,0,0); } }

/* ═══════ PORTFOLIO ═══════ */
.portfolio-section { background: var(--paper); }

.pf-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.pf-categories.is-hiding { opacity: 0; transform: scale(.97) translateY(-12px); pointer-events: none; }

.pf-cat {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--sh-m);
  text-align: left;
  opacity: 0;
  transform: translateY(28px);
  animation: pfIn .7s var(--ease) forwards;
}
.pf-cat:nth-child(1) { animation-delay: .05s; }
.pf-cat:nth-child(2) { animation-delay: .16s; }
.pf-cat:nth-child(3) { animation-delay: .27s; }
.pf-cat:nth-child(4) { animation-delay: .38s; }
@keyframes pfIn { to { opacity: 1; transform: translateY(0); } }

.pf-cat img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.pf-cat:hover img { transform: scale(1.07); }

.pf-cat-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(36,33,29,.92) 0%, rgba(36,33,29,.42) 46%, rgba(36,33,29,.12) 100%);
  transition: background var(--t);
}
.pf-cat:hover .pf-cat-veil { background: linear-gradient(to top, rgba(36,33,29,.94) 0%, rgba(36,33,29,.55) 52%, rgba(36,33,29,.26) 100%); }

.pf-cat-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--white);
}
.pf-cat-name { font-family: var(--font-h); font-size: 1.5rem; font-weight: 400; line-height: 1.2; }
.pf-cat-count {
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--greige);
}
.pf-cat-cta {
  margin-top: 14px;
  align-self: flex-start;
  padding: 10px 20px;
  border: 1px solid rgba(244,241,237,.55);
  border-radius: 100px;
  font-size: .6rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: background var(--t), color var(--t), border-color var(--t);
}
.pf-cat:hover .pf-cat-cta { background: var(--white); color: var(--charcoal); border-color: var(--white); }

/* Detail view */
.pf-detail { animation: pfDetailIn .55s var(--ease) both; }
@keyframes pfDetailIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.pf-subcats { margin-top: 4px; }

.pf-detail-bar {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-bottom: 26px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.pf-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: .64rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-mid);
  background: var(--white);
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.pf-back svg { width: 15px; height: 15px; }
.pf-back:hover { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); transform: translateX(-3px); }
.pf-detail-title {
  font-family: var(--font-h);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 400;
  color: var(--charcoal);
}

.pf-collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.pf-tile {
  position: relative;
  border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--sh-s);
  opacity: 0;
  transform: translateY(26px) scale(.97);
  animation: tileIn .6s var(--ease) forwards;
}
@keyframes tileIn { to { opacity: 1; transform: none; } }
.pf-tile.wide { grid-column: span 2; }
.pf-tile.tall { grid-row: span 2; }
.pf-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
/* Mood boards, plans and renders: show the whole sheet rather than cropping it */
.pf-tile.fit { background: var(--paper-2); }
.pf-tile.fit img { object-fit: contain; padding: 8px; }
.pf-tile.fit:hover img { transform: scale(1.02); }
/* Landscape presentation sheets need height as well as width to stay legible */
.pf-tile.wide.fit { grid-row: span 2; }
.pf-tile:hover img { transform: scale(1.06); }
.pf-tile-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 38px 20px 17px;
  background: linear-gradient(to top, rgba(36,33,29,.9), transparent);
  color: var(--white);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t), transform var(--t);
}
.pf-tile:hover .pf-tile-cap { opacity: 1; transform: none; }
.pf-tile-cap strong { display: block; font-family: var(--font-h); font-size: 1rem; font-weight: 400; }
.pf-tile-cap span { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--greige); }

/* ═══════ PROCESS ═══════ */
.process-section { background: var(--white); }

.timeline { position: relative; max-width: 940px; margin: 0 auto; }

.spine {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: var(--line);
  z-index: 0;
}
.spine-fill {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 0%;
  background: linear-gradient(to bottom, var(--greige), var(--sage));
  border-radius: 2px;
}
.spine-glow {
  position: absolute;
  left: 50%; top: 0%;
  width: 11px; height: 11px;
  margin: -5.5px 0 0 -5.5px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 8px 2px rgba(115,120,102,.65), 0 0 22px 8px rgba(115,120,102,.3);
  pointer-events: none;
}

.tl-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: center;
  opacity: 0;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.tl-left  { transform: translateX(-30px); }
.tl-right { transform: translateX(30px); }
.tl-row.visible { opacity: 1; transform: none; }

.tl-node { display: flex; align-items: center; justify-content: center; height: 100%; }
.node-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--stone);
  z-index: 2;
}
.tl-row.visible .node-dot { background: var(--sage); border-color: var(--sage); }

.tl-cell { padding: 26px 30px; display: flex; align-items: flex-start; gap: 22px; }
.tl-left  .tl-cell { flex-direction: row-reverse; text-align: right; }
.tl-right .tl-cell { flex-direction: row; text-align: left; }
.tl-blank { padding: 0; }

.tl-copy { flex: 1; min-width: 0; }
.tl-copy h3 {
  font-family: var(--font-h);
  font-size: 1.22rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 9px;
}
.tl-copy p {
  font-size: .86rem;
  line-height: 1.82;
  color: var(--text-mid);
}

/* Stone marker — Charcoal Grey faceted texture */
.stone {
  position: relative;
  flex-shrink: 0;
  width: 84px; height: 84px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #3A3A3A;
  box-shadow:
    0 6px 18px rgba(20,20,20,.32),
    inset 0 2px 5px rgba(255,255,255,.28),
    inset 0 -3px 9px rgba(10,10,10,.4);
  border: 1px solid rgba(60,60,60,.55);
}
.stone::before {
  content: '';
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background-image: url('Assets/stone-texture.png');
  background-size: cover;
  background-position: center;
  filter: grayscale(1) brightness(1.2) contrast(1.4);
  pointer-events: none;
  z-index: 0;
}
.stone::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 26%, rgba(255,255,255,.22) 0%, transparent 46%),
    radial-gradient(circle at 72% 76%, rgba(10,10,10,.28) 0%, transparent 52%);
  pointer-events: none;
  z-index: 1;
}
.stone-num {
  position: relative;
  z-index: 2;
  font-family: var(--font-b);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: .01em;
  text-shadow: 0 1px 2px rgba(36,33,29,.65), 0 0 8px rgba(36,33,29,.4);
}

/* ═══════ ONLINE STORE ═══════ */
.online-section { position: relative; overflow: hidden; }
.online-bg { position: absolute; inset: 0; z-index: 0; }
.online-bg-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.online-veil {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(36,33,29,.93) 0%, rgba(55,48,37,.86) 45%, rgba(55,48,37,.7) 100%);
}
.online-content {
  position: relative;
  z-index: 1;
  padding-top: 112px;
  padding-bottom: 100px;
  color: var(--white);
}
.online-label { color: var(--greige); }
.online-title { color: var(--white); max-width: 620px; }
.online-title em { color: var(--limestone); font-style: italic; }
.online-desc {
  max-width: 560px;
  margin-top: 20px;
  font-size: .95rem;
  font-weight: 200;
  line-height: 1.88;
  color: rgba(244,241,237,.8);
}
.online-feats { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }
.online-feat {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 22px;
  border: 1px solid rgba(244,241,237,.24);
  border-radius: 100px;
  background: rgba(244,241,237,.07);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--limestone);
}
.online-feat svg { width: 19px; height: 19px; flex-shrink: 0; }
.online-actions { margin-top: 34px; }

.online-products {
  margin-top: 62px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.prod {
  background: rgba(244,241,237,.09);
  border: 1px solid rgba(244,241,237,.16);
  border-radius: var(--r-l);
  overflow: hidden;
  transition: transform var(--t), background var(--t), border-color var(--t);
}
.prod:hover { transform: translateY(-6px); background: rgba(244,241,237,.15); border-color: rgba(207,201,196,.4); }
.prod-img { aspect-ratio: 4/3; overflow: hidden; }
.prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.prod:hover .prod-img img { transform: scale(1.06); }
.prod-info { padding: 18px 18px 20px; }
.prod-info span {
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--greige);
}
.prod-info p { margin: 6px 0 8px; font-family: var(--font-h); font-size: 1rem; color: var(--white); }
.prod-info strong { font-size: .8rem; font-weight: 500; color: var(--limestone); }

/* ═══════ TESTIMONIALS ═══════ */
.testimonials-section { background: var(--paper); }
.testimonials-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--sh-m); }
.quote-mark {
  font-family: var(--font-h);
  font-size: 3.4rem;
  line-height: .7;
  color: var(--sage);
  opacity: .55;
  margin-bottom: 16px;
}
.testimonial-card p { flex: 1; font-size: .89rem; line-height: 1.88; color: var(--text-mid); margin-bottom: 26px; }
.quote-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.avatar {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--taupe), var(--sage-deep));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-h);
  font-size: .8rem;
}
.quote-author strong { display: block; font-size: .88rem; font-weight: 500; color: var(--charcoal); }
.quote-author span { font-size: .68rem; color: var(--text-soft); }
.testimonial-dots { display: none; justify-content: center; gap: 9px; margin-top: 30px; }
.testimonial-dots .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: background var(--t), width var(--t);
}
.testimonial-dots .dot.active { background: var(--sage); width: 22px; border-radius: 100px; }

/* ═══════ CTA ═══════ */
.cta-banner {
  background: radial-gradient(ellipse at 68% 38%, var(--sage) 0%, transparent 62%), var(--sage-deep);
  padding: 90px 40px;
  text-align: center;
}
.cta-content h2 {
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 13px;
}
.cta-content p { color: var(--greige); margin-bottom: 34px; font-weight: 200; }

/* ═══════ CONTACT ═══════ */
.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 76px; align-items: start; }
.contact-lead { margin-top: 20px; color: var(--text-mid); font-size: .93rem; line-height: 1.85; }
.contact-list { list-style: none; margin-top: 42px; display: grid; gap: 22px; }
.contact-list li { display: flex; flex-direction: column; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-list span {
  font-size: .6rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.contact-list a, .contact-list p { font-size: .96rem; color: var(--charcoal); transition: color var(--t); }
.contact-list a:hover { color: var(--taupe); }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 42px 38px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; display: flex; flex-direction: column; }
.field-hp {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.field label {
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 9px;
}
.field input, .field select, .field textarea {
  font-family: var(--font-b);
  font-size: .92rem;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 13px 15px;
  transition: border-color var(--t), box-shadow var(--t);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(115,120,102,.14);
}
.field .error { border-color: #B4553F; box-shadow: 0 0 0 3px rgba(180,85,63,.1); }
.btn-submit { width: 100%; margin-top: 6px; }
.form-success {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(115,120,102,.12);
  border: 1px solid rgba(115,120,102,.32);
  border-radius: var(--r);
  color: var(--sage);
  font-size: .86rem;
}
.form-success.show { display: block; animation: pfDetailIn .5s var(--ease); }

/* ═══════ FOOTER ═══════ */
.footer { background: var(--black); color: var(--limestone); padding: 76px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 46px; padding-bottom: 54px; }
.footer-brand { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-logo { display: inline-flex; align-items: center; margin-top: -20px; }
.footer-logo-img { height: 240px; width: auto; display: block; filter: brightness(0) invert(1); }
.footer-social { display: flex; justify-content: center; gap: 12px; margin-top: 22px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(207,201,196,.28);
  border-radius: 50%;
  color: rgba(207,201,196,.75);
  transition: border-color var(--t), color var(--t), background var(--t), transform var(--t);
}
.footer-social a svg { width: 16px; height: 16px; }
.footer-social a:hover {
  color: var(--white);
  border-color: var(--sage-deep);
  background: rgba(207,201,196,.08);
  transform: translateY(-2px);
}
.footer-col h4 {
  font-family: var(--font-b);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--greige);
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: .86rem;
  color: rgba(207,201,196,.72);
  margin-bottom: 12px;
  transition: color var(--t), padding-left var(--t);
}
.footer-col a:hover { color: var(--white); padding-left: 5px; }
.footer-base {
  border-top: 1px solid rgba(207,201,196,.14);
  padding: 26px 40px;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .74rem;
  color: rgba(207,201,196,.5);
}

/* ═══════ COOKIE BAR ═══════ */
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 2000;
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 34px rgba(55,48,37,.15);
  transform: translateY(110%);
  animation: cookieUp .6s var(--ease) .8s forwards;
}
@keyframes cookieUp { to { transform: translateY(0); } }
.cookie-bar.dismissing { animation: cookieDown .45s var(--ease) forwards; }
@keyframes cookieDown { to { transform: translateY(110%); } }
.cookie-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 40px;
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}
.cookie-copy { flex: 1; min-width: 280px; }
.cookie-copy strong {
  display: block;
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 5px;
}
.cookie-copy p { font-size: .82rem; line-height: 1.7; color: var(--text-mid); }
.cookie-copy a { color: var(--taupe); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 11px; flex-wrap: wrap; }

/* ═══════ MODAL ═══════ */
.modal { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(36,33,29,.72); backdrop-filter: blur(4px); animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-panel {
  position: relative;
  background: var(--paper);
  border-radius: var(--r-l);
  max-width: 720px;
  width: 100%;
  max-height: 84vh;
  overflow-y: auto;
  padding: 46px 46px 40px;
  box-shadow: var(--sh-l);
  animation: modalIn .42s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-close {
  position: absolute;
  top: 16px; right: 20px;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--text-soft);
  transition: color var(--t);
}
.modal-close:hover { color: var(--charcoal); }
.modal-panel h2 {
  font-family: var(--font-h);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 8px;
  padding-right: 40px;
}
.modal-body { font-size: .87rem; line-height: 1.85; color: var(--text-mid); }
.modal-body h3 {
  font-family: var(--font-h);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--charcoal);
  margin: 24px 0 8px;
}
.modal-body p, .modal-body li { margin-bottom: 11px; }
.modal-body ul { padding-left: 20px; }
.modal-body .updated {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 22px;
}

/* ═══════ UTIL ═══════ */
.fade-in-up { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.fade-in-up.visible { opacity: 1; transform: none; }

@keyframes shake {
  0%,100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1150px) {
  .pf-categories { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1080px) {
  .container { padding: 0 30px; }
  .nav-inner { padding: 0 30px; }
  .section { padding: 92px 0; }

  .intro-grid { gap: 44px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .svc-col-img { grid-column: 1 / -1; flex-direction: row; }
  .svc-fig { min-height: 230px; }

  .pf-collage { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .online-products { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 46px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }

  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { position: static; max-width: 560px; margin: 0 auto; width: 100%; min-height: 540px; }

  .ap-row { grid-template-columns: 1fr; gap: 32px; margin-bottom: 56px; }
  .ap-row-alt .ap-img { order: -1; }

  .testimonials-track { grid-template-columns: 1fr; }
  .testimonials-track .testimonial-card { display: none; }
  .testimonials-track .testimonial-card.active-slide { display: flex; animation: pfDetailIn .5s var(--ease); }
  .testimonial-dots { display: flex; }
}

/* ── HERO: mobile ── */
@media (max-width: 820px) {
  #hero { min-height: 88vh; min-height: 88svh; }
  .hero-content { padding: 0 30px; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(36,33,29,.7) 0%, rgba(36,33,29,.5) 45%, rgba(36,33,29,.86) 100%);
  }
  .hero-scene { opacity: .42; }
  .hero-scene-svg { animation: none; transform: none; }
  .pc-console, .pc-stool, .pc-side { display: none; }
}

@media (max-width: 620px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .nav-logo { gap: 10px; }
  .nav-logo-icon { height: 52px; }
  .nav-logo-word { height: 52px; }
  #navbar { --nav-h: 88px; }
  .mobile-menu a { padding: 15px 20px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 46px; }

  #hero { min-height: 92vh; min-height: 92svh; }
  .hero-headline { font-size: clamp(2.1rem, 10vw, 3rem); }
  .hero-sub { font-size: .92rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 11px; }
  .hero-actions .btn { width: 100%; }
  .hero-scene { opacity: .34; }

  .about-intro { padding: 72px 0 52px; }
  .about-photo { min-height: 470px; }
  .stats-inner { flex-direction: column; gap: 26px; }
  .stat-div { width: 52px; height: 1px; }
  .stat-num { font-size: 2.1rem; }
  .about-ap { padding: 64px 0; }

  .services-grid { grid-template-columns: 1fr; }
  .svc-col-img { flex-direction: column; }
  .service-card { padding: 34px 26px; }

  .clients { padding: 40px 0 44px; }
  .clients-label { margin-bottom: 24px; }
  .logo-item { width: 138px; height: 58px; padding: 0 10px; }
  .logo-track-l { animation-duration: 30s; }
  .logo-track-r { animation-duration: 27s; }

  .pf-categories { grid-template-columns: 1fr; gap: 16px; }
  .pf-cat { aspect-ratio: 4/3; }
  .pf-collage { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .pf-tile.wide, .pf-tile.tall, .pf-tile.wide.fit { grid-column: auto; grid-row: auto; }
  .pf-tile.fit { grid-column: 1 / -1; }
  .pf-detail-bar { gap: 14px; }

  .timeline { max-width: 100%; }
  .tl-row { grid-template-columns: 40px 1fr; }
  .spine { left: 20px; transform: none; }
  .tl-left .tl-cell, .tl-right .tl-cell {
    grid-column: 2; grid-row: 1;
    flex-direction: row;
    text-align: left;
    padding: 18px 0 18px 14px;
    gap: 16px;
  }
  .tl-node { grid-column: 1; grid-row: 1; }
  .tl-blank { display: none; }
  .stone { width: 62px; height: 62px; }
  .stone-num { font-size: 1.15rem; }
  .tl-copy h3 { font-size: 1.06rem; }
  .tl-copy p { font-size: .82rem; }

  .online-content { padding-top: 84px; padding-bottom: 72px; }
  .online-products { grid-template-columns: 1fr; }
  .online-feats { gap: 10px; }
  .online-feat { font-size: .66rem; padding: 11px 16px; }

  .contact-form { padding: 30px 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }

  .cta-banner { padding: 64px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-base { padding: 22px 20px; flex-direction: column; text-align: center; }

  .cookie-inner { padding: 18px 20px; gap: 18px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; }
  .modal-panel { padding: 34px 24px 30px; max-height: 88vh; }
  .modal-panel h2 { font-size: 1.4rem; }
}

@media (max-width: 400px) {
  .hero-headline { font-size: 1.95rem; }
  .pf-collage { grid-template-columns: 1fr; grid-auto-rows: 190px; }
  .stone { width: 54px; height: 54px; }
  .stone-num { font-size: 1rem; }
}

/* ── Touch: no hover-dependent reveals ── */
@media (hover: none) {
  .pf-tile-cap { opacity: 1; transform: none; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-scene-svg, .sc-arch .draw, .sc-piece,
  .lamp-glow, .pend-glow, .win-glow, .marquee-track, .logo-track { animation: none !important; }
  .sc-arch .draw { stroke-dashoffset: 0; opacity: .8; }
  .sc-piece { opacity: 1; transform: none; }
  .lamp-glow, .pend-glow, .win-glow { opacity: 1; }
  .reveal { opacity: 1; transform: none; animation: none; }
  .fade-in-up { opacity: 1; transform: none; }
  * { transition-duration: .01ms !important; }
}

/* ── Print ── */
@media print {
  #navbar, .hero-scene, .cookie-bar, .modal, .marquee-strip { display: none !important; }
  body { background: #fff; color: #000; }
}