/* ============================================================
   MAA SHANTILAXMI DESIGN GROUP
   Premium architectural studio stylesheet — FINAL
   ------------------------------------------------------------
   01. Tokens & Reset
   02. Base & Typography
   03. Utilities
   04. Topbar
   05. Navigation  (backdrop-filter moved to ::before)
   06. Hero
   07. About
   08. Why Choose Us
   09. Services
   10. Portfolio
   11. Brand Statement
   12. Contact
   13. Footer
   14. Lightbox
   15. Back to top
   16. Reveal & motion
   17. Responsive breakpoints
   18. Reduced motion
   ============================================================ */


/* ============================================================
   01. TOKENS & RESET
   ============================================================ */
:root {
  --navy:       #202A40;
  --blue:       #4967B4;
  --blue-deep:  #35538F;
  --orange:     #F58236;
  --orange-dk:  #D96A1F;
  --white:      #FFFFFF;

  --bg:         #FBF7F1;
  --bg-2:       #F4EDE3;
  --bg-3:       #EDE4D6;
  --ink:        #4A5468;
  --ink-soft:   #7B8496;
  --line:       rgba(32, 42, 64, 0.1);

  --font-serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container:  1320px;
  --gutter:     clamp(20px, 5vw, 60px);
  --radius-s:   14px;
  --radius-m:   24px;
  --radius-l:   40px;

  --ease:       cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-soft:  cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-s:   0 6px 20px rgba(32, 42, 64, 0.07);
  --shadow-m:   0 16px 44px rgba(32, 42, 64, 0.1);
  --shadow-l:   0 30px 80px rgba(32, 42, 64, 0.16);

  --glass-bg:    rgba(255, 255, 255, 0.55);
  --glass-brd:   rgba(255, 255, 255, 0.7);
  --glass-blur:  blur(22px) saturate(160%);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body, h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, fieldset { margin: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
address { font-style: normal; }
fieldset { border: 0; padding: 0; }


/* ============================================================
   02. BASE & TYPOGRAPHY
   ============================================================ */
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--blue); color: var(--white); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.015em;
}

p { color: var(--ink); }
strong { font-weight: 700; }


/* ============================================================
   03. UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: clamp(70px, 10vw, 140px); }

.h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-top: 18px;
  font-weight: 500;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--navy);
  font-weight: 500;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.8;
}
.eyebrow--light { color: var(--orange); }

.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-brd);
  box-shadow:
    0 20px 50px rgba(32, 42, 64, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  --btn-brd: var(--navy);

  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-brd);
  transition:
    transform 0.35s var(--ease),
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  will-change: transform;
}
.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn:hover svg { transform: translateX(4px); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Primary — navy on white */
.btn--primary {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  --btn-brd: var(--navy);
}
.btn--primary:hover { --btn-bg: var(--blue); --btn-brd: var(--blue); }

/* Ghost — visible solid-white with subtle border on cream */
.btn--ghost {
  --btn-bg: var(--white);
  --btn-fg: var(--navy);
  --btn-brd: rgba(32, 42, 64, 0.22);
  box-shadow: 0 2px 8px rgba(32, 42, 64, 0.06);
}
.btn--ghost:hover {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  --btn-brd: var(--navy);
}

/* Accent — orange bg with navy text (contrast ≈ 5.4:1) */
.btn--accent {
  --btn-bg: var(--orange);
  --btn-fg: var(--navy);
  --btn-brd: var(--orange);
  font-weight: 700;
}
.btn--accent:hover {
  --btn-bg: var(--orange-dk);
  --btn-fg: var(--white);
  --btn-brd: var(--orange-dk);
}
.btn--accent:focus-visible { outline-color: var(--orange); }

/* Inline arrow link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.02em;
  padding-block: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.link-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}
.link-arrow:hover { color: var(--orange); border-color: currentColor; }
.link-arrow:hover svg { transform: translateX(4px); }


/* ============================================================
   04. TOPBAR
   ============================================================ */
