/* ============================================================
   ANKLESALUM DESIGN & CONSTRUCTION — style.css
   Premium architectural aesthetic · navy / gold / off-white
   Sections:
     1. Design tokens & reset
     2. Base typography & utilities
     3. Buttons
     4. Header / navigation / mobile menu
     5. Hero (home)
     6. Page hero (inner pages)
     7. Sections, headings, eyebrows
     8. What We Do — service cards (home)
     9. Why Choose Us — principles
    10. Project showcase (home)
    11. CTA band
    12. Footer
    13. About page
    14. Services page
    15. Projects page — filters, masonry, lightbox
    16. Contact page — info + form
    17. Scroll reveal & animations
    18. Responsive breakpoints
    19. Reduced motion
   ============================================================ */

/* ---------- 1. Design tokens & reset ---------- */
:root {
  --navy-950: #060F1D;
  --navy-900: #081425;
  --navy-800: #0B1D33;
  --navy-700: #13304F;
  --navy-600: #1B4168;

  --gold: #C9A24B;
  --gold-light: #D9B45E;
  --gold-dark: #A8843A;

  --offwhite: #FAF7F1;
  --paper: #FFFFFF;
  --ink: #1C2B3A;
  --text: #48576A;
  --muted: #7A8794;
  --line: #E7E0D3;
  --line-dark: rgba(255, 255, 255, 0.12);

  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --header-h: 84px;
  --radius: 3px;
  --shadow-soft: 0 18px 40px -18px rgba(8, 20, 37, 0.25);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--offwhite);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul,
ol {
  list-style: none;
}

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

/* Visible keyboard focus */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--gold);
  color: var(--navy-900);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 2000;
  background: var(--navy-800);
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  border-radius: var(--radius);
}
.skip-link:focus {
  left: 8px;
}

/* ---------- 2. Base typography & utilities ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.gold {
  color: var(--gold);
}
.text-gold {
  color: var(--gold-dark);
}

.section {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
}

.section-dark {
  background: var(--navy-800);
  color: rgba(255, 255, 255, 0.78);
}
.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: #fff;
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 2px;
  background: var(--gold);
}
.eyebrow-dark {
  color: var(--gold-light);
}

/* Section header */
.section-head {
  max-width: 760px;
  margin-bottom: clamp(2.75rem, 6vw, 4rem);
}
.section-head h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 1.1rem;
}
.section-lead {
  font-size: 1.08rem;
  color: var(--text);
  max-width: 620px;
}
.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.72);
}
.section-head-split {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.95rem 1.9rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-900);
}
.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: 0 14px 30px -12px rgba(201, 162, 75, 0.55);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline-dark:hover {
  background: var(--navy-800);
  color: #fff;
  border-color: var(--navy-800);
}

.btn-lg {
  padding: 1.1rem 2.4rem;
  font-size: 0.98rem;
}

.btn-block {
  width: 100%;
}

/* Text link */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-dark);
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.text-link:hover {
  color: var(--ink);
  border-color: var(--gold);
}

/* ---------- 4. Header / navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(6, 15, 29, 0.55), rgba(6, 15, 29, 0));
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
  transition: height 0.3s var(--ease);
}

/* Scrolled state */
.site-header.scrolled {
  background: var(--navy-900);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.55);
}
.site-header.scrolled .nav-wrap {
  height: 64px;
}

/* Brand */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}
.brand-mark {
  width: 40px;
  height: 40px;
  color: var(--gold);
  flex-shrink: 0;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand-text strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.06rem;
  letter-spacing: 0.14em;
}
.brand-text small {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--gold-light);
  margin-top: 0.22rem;
}

