/* =============================================
   Vizier van Ier — Photography Portfolio
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Quicksand:wght@300;400;500;600&display=swap');

:root {
  --beige:       #f5f0e1;
  --sage:        #a3b18a;
  --dark-green:  #013927;
  --white:       #ffffff;
  --black:       #111111;
  --grey:        #6b7280;
  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Quicksand', sans-serif;
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--beige);
  color: var(--black);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Page Transition ─────────────────────── */
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }
body { animation: pageFadeIn 0.4s ease both; }

.page-transition {
  position: fixed;
  inset: 0;
  background: var(--dark-green);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.page-transition.active { opacity: 1; pointer-events: all; }

/* ── Navigation ─────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  pointer-events: none;
}
.nav > * { pointer-events: auto; }

.nav-logo {
  display: flex; align-items: center;
}
.nav-logo-img {
  height: 54px;
  width: auto;
  display: block;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
  cursor: pointer;
  z-index: 300;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--dark-green);
  transition: transform 0.3s var(--ease), opacity 0.3s, width 0.3s var(--ease);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
body.nav-open .nav-toggle span { background: var(--white); }

/* Full-screen menu overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--dark-green);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }
.nav-overlay a {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s;
}
.nav-overlay a::after {
  content: '';
  position: absolute;
  bottom: 6px; left: 0;
  width: 0; height: 1px;
  background: var(--sage);
  transition: width 0.35s var(--ease);
}
.nav-overlay a:hover { color: var(--sage); }
.nav-overlay a:hover::after { width: 100%; }
.nav-overlay .nav-instagram {
  margin-top: 32px;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-body);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}
.nav-overlay .nav-instagram:hover { color: var(--sage); }
.nav-overlay .nav-instagram::after { display: none; }

/* ── Hero ─────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.20) 50%,
    rgba(0,0,0,0.52) 100%
  );
}
.hero-content {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 90%;
  max-width: 720px;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 74px);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 40px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 38px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: all 0.25s var(--ease);
  cursor: pointer;
}
.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,0.65);
  color: var(--white);
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(6px);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.2); border-color: var(--white); }
.btn-filled-white {
  border: 1.5px solid var(--white);
  color: var(--dark-green);
  background: var(--white);
}
.btn-filled-white:hover { background: transparent; color: var(--white); }
.btn-sage {
  border: 1.5px solid var(--sage);
  color: var(--white);
  background: var(--sage);
}
.btn-sage:hover { background: transparent; color: var(--sage); }
.btn-sage-outline {
  border: 1.5px solid var(--sage);
  color: var(--sage);
  background: rgba(163,177,138,0.12);
  backdrop-filter: blur(6px);
}
.btn-sage-outline:hover { background: var(--sage); color: var(--white); }
.btn-dark {
  border: 1.5px solid var(--dark-green);
  color: var(--dark-green);
  background: transparent;
}
.btn-dark:hover { background: var(--dark-green); color: var(--white); }

/* ── Section Shared ──────────────────────── */
section { padding: 100px 48px; }
.section-eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 400; color: var(--dark-green);
  line-height: 1.05; margin-bottom: 16px;
}
.section-divider { width: 60px; height: 1px; background: var(--dark-green); margin: 24px auto; }

/* ── Portfolio Preview (homepage) ─────────── */
.portfolio-preview { background: var(--beige); text-align: center; padding-bottom: 80px; }
.portfolio-preview-header { margin-bottom: 52px; }

.categories-nav {
  display: flex; justify-content: center; gap: 8px;
  flex-wrap: wrap; margin-bottom: 40px;
}
.cat-btn {
  padding: 9px 24px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  border: 1px solid var(--sage); color: var(--dark-green);
  background: transparent; transition: all 0.2s; cursor: pointer;
}
.cat-btn:hover, .cat-btn.active { background: var(--sage); color: var(--dark-green); }

