/* =========================================================================
   Coventry Graphic Designer — Home page styles
   Aesthetic: Bold & graphic. Charcoal hero, off-white canvas, electric mint.
   Brand: #49E9B7 mint · #3E4349 charcoal · #EEEDEC off-white
   Fonts: Momo Trust Display (display, single weight) · Stack Sans Headline /
          Stack Sans Text (body)
   ========================================================================= */

/* ----------------------------- Tokens ----------------------------------- */
:root {
  --mint: #49e9b7;
  --mint-deep: #1fb38a;
  --ink: #3e4349;
  --ink-900: #2a2e33;
  --ink-800: #34383d;
  --paper: #eeedec;
  --paper-bright: #f6f5f4;
  --white: #ffffff;

  --font-display: "Momo Trust Display", "Stack Sans Headline", sans-serif;
  --font-head: "Stack Sans Headline", "Helvetica Neue", sans-serif;
  --font-body: "Stack Sans Text", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1240px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 18px;
  --radius-lg: 28px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px -28px rgba(42, 46, 51, 0.45);
}

/* ----------------------------- Reset ------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 200;
  background: var(--ink); color: var(--mint); padding: .7rem 1.1rem; border-radius: 10px;
  font-family: var(--font-head); font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ----------------------------- Typography ------------------------------- */
.section-title, .hero-title, .cta-title, .portfolio-title {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mint-deep);
  margin-bottom: 1.1rem;
}
.eyebrow-light { color: var(--mint); }

/* ----------------------------- Buttons ---------------------------------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--paper);
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem;
  letter-spacing: .01em;
  padding: .95rem 1.6rem;
  background: var(--btn-bg); color: var(--btn-fg);
  border-radius: 999px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn span { transition: transform .35s var(--ease); }
.btn:hover span { transform: translate(3px, -1px); }
.btn-primary { --btn-bg: var(--mint); --btn-fg: var(--ink-900); }
.btn-dark    { --btn-bg: var(--ink-900); --btn-fg: var(--mint); }
.btn-ghost   { --btn-bg: transparent; --btn-fg: var(--paper); box-shadow: inset 0 0 0 2px rgba(238,237,236,.4); }
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--mint); color: var(--mint); }
.btn-block { width: 100%; justify-content: center; }
.btn-pill { padding: .7rem 1.3rem; font-size: .92rem; }

/* ============================== HEADER ================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
  color: var(--paper);
  /* Soft top-to-transparent scrim over the hero: lets the hero texture/glow
     show through (no hard rectangle) while still masking content as it
     scrolls up behind the logo/menu. Becomes solid paper past the hero. */
  background: linear-gradient(to bottom,
    rgba(42, 46, 51, 0.92) 0%,
    rgba(42, 46, 51, 0.55) 55%,
    transparent 100%);
}
.nav-inner {
  /* +2 gutters so the padding sits OUTSIDE the 1240 track, matching the
     section/footer containers below — keeps the logo left-aligned with body content */
  max-width: calc(var(--maxw) + var(--gutter) * 2); margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
  transition: padding .35s var(--ease);
}
.brand-logo { width: 300px; height: auto; color: currentColor; transition: width .35s var(--ease); }
.brand { display: inline-flex; line-height: 0; }

.primary-nav { display: flex; gap: 1.7rem; margin-left: auto; }
.primary-nav a {
  font-family: var(--font-head); font-weight: 500; font-size: .98rem;
  position: relative; padding: .2rem 0; opacity: .9;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--mint); transition: width .3s var(--ease);
}
.primary-nav a:hover { opacity: 1; }
.primary-nav a:hover::after { width: 100%; }
.primary-nav a.is-active { opacity: 1; }
.primary-nav a.is-active::after { width: 100%; }
.nav-cta { margin-left: .2rem; }
/* mint while over the dark hero so it stands out against charcoal */
.site-header[data-state="top"] .nav-cta { --btn-bg: var(--mint); --btn-fg: var(--ink-900); }

