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

:root {
  --bg: #0e0e0c;
  --fg: #f0ece4;
  --accent: #ba852c;
  --accent2: #8b6f3a;
  --muted: #6b6860;
  --surface: #1a1917;
  --border: #2a2825;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', 'Helvetica Neue', sans-serif;
  --scroll-offset: 110px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: var(--scroll-offset);
}

section[id] {
  scroll-margin-top: var(--scroll-offset);
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden
}

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

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

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(14, 14, 12, 0.7);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s
}

.nav-logo {
  display: flex;
  align-items: center;
  height: 5rem
}

.nav-logo img {
  height: 100%;
  width: auto;
  object-fit: contain
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.3s;
  position: relative
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s
}

.nav-links a:hover {
  color: var(--fg)
}

.nav-links a:hover::after {
  width: 100%
}

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.6rem 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: #fff !important;
  color: #000 !important;
}

.nav-cta::after {
  display: none !important
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 200;
  padding: 4px
}

.hamburger span {
  width: 28px;
  height: 2px;
  background: var(--fg);
  transition: all 0.3s
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px)
}

.hamburger.open span:nth-child(2) {
  opacity: 0
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px)
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--bg);
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  transition: right 0.5s cubic-bezier(0.76, 0, 0.24, 1)
}

.mobile-nav.open {
  right: 0
}

.mobile-nav a {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--fg);
  opacity: 0.7;
  transition: opacity 0.3s
}

.mobile-nav a:hover {
  opacity: 1;
  color: var(--accent)
}

/* ─── HERO (Typographic Overhaul) ─── */
.hero-center {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-canvas {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  width: 100%;
}

.hero-meta {
  font-size: 0.8rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 3rem;
  font-weight: 500;
  opacity: 0.8;
}

.hero-statement {
  font-family: var(--sans);
  font-size: clamp(3rem, 9vw, 7.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--fg);
  margin-bottom: 4rem;
}

.hero-statement .highlight {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
  font-family: var(--serif);
}

/* Use a distinct headline font treatment on a single word */
.hero-statement .spaces-font{
  font-family: var(--serif);
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-creative {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.hero-blueprint-arrow {
  width: 180px;
  height: 70px;
  opacity: 0.7;
}

.blueprint-svg {
  width: 100%;
  height: 100%;
}

.blueprint-path {
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: drawBlueprint 2s 1s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.blueprint-head {
  stroke: var(--accent);
  stroke-width: 1.5;
  opacity: 0;
  animation: fadeIn 0.5s 2.8s forwards;
}

@keyframes drawBlueprint {
  to {
    stroke-dashoffset: 0;
  }
}

.hero-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 2.8rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid var(--accent);
}

.hero-btn-cta:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-5px);
}

.hero-btn-cta svg {
  transition: transform 0.4s;
}

.hero-btn-cta:hover svg {
  transform: translateX(5px);
}

/* Subtle Architectural Grid */
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-dash {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollDashAnim 2s infinite;
}

@keyframes scrollDashAnim {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

/* ─── ABOUT (No Image — Split Typographic) ─── */
.about {
  padding: 10rem 5rem;
  position: relative;
  overflow: hidden
}

.about-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(10rem, 22vw, 28rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1px var(--border);
  line-height: 0.85;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
  letter-spacing: -0.05em
}

.about-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap
}

.about-top-left {
  flex: 1;
  min-width: 280px
}

.about-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem
}

.about-label::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4
}

.about-heading {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.08
}

.about-heading em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400
}

.about-top-right {
  flex: 0.8;
  min-width: 280px;
  padding-top: 1rem
}

.about-bridge {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-style: italic;
  color: var(--accent);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0.9
}

.about-text {
  color: var(--muted);
  line-height: 1.85;
  font-size: 0.95rem;
  margin-bottom: 1.2rem
}

.about-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 5rem;
  position: relative;
  z-index: 1
}

.about-svc {
  background: var(--surface);
  padding: 2.5rem 2rem;
  border-top: 2px solid var(--accent);
  transition: all 0.4s
}

.about-svc:hover {
  background: #1f1e1b;
  border-top-color: var(--fg)
}

.about-svc-num {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem
}

.about-svc-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.2
}

.about-svc-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.7
}

.about-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
  z-index: 1
}

.about-vision {
  border-left: 2px solid var(--accent);
  padding-left: 2rem
}

.about-vision-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem
}

