/* ══════════════════════════════════════════════════════════════════
   STUDIO LUX — style.css
   Architectural Lighting Design Studio
   ══════════════════════════════════════════════════════════════════ */

/* ── Google Fonts are loaded via HTML link ── */

/* ── Design Tokens ── */
:root {
  --color-bg: #0a0a0a;
  --color-bg-2: #0f0f0f;
  --color-bg-card: #111111;
  --color-surface: #161616;
  --color-border: rgba(255, 255, 255, 0.07);
  --color-gold: #c9a96e;
  --color-gold-light: #e0c99a;
  --color-gold-dim: rgba(201, 169, 110, 0.15);
  --color-text: #f0ece4;
  --color-text-muted: #8a8478;
  --color-text-dim: #5a5650;
  --color-white: #ffffff;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --nav-h: 80px;
  --radius-card: 4px;
}

/* ── Reset & Base ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
  list-style: none;
}

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

/* ── Utility: Label ── */
.label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
}

/* ── Utility: Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-gold);
  color: #0a0a0a;
}

.btn--primary:hover {
  background: var(--color-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.3);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text);
}

.btn--ghost:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-1px);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

/* ── Reveal Animations ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════
   NAV
════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: var(--nav-h);
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s;
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--color-border);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-text);
  transition: color 0.3s;
}

.nav__logo:hover {
  color: var(--color-gold);
}

.nav__logo-mark {
  color: var(--color-gold);
  font-size: 0.85rem;
  transition: transform 0.6s var(--ease-out);
}

.nav__logo:hover .nav__logo-mark {
  transform: rotate(90deg);
}

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

.nav__link {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  position: relative;
  transition: color 0.3s;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.3s var(--ease-out);
}

.nav__link:hover {
  color: var(--color-text);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.55rem 1.2rem;
  border-radius: 2px;
  color: var(--color-text);
}

.nav__link--cta::after {
  display: none;
}

.nav__link--cta:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--color-text);
  transition: all 0.3s;
}

/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 6rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 12s var(--ease-out) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.45) 50%,
      rgba(0, 0, 0, 0.15) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 0 3rem;
  animation: heroFadeUp 1.2s 0.3s var(--ease-out) both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

.hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
}

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.hero__headline em {
  font-style: italic;
  color: var(--color-gold-light);
}

.hero__sub {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(240, 236, 228, 0.7);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  right: 3rem;
  bottom: 3rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  animation: heroFadeUp 1.2s 1s var(--ease-out) both;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--color-gold));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.6);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.hero__scroll-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  writing-mode: vertical-rl;
}

/* ════════════════════════════════════════
   MARQUEE
════════════════════════════════════════ */
.marquee {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  padding: 0.85rem 0;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ════════════════════════════════════════
   APPROACH
════════════════════════════════════════ */
.approach {
  background: var(--color-bg);
  padding: 8rem 3rem;
}

.approach__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.approach__intro {
  margin-bottom: 5rem;
}

.approach__headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.2;
  color: var(--color-white);
  max-width: 700px;
}

.approach__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-bottom: 6rem;
}

.approach__card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  transition: background 0.3s, border-color 0.3s;
  transition-delay: var(--delay, 0s);
}

.approach__card:hover {
  background: var(--color-surface);
  border-color: var(--color-gold-dim);
}

.approach__card-num {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
  opacity: 0.7;
}

.approach__card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 0.85rem;
}

.approach__card-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.approach__quote {
  border-left: 2px solid var(--color-gold);
  padding-left: 2rem;
  max-width: 700px;
}

.approach__quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 300;
  font-style: italic;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.approach__quote cite {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--color-gold);
  font-style: normal;
}

/* ════════════════════════════════════════
   PROCESS FEATURE
════════════════════════════════════════ */
.process {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
  overflow: hidden;
}

.process__img-wrap {
  position: relative;
  overflow: hidden;
}

.process__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s var(--ease-out);
}
.process:hover .process__img {
  transform: scale(1.04);
}

.process__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.1) 0%,
    rgba(0,0,0,0.55) 100%
  );
  pointer-events: none;
}

.process__content {
  background: var(--color-bg-card);
  border-left: 1px solid var(--color-border);
  padding: 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
}

.process__headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.15;
}

.process__headline em {
  font-style: italic;
  color: var(--color-gold-light);
}

.process__body {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.85;
  max-width: 420px;
}

.process__stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.process__stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.process__stat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 300;
  color: var(--color-gold);
  line-height: 1;
}

.process__stat-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

/* ════════════════════════════════════════
   PROJECTS
════════════════════════════════════════ */
.projects {
  background: var(--color-bg-2);
  padding: 8rem 0;
}

.projects__header {
  padding: 0 3rem;
  margin-bottom: 4rem;
}

.projects__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--color-white);
}

/* ── Full-bleed project ── */
.project--full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
  margin-bottom: 2px;
  overflow: hidden;
}

.project--full .project__img-wrap {
  position: relative;
  overflow: hidden;
}

.project--full .project__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.project--full:hover .project__img {
  transform: scale(1.04);
}