/* scrolled / solid state */
.site-header[data-state="solid"] {
  background: var(--paper-bright);
  color: var(--ink);
  box-shadow: 0 8px 30px -18px rgba(42,46,51,.35);
}
.site-header[data-state="solid"] .btn-pill { --btn-bg: var(--ink); --btn-fg: var(--paper); }
/* compact the bar once scrolled */
.site-header[data-state="solid"] .nav-inner { padding-top: .5rem; padding-bottom: .5rem; }
.site-header[data-state="solid"] .brand-logo { width: 230px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; margin-left: auto; padding: .4rem; }
.nav-toggle span { width: 26px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================== HERO =================================== */
.hero {
  position: relative; min-height: 100svh;
  background: var(--ink-900); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: 8rem var(--gutter) 7rem;
  overflow: hidden; isolation: isolate;
}
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: flex-end;
  opacity: 0; transition: opacity 1s var(--ease);
  background-size: cover; background-position: center;
}
.hero-slide.is-active { opacity: 1; }
/* Scrim over the slide images so the headline stays readable on any photo
   (darker on the left where the text sits, and along the bottom). */
.hero-slides::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(20, 22, 25, .9) 0%, rgba(20, 22, 25, .62) 42%, rgba(20, 22, 25, .3) 100%),
    linear-gradient(0deg, rgba(20, 22, 25, .7), transparent 42%);
}
.hero-slide .ghost {
  font-family: var(--font-display);
  font-size: clamp(8rem, 34vw, 34rem);
  line-height: .8; color: rgba(73, 233, 183, .07);
  transform: translateX(8%); user-select: none; white-space: nowrap;
}
/* radial mint glow that subtly shifts with each slide */
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: radial-gradient(60% 60% at 80% 15%, rgba(73,233,183,.16), transparent 60%);
  pointer-events: none;
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero-inner { max-width: var(--maxw); width: 100%; margin: 0 auto; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-head); font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase; font-size: .82rem; color: var(--mint);
  margin-bottom: 1.6rem;
  animation: rise .8s var(--ease) both;
}
.hero-kicker .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(73,233,183,.6); animation: pulse 2.4s infinite; }
.hero-title {
  font-size: clamp(3.2rem, 11vw, 9.5rem);
  margin-bottom: 1.6rem;
  animation: rise .9s var(--ease) .08s both;
}
.rotator {
  position: relative; display: inline-block; color: var(--mint);
}
.rotator::after { content: ""; }
.hero-sub {
  max-width: 46ch; font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(238,237,236,.78); margin-bottom: 2.4rem;
  animation: rise 1s var(--ease) .16s both;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; animation: rise 1.05s var(--ease) .24s both; }

.hero-dots { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: .8rem; z-index: 2; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; background: rgba(238,237,236,.25); transition: all .3s var(--ease); }
.hero-dots button.is-active { background: var(--mint); transform: scale(1.3); }

.hero-marquee {
  position: absolute; left: 0; bottom: 0; width: 100%;
  border-top: 1px solid rgba(238,237,236,.14);
  padding: .9rem 0; overflow: hidden; background: rgba(0,0,0,.15);
}
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-item { font-family: var(--font-head); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: rgba(238,237,236,.55); font-size: .95rem; white-space: nowrap; padding-right: 2rem; }

/* ============================== SECTION SHELL ========================== */
section { padding: clamp(5rem, 11vw, 9rem) var(--gutter); }
.section-head { max-width: var(--maxw); margin: 0 auto 3.5rem; }
.section-title { font-size: clamp(2.6rem, 7vw, 6rem); }
.section-intro { font-size: 1.15rem; color: rgba(62,67,73,.7); max-width: 48ch; margin-top: 1.2rem; }
.section-intro a { color: var(--mint-deep); font-weight: 600; }
.section-intro a:hover { text-decoration: underline; }

/* ============================== ABOUT ================================== */
.about { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.about .section-head { margin-bottom: 0; }
.about-body .lead { font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1.4; font-family: var(--font-head); font-weight: 400; }
.about-body .lead em { color: var(--mint-deep); font-style: normal; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 4vw, 2.5rem); margin-top: 2.6rem; }
.about-stats li { display: flex; flex-direction: column; }
.about-stats strong { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: var(--ink); }
.about-stats span { font-family: var(--font-head); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(62,67,73,.6); margin-top: .4rem; }
.about-body p:not(.lead) { color: rgba(62,67,73,.82); margin-top: 1rem; max-width: 54ch; }