/* ── Homepage Category Cards ─────────────── */
.category-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  max-width: 900px;
  margin: 0 auto;
}
.cat-card {
  position: relative;
  overflow: hidden;
  display: block;
  height: 340px;
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.55s var(--ease);
}
.cat-card:hover img { transform: scale(1.06); }
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1,57,39,0.75) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 16px 14px;
  transition: background 0.3s var(--ease);
}
.cat-card:hover .cat-card-overlay {
  background: linear-gradient(to top, rgba(1,57,39,0.88) 0%, rgba(1,57,39,0.15) 65%);
}
.cat-card-label {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.08em;
}
@media (max-width: 768px) {
  .category-cards {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 6px;
  }
  .cat-card {
    height: 180px;
  }
  .cat-card:last-child {
    grid-column: unset;
  }
}

/* ── Portfolio Back Button ───────────────── */
.portfolio-back {
  display: none;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}
.portfolio-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: 1px solid rgba(163,177,138,0.6);
  color: var(--dark-green);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.portfolio-back-btn:hover {
  background: var(--dark-green);
  color: var(--white);
  border-color: var(--dark-green);
}
.portfolio-back-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--dark-green);
  font-style: italic;
}

/* ── Masonry Portfolio Grid ──────────────── */
#portfolioGrid { display: none; }
.portfolio-grid {
  columns: 3;
  column-gap: 3px;
  max-width: 1400px;
  margin: 0 auto;
}
.portfolio-item {
  break-inside: avoid;
  margin-bottom: 3px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #c8d8bc;
  display: block; /* ensures hidden works */
}
.portfolio-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.55s var(--ease);
}
.portfolio-item:hover img { transform: scale(1.04); }
.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(1,57,39,0.75) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex; align-items: flex-end; padding: 18px;
}
.portfolio-item:hover .portfolio-item-overlay { opacity: 1; }
.portfolio-item-label {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--white);
}
.portfolio-item.hidden { display: none; }

/* ── Story / Quote Section ───────────────── */
.story-section {
  position: relative; padding: 0;
  min-height: 70vh; display: flex;
  align-items: center; justify-content: center; overflow: hidden;
}
.story-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.story-overlay { position: absolute; inset: 0; background: rgba(1,57,39,0.62); }
.story-content {
  position: relative; z-index: 2;
  text-align: center; padding: 110px 48px; max-width: 800px;
}
.story-content blockquote {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 58px);
  font-weight: 300; font-style: italic;
  color: var(--white); line-height: 1.2; margin-bottom: 32px;
}
.story-divider { width: 44px; height: 1px; background: var(--sage); margin: 28px auto; }
.story-content p {
  font-size: 15px; color: rgba(255,255,255,0.78);
  line-height: 1.85; max-width: 500px; margin: 0 auto;
}

/* ── Page Hero (portfolio / contact) ─────── */
.page-hero {
  position: relative; height: 60vh; min-height: 460px;
  overflow: hidden; display: flex;
  align-items: flex-end; justify-content: center; padding-bottom: 64px;
}
.page-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(1,57,39,0.60) 100%);
}
.page-hero-content { position: relative; z-index: 2; text-align: center; }
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(54px, 8vw, 108px);
  font-weight: 300; color: var(--white); line-height: 1;
}
.page-hero-content p {
  font-family: var(--font-display); font-style: italic;
  color: rgba(255,255,255,0.78); font-size: 19px; margin-top: 10px;
}

/* ── Full Portfolio Page ─────────────────── */
.portfolio-full { padding: 64px 48px 100px; background: var(--beige); }

/* ── Portfolio Category Card Nav ─────────── */
.portfolio-cat-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  max-width: 900px;
  margin: 0 auto 52px;
}
.pf-card { cursor: pointer; user-select: none; }
.pf-card.active .cat-card-overlay {
  background: linear-gradient(to top, rgba(163,177,138,0.9) 0%, rgba(163,177,138,0.15) 65%);
}
.pf-card.active .cat-card-label { color: var(--dark-green); font-weight: 500; }