/* Desktop nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.nav-link {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.4rem 0;
  transition: color 0.2s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav-link:hover,
.nav-link[aria-current="page"] {
  color: #fff;
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav-cta {
  padding: 0.7rem 1.4rem;
  font-size: 0.8rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  z-index: 1102;
}
.toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

/* ---------- 5. Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 15, 29, 0.72) 0%, rgba(8, 20, 37, 0.55) 45%, rgba(8, 20, 37, 0.88) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-block: calc(var(--header-h) + 2rem) 6rem;
}
.hero-eyebrow {
  color: var(--gold-light);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6.5vw, 4.9rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  max-width: 14ch;
  margin-bottom: 1.4rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-bottom: 2.4rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  transition: border-color 0.25s;
}
.hero-scroll:hover {
  border-color: var(--gold);
}
.hero-scroll-line {
  width: 2px;
  height: 10px;
  background: var(--gold);
  animation: scrollPulse 2s var(--ease) infinite;
}
@keyframes scrollPulse {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(12px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Hero load-in */
.hero-content > * {
  opacity: 0;
  animation: heroUp 0.9s var(--ease) forwards;
}
.hero-eyebrow { animation-delay: 0.15s; }
.hero h1 { animation-delay: 0.3s; }
.hero-sub { animation-delay: 0.45s; }
.hero-actions { animation-delay: 0.6s; }
@keyframes heroUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- 6. Page hero (inner pages) ---------- */
.page-hero {
  background:
    linear-gradient(160deg, rgba(6, 15, 29, 0.96), rgba(11, 29, 51, 0.92)),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, 0.05) 79px 80px);
  color: #fff;
  padding-block: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem)) clamp(3rem, 7vw, 5rem);
  border-bottom: 3px solid var(--gold);
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  max-width: 20ch;
  margin-bottom: 1.2rem;
}
.page-hero-lead {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.08rem;
  max-width: 640px;
}

/* ---------- 7. Sections / headings (shared) ---------- */

/* ---------- 8. What We Do — service cards (home) ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.4rem;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2.1rem 1.9rem 1.9rem;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(201, 162, 75, 0.45);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--line);
  color: var(--gold-dark);
  margin-bottom: 1.4rem;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.service-icon svg {
  width: 28px;
  height: 28px;
}
.service-card:hover .service-icon {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: var(--gold-light);
}
.service-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.55rem;
}
.service-card p {
  font-size: 0.94rem;
  margin-bottom: 1.3rem;
  flex-grow: 1;
}
.service-link {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  transition: color 0.2s, transform 0.25s var(--ease);
}
.service-card:hover .service-link {
  color: var(--ink);
  transform: translateX(4px);
}

/* ---------- 9. Why Choose Us — principles ---------- */
.principles {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 40%),
    var(--navy-800);
}
.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.principle {
  border-top: 1px solid var(--line-dark);
  padding-top: 1.6rem;
  transition: border-color 0.3s;
}
.principle:hover {
  border-top-color: var(--gold);
}
.principle-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.principle h3 {
  font-size: 1.12rem;
  margin-bottom: 0.6rem;
}
.principle p {
  font-size: 0.95rem;
}
.section-dark .principle p {
  color: rgba(255, 255, 255, 0.7);
}

/* Light variant (About page) */
.principles-grid-light .principle {
  border-top-color: var(--line);
}
.principles-grid-light .principle:hover {
  border-top-color: var(--gold);
}
.principles-grid-light .principle p {
  color: var(--text);
}
.principles-grid-light .principle-num {
  color: var(--gold-dark);
}

/* ---------- 10. Project showcase (home) ---------- */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.showcase-item {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  aspect-ratio: 4 / 3;
}
.showcase-item:nth-child(2),
.showcase-item:nth-child(5) {
  aspect-ratio: 4 / 3.4;
}
.showcase-item a {
  display: block;
  width: 100%;
  height: 100%;
}
.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), opacity 0.4s;
  opacity: 0.92;
}
.showcase-item:hover img {
  transform: scale(1.06);
  opacity: 1;
}
.showcase-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem;
  background: linear-gradient(180deg, transparent, rgba(6, 15, 29, 0.92));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.gallery-tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ---------- 11. CTA band ---------- */