/* ============================== SERVICES =============================== */
.services { background: var(--ink-900); color: var(--paper); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.services .section-head, .service-grid { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.services .section-title { color: var(--paper); }
.services .section-intro { color: rgba(238,237,236,.65); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.service-card {
  position: relative;
  border-radius: var(--radius); background: var(--ink-800);
  border: 1px solid rgba(238,237,236,.08);
  transition: transform .4s var(--ease), border-color .4s;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(73,233,183,.5); }
/* Full-width thumbnail above the heading (shares Assets/portfolio/<slug> images) */
.service-thumb { position: relative; width: 100%; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--ink-800), var(--ink-900)); background-size: cover; background-position: center; overflow: hidden; }
.service-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(73,233,183,.16), transparent 55%); opacity: 0; transition: opacity .4s var(--ease); }
.service-card:hover .service-thumb::after { opacity: 1; }
.service-thumb-label { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: .8rem; font-family: var(--font-display); font-size: clamp(1.2rem, 3vw, 1.7rem); line-height: .95; color: rgba(238,237,236,.16); }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.6rem 1.5rem; }
.service-no { font-family: var(--font-display); font-size: 1.4rem; color: var(--mint); }
.service-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; }
.service-card p { color: rgba(238,237,236,.66); margin-top: .5rem; flex: 1; }
.service-link { font-family: var(--font-head); font-weight: 600; color: var(--mint); margin-top: 1rem; display: inline-flex; gap: .4rem; }
.service-link span { transition: transform .3s var(--ease); }
.service-card:hover .service-link span { transform: translateX(5px); }
/* Stretch the "Explore" link over the whole card so the entire card is clickable */
.service-card .service-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ============================== PROCESS ================================ */
.process { background: var(--ink-900); color: var(--paper); padding-top: 0; }
.process .section-head, .process-steps { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.process .section-title { color: var(--paper); }
.process .section-intro { color: rgba(238,237,236,.65); }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.process-step { padding-top: 1.6rem; border-top: 2px solid rgba(238,237,236,.16); transition: border-color .4s var(--ease); }
.process-step:hover { border-color: var(--mint); }
.step-no { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--mint); line-height: 1; }
.step-icon { display: block; width: clamp(46px, 6vw, 58px); height: auto; margin-bottom: .3rem; }
.process-step h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; margin: .8rem 0 .5rem; }
.process-step p { color: rgba(238,237,236,.66); }

/* ============================== PORTFOLIO ============================== */
.portfolio { padding: 0; background: var(--ink-900); }
.portfolio-stage { position: relative; }
.portfolio-track { position: relative; min-height: 78vh; }
.portfolio-slide {
  position: absolute; inset: 0;
  background-color: var(--slide-c, var(--ink)); background-size: cover; background-position: center;
  display: flex; align-items: center;
  padding: clamp(4rem, 9vw, 8rem) var(--gutter);
  opacity: 0; visibility: hidden; transform: scale(1.04);
  transition: opacity .7s var(--ease), transform .9s var(--ease), visibility .7s;
}
.portfolio-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); }
/* Scrim so the left-aligned text stays readable over any slide photo */
.portfolio-slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(20,22,25,.82) 0%, rgba(20,22,25,.5) 42%, rgba(20,22,25,.22) 100%);
}
/* Big faint category word shown only on placeholder (no-image) slides */
.portfolio-ghost { position: absolute; right: 3%; top: 50%; transform: translateY(-50%); z-index: 0; pointer-events: none; white-space: nowrap; font-family: var(--font-display); line-height: .8; font-size: clamp(6rem, 20vw, 18rem); color: rgba(238,237,236,.05); }
.portfolio-meta { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; width: 100%; color: var(--paper); }
.portfolio-title { font-size: clamp(3rem, 9vw, 7.5rem); margin: .4rem 0 1rem; }
.portfolio-text { font-size: 1.15rem; max-width: 44ch; margin-bottom: 2rem; opacity: .85; }
.portfolio-text em { font-style: normal; opacity: .7; }

.portfolio-controls {
  position: absolute; left: 50%; bottom: clamp(1.5rem, 4vw, 3rem); transform: translateX(-50%);
  display: flex; align-items: center; gap: 1.4rem; z-index: 3;
  background: rgba(0,0,0,.25); backdrop-filter: blur(8px);
  padding: .6rem .8rem; border-radius: 999px;
}
.pf-btn { width: 46px; height: 46px; border-radius: 50%; background: var(--paper); color: var(--ink-900); font-size: 1.1rem; display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.pf-btn:hover { background: var(--mint); transform: scale(1.08); }
.pf-dots { display: flex; gap: .6rem; }
.pf-dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(238,237,236,.4); transition: all .3s var(--ease); }
.pf-dots button.is-active { background: var(--mint); transform: scale(1.4); }