/* ── Work Together Page ──────────────────── */
.work-hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.work-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.work-overlay { position: absolute; inset: 0; background: rgba(1,57,39,0.60); }
.work-content {
  position: relative; z-index: 2; width: 100%;
  max-width: 900px; padding: 120px 48px 80px; text-align: center;
}
.work-content .section-eyebrow { color: rgba(163,177,138,0.85); }
.work-content h1 {
  font-family: var(--font-display);
  font-size: clamp(50px, 7.5vw, 90px);
  font-weight: 300; color: var(--white); margin-bottom: 16px; line-height: 1.05;
}
.work-subtitle {
  font-family: var(--font-display); font-style: italic;
  font-size: 20px; color: rgba(255,255,255,0.75); margin-bottom: 56px;
}

/* ── My Vision page ──────────────────────── */
.vision-process {
  background: var(--beige);
  padding: 100px 48px 80px;
  text-align: center;
}
.vision-process-intro {
  max-width: 620px;
  margin: 0 auto 72px;
}
.vision-process-intro p {
  font-size: 16px;
  color: var(--grey);
  line-height: 1.9;
  margin-top: 20px;
}
.process-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 3px;
  max-width: 1100px;
  margin: 0 auto 0;
}
.process-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 16px 36px;
  background: var(--dark-green);
  position: relative;
  opacity: 0;
  transform: translateY(36px) scaleY(0.9);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.process-step.visible { opacity: 1; transform: translateY(0) scaleY(1); }
.process-step:nth-child(1) { transition-delay: 0.0s; }
.process-step:nth-child(2) { transition-delay: 0.13s; background: #024d35; }
.process-step:nth-child(3) { transition-delay: 0.26s; background: #025e40; }
.process-step:nth-child(4) { transition-delay: 0.39s; background: #027050; }
.process-step:nth-child(5) { transition-delay: 0.52s; background: var(--sage); }
.process-step-num {
  font-family: var(--font-display);
  font-size: 52px; font-weight: 300;
  color: rgba(255,255,255,0.18); line-height: 1; margin-bottom: 14px;
}
.process-step-icon { width: 32px; height: 32px; margin-bottom: 14px; color: rgba(255,255,255,0.8); }
.process-step-label {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 400;
  color: var(--white); letter-spacing: 0.05em; margin-bottom: 10px;
}
.process-step-desc { font-size: 12px; color: rgba(255,255,255,0.62); line-height: 1.75; letter-spacing: 0.03em; }
.vision-next {
  background: var(--dark-green);
  padding: 100px 48px;
  text-align: center;
  color: var(--white);
}
.vision-next h2 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px); font-weight: 300; color: var(--white); margin-bottom: 12px;
}
.vision-next .lead {
  font-family: var(--font-display); font-style: italic;
  font-size: 20px; color: var(--sage); margin-bottom: 52px;
}
.next-steps { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 540px; margin: 0 auto 56px; text-align: left; }
.next-step-item { display: flex; align-items: flex-start; gap: 20px; width: 100%; }
.next-step-num { font-family: var(--font-display); font-size: 34px; font-weight: 300; color: var(--sage); line-height: 1; min-width: 34px; }
.next-step-text { font-size: 14px; color: rgba(255,255,255,0.78); line-height: 1.75; padding-top: 8px; }
@media (max-width: 900px) {
  .process-flow { flex-direction: column; max-width: 400px; margin: 0 auto; gap: 3px; }
  .vision-process { padding: 72px 28px; }
  .vision-next { padding: 72px 28px; }
}
@media (max-width: 600px) {
  .vision-process { padding: 60px 20px; }
  .vision-next { padding: 60px 20px; }
}
.decision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.decision-card {
  border: 1.5px solid rgba(255,255,255,0.28); padding: 28px 32px;
  cursor: pointer; transition: background 0.3s, border-color 0.3s;
  backdrop-filter: blur(6px); background: rgba(255,255,255,0.04);
}
.decision-card:hover, .decision-card.open {
  background: rgba(255,255,255,0.10); border-color: var(--sage);
}
.decision-card-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.decision-card-header h3 {
  font-family: var(--font-display); font-size: 21px;
  font-weight: 400; color: var(--white); line-height: 1.2;
}
.toggle-icon {
  font-size: 26px; color: var(--sage);
  transition: transform 0.3s var(--ease); flex-shrink: 0; line-height: 1;
}
.decision-card.open .toggle-icon { transform: rotate(45deg); }
.decision-card-body { display: none; padding-top: 24px; }
.decision-card.open .decision-card-body { display: block; }
.steps-list { list-style: none; counter-reset: step; }
.steps-list li {
  counter-increment: step;
  display: flex; align-items: center; gap: 18px;
  padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.88); font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500;
}
.steps-list li:last-child { border-bottom: none; }
.steps-list li::before {
  content: "0" counter(step); font-family: var(--font-display);
  font-size: 30px; color: var(--sage); font-weight: 300; min-width: 44px; line-height: 1;
}
.no-text { color: rgba(255,255,255,0.82); font-size: 14px; line-height: 1.85; }
.no-text strong {
  display: block; font-family: var(--font-display); font-size: 24px;
  font-weight: 400; color: var(--white); margin-bottom: 10px; font-style: italic;
}