.about-vision-text {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  line-height: 1.6;
  font-weight: 400;
  color: var(--fg);
  opacity: 0.85
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem
}

.stat {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border)
}

.stat-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1
}

.stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-top: 0.5rem
}

.about-banner {
  margin-top: 5rem;
  padding: 3rem;
  background: var(--surface);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
  text-align: center
}

.about-banner-text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto
}

.about-banner-text strong {
  color: var(--fg);
  font-weight: 500
}

/* ─── SERVICES ─── */
.services {
  padding: 8rem 5rem;
  background: var(--surface);
  position: relative;
  overflow: hidden
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 5rem;
  flex-wrap: wrap;
  gap: 2rem
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1rem
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1
}

.section-desc {
  max-width: 400px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px
}

.service-card {
  background: var(--bg);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s;
  cursor: default;
  display: flex;
  flex-direction: column;
  min-height: 380px
}

.service-card:hover {
  background: #1f1e1b
}

.service-num {
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 900;
  color: var(--surface);
  position: absolute;
  top: -0.5rem;
  right: 1rem;
  line-height: 1;
  transition: color 0.5s
}

.service-card:hover .service-num {
  color: var(--border)
}

.service-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--accent);
  transition: all 0.5s
}

.service-card:hover .service-icon {
  background: var(--accent);
  color: var(--bg)
}

.service-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem
}

.service-desc {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  flex: 1
}

.service-link {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  appearance: none;
}

.service-card:hover .service-link {
  gap: 1rem
}

/* ─── PROJECTS ─── */
.projects {
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  padding: 4rem 5rem 3rem;
  box-sizing: border-box
}

.projects .section-header {
  flex-shrink: 0;
  margin-bottom: 1.5rem
}

.projects-wrap {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: stretch
}

.projects-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 4px;
  min-height: 0;
  height: 100%
}

.project-cell {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  min-height: 0
}

.project-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease
}

.project-cell.is-selected img {
  filter: grayscale(0%)
}

.project-cell:hover img {
  transform: scale(1.04)
}

.project-cell.is-selected:hover img {
  transform: scale(1.04)
}

.project-thumb-num {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  font-size: 0.6rem;
  font-weight: 700;
  background: var(--accent);
  color: var(--bg);
  padding: 0.25rem 0.5rem;
  letter-spacing: 0.08em;
  z-index: 1
}

/* Bento placement: varied sizes, no empty space */
.project-cell.gal-1 {
  grid-column: 1;
  grid-row: 1
}

.project-cell.gal-2 {
  grid-column: 2;
  grid-row: 1
}

.project-cell.gal-3 {
  grid-column: 3;
  grid-row: 1
}

.project-cell.gal-4 {
  grid-column: 4;
  grid-row: 1
}

.project-cell.gal-5 {
  grid-column: 1/3;
  grid-row: 2/4
}

.project-cell.gal-6 {
  grid-column: 3;
  grid-row: 2
}

.project-cell.gal-7 {
  grid-column: 4;
  grid-row: 2
}

.project-cell.gal-8 {
  grid-column: 3;
  grid-row: 3
}

.project-cell.gal-9 {
  grid-column: 4;
  grid-row: 3
}

.project-cell.gal-10 {
  grid-column: 1/3;
  grid-row: 4
}

.project-cell.gal-11 {
  grid-column: 3/5;
  grid-row: 4
}

.project-detail {
  position: sticky;
  top: 6rem;
  padding: 2rem 0 0 1rem;
  border-left: 1px solid var(--border);
  padding-left: 2.5rem;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%
}

.project-detail-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  flex-shrink: 0
}

.project-detail-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--fg);
  flex-shrink: 0
}

.project-detail-cat {
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
  flex-shrink: 0
}

.project-detail-desc-wrap {
  position: relative;
  max-height: 6.5em;
  overflow: hidden;
  transition: max-height 0.4s ease;
  flex-shrink: 0
}

.project-detail-desc-wrap.is-expanded {
  max-height: 80vh;
  overflow-y: auto
}

.project-detail.is-expo .project-detail-desc-wrap {
  max-height: 5.5em;
  overflow: hidden
}

.project-detail-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--muted);
  margin: 0
}

.project-detail-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
  transition: color 0.25s;
  flex-shrink: 0
}

.project-detail-read-more:hover {
  color: var(--fg)
}