.project__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.project--full .project__info {
  background: var(--color-bg-card);
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--color-border);
}

.project__category {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.project__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.project__location {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
}

.project__desc {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 420px;
}

.project__link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  text-transform: uppercase;
  transition: gap 0.3s, opacity 0.3s;
  display: inline-block;
}

.project__link:hover {
  opacity: 0.7;
}

/* ── Grid cards ── */
.projects__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 2px;
}

.projects__grid--three {
  grid-template-columns: repeat(3, 1fr);
}


.project--card {
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  cursor: pointer;
  background: var(--color-bg-card);
}

.project--card .project__img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.project--card .project__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.project--card:hover .project__img {
  transform: scale(1.06);
}

.project--card .project__img-overlay {
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.92) 0%,
      rgba(0, 0, 0, 0.3) 50%,
      transparent 100%);
}

.project--card .project__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  transform: translateY(0);
  transition: transform 0.5s var(--ease-out);
}

.project--card .project__desc {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease-out), opacity 0.4s;
  margin-bottom: 1rem;
}

.project--card:hover .project__desc {
  max-height: 120px;
  opacity: 1;
}

/* ════════════════════════════════════════
   STATS
════════════════════════════════════════ */
.stats {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 5rem 3rem;
}

.stats__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  align-items: center;
  gap: 1rem;
}

.stats__item {
  text-align: center;
  grid-column: span 1;
}

.stats__divider {
  width: 1px;
  height: 3rem;
  background: var(--color-border);
  margin: 0 auto;
}

.stats__num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stats__num::after {
  content: '+';
  font-size: 0.6em;
  color: var(--color-gold-light);
}

.stats__label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
.contact {
  background: var(--color-bg);
  padding: 8rem 3rem;
}

.contact__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact__headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.contact__headline em {
  font-style: italic;
  color: var(--color-gold-light);
}

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

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

.contact__detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact__detail-label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.contact__detail-val {
  font-size: 0.95rem;
  color: var(--color-text);
  transition: color 0.3s;
}

a.contact__detail-val:hover {
  color: var(--color-gold);
}

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-input {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 0.9rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-text);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  width: 100%;
}

.form-input::placeholder {
  color: var(--color-text-dim);
}

.form-input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-gold-dim);
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8478' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-text);
  transition: color 0.3s;
  margin-bottom: 0.75rem;
}

.footer__logo:hover {
  color: var(--color-gold);
}

.footer__logo-mark {
  color: var(--color-gold);
}

.footer__tagline {
  font-size: 0.78rem;
  color: var(--color-text-dim);
  line-height: 1.6;
}

.footer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.footer__link {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color 0.3s;
}

.footer__link:hover {
  color: var(--color-gold);
}

.footer__social {
  display: flex;
  gap: 1.25rem;
  justify-content: flex-end;
}

.footer__social-link {
  color: var(--color-text-muted);
  transition: color 0.3s, transform 0.3s;
}

.footer__social-link:hover {
  color: var(--color-gold);
  transform: translateY(-2px);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding: 1.25rem 3rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--color-text-dim);
  max-width: 100%;
}


/* ── Projects Detail Listing Page (projects.html) ── */
.filters {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 3rem 1.5rem 2rem;
  background: var(--color-bg-2);
  border-bottom: 1px solid var(--color-border);
  flex-wrap: wrap;
}

.filters__btn {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 0.5rem 1rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s var(--ease-out);
}

.filters__btn:hover {
  color: var(--color-text);
}

.filters__btn.is-active {
  color: var(--color-gold);
  border-color: var(--color-gold);
}

/* Modal / Overlay */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
  overflow-y: auto;
  padding: 2rem;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal__close {
  position: absolute;
  top: 2rem;
  right: 3rem;
  font-size: 2.5rem;
  color: var(--color-text-muted);
  transition: color 0.3s, transform 0.3s;
  z-index: 2002;
}

.modal__close:hover {
  color: var(--color-gold);
  transform: rotate(90deg);
}

.modal__content {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  max-width: 1000px;
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 600px;
  transform: scale(0.95);
  transition: transform 0.5s var(--ease-out);
  z-index: 2001;
}

.modal.is-open .modal__content {
  transform: scale(1);
}

.modal__img-wrap {
  position: relative;
  overflow: hidden;
}

.modal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal__info {
  padding: 4rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.modal__category {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
}

.modal__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.15;
}

.modal__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.modal__specs {
  border-top: 1px solid var(--color-border);
  padding-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.modal__spec-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.modal__spec-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.modal__spec-val {
  font-size: 0.85rem;
  color: var(--color-text);
}


/* ── Dedicated Project Details Page (project-detail.html) ── */
/* ── Dedicated Project Details Page (project-detail.html) ── */
.project-detail-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 8rem;
  overflow: hidden;
}

.project-detail-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.project-detail-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 12s var(--ease-out) forwards;
  display: block;
}

.project-detail-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.94) 0%,
    rgba(10, 10, 10, 0.45) 50%,
    rgba(10, 10, 10, 0.15) 100%
  );
}

.project-detail-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.project-detail-hero__back {
  margin-bottom: 0.5rem;
}