/* ============================== CTA / CONTACT ========================== */
.cta { background: var(--mint); color: var(--ink-900); border-radius: var(--radius-lg) var(--radius-lg) 0 0; margin-top: -1px; }
.cta-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.cta .eyebrow { color: var(--ink-900); opacity: .7; }
.cta-title { font-size: clamp(3rem, 9vw, 7rem); }
.cta-lead { font-size: 1.2rem; max-width: 40ch; margin: 1.4rem 0 2.2rem; }
.cta-contacts { display: grid; gap: 1.1rem; }
.cta-contacts li { display: grid; gap: .15rem; border-top: 1.5px solid rgba(42,46,51,.25); padding-top: .9rem; }
.cta-contacts span { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; opacity: .7; }
.cta-contacts a, .cta-contacts address { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; font-style: normal; }
.cta-contacts a:hover { text-decoration: underline; }

.cta-form { background: var(--ink-900); color: var(--paper); padding: clamp(1.8rem, 4vw, 2.6rem); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .85rem; letter-spacing: .04em; margin-bottom: .5rem; color: rgba(238,237,236,.8); }
.field input, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--paper);
  background: rgba(238,237,236,.06); border: 1.5px solid rgba(238,237,236,.16);
  border-radius: 12px; padding: .85rem 1rem; transition: border-color .25s, background .25s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--mint); background: rgba(73,233,183,.08); }
.field textarea { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: .8rem; color: rgba(238,237,236,.5); margin-top: 1rem; }
.form-note em { font-style: normal; }

/* ============================== FOOTER ================================= */
.site-footer { background: var(--ink-900); color: var(--paper); padding: clamp(3.5rem, 7vw, 5.5rem) var(--gutter) 2rem; }
.footer-top, .footer-cols, .footer-bottom { max-width: var(--maxw); margin: 0 auto; }
.footer-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(238,237,236,.14); }
.footer-logo { width: 230px; color: var(--paper); }
.footer-tag { font-family: var(--font-display); font-size: clamp(1.2rem, 3vw, 1.8rem); color: var(--mint); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 3rem 0; }
.footer-col h4 { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--mint); margin-bottom: 1.2rem; }
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a { color: rgba(238,237,236,.72); transition: color .25s; }
.footer-col a:hover { color: var(--mint); }
.footer-social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(238,237,236,.2); font-family: var(--font-head); font-weight: 600; font-size: .85rem; transition: all .3s var(--ease); }
.footer-social a:hover { background: var(--mint); color: var(--ink-900); border-color: var(--mint); transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-top: 2rem; font-size: .85rem; color: rgba(238,237,236,.5); }

/* ============================== REVEAL ANIM ============================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================== KEYFRAMES ============================== */
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(73,233,183,.5); } 70% { box-shadow: 0 0 0 12px rgba(73,233,183,0); } 100% { box-shadow: 0 0 0 0 rgba(73,233,183,0); } }

/* ============================== RESPONSIVE ============================= */
@media (max-width: 980px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; align-items: start; }
  .cta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .brand-logo { width: 168px; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    background: var(--ink-900); color: var(--paper);
    flex-direction: column; gap: 1.4rem; justify-content: center; align-items: flex-start;
    padding: 2rem var(--gutter); margin: 0;
    transform: translateX(100%); transition: transform .4s var(--ease);
    box-shadow: var(--shadow);
  }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav a { font-size: 1.4rem; opacity: 1; }
  .site-header[data-state="solid"] .nav-toggle { color: var(--ink); }
  .hero-dots { flex-direction: row; right: 50%; top: auto; bottom: 4.5rem; transform: translateX(50%); }
  .hero { padding-bottom: 9rem; }
}

@media (max-width: 520px) {
  .service-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .about-stats { gap: 1rem; }
  .about-stats strong { font-size: 2rem; }
  .footer-cols { grid-template-columns: 1fr; gap: 2.4rem; }
  .footer-bottom { flex-direction: column; }
}

/* =========================================================================
   INNER PAGES — shared components for Services / Portfolio / Blog / About /
   Contact and the per-service portfolio pages.
   ========================================================================= */