.topbar {
  position: relative;
  z-index: 90;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  letter-spacing: 0.01em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 10px;
  flex-wrap: wrap;
}
.topbar__contact {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.topbar__contact a,
.topbar__hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s var(--ease);
}
.topbar__contact a:hover { color: var(--white); }
.topbar__contact svg,
.topbar__hours svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.topbar__social { display: flex; align-items: center; gap: 6px; }
.topbar__social a {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.topbar__social a:hover { background: rgba(255, 255, 255, 0.12); color: var(--orange); }
.topbar__social svg { width: 15px; height: 15px; fill: currentColor; }


/* ============================================================
   05. NAVIGATION
   ------------------------------------------------------------
   IMPORTANT: backdrop-filter is applied to ::before, NOT to
   .nav__inner. A backdrop-filter creates a containing block
   for fixed descendants, which would trap the full-screen
   mobile menu inside the tiny nav bar. Moving it to ::before
   solves the mobile hamburger completely.
   ============================================================ */
.nav {
  position: sticky;
  top: 12px;
  z-index: 100;
  margin-top: 14px;
  padding-inline: clamp(12px, 3vw, 32px);
}

.nav__inner {
  position: relative;
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 10px 10px 22px;
  border-radius: 100px;
  /* No background / backdrop-filter here — handled by ::before */
}

/* The glass pill background + blur */
.nav__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: inherit;
  box-shadow: 0 10px 34px rgba(32, 42, 64, 0.08);
  z-index: -1;
  pointer-events: none;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.is-scrolled .nav__inner::before {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 44px rgba(32, 42, 64, 0.14);
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  flex-shrink: 0;
}
.brand__mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  color: var(--blue);
  flex-shrink: 0;
}
.brand__mark svg { width: 100%; height: 100%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
}
.brand__text span {
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

/* Regular nav links — :not(.nav__cta) keeps the CTA unaffected */
.nav__links { display: flex; align-items: center; gap: 4px; }

.nav__links > a:not(.nav__cta) {
  position: relative;
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.nav__links > a:not(.nav__cta):hover {
  background: rgba(73, 103, 180, 0.08);
  color: var(--blue);
}
.nav__links > a:not(.nav__cta).is-active { color: var(--blue); }
.nav__links > a:not(.nav__cta).is-active::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--orange);
  transform: translateX(-50%);
}

/* CTA pill — owns its full styling now */
.nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 12px 22px;
  background: var(--navy);
  color: var(--white);
  border-radius: 100px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.nav__cta:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-1px);
}
.nav__cta:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

/* Mobile toggle */
.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}
.nav__toggle span {
  display: block;
  width: 18px; height: 1.6px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.3px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.3px) rotate(-45deg); }