.project-detail-read-more::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid currentColor;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  margin-left: 4px;
  transition: transform 0.25s;
  vertical-align: middle
}

.project-detail-desc-wrap.is-expanded+.project-detail-read-more::after {
  transform: rotate(-90deg)
}

/* Expo 2025 image grid: fills remaining space, fits viewport */
.project-expo-grid {
  display: none;
  flex: 1;
  min-height: 0;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(6, 1fr);
  gap: 5px;
  margin-top: 1rem
}

.project-detail.is-expo .project-expo-grid {
  display: grid
}

.project-expo-cell {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  min-height: 0
}

.project-expo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

/* Project description modal */
.project-desc-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s
}

.project-desc-modal.is-open {
  visibility: visible;
  opacity: 1
}

.project-desc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 12, 0.92);
  cursor: pointer
}

.project-desc-modal-panel {
  position: relative;
  width: 100%;
  max-width: 36rem;
  max-height: 85vh;
  overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 2.5rem;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4)
}

.project-desc-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.25s
}

.project-desc-modal-close:hover {
  color: var(--fg)
}

.project-desc-modal-num {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem
}

.project-desc-modal-title {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--fg)
}

.project-desc-modal-cat {
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem
}

.project-desc-modal-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  margin: 0
}

/* Mobile project detail modal */
.project-mobile-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:flex-end;justify-content:center;padding:1.25rem;box-sizing:border-box;visibility:hidden;opacity:0;transition:visibility 0.25s,opacity 0.25s}
.project-mobile-modal.is-open{visibility:visible;opacity:1}
.project-mobile-modal-backdrop{position:absolute;inset:0;background:rgba(14,14,12,0.92);cursor:pointer}
.project-mobile-modal-panel{position:relative;width:min(980px,96vw);max-height:90vh;overflow:auto;background:var(--bg);border:1px solid var(--border);box-shadow:0 24px 48px rgba(0,0,0,0.45);padding:1.75rem 1.75rem 2rem}
.project-mobile-modal-close{position:absolute;top:0.75rem;right:0.75rem;width:2.5rem;height:2.5rem;display:flex;align-items:center;justify-content:center;background:none;border:none;font-size:1.75rem;line-height:1;color:var(--muted);cursor:pointer;transition:color 0.25s}
.project-mobile-modal-close:hover{color:var(--fg)}
.project-mobile-modal-num{display:block;font-size:0.7rem;font-weight:700;color:var(--accent);letter-spacing:0.15em;margin-bottom:0.75rem}
.project-mobile-modal-title{font-family:var(--serif);font-size:1.75rem;font-weight:700;line-height:1.2;margin-bottom:0.5rem;color:var(--fg)}
.project-mobile-modal-cat{font-size:0.75rem;color:var(--accent);text-transform:uppercase;letter-spacing:0.12em;margin-bottom:1rem}
.project-mobile-modal-desc{font-size:0.95rem;line-height:1.75;color:var(--muted);margin:0}
.project-mobile-modal-read-more{display:inline-flex;align-items:center;gap:0.4rem;margin-top:0.9rem;padding:0;background:none;border:none;font-family:var(--sans);font-size:0.8rem;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:var(--accent);cursor:pointer;transition:color 0.25s}
.project-mobile-modal-read-more:hover{color:var(--fg)}
.project-mobile-modal-panel .project-expo-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(6,1fr);gap:5px;margin-top:1.2rem;min-height:55vh}
.project-mobile-modal-panel .project-expo-grid[aria-hidden="true"]{display:none}

/* Service modal */
.service-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:2rem;box-sizing:border-box;visibility:hidden;opacity:0;transition:visibility 0.25s,opacity 0.25s}
.service-modal.is-open{visibility:visible;opacity:1}
.service-modal-backdrop{position:absolute;inset:0;background:rgba(14,14,12,0.92);cursor:pointer}
.service-modal-panel{position:relative;width:min(720px,92vw);max-height:85vh;overflow:auto;background:var(--bg);border:1px solid var(--border);box-shadow:0 24px 48px rgba(0,0,0,0.45);padding:2.5rem}
.service-modal-close{position:absolute;top:1rem;right:1rem;width:2.5rem;height:2.5rem;display:flex;align-items:center;justify-content:center;background:none;border:none;font-size:1.75rem;line-height:1;color:var(--muted);cursor:pointer;transition:color 0.25s}
.service-modal-close:hover{color:var(--fg)}
.service-modal-kicker{display:block;font-size:0.7rem;font-weight:700;color:var(--accent);letter-spacing:0.15em;margin-bottom:0.75rem}
.service-modal-title{font-family:var(--serif);font-size:1.75rem;font-weight:700;line-height:1.2;margin-bottom:0.5rem;color:var(--fg)}
.service-modal-cat{font-size:0.75rem;color:var(--accent);text-transform:uppercase;letter-spacing:0.12em;margin-bottom:1.5rem}
.service-modal-desc{font-size:0.95rem;line-height:1.85;color:var(--muted);margin:0}