/* ---- Compact dark banner at the top of every inner page ---- */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink-900); color: var(--paper);
  padding: clamp(8rem, 15vw, 11rem) var(--gutter) clamp(3rem, 7vw, 5rem);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 60% at 85% 12%, rgba(73, 233, 183, .16), transparent 60%);
}
.page-hero-inner { max-width: var(--maxw); margin: 0 auto; }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 400; line-height: .92;
  letter-spacing: -0.02em; font-size: clamp(2.8rem, 9vw, 6.5rem);
  animation: rise .8s var(--ease) both;
}
.page-hero .lead {
  color: rgba(238, 237, 236, .78); font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 54ch; margin-top: 1.3rem;
  animation: rise .9s var(--ease) .08s both;
}

.breadcrumb {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.3rem;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(238, 237, 236, .55);
}
.breadcrumb a { color: var(--mint); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: .45; }

/* ---- Generic content wrapper ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; }
.section-head.center { text-align: center; }
.section-head.center .section-intro { margin-left: auto; margin-right: auto; }

/* ---- Card grids (portfolio work + blog posts) ---- */
.card-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.work-card { display: block; border-radius: var(--radius); overflow: hidden; background: var(--ink-900); color: var(--paper); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work-thumb { aspect-ratio: 4 / 3; position: relative; display: grid; place-items: center; background: linear-gradient(135deg, var(--ink-800), var(--ink-900)); color: rgba(238, 237, 236, .28); font-family: var(--font-display); font-size: 2.4rem; }
.work-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(73, 233, 183, .16), transparent 55%); opacity: 0; transition: opacity .4s var(--ease); }
.work-card:hover .work-thumb::after { opacity: 1; }
.work-body { padding: 1.2rem 1.3rem 1.5rem; }
.work-tag { font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.work-body h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; margin-top: .3rem; }
.work-body p { color: rgba(238, 237, 236, .6); margin-top: .35rem; font-size: .95rem; }

/* ---- Services detail rows ---- */
.service-rows { max-width: var(--maxw); margin: 0 auto; }
.service-row { display: grid; grid-template-columns: auto 1fr auto; gap: 1.6rem; align-items: baseline; padding: 2rem 0; border-top: 1.5px solid rgba(62, 67, 73, .15); transition: padding-left .3s var(--ease); }
.service-row:last-child { border-bottom: 1.5px solid rgba(62, 67, 73, .15); }
.service-row:hover { padding-left: .6rem; }
.service-row .num { font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--mint-deep); line-height: 1; }
.service-row .info h3 { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2rem); }
.service-row .info p { color: rgba(62, 67, 73, .7); margin-top: .4rem; max-width: 62ch; }
.service-row .go { font-family: var(--font-head); font-weight: 600; color: var(--ink); white-space: nowrap; }
.service-row:hover .go { color: var(--mint-deep); }

/* ---- Blog post cards ---- */
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid rgba(62, 67, 73, .1); border-radius: var(--radius); overflow: hidden; color: var(--ink); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--mint), var(--ink)); }
.post-body { padding: 1.4rem 1.4rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.post-meta { font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-deep); }
.post-body h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; margin: .5rem 0; line-height: 1.2; }
.post-body p { color: rgba(62, 67, 73, .7); font-size: .95rem; flex: 1; }
.post-readmore { margin-top: 1rem; font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.post-card:hover .post-readmore { color: var(--mint-deep); }

/* ---- Article (single blog post) ---- */
.article { max-width: 720px; margin: 0 auto; }
.article p { font-size: 1.12rem; line-height: 1.7; margin-bottom: 1.4rem; color: rgba(62, 67, 73, .92); }
.article h2 { font-family: var(--font-head); font-weight: 600; font-size: 1.8rem; margin: 2.4rem 0 1rem; }
.article h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; margin: 1.8rem 0 .8rem; }
.article ul { margin: 0 0 1.4rem 1.2rem; list-style: disc; color: rgba(62, 67, 73, .9); }
.article li { margin-bottom: .5rem; }
.article blockquote { border-left: 4px solid var(--mint); padding: .4rem 0 .4rem 1.4rem; margin: 1.8rem 0; font-family: var(--font-head); font-size: 1.3rem; font-style: italic; color: var(--ink); }