/* ── About Page ──────────────────────────── */
.about-section {
  background: var(--beige);
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center top;
}
.about-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 60%;
  height: 60%;
  border: 1.5px solid var(--sage);
  z-index: -1;
}
.about-text .section-eyebrow { text-align: left; }
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 4vw, 58px);
  font-weight: 400;
  color: var(--dark-green);
  line-height: 1.1;
  margin-bottom: 8px;
}
.about-text .section-divider { margin: 24px 0; }
.about-text p {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.9;
  margin-bottom: 20px;
}
.about-text p:last-of-type { margin-bottom: 32px; }
.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.about-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark-green);
  border: 1px solid var(--sage);
  padding: 7px 16px;
}

/* ── Contact Page ────────────────────────── */
.contact-section {
  background: var(--beige); text-align: center; padding: 100px 48px 120px;
}
.contact-section h2 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 76px); font-weight: 400;
  color: var(--dark-green); margin-bottom: 8px;
}
.contact-tagline {
  font-family: var(--font-display); font-style: italic;
  font-size: 22px; color: var(--sage);
}
.contact-intro {
  font-size: 15px; color: var(--grey);
  max-width: 460px; margin: 0 auto 64px; line-height: 1.85;
}
.contact-info { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.contact-info-item { display: flex; align-items: center; gap: 14px; }
.contact-info-item svg { width: 19px; height: 19px; stroke: var(--sage); flex-shrink: 0; }
.contact-info-item a {
  font-size: 17px; color: var(--dark-green); transition: color 0.2s;
}
.contact-info-item a:hover { color: var(--sage); }

/* ── Contact Form ────────────────────────── */
.contact-top { margin-bottom: 64px; }
.contact-form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark-green);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(163,177,138,0.6);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dark-green);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  box-sizing: border-box;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b0b8a8;
  font-size: 13px;
}
.form-group select { cursor: pointer; color: var(--dark-green); }
.form-group select option[value=""] { color: #b0b8a8; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: var(--dark-green);
}
.form-group textarea { resize: vertical; min-height: 100px; line-height: 1.7; }
.form-submit { margin-top: 12px; width: 100%; justify-content: center; }
.form-success {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--dark-green);
  text-align: center;
  padding: 48px 0;
  font-style: italic;
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ── Terms Page ──────────────────────────── */
.terms-section {
  background: var(--beige);
  padding: 120px 48px 100px;
}
.terms-inner {
  max-width: 780px;
  margin: 0 auto;
}
.terms-inner h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 400;
  color: var(--dark-green);
  margin-bottom: 4px;
}
.terms-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--sage);
}
.terms-list {
  list-style: none;
  counter-reset: terms;
  padding: 0;
}
.terms-list > li {
  counter-increment: terms;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(163,177,138,0.3);
}
.terms-list > li:last-child { border-bottom: none; }
.terms-list > li h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--dark-green);
  margin-bottom: 12px;
}
.terms-list > li h3::before {
  content: counter(terms) ". ";
  color: var(--sage);
}
.terms-list p {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.9;
  margin-bottom: 10px;
}
.terms-list ul {
  padding-left: 20px;
  margin-top: 10px;
}
.terms-list ul li {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.85;
  margin-bottom: 6px;
}
.terms-footer {
  margin-top: 56px;
  padding: 32px;
  background: rgba(163,177,138,0.12);
  border-left: 3px solid var(--sage);
}
.terms-footer p {
  font-size: 13px;
  color: var(--dark-green);
  line-height: 1.8;
}
.terms-footer a { color: var(--dark-green); text-decoration: underline; }
@media (max-width: 600px) {
  .terms-section { padding: 80px 20px 60px; }
}