.cta {
  background:
    repeating-linear-gradient(135deg, transparent 0 90px, rgba(255, 255, 255, 0.025) 90px 91px),
    var(--navy-900);
  border-top: 3px solid var(--gold);
  color: #fff;
  text-align: center;
  padding-block: clamp(4.5rem, 9vw, 7rem);
}
.cta .eyebrow {
  justify-content: center;
  margin-bottom: 1.2rem;
}
.cta h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 0.9rem;
}
.cta-text {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2.2rem;
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.cta-phone {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
}
.cta-phone a {
  color: var(--gold-light);
  font-family: var(--font-display);
  font-weight: 700;
  border-bottom: 1px solid rgba(201, 162, 75, 0.4);
  transition: color 0.2s, border-color 0.2s;
}
.cta-phone a:hover {
  color: #fff;
  border-color: var(--gold);
}

/* ---------- 12. Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
  border-top: 3px solid var(--gold);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
  gap: 3rem;
  padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem);
}
.footer-brand .brand-mark {
  width: 46px;
  height: 46px;
  margin-bottom: 1.2rem;
}
.footer-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  line-height: 1.45;
  color: #fff;
  margin-bottom: 0.9rem;
}
.footer-tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
}
.footer-col h3 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.footer-col a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-col a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: 1.4rem;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 13. About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.about-copy h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.7rem);
  margin-bottom: 1.3rem;
}
.about-copy p {
  margin-bottom: 1.1rem;
}
.about-points {
  margin: 1.6rem 0 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.about-points li {
  position: relative;
  padding-left: 1.8rem;
  font-weight: 500;
  color: var(--ink);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 12px;
  height: 12px;
  border: 2px solid var(--gold);
  transform: rotate(45deg);
}
.about-media {
  position: relative;
}
.about-media::before {
  content: "";
  position: absolute;
  inset: 1.2rem -1.2rem -1.2rem 1.2rem;
  border: 2px solid var(--gold);
  z-index: 0;
}
.about-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-media figcaption {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.7rem;
}

/* Approach */
.approach-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  counter-reset: approach;
}
.approach-step {
  position: relative;
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.02);
  padding: 2.4rem 2rem 2.2rem;
  transition: transform 0.3s var(--ease), border-color 0.3s, background-color 0.3s;
}
.approach-step:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 162, 75, 0.5);
  background: rgba(255, 255, 255, 0.04);
}
.approach-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  margin-bottom: 1.6rem;
}
.approach-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}
.approach-step p {
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- 14. Services page ---------- */
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.service-lg {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.service-lg:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(201, 162, 75, 0.45);
}
.service-lg-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--navy-900);
}
.service-lg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.service-lg:hover .service-lg-media img {
  transform: scale(1.06);
}
.service-lg-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1.8rem 1.8rem 2rem;
}
.service-lg-num {
  position: absolute;
  top: -1.4rem;
  right: 1.4rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--navy-900);
  background: var(--gold);
  padding: 0.5rem 0.8rem;
  transition: background-color 0.3s;
}
.service-lg:hover .service-lg-num {
  background: var(--navy-800);
  color: var(--gold-light);
}
.service-lg-body h2 {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}
.service-lg-body p {
  font-size: 0.97rem;
  margin-bottom: 1.4rem;
  flex-grow: 1;
}

/* ---------- 15. Projects page ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.6rem;
}
.filter-btn {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.filter-btn:hover {
  border-color: var(--gold-dark);
}
.filter-btn.is-active {
  background: var(--navy-800);
  color: var(--gold-light);
  border-color: var(--navy-800);
}

/* Masonry */
.masonry {
  columns: 3 300px;
  column-gap: 1.4rem;
}
.gallery-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 1.4rem;
  background: var(--navy-900);
  overflow: hidden;
}
.gallery-item[hidden] {
  display: none;
}
.gallery-open {
  display: block;
  width: 100%;
  padding: 0;
}
.gallery-open img {
  width: 100%;
  height: auto;
  transition: transform 0.6s var(--ease), opacity 0.4s;
  opacity: 0.94;
}
.gallery-item:hover .gallery-open img {
  transform: scale(1.06);
  opacity: 1;
}
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.5rem 1.4rem 1.3rem;
  background: linear-gradient(180deg, transparent, rgba(6, 15, 29, 0.94));
  color: #fff;
}
.gallery-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}
.gallery-view {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery-item:hover .gallery-view,
.gallery-item:focus-within .gallery-view {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(6, 15, 29, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox[hidden] {
  display: none;
}
body.no-scroll {
  overflow: hidden;
}
.lightbox-figure {
  max-width: min(1100px, 92vw);
  text-align: center;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8);
}
.lightbox-figure figcaption {
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 1.1rem;
  letter-spacing: 0.04em;
}
.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
  z-index: 2;
}
.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-900);
}
.lightbox-close {
  top: 1.2rem;
  right: 1.2rem;
  width: 46px;
  height: 46px;
  font-size: 1.6rem;
}
.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 60px;
  font-size: 2rem;
}
.lightbox-prev { left: 1.2rem; }
.lightbox-next { right: 1.2rem; }