/* ---- Contact form result banner ---- */
.form-banner { max-width: var(--maxw); margin: 0 auto clamp(1.6rem, 4vw, 2.6rem); padding: 1rem 1.3rem; border-radius: 14px; font-family: var(--font-head); font-weight: 600; }
.form-banner.success { background: rgba(73, 233, 183, .2); color: var(--ink-900); border: 1.5px solid var(--mint); }
.form-banner.error { background: rgba(214, 90, 90, .12); color: #9c2b2b; border: 1.5px solid rgba(214, 90, 90, .5); }
.form-banner.error a { color: inherit; text-decoration: underline; }

/* ---- Contact page layout (reuses .cta-form / .field / .cta-contacts) ---- */
.contact-layout { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-details .cta-contacts li { border-top-color: rgba(62, 67, 73, .18); }
.contact-details .cta-contacts span { color: rgba(62, 67, 73, .6); }

/* ---- Reusable CTA band (partials/cta.php) ---- */
.cta-band { background: var(--mint); color: var(--ink-900); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.cta-band-inner { max-width: var(--maxw); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 1.6rem 2rem; align-items: center; justify-content: space-between; }
.cta-band h2 { font-family: var(--font-display); font-weight: 400; line-height: .95; letter-spacing: -0.02em; font-size: clamp(2.2rem, 6vw, 4rem); }
.cta-band p { margin-top: .6rem; max-width: 42ch; font-size: 1.05rem; }

@media (max-width: 860px) {
  .card-grid, .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .card-grid, .card-grid.cols-2 { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: auto 1fr; }
  .service-row .go { grid-column: 2; }
}

/* ---- Branded confirmation modal (contact form) ---- */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 1.5rem; }
.modal-overlay { position: absolute; inset: 0; background: rgba(20, 22, 25, .72); backdrop-filter: blur(6px); animation: modalFade .3s var(--ease); }
.modal-card {
  position: relative; z-index: 1; width: min(92vw, 460px);
  background: var(--paper-bright); color: var(--ink-900);
  border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3rem);
  text-align: center; box-shadow: var(--shadow); border-top: 6px solid var(--mint);
  animation: modalPop .45s var(--ease);
}
.modal-badge { display: inline-grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1rem; border-radius: 50%; background: var(--mint); color: var(--ink-900); font-size: 1.6rem; }
.modal-title { font-family: var(--font-display); font-weight: 400; line-height: .95; letter-spacing: -0.02em; font-size: clamp(2rem, 6vw, 3rem); margin-bottom: .6rem; }
.modal-text { color: rgba(62, 67, 73, .82); font-size: 1.08rem; line-height: 1.55; margin-bottom: 1.7rem; }
.modal-ok { width: 100%; justify-content: center; }
.modal-close { position: absolute; top: .9rem; right: 1rem; width: 38px; height: 38px; border-radius: 50%; font-size: 1.5rem; line-height: 1; color: var(--ink); transition: background .25s, transform .35s var(--ease); }
.modal-close:hover { background: rgba(42, 46, 51, .08); transform: rotate(90deg); }
.modal.is-error .modal-card { border-top-color: #d65a5a; }
.modal.is-error .modal-badge { background: #d65a5a; color: var(--paper); }

@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPop { from { opacity: 0; transform: translateY(16px) scale(.96); } to { opacity: 1; transform: none; } }

/* =========================================================================
   SERVICES PAGE
   ========================================================================= */
.section-dark { background: var(--ink-900); color: var(--paper); }
.section-dark .section-title { color: var(--paper); }
.section-dark .section-intro { color: rgba(238, 237, 236, .65); }

.lead-body { max-width: 60ch; }
.lead-body p { font-size: clamp(1.05rem, 2vw, 1.2rem); line-height: 1.6; color: rgba(62, 67, 73, .82); }
.lead-body p + p { margin-top: 1.1rem; }

/* Service blocks — bold alternating image + text rows */
.svc-rows { max-width: var(--maxw); margin: 0 auto; display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.svc-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.svc-row:nth-child(even) .svc-media { order: 2; }  /* flip the image side on alternate rows */

.svc-media {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink-900); background-size: cover; background-position: center;
  box-shadow: var(--shadow); transition: transform .5s var(--ease);
}
.svc-row:hover .svc-media { transform: translateY(-6px); }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(73, 233, 183, .22), transparent 55%); pointer-events: none; }
.svc-media-label { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; text-align: center; padding: 1rem; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.4rem); line-height: .95; color: rgba(238, 237, 236, .14); }