.project-detail-hero__back-link {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s var(--ease-out);
}

.project-detail-hero__back-arrow {
  transition: transform 0.3s var(--ease-out);
}

.project-detail-hero__back-link:hover {
  color: var(--color-gold-light);
}

.project-detail-hero__back-link:hover .project-detail-hero__back-arrow {
  transform: translateX(-4px);
}

.project-detail-hero__header {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.project-detail-hero__category {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.project-detail-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.1;
}

.project-detail-hero__location {
  font-size: 0.9rem;
  color: rgba(240, 236, 228, 0.7);
  letter-spacing: 0.05em;
}

.project-detail-hero__scroll {
  position: absolute;
  right: 3rem;
  bottom: 3rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  animation: heroFadeUp 1.2s 1s var(--ease-out) both;
}

.project-detail-hero__scroll-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--color-gold));
  animation: scrollPulse 2s ease-in-out infinite;
}

.project-detail-hero__scroll-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  writing-mode: vertical-rl;
}

/* ── Project Details Body ── */
.project-detail-body {
  padding: 8rem 3rem;
  background: var(--color-bg);
}

.project-detail-body__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.project-detail-body__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 6rem;
  align-items: start;
}

.project-detail-body__narrative,
.project-detail-body__specs-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.project-detail-body__subtitle {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-gold-light);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
}

.project-detail-body__desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.85;
}

.project-detail-body__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.detail-spec__item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.detail-spec__label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-dim);
}

.detail-spec__val {
  font-size: 0.88rem;
  color: var(--color-text);
  line-height: 1.4;
}

/* Next Project Banner */
.next-project {
  position: relative;
  height: 450px;
  overflow: hidden;
  background: var(--color-bg-card);
}

.next-project__link {
  display: block;
  width: 100%;
  height: 100%;
}

.next-project__bg-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.next-project__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}

.next-project:hover .next-project__bg {
  transform: scale(1.05);
}

.next-project__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.4) 100%);
  transition: background 0.4s;
}

.next-project:hover .next-project__overlay {
  background: linear-gradient(to top, rgba(10,10,10,0.97) 0%, rgba(10,10,10,0.5) 100%);
}

.next-project__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 3rem;
  z-index: 2;
  gap: 0.5rem;
}

.next-project__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.next-project__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.1;
  margin: 0.5rem 0;
}

.next-project__category {
  font-size: 0.8rem;
  color: var(--color-text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.next-project__action {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  border-bottom: 1px solid var(--color-gold-light);
  padding-bottom: 4px;
  transition: all 0.3s var(--ease-out);
}

.next-project:hover .next-project__action {
  color: var(--color-white);
  border-color: var(--color-white);
  transform: translateY(2px);
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 900px) {
  .nav {
    padding: 0 1.5rem;
  }

  .nav__links {
    display: none;
  }

  .nav__links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }

  .nav__links.is-open .nav__link {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
  }

  .nav__burger {
    display: flex;
    z-index: 1001;
  }

  .hero__content {
    padding: 0 1.5rem;
  }

  .hero__scroll {
    display: none;
  }

  .approach {
    padding: 5rem 1.5rem;
  }

  .approach__grid {
    grid-template-columns: 1fr;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .process__img-wrap {
    min-height: 55vw;
  }

  .process__content {
    padding: 3rem 1.5rem;
    border-left: none;
    border-top: 1px solid var(--color-border);
  }

  .projects__header {
    padding: 0 1.5rem;
  }

  .project--full {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .project--full .project__img-wrap {
    height: 60vw;
  }

  .project--full .project__info {
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding: 2.5rem 1.5rem;
  }

  .projects__grid,
  .projects__grid--three {
    grid-template-columns: 1fr;
  }

  .project--card {
    min-height: 60vw;
  }

  .modal {
    padding: 1rem;
  }

  .modal__close {
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2rem;
  }

  .modal__content {
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow-y: auto;
    min-height: auto;
  }

  .modal__img-wrap {
    height: 60vw;
  }

  .modal__info {
    padding: 2.5rem 1.5rem;
  }


  .stats__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .stats__divider {
    display: none;
  }

  .stats__item {
    grid-column: span 1;
  }

  .contact {
    padding: 5rem 1.5rem;
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
  }

  /* Details page responsive */
  .project-detail-hero {
    height: 80vh;
    min-height: 500px;
    padding-bottom: 5rem;
  }

  .project-detail-hero__content {
    padding: 0 1.5rem;
    gap: 2rem;
  }

  .project-detail-hero__scroll {
    display: none;
  }

  .project-detail-body {
    padding: 5rem 1.5rem;
  }

  .project-detail-body__grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .project-detail-body__specs {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .next-project {
    height: 320px;
  }
}


@media (max-width: 480px) {
  .hero__headline {
    font-size: 2.8rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .project-detail-body__specs {
    grid-template-columns: 1fr;
  }
}

/* ── Selection colour ── */
::selection {
  background: var(--color-gold);
  color: #0a0a0a;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-gold-dim);
  border-radius: 2px;
}