/* ============================================================
   06. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: clamp(20px, 4vw, 40px);
  padding-bottom: clamp(80px, 10vw, 140px);
  overflow: hidden;
  isolation: isolate;
}
.hero__glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw;
  max-width: 800px; max-height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73, 103, 180, 0.18), transparent 65%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
  width: 100%;
}
.hero__copy { position: relative; z-index: 2; }
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6.4vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--navy);
  margin: 22px 0 0;
}
.hero__line { display: block; }
.hero__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--blue);
  position: relative;
}
.hero__text {
  margin-top: 26px;
  max-width: 46ch;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  color: var(--ink);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero__meta .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}

.hero__visual {
  position: relative;
  padding: 20px 0 20px 20px;
}
.hero__frame {
  position: relative;
  overflow: hidden;
  border-radius: 180px 24px 180px 24px;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-l);
  background: var(--bg-3);
}
.hero__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroReveal 1.6s var(--ease) 0.15s forwards;
}
@keyframes heroReveal { to { transform: scale(1); } }

.hero__card {
  position: absolute;
  bottom: 28px;
  left: -40px;
  padding: 22px 24px 20px;
  border-radius: 22px;
  width: 260px;
  z-index: 3;
  animation: floatY 6s ease-in-out infinite;
}
.hero__card-label {
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.hero__card p {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--navy);
  font-weight: 500;
}
.hero__card-rule {
  display: block;
  height: 1px;
  background: rgba(32, 42, 64, 0.12);
  margin: 14px 0 10px;
}
.hero__card-foot {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
}
.hero__ring {
  position: absolute;
  top: 0; right: -20px;
  width: 110px; height: 110px;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  opacity: 0.55;
  pointer-events: none;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.hero__scroll {
  position: absolute;
  left: 50%; bottom: 30px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  z-index: 3;
}
.hero__scroll span {
  width: 1px; height: 26px;
  background: currentColor;
  position: relative;
  overflow: hidden;
}
.hero__scroll span::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--orange);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { top: -100%; }
  60%  { top: 100%; }
  100% { top: 100%; }
}

.hero__wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: clamp(60px, 10vw, 130px);
  z-index: 1;
  pointer-events: none;
}
.hero__wave svg { width: 100%; height: 100%; display: block; }
.hero__wave svg path { fill: var(--bg); }


/* ============================================================
   07. ABOUT
   ============================================================ */
.about { background: var(--bg); padding-top: clamp(40px, 6vw, 80px); }
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.about__media { position: relative; padding: 30px 40px 60px 0; }
.about__blob {
  position: absolute;
  top: 5%; left: -8%;
  width: 60%; height: 60%;
  border-radius: 60% 40% 55% 45% / 50% 55% 45% 50%;
  background: linear-gradient(135deg, rgba(73, 103, 180, 0.14), rgba(245, 130, 54, 0.08));
  z-index: 0;
  filter: blur(2px);
}
.about__main {
  position: relative;
  overflow: hidden;
  border-radius: 24px 24px 24px 140px;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-l);
  z-index: 1;
}
.about__main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.about__main:hover img { transform: scale(1.04); }

.about__small {
  position: absolute;
  left: -30px; bottom: -10px;
  width: 46%;
  border-radius: 100px 20px 20px 20px;
  overflow: hidden;
  border: 6px solid var(--bg);
  box-shadow: var(--shadow-m);
  z-index: 2;
  aspect-ratio: 4 / 3;
}
.about__small img { width: 100%; height: 100%; object-fit: cover; }

.about__badge {
  position: absolute;
  top: 20px; right: -10px;
  padding: 18px 22px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 3;
  min-width: 150px;
}
.about__badge-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.about__badge-txt {
  font-size: 0.7rem;
  line-height: 1.35;
  color: var(--ink-soft);
  font-weight: 500;
}

.about__copy .lead { margin-top: 22px; }
.about__copy > p:not(.lead) { margin-top: 18px; }
.about__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 34px;
}
.about__signature {
  display: flex;
  flex-direction: column;
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.about__sig-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--navy);
  font-weight: 500;
}
.about__sig-role {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 2px;
}


/* ============================================================
   08. WHY CHOOSE US
   ============================================================ */
.why {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  overflow: hidden;
}
.why::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 130, 54, 0.1), transparent 70%);
  pointer-events: none;
}
.why__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 70px);
}
.why__desc {
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 50ch;
  color: var(--ink);
}
.why__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.wcard {
  position: relative;
  padding: 36px 32px 40px;
  border-radius: 26px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  overflow: hidden;
}
.wcard::after {
  content: '';
  position: absolute;
  bottom: 0; left: 32px; right: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.wcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.wcard:hover::after { opacity: 1; transform: scaleX(1); }

.wcard__icon {
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  border: 1.5px solid rgba(73, 103, 180, 0.3);
  color: var(--blue);
  margin-bottom: 22px;
}
.wcard__icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.wcard h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 600;
}
.wcard p { font-size: 0.94rem; line-height: 1.65; color: var(--ink); }
.wcard__index {
  position: absolute;
  top: 26px; right: 28px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--orange);
  opacity: 0.35;
}