.svc-name { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: .95; font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.svc-tagline { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 2.2vw, 1.45rem); color: var(--mint-deep); margin: .6rem 0 1rem; }
.svc-body { color: rgba(62, 67, 73, .8); max-width: 52ch; }
.svc-good { margin-top: 1rem; font-size: .95rem; color: rgba(62, 67, 73, .72); }
.svc-good span { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.svc-content .btn { margin-top: 1.7rem; }

/* Why us */
.why-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
.why-item { padding: 1.7rem; border-radius: var(--radius); background: var(--ink-800); border: 1px solid rgba(238, 237, 236, .08); }
.why-item h3 { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--mint); margin-bottom: .45rem; }
.why-item p { color: rgba(238, 237, 236, .66); font-size: .96rem; }

/* FAQ accordion */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-top: 1.5px solid rgba(62, 67, 73, .15); }
.faq details:last-of-type { border-bottom: 1.5px solid rgba(62, 67, 73, .15); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 1.2rem 2.5rem 1.2rem 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--ink-900); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; transform: translateY(-50%); font-size: 1.7rem; color: var(--mint-deep); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 1.3rem; margin: 0; color: rgba(62, 67, 73, .8); max-width: 72ch; line-height: 1.65; }

@media (max-width: 760px) {
  .why-grid { grid-template-columns: 1fr; }
  .svc-row, .svc-row:nth-child(even) { grid-template-columns: 1fr; gap: 1.4rem; }
  .svc-row .svc-media, .svc-row:nth-child(even) .svc-media { order: -1; }  /* image always on top */
}

/* =========================================================================
   PORTFOLIO LANDING — "The Index" (immersive category list + hover preview)
   ========================================================================= */
.pf-index { position: relative; overflow: hidden; background: var(--ink-900); color: var(--paper); }
.pf-index::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(48% 55% at 82% 28%, rgba(73, 233, 183, .12), transparent 62%); }
.pf-index-intro { max-width: 58ch; margin: 0 auto clamp(2.4rem, 6vw, 4rem); font-size: clamp(1.1rem, 2.2vw, 1.4rem); line-height: 1.55; color: rgba(238, 237, 236, .72); position: relative; z-index: 2; }
.pf-index-inner { max-width: var(--maxw); margin: 0 auto; position: relative; z-index: 2; }

.idx-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1.2rem 1.5rem;
  padding: clamp(1.5rem, 3.2vw, 2.6rem) 0; border-top: 1px solid rgba(238, 237, 236, .16);
  text-decoration: none; color: inherit; position: relative;
  animation: rise .7s var(--ease) both; animation-delay: var(--d, 0s);
}
.idx-row:last-of-type { border-bottom: 1px solid rgba(238, 237, 236, .16); }
.idx-text { max-width: 60%; }
.idx-name { display: block; font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: .9; font-size: clamp(2.3rem, 6.5vw, 5rem); color: var(--paper); transition: color .35s var(--ease), transform .5s var(--ease); }
.idx-desc { display: block; margin-top: .6rem; font-family: var(--font-head); font-size: 1rem; line-height: 1.5; color: rgba(238, 237, 236, .55); max-width: 44ch; opacity: .6; transition: opacity .35s var(--ease), color .35s, transform .5s var(--ease); }
.idx-arrow { font-size: clamp(1.4rem, 3vw, 2rem); color: rgba(238, 237, 236, .4); transition: color .35s, transform .5s var(--ease); }
.idx-thumb { display: none; }

.idx-row:hover .idx-name, .idx-row:focus-visible .idx-name { color: var(--mint); transform: translateX(1.3rem); }
.idx-row:hover .idx-desc, .idx-row:focus-visible .idx-desc { opacity: 1; color: rgba(238, 237, 236, .85); transform: translateX(1.3rem); }
.idx-row:hover .idx-arrow, .idx-row:focus-visible .idx-arrow { color: var(--mint); transform: translate(.45rem, -.45rem); }

/* Floating preview that drifts with the cursor (desktop, hover-capable) */
.idx-preview {
  position: fixed; right: 7vw; top: 50%; width: min(32vw, 400px); aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg); overflow: hidden; pointer-events: none; z-index: 40;
  background: var(--ink-800); background-size: cover; background-position: center;
  box-shadow: var(--shadow); opacity: 0; transform: translateY(-50%) scale(.94) rotate(-2.5deg);
  transition: opacity .4s var(--ease), transform .55s var(--ease), top .4s var(--ease);
}
.idx-preview::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(73, 233, 183, .18), transparent 60%); }
.idx-preview.show { opacity: 1; transform: translateY(-50%) scale(1) rotate(0deg); }
.idx-preview-label { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; text-align: center; padding: 1rem; font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: .95; color: rgba(238, 237, 236, .2); }