/* Graphic modal (image + description) */
.graphic-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:2rem;box-sizing:border-box;visibility:hidden;opacity:0;transition:visibility 0.25s,opacity 0.25s}
.graphic-modal.is-open{visibility:visible;opacity:1}
.graphic-modal-backdrop{position:absolute;inset:0;background:rgba(14,14,12,0.92);cursor:pointer}
.graphic-modal-panel{position:relative;width:min(1180px,95vw);max-height:92vh;overflow:hidden;background:var(--bg);border:1px solid var(--border);box-shadow:0 24px 48px rgba(0,0,0,0.45);display:grid;grid-template-columns:1.3fr 0.7fr}
.graphic-modal-close{position:absolute;top:1rem;right:1rem;width:2.5rem;height:2.5rem;display:flex;align-items:center;justify-content:center;background:none;border:none;font-size:1.75rem;line-height:1;color:var(--muted);cursor:pointer;transition:color 0.25s;z-index:1}
.graphic-modal-close:hover{color:var(--fg)}
.graphic-modal-media{background:#000;min-height:0}
.graphic-modal-img{width:100%;height:100%;object-fit:cover;display:block}
.graphic-modal-content{padding:2.25rem;overflow:auto;min-height:0}
.graphic-modal-num{display:block;font-size:0.7rem;font-weight:700;color:var(--accent);letter-spacing:0.15em;margin-bottom:0.75rem}
.graphic-modal-title{font-family:var(--serif);font-size:1.75rem;font-weight:700;line-height:1.2;margin-bottom:0.5rem;color:var(--fg)}
.graphic-modal-cat{font-size:0.75rem;color:var(--accent);text-transform:uppercase;letter-spacing:0.12em;margin-bottom:1.25rem}
.graphic-modal-desc{font-size:0.95rem;line-height:1.85;color:var(--muted);margin:0}
@media(max-width:900px){
  .graphic-modal-panel{grid-template-columns:1fr;max-height:92vh}
  .graphic-modal-media{max-height:40vh}
}

/* Project image lightbox modal */
.project-img-modal {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.25s, opacity 0.25s
}

.project-img-modal.is-open {
  visibility: visible;
  opacity: 1
}

.project-img-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 14, 12, 0.95);
  cursor: pointer
}

.project-img-modal-panel {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center
}

.project-img-modal-img {
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block
}

.project-img-modal-close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.25s;
  z-index: 1002
}

.project-img-modal-close:hover {
  color: var(--fg)
}

.project-img-modal-prev,
.project-img-modal-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 14, 12, 0.8);
  border: 1px solid var(--border);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
  cursor: pointer;
  transition: color 0.25s, background 0.25s;
  z-index: 1002
}

.project-img-modal-prev {
  left: 1.5rem
}

.project-img-modal-next {
  right: 1.5rem
}

.project-img-modal-prev:hover,
.project-img-modal-next:hover {
  color: var(--fg);
  background: var(--surface)
}

/* Graphic section still uses overlay */
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(14, 14, 12, 0.85));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  transition: background 0.5s
}

.project-num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  background: var(--accent);
  color: var(--bg);
  padding: 0.3rem 0.6rem;
  letter-spacing: 0.1em
}

.project-name {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.2rem
}

.project-cat {
  font-size: 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em
}

/* ─── GRAPHIC DESIGN ─── */
.graphic {
  padding: 8rem 5rem;
  background: var(--surface)
}

.graphic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 3px;
  height: 70vh;
  min-height: 500px
}

.g1 {
  grid-column: 1/3;
  grid-row: 1/3
}

.g2 {
  grid-column: 3/4;
  grid-row: 1/2
}

.g3 {
  grid-column: 4/5;
  grid-row: 1/2
}

.g4 {
  grid-column: 3/5;
  grid-row: 2/3
}