/* ============================================================
   09. SERVICES
   ============================================================ */
.services { background: var(--bg); }
.services__head { margin-bottom: clamp(40px, 6vw, 70px); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(20px, 2.4vw, 34px);
}
.svc {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  transition: transform 0.5s var(--ease);
}
.svc__media {
  position: relative;
  overflow: hidden;
  border-radius: inherit;
  background: var(--bg-3);
}
.svc__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.svc:hover .svc__media img { transform: scale(1.06); }

.svc__num {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--orange);
  margin-bottom: 8px;
}
.svc h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
  line-height: 1.15;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 10px;
}

.svc--a { grid-column: 1 / 8; grid-row: 1 / 3; min-height: 560px; box-shadow: var(--shadow-l); }
.svc--a .svc__media { position: absolute; inset: 0; border-radius: inherit; }
.svc--a .svc__body {
  position: absolute;
  inset: auto 0 0 0;
  padding: clamp(28px, 3.5vw, 44px);
  background: linear-gradient(to top, rgba(20, 28, 46, 0.9), rgba(20, 28, 46, 0.2) 65%, transparent);
  color: var(--white);
}
.svc--a h3 { color: var(--white); font-size: clamp(1.6rem, 2.4vw, 2.3rem); }
.svc--a p { color: rgba(255, 255, 255, 0.82); font-size: 0.98rem; max-width: 42ch; margin-bottom: 18px; }
.svc--a .link-arrow { color: var(--white); }
.svc--a .link-arrow:hover { color: var(--orange); }

.svc--b, .svc--c {
  background: var(--white);
  padding: 20px 20px 28px;
  box-shadow: var(--shadow-m);
  display: flex;
  flex-direction: column;
}
.svc--b { grid-column: 8 / 13; grid-row: 1 / 2; }
.svc--c { grid-column: 8 / 13; grid-row: 2 / 3; }
.svc--b .svc__media,
.svc--c .svc__media {
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  margin-bottom: 20px;
}
.svc--b .svc__body,
.svc--c .svc__body { padding-inline: 6px; }

.svc--d {
  grid-column: 2 / 12;
  grid-row: 3 / 4;
  margin-top: clamp(20px, 3vw, 40px);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: center;
  background: var(--white);
  padding: clamp(20px, 2.5vw, 32px);
  box-shadow: var(--shadow-m);
}
.svc--d .svc__media { aspect-ratio: 4 / 3; border-radius: 22px; }
.svc--d h3 { font-size: clamp(1.4rem, 2vw, 1.9rem); }
.svc--d p { font-size: 0.96rem; margin: 6px 0 18px; color: var(--ink); }


/* ============================================================
   10. PORTFOLIO
   ============================================================ */
.portfolio { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }

.portfolio__head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.portfolio__desc { font-size: 1rem; line-height: 1.7; color: var(--ink); max-width: 52ch; }

.pf-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(30px, 4vw, 48px); }
.pf-filter {
  padding: 11px 22px;
  border-radius: 100px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(32, 42, 64, 0.12);
  transition:
    background 0.35s var(--ease),
    color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.pf-filter:hover { background: rgba(73, 103, 180, 0.1); color: var(--blue); border-color: rgba(73, 103, 180, 0.3); }
.pf-filter.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pf-filter:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.pf-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 1.8vw, 26px);
}
.pf-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  margin: 0;
  background: var(--bg-3);
  box-shadow: var(--shadow-s);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.pf-item.is-hidden { display: none; }
.pf-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.pf-item:hover img { transform: scale(1.07); }