@media (hover: none), (max-width: 860px) {
  .idx-preview { display: none; }
  .idx-text { max-width: none; }
  .idx-row { grid-template-columns: 1fr auto; }
  .idx-thumb { display: block; order: 3; grid-column: 1 / -1; margin-top: .9rem; aspect-ratio: 16 / 9; border-radius: var(--radius); position: relative; overflow: hidden; background: var(--ink-800); background-size: cover; background-position: center; }
  .idx-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(73, 233, 183, .16), transparent 58%); }
  .idx-thumb-label { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.6rem; color: rgba(238, 237, 236, .16); }
}

/* =========================================================================
   CASE-STUDY CARDS (per-service portfolio pages)
   ========================================================================= */
.cs-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.7rem; }
.cs-card { display: flex; flex-direction: column; }
.cs-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--ink-900); background-size: cover; background-position: center; box-shadow: var(--shadow); transition: transform .45s var(--ease); }
.cs-card:hover .cs-media { transform: translateY(-6px); }
.cs-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 45%, rgba(20, 22, 25, .5)); pointer-events: none; }
.cs-media-label { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; text-align: center; padding: 1rem; font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); line-height: .95; color: rgba(238, 237, 236, .16); }
.cs-tag { position: absolute; left: .9rem; top: .9rem; z-index: 2; font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-900); background: var(--mint); padding: .4rem .75rem; border-radius: 999px; }
.cs-body { padding: 1.1rem .15rem 0; }
.cs-name { font-family: var(--font-head); font-weight: 600; font-size: 1.45rem; line-height: 1.12; }
.cs-name a { transition: color .25s; }
.cs-name a:hover { color: var(--mint-deep); }
.cs-hook { color: rgba(62, 67, 73, .8); margin-top: .45rem; font-size: 1.02rem; line-height: 1.5; }
.cs-link { display: inline-flex; gap: .4rem; margin-top: .85rem; font-family: var(--font-head); font-weight: 600; color: var(--mint-deep); }
.cs-link span { transition: transform .3s var(--ease); }
.cs-link:hover span { transform: translateX(5px); }

/* Holding state — shown until a category has real projects */
.cs-empty { max-width: 620px; margin: 0 auto; text-align: center; padding: clamp(2.2rem, 5vw, 3.6rem); border: 1.5px dashed rgba(62, 67, 73, .25); border-radius: var(--radius-lg); }
.cs-empty-mark { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--mint); color: var(--ink-900); font-size: 1.5rem; margin-bottom: 1.2rem; }
.cs-empty h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.02em; line-height: .95; font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin-bottom: .7rem; }
.cs-empty p { color: rgba(62, 67, 73, .75); max-width: 46ch; margin: 0 auto 1.6rem; }

@media (max-width: 900px) { .cs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cs-grid { grid-template-columns: 1fr; } }

/* ---- Folder-driven portfolio gallery (masonry; per-service pages) ---- */
.pf-gallery { max-width: var(--maxw); margin: 0 auto; columns: 3 280px; column-gap: 1.3rem; }
.pf-gallery-item { break-inside: avoid; margin: 0 0 1.3rem; position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--ink-900); box-shadow: var(--shadow); }
.pf-gallery-item img { width: 100%; height: auto; display: block; transition: transform .5s var(--ease); }
.pf-gallery-item:hover img { transform: scale(1.04); }
.pf-gallery-item figcaption { position: absolute; inset: auto 0 0 0; padding: 2rem 1.1rem .95rem; color: var(--paper); background: linear-gradient(transparent, rgba(20, 22, 25, .9)); opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.pf-gallery-item:hover figcaption { opacity: 1; transform: none; }
.pf-gallery-tag { display: block; font-family: var(--font-head); font-weight: 600; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.pf-gallery-title { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1.2; margin-top: .15rem; }
@media (max-width: 560px) { .pf-gallery { columns: 2 140px; column-gap: 1rem; } .pf-gallery-item { margin-bottom: 1rem; } }