.g5 {
  grid-column: 1/2;
  grid-row: 3/4
}

.g6 {
  grid-column: 2/4;
  grid-row: 3/4
}

.g7 {
  grid-column: 4/5;
  grid-row: 3/4
}

.graphic-cell {
  position: relative;
  overflow: hidden;
  cursor: pointer
}

.graphic-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease
}

.graphic-cell.is-selected img {
  filter: grayscale(0%);
}

.graphic-cell:hover img {
  transform: scale(1.06)
}

.graphic-cell .project-overlay {
  padding: 1.2rem
}

/* ─── CONTACT ─── */
.contact {
  padding: 10rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start
}

.contact-heading {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 2rem
}

.contact-heading em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400
}

.contact-text {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 400px
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 1rem
}

.contact-row-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent)
}

.contact-row-text {
  font-size: 0.9rem;
  color: var(--muted)
}

.contact-row-text strong {
  display: block;
  color: var(--fg);
  font-weight: 500;
  margin-bottom: 0.2rem
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem
}

.form-group label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  padding: 1rem;
  color: var(--fg);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: border-color 0.3s;
  outline: none
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent)
}

.form-group textarea {
  height: 140px;
  resize: none
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem
}

.form-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 1.2rem 3rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  align-self: flex-start
}

.form-submit:hover {
  background: #fff;
  color: #000;
}

/* ─── FOOTER ─── */
.footer {
  padding: 4rem 5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem
}

.footer-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: var(--accent)
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--muted)
}

.footer-links {
  display: flex;
  gap: 2rem
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.3s
}

.footer-links a:hover {
  color: var(--accent)
}

/* ─── RESPONSIVE ─── */
@media(max-width:1100px) {
  .about {
    padding: 6rem 3rem
  }

  .about-top {
    gap: 2.5rem
  }

  .about-services {
    grid-template-columns: 1fr
  }

  .about-bottom {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .about-stats {
    grid-template-columns: repeat(4, 1fr)
  }

  .services-grid {
    grid-template-columns: 1fr
  }

  .services {
    padding: 6rem 3rem
  }

  .projects {
    height: auto;
    min-height: auto;
    padding: 6rem 3rem
  }

  .projects .section-header {
    margin-bottom: 2rem
  }

  .projects-wrap {
    grid-template-columns: 1fr;
    gap: 3rem
  }

  .projects-gallery {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(4, minmax(80px, 1fr));
    gap: 3px;
    min-height: 400px;
    height: auto
  }

  .project-detail {
    position: static;
    border-left: none;
    padding-left: 0;
    padding-top: 0;
    border-top: 1px solid var(--border);
    padding-top: 2rem
  }

  .graphic {
    padding: 6rem 3rem
  }

  .graphic-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    height: auto;
    min-height: auto
  }

  .g1 {
    grid-column: 1/3;
    grid-row: 1/2
  }

  .g2 {
    grid-column: 1/2;
    grid-row: 2/3
  }

  .g3 {
    grid-column: 2/3;
    grid-row: 2/3
  }

  .g4 {
    grid-column: 1/3;
    grid-row: 3/4
  }

  .g5 {
    grid-column: 1/2;
    grid-row: 4/5
  }

  .g6 {
    grid-column: 2/3;
    grid-row: 4/5
  }

  .g7 {
    grid-column: 1/3;
    grid-row: 5/6
  }

  .graphic-cell {
    min-height: 220px
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 6rem 3rem
  }
}