.pf--1 { grid-column: 1 / 8;  grid-row: 1 / 3; min-height: 580px; }
.pf--2 { grid-column: 8 / 13; grid-row: 1 / 2; min-height: 278px; }
.pf--3 { grid-column: 8 / 13; grid-row: 2 / 3; min-height: 278px; }
.pf--4 { grid-column: 1 / 5;  grid-row: 3 / 4; min-height: 320px; }
.pf--5 { grid-column: 5 / 9;  grid-row: 3 / 4; min-height: 320px; }
.pf--6 { grid-column: 9 / 13; grid-row: 3 / 4; min-height: 320px; }

.pf-overlay {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 16px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  pointer-events: none;
}
.pf-item:hover .pf-overlay,
.pf-item:focus-within .pf-overlay {
  opacity: 1;
  transform: translateY(0);
}
.pf-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}
.pf-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
}
.pf-view svg {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.pf-open {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 2;
  border-radius: inherit;
  cursor: zoom-in;
}
.portfolio__note {
  margin-top: 30px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-style: italic;
  max-width: 60ch;
}


/* ============================================================
   11. BRAND STATEMENT
   ============================================================ */
.statement {
  position: relative;
  min-height: clamp(440px, 60vh, 640px);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  padding-block: clamp(80px, 12vw, 160px);
}
.statement__bg { position: absolute; inset: -8%; z-index: -2; }
.statement__bg img { width: 100%; height: 100%; object-fit: cover; }
.statement__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(20, 28, 46, 0.94) 0%, rgba(32, 42, 64, 0.78) 45%, rgba(53, 83, 143, 0.55) 100%);
}
.statement__inner { position: relative; max-width: 1100px; }
.statement__title {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4.4vw, 3.8rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--white);
  font-weight: 500;
  margin: 22px 0 40px;
}
.statement__title em { font-style: italic; color: var(--orange); font-weight: 500; }


/* ============================================================
   12. CONTACT
   ============================================================ */
.contact { position: relative; overflow: hidden; background: var(--bg); }
.contact__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.contact__blob--1 { width: 520px; height: 520px; top: -120px; left: -160px; background: radial-gradient(circle, #4967B4 0%, transparent 70%); }
.contact__blob--2 { width: 440px; height: 440px; bottom: -140px; right: -120px; background: radial-gradient(circle, #F58236 0%, transparent 70%); }

.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.contact__list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.contact__list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--navy);
  font-weight: 500;
}
.contact__list a { transition: color 0.3s var(--ease); }
.contact__list a:hover { color: var(--blue); }
.contact__ico {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: var(--white);
  border: 1px solid rgba(32, 42, 64, 0.08);
  display: grid; place-items: center;
  color: var(--blue);
  box-shadow: var(--shadow-s);
}
.contact__ico svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

.contact__formwrap { position: relative; }
.cform {
  padding: clamp(26px, 3.5vw, 44px);
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cform__title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(32, 42, 64, 0.14);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 500;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-soft); font-weight: 400; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(73, 103, 180, 0.14);
}
.field textarea { resize: vertical; min-height: 130px; }
.field__error { font-size: 0.76rem; color: #c94f2d; min-height: 0; font-weight: 500; }
.field.is-invalid input,
.field.is-invalid textarea {
  border-color: #c94f2d;
  box-shadow: 0 0 0 4px rgba(201, 79, 45, 0.1);
}

.cform__submit { align-self: flex-start; margin-top: 6px; }
.cform__status {
  font-size: 0.84rem;
  font-weight: 600;
  min-height: 1.2em;
  color: var(--blue);
}
.cform__status.is-error { color: #c94f2d; }
.cform__hint {
  font-size: 0.76rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-top: -6px;
}


/* ============================================================
   13. FOOTER
   ============================================================ */
.footer {
  position: relative;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.74);
  margin-top: clamp(60px, 10vw, 120px);
  overflow: hidden;
}
.footer__curve {
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: clamp(60px, 8vw, 120px);
  transform: translateY(-99%);
  pointer-events: none;
}
.footer__curve svg { width: 100%; height: 100%; display: block; }

.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 0.9fr 1.1fr;
  gap: clamp(30px, 4vw, 60px);
  padding-top: clamp(80px, 10vw, 130px);
  padding-bottom: clamp(50px, 6vw, 80px);
  position: relative;
  z-index: 1;
}
.footer::before {
  content: '';
  position: absolute;
  top: 20%; right: -10%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73, 103, 180, 0.25), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.brand--footer { color: var(--white); }
.brand--footer .brand__text strong { color: var(--white); }
.brand--footer .brand__text span { color: var(--orange); }
.brand--footer .brand__mark { color: var(--orange); }

.footer__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--orange);
  margin: 24px 0 14px;
}
.footer__desc { font-size: 0.9rem; line-height: 1.7; color: rgba(255, 255, 255, 0.6); max-width: 38ch; }
.footer__social { display: flex; gap: 8px; margin-top: 26px; }
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid; place-items: center;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer__social a:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }
.footer__social svg { width: 17px; height: 17px; fill: currentColor; }