/* ── Footer ──────────────────────────────── */
footer {
  background: var(--beige); padding: 36px 48px;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(163,177,138,0.35);
}
.footer-copy { font-size: 12px; color: var(--grey); letter-spacing: 0.04em; }
.footer-logo img {
  height: 24px; max-width: 80px; object-fit: contain; mix-blend-mode: multiply;
}
.footer-right {
  display: flex; align-items: center; gap: 24px;
}
.footer-instagram {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--dark-green); transition: color 0.2s;
}
.footer-instagram:hover { color: var(--sage); }
.footer-instagram svg { width: 18px; height: 18px; }
.footer-terms {
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--grey); transition: color 0.2s;
}
.footer-terms:hover { color: var(--dark-green); }
.footer-whatsapp {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--dark-green); transition: color 0.2s;
}
.footer-whatsapp:hover { color: var(--sage); }
.footer-whatsapp svg { width: 18px; height: 18px; }

/* ── Lightbox ────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(1,57,39,0.95);
  display: none; align-items: center; justify-content: center; padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox-inner { position: relative; max-width: 1100px; max-height: 90vh; width: 100%; }
.lightbox-inner img { width: 100%; max-height: 85vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: -44px; right: 0;
  color: var(--white); font-size: 28px; cursor: pointer;
  opacity: 0.7; transition: opacity 0.2s; background: none; border: none;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25);
  color: var(--white); width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background 0.2s; font-size: 20px;
  backdrop-filter: blur(4px);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: -64px; }
.lightbox-next { right: -64px; }
.lightbox-counter {
  position: absolute; bottom: -36px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 0.2em; color: rgba(255,255,255,0.5);
}

/* ── Fade-up animation ───────────────────── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 1100px) {
  .lightbox-prev { left: -52px; }
  .lightbox-next { right: -52px; }
}
@media (max-width: 900px) {
  .nav { padding: 20px 28px; }
  section { padding: 72px 28px; }
  .portfolio-grid { columns: 2; }
  .decision-grid { grid-template-columns: 1fr; }
  .work-content { padding: 100px 28px 60px; }
  footer { padding: 28px; }
  .portfolio-full { padding: 44px 20px 80px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-img-wrap img { height: 420px; }
  .lightbox-prev, .lightbox-next { display: none; }
}
@media (max-width: 600px) {
  .nav { padding: 16px 20px; }
  section { padding: 60px 20px; }
  .portfolio-grid { columns: 1; }
  .page-hero { height: 55vh; min-height: 320px; }
  .hero-content { bottom: 10%; }
  .hero-title { font-size: clamp(32px, 9vw, 52px); }
  .btn { padding: 12px 24px; }
  footer { flex-direction: column; gap: 16px; text-align: center; }
  .footer-right { justify-content: center; }
  .story-content { padding: 80px 24px; }
  .contact-section { padding: 72px 24px 100px; }
  .about-section { padding: 60px 20px; }
  .about-img-wrap::after { display: none; }
  .categories-nav { gap: 6px; }
  .cat-btn { padding: 8px 14px; font-size: 10px; }
  .portfolio-full { padding: 32px 12px 60px; }
  .portfolio-cat-nav {
    grid-template-columns: 1fr;
    max-width: 420px;
    gap: 6px;
    margin-bottom: 28px;
  }
  .portfolio-cat-nav .cat-card { height: 180px; }
  .contact-section { padding: 60px 20px 80px; }
  .contact-form { padding: 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-info { gap: 16px; }
}