@media(max-width:768px) {
  .nav {
    padding: 1rem 1.5rem
  }

  .nav-links {
    display: none
  }

  .hamburger {
    display: flex
  }

  .hero-center {
    padding: 0 1.5rem;
    text-align: center;
  }

  .hero-statement {
    font-size: clamp(2.5rem, 12vw, 4rem);
    margin-bottom: 2.5rem;
  }

  .hero-blueprint-arrow {
    width: 140px;
    height: 50px;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .about {
    padding: 5rem 2rem
  }

  .about-top {
    flex-direction: column;
    gap: 2rem
  }

  .about-services {
    margin-bottom: 3rem
  }

  .about-svc {
    padding: 2rem 1.5rem
  }

  .about-bottom {
    gap: 2.5rem
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem
  }

  .about-banner {
    padding: 2rem
  }

  .services {
    padding: 5rem 2rem
  }

  .section-header {
    margin-bottom: 3rem
  }

  .service-card {
    min-height: 300px;
    padding: 2rem 1.5rem
  }

  .projects {
    padding: 5rem 2rem
  }

  .projects-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 3px;
    min-height: auto
  }

  .project-detail {
    display: none;
  }

  .project-cell.gal-1 {
    grid-column: 1/3;
    grid-row: 1
  }

  .project-cell.gal-2 {
    grid-column: 1;
    grid-row: 2
  }

  .project-cell.gal-3 {
    grid-column: 2;
    grid-row: 2
  }

  .project-cell.gal-4 {
    grid-column: 1/3;
    grid-row: 3
  }

  .project-cell.gal-5 {
    grid-column: 1;
    grid-row: 4
  }

  .project-cell.gal-6 {
    grid-column: 2;
    grid-row: 4
  }

  .project-cell.gal-7 {
    grid-column: 1;
    grid-row: 5
  }

  .project-cell.gal-8 {
    grid-column: 2;
    grid-row: 5
  }

  .project-cell.gal-9 {
    grid-column: 1;
    grid-row: 6
  }

  .project-cell.gal-10 {
    grid-column: 2;
    grid-row: 6
  }

  .project-cell.gal-11 {
    grid-column: 1/3;
    grid-row: 7
  }

  .project-cell {
    min-height: 140px
  }

  .graphic {
    padding: 5rem 2rem
  }

  .graphic-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2px
  }

  .g1 {
    grid-column: 1/3
  }

  .g2,
  .g3 {
    grid-column: auto
  }

  .g4 {
    grid-column: 1/3
  }

  .g5,
  .g6 {
    grid-column: auto
  }

  .g7 {
    grid-column: 1/3
  }

  .graphic-cell {
    min-height: 180px
  }

  .contact {
    padding: 5rem 2rem
  }

  .form-row {
    grid-template-columns: 1fr
  }

  .footer {
    padding: 3rem 2rem;
    flex-direction: column;
    text-align: center
  }
}

@media(max-width:480px) {
  .hero-statement {
    font-size: 2.5rem;
  }

  .hero-meta {
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
  }

  .about {
    padding: 4rem 1.5rem
  }

  .about-heading {
    font-size: 2rem
  }

  .about-stats {
    grid-template-columns: 1fr 1fr
  }

  .stat-num {
    font-size: 2.2rem
  }

  .services {
    padding: 4rem 1.5rem
  }

  .projects {
    padding: 4rem 1.5rem
  }

  .projects-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto
  }

  .project-cell.gal-1 {
    grid-column: 1/3;
    grid-row: 1
  }

  .project-cell.gal-2 {
    grid-column: 1;
    grid-row: 2
  }

  .project-cell.gal-3 {
    grid-column: 2;
    grid-row: 2
  }

  .project-cell.gal-4 {
    grid-column: 1/3;
    grid-row: 3
  }

  .project-cell.gal-5 {
    grid-column: 1;
    grid-row: 4
  }

  .project-cell.gal-6 {
    grid-column: 2;
    grid-row: 4
  }

  .project-cell.gal-7 {
    grid-column: 1;
    grid-row: 5
  }

  .project-cell.gal-8 {
    grid-column: 2;
    grid-row: 5
  }

  .project-cell.gal-9 {
    grid-column: 1;
    grid-row: 6
  }

  .project-cell.gal-10 {
    grid-column: 2;
    grid-row: 6
  }

  .project-cell.gal-11 {
    grid-column: 1/3;
    grid-row: 7
  }

  .project-cell {
    min-height: 120px
  }

  .graphic {
    padding: 4rem 1.5rem
  }

  .graphic-grid {
    grid-template-columns: 1fr;
    gap: 2px
  }

  .g1,
  .g2,
  .g3,
  .g4,
  .g5,
  .g6,
  .g7 {
    grid-column: auto;
    grid-row: auto
  }

  .graphic-cell {
    min-height: 200px
  }

  .contact {
    padding: 4rem 1.5rem
  }

  .contact-heading {
    font-size: 2rem
  }

  .footer {
    padding: 2rem 1.5rem
  }
}

@media(max-width:768px){
  :root{ --scroll-offset: 88px; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94)
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}

.reveal-delay-1 {
  transition-delay: 0.1s
}

.reveal-delay-2 {
  transition-delay: 0.2s
}

.reveal-delay-3 {
  transition-delay: 0.3s
}