.footer__col h4 {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 12px; font-size: 0.9rem; }
.footer__col a {
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.footer__col a:hover { color: var(--orange); padding-left: 6px; }
.footer__address { line-height: 1.6; color: rgba(255, 255, 255, 0.65); }

.footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 24px;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer__bottom-inner p:last-child {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}


/* ============================================================
   14. LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 60px);
}
.lightbox[hidden] { display: none; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 22, 36, 0.88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.35s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox__figure {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: lbZoom 0.5s var(--ease);
}
@keyframes lbZoom {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}
.lightbox__figure img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}
.lightbox__caption {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

.lightbox__btn {
  position: absolute;
  z-index: 2;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--white);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.lightbox__btn:hover { background: rgba(255, 255, 255, 0.26); transform: scale(1.05); }
.lightbox__btn svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.lightbox__close { top: 22px; right: 22px; }
.lightbox__prev  { top: 50%; left: 22px; transform: translateY(-50%); }
.lightbox__next  { top: 50%; right: 22px; transform: translateY(-50%); }
.lightbox__prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox__next:hover { transform: translateY(-50%) scale(1.05); }


/* ============================================================
   15. BACK TO TOP
   ============================================================ */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 90;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid; place-items: center;
  box-shadow: var(--shadow-m);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.4s var(--ease),
    visibility 0.4s var(--ease),
    transform 0.4s var(--ease),
    background 0.3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue); }
.to-top svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}


/* ============================================================
   16. REVEAL & MOTION
   ============================================================ */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.9s var(--ease-soft),
    transform 0.9s var(--ease-soft);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

[data-parallax] { will-change: transform; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}


/* ============================================================
   17. RESPONSIVE
   ============================================================ */

/* ---------- ≤ 1200px ---------- */
@media (max-width: 1200px) {
  .hero__card { left: -20px; width: 236px; }
  .svc--a { min-height: 500px; }
}