/* ---------- 16. Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}
.contact-info h2,
.contact-form-wrap h2 {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
}
.contact-intro {
  margin-bottom: 2rem;
  max-width: 46ch;
}
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 2.4rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--gold-dark);
}
.contact-icon svg {
  width: 24px;
  height: 24px;
}
.contact-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.15rem;
}
.contact-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  transition: color 0.2s;
}
.contact-value:hover {
  color: var(--gold-dark);
}
.contact-call {
  background: var(--navy-800);
  padding: 1.8rem;
  color: rgba(255, 255, 255, 0.85);
}
.contact-call p {
  margin-bottom: 1.2rem;
  font-size: 1.02rem;
}

/* Form */
.contact-form-wrap {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.2rem;
}
.form-field label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--offwhite);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
  width: 100%;
}
.form-field textarea {
  resize: vertical;
  min-height: 140px;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 162, 75, 0.25);
}
.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #B5453A;
}
.form-note {
  min-height: 1.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gold-dark);
}
.form-note.is-error {
  color: #B5453A;
}
.form-fallback {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 1.1rem;
}
.form-fallback a {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- 17. Scroll reveal & animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- 18. Responsive breakpoints ---------- */
@media (max-width: 1024px) {
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 72px;
  }

  /* Mobile navigation overlay */
  .nav-toggle {
    display: flex;
  }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1100;
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    background: var(--navy-900);
    padding: 2rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.45s var(--ease), visibility 0.45s;
  }
  .site-header.menu-open .main-nav {
    transform: translateX(0);
    visibility: visible;
  }
  .nav-list {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
  .nav-link {
    font-size: 1.5rem;
    letter-spacing: 0.12em;
    padding: 0.55rem 0;
  }
  .nav-cta {
    font-size: 0.9rem;
    padding: 1rem 2.4rem;
  }
  .main-nav::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, 0.035) 79px 80px);
    pointer-events: none;
  }
  .nav-list li {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
  }
  .site-header.menu-open .nav-list li {
    opacity: 1;
    transform: translateY(0);
  }
  .site-header.menu-open .nav-list li:nth-child(1) { transition-delay: 0.08s; }
  .site-header.menu-open .nav-list li:nth-child(2) { transition-delay: 0.14s; }
  .site-header.menu-open .nav-list li:nth-child(3) { transition-delay: 0.2s; }
  .site-header.menu-open .nav-list li:nth-child(4) { transition-delay: 0.26s; }
  .site-header.menu-open .nav-list li:nth-child(5) { transition-delay: 0.32s; }

  /* Hamburger to X */
  .site-header.menu-open .toggle-bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .site-header.menu-open .toggle-bar:nth-child(2) { opacity: 0; }
  .site-header.menu-open .toggle-bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-media::before {
    inset: 0.8rem -0.8rem -0.8rem 0.8rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .service-list {
    grid-template-columns: 1fr;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .showcase-item,
  .showcase-item:nth-child(2),
  .showcase-item:nth-child(5) {
    aspect-ratio: 4 / 3;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .approach-list {
    grid-template-columns: 1fr;
  }
  .principles-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-scroll {
    display: none;
  }
  .section-head-split {
    flex-direction: column;
    align-items: flex-start;
  }
  .lightbox-prev { left: 0.4rem; }
  .lightbox-next { right: 0.4rem; }
  .lightbox-nav {
    width: 42px;
    height: 50px;
  }
}

/* ---------- 19. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-content > * {
    opacity: 1;
    animation: none;
  }
}