/* ---------- ≤ 1024px (tablet) ---------- */
@media (max-width: 1024px) {
  html { scroll-padding-top: 90px; }

  .topbar__mail { display: none; }

  /* Hero */
  .hero { min-height: auto; padding-top: 30px; padding-bottom: 120px; }
  .hero__inner { grid-template-columns: 1fr; gap: 60px; }
  .hero__title { font-size: clamp(2.8rem, 8vw, 4.6rem); }
  .hero__visual { max-width: 560px; width: 100%; margin-inline: auto; padding: 20px 0; }
  .hero__card { left: 20px; bottom: 20px; width: 230px; }
  .hero__ring { width: 90px; height: 90px; right: -10px; }
  .hero__scroll { display: none; }

  /* About */
  .about__grid { grid-template-columns: 1fr; gap: 70px; }
  .about__media { max-width: 600px; margin-inline: auto; width: 100%; }
  .about__badge { right: 0; }

  /* Why */
  .why__head { grid-template-columns: 1fr; gap: 24px; }
  .why__cards { grid-template-columns: 1fr; gap: 20px; }
  .wcard { padding: 32px 28px; }

  /* Services */
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc--a, .svc--b, .svc--c, .svc--d { grid-column: auto; grid-row: auto; margin-top: 0; }
  .svc--a { grid-column: 1 / -1; min-height: 480px; }
  .svc--d { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }

  /* Portfolio */
  .portfolio__head { grid-template-columns: 1fr; gap: 20px; }
  .pf-grid { grid-template-columns: repeat(6, 1fr); }
  .pf--1 { grid-column: 1 / 5; grid-row: 1 / 3; min-height: 460px; }
  .pf--2 { grid-column: 5 / 7; grid-row: 1 / 2; min-height: 220px; }
  .pf--3 { grid-column: 5 / 7; grid-row: 2 / 3; min-height: 220px; }
  .pf--4 { grid-column: 1 / 3; grid-row: 3 / 4; min-height: 260px; }
  .pf--5 { grid-column: 3 / 5; grid-row: 3 / 4; min-height: 260px; }
  .pf--6 { grid-column: 5 / 7; grid-row: 3 / 4; min-height: 260px; }

  /* Contact */
  .contact__grid { grid-template-columns: 1fr; gap: 50px; }
  .contact__formwrap { max-width: 620px; width: 100%; margin-inline: auto; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__col--contact { grid-column: 1 / -1; }

  /* ==========================================================
     MOBILE NAVIGATION  —  fixed & working
     ========================================================== */
  .nav__toggle {
    display: inline-flex;
    position: relative;
    z-index: 3;      /* keeps toggle above the panel */
  }

  .brand {
    position: relative;
    z-index: 3;      /* keeps logo above the panel */
  }

  .nav__links {
    position: fixed;
    inset: 0;
    z-index: 1;                       /* above page, below toggle */
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 6px;
    padding: 100px 32px 40px;
    background: rgba(251, 247, 241, 0.97);
    -webkit-backdrop-filter: blur(22px);
    backdrop-filter: blur(22px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 0.4s var(--ease),
      visibility 0.4s var(--ease),
      transform 0.4s var(--ease);
  }
  .nav.is-open .nav__links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  /* Regular links inside the panel */
  .nav__links > a:not(.nav__cta) {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 500;
    padding: 16px 20px;
    border-radius: 16px;
  }
  .nav__links > a:not(.nav__cta).is-active::after { display: none; }
  .nav__links > a:not(.nav__cta).is-active { color: var(--blue); }

  /* CTA inside the panel — explicitly styled, no inheritance leak */
  .nav__links > a.nav__cta {
    margin: 20px 0 0;
    padding: 16px 24px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--white);
    background: var(--navy);
    border-radius: 100px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav__links > a.nav__cta:hover {
    background: var(--blue);
    color: var(--white);
    transform: translateY(-1px);
  }
}

/* ---------- ≤ 768px ---------- */
@media (max-width: 768px) {
  body { font-size: 15px; }

  .topbar__hours { display: none; }
  .topbar__contact { gap: 16px; }
  .topbar__inner { justify-content: center; }
  .topbar__social { order: -1; }

  .hero { padding-top: 20px; padding-bottom: 100px; }
  .hero__title { font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .hero__text { font-size: 0.98rem; }
  .hero__actions { gap: 10px; }
  .btn { padding: 13px 20px; font-size: 0.86rem; }
  .hero__frame { border-radius: 120px 20px 120px 20px; }
  .hero__card { left: 12px; bottom: 12px; width: 210px; padding: 18px 20px; }
  .hero__card p { font-size: 0.94rem; }

  .section { padding-block: 70px; }

  .about__media { padding: 20px 0 50px; }
  .about__small { left: 0; bottom: -20px; width: 50%; border-width: 5px; }
  .about__badge { top: -10px; right: 0; padding: 14px 16px; min-width: 130px; }
  .about__badge-num { font-size: 1.6rem; }
  .about__blob { display: none; }

  .svc--d { grid-template-columns: 1fr; gap: 20px; }
  .svc--d .svc__media { aspect-ratio: 16 / 10; }

  .pf-grid { grid-template-columns: 1fr; }
  .pf--1, .pf--2, .pf--3, .pf--4, .pf--5, .pf--6 {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 300px;
  }
  .pf--1 { min-height: 420px; }
  .pf-overlay { opacity: 1; transform: none; }

  .statement { min-height: 460px; }
  .statement__title { font-size: clamp(1.6rem, 6vw, 2.4rem); }

  .cform__row { grid-template-columns: 1fr; }
  .contact__list li { font-size: 0.94rem; }

  .footer__inner { grid-template-columns: 1fr; gap: 34px; }
  .footer__brand { grid-column: 1; }
  .footer__col--contact { grid-column: 1; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  .lightbox { padding: 16px; }
  .lightbox__btn { width: 44px; height: 44px; }
  .lightbox__close { top: 14px; right: 14px; }
  .lightbox__prev  { left: 8px; top: auto; bottom: 14px; transform: none; }
  .lightbox__next  { right: 8px; top: auto; bottom: 14px; transform: none; }
  .lightbox__prev:hover { transform: scale(1.05); }
  .lightbox__next:hover { transform: scale(1.05); }
}

/* ---------- ≤ 480px ---------- */
@media (max-width: 480px) {
  :root { --gutter: 18px; }

  .topbar { font-size: 0.72rem; }
  .topbar__contact { justify-content: center; }

  .nav__inner { padding: 8px 8px 8px 16px; }
  .brand__mark { width: 36px; height: 36px; }
  .brand__text strong { font-size: 0.94rem; }
  .brand__text span { font-size: 0.58rem; }
  .nav__toggle { width: 42px; height: 42px; }
  .nav__links > a:not(.nav__cta) { font-size: 1.35rem; }

  .hero__title { font-size: clamp(2rem, 10vw, 2.8rem); }
  .hero__meta { font-size: 0.68rem; gap: 8px; }
  .hero__frame { border-radius: 90px 16px 90px 16px; }
  .hero__card { width: 190px; padding: 14px 16px; left: 8px; bottom: 8px; }
  .hero__card p { font-size: 0.86rem; }
  .hero__card-label { font-size: 0.6rem; }
  .hero__card-foot { font-size: 0.62rem; }
  .hero__ring { width: 70px; height: 70px; }
  .hero__glow { display: none; }

  .h2 { font-size: clamp(1.9rem, 8vw, 2.6rem); }

  .about__small { width: 56%; }
  .about__badge { min-width: 110px; padding: 12px 14px; }
  .about__actions { gap: 18px; }
  .about__signature { padding-left: 16px; }

  .wcard { padding: 28px 24px; }
  .wcard h3 { font-size: 1.2rem; }

  .svc--a { min-height: 400px; }
  .svc h3 { font-size: 1.2rem; }
  .svc--a h3 { font-size: 1.5rem; }

  .pf-filter { padding: 9px 16px; font-size: 0.78rem; }
  .pf--1 { min-height: 360px; }

  .statement { min-height: 400px; }
  .statement__title { font-size: 1.45rem; line-height: 1.2; }

  .cform { padding: 24px 20px; border-radius: 24px; }
  .contact__ico { width: 38px; height: 38px; border-radius: 12px; }
  .contact__ico svg { width: 17px; height: 17px; }

  .footer__inner { padding-top: 70px; }
  .footer__bottom-inner { font-size: 0.74rem; }
  .footer__bottom-inner p:last-child { font-size: 0.86rem; }

  .to-top { width: 44px; height: 44px; }
  .to-top svg { width: 18px; height: 18px; }
}


/* ============================================================
   18. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__card { animation: none; }
  .hero__frame img { animation: none; transform: scale(1); }
  .hero__scroll span::after { animation: none; }
  [data-parallax] { transform: none !important; }
}