/* ============================================
   FORESTRY IDENTITY — DESIGN SYSTEM
   Theme: Cinematic Field Journal
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ── CSS VARIABLES ─────────────────────────── */
:root {
  --dark-green:   #0B3D2E;
  --forest-green: #145A32;
  --leaf-green:   #2ECC71;
  --earth-brown:  #6E4B3A;
  --beige:        #F5F5DC;
  --cream:        #FAF8F2;
  --ink:          #0D1B12;
  --mist:         rgba(245,245,220,0.06);
  --glass:        rgba(11,61,46,0.55);
  --shadow:       0 8px 40px rgba(11,61,46,0.35);
  --shadow-sm:    0 4px 16px rgba(11,61,46,0.2);
  --radius:       12px;
  --radius-lg:    20px;
  --ff-head:      'Playfair Display', Georgia, serif;
  --ff-body:      'DM Sans', sans-serif;
  --ff-mono:      'DM Mono', monospace;
  --nav-h:        72px;
  --transition:   0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --img-ratio-landscape: 16/10;
  --img-ratio-card: 4/3;
  --img-h-card: clamp(220px, 24vw, 270px);
  --img-h-project: clamp(220px, 22vw, 250px);
  --img-h-blog: clamp(205px, 20vw, 235px);
  --img-h-mosaic: clamp(190px, 21vw, 235px);
  --img-h-gallery: clamp(220px, 26vw, 290px);
}

/* ── RESET & BASE ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--ff-body);
  background: var(--ink);
  color: var(--beige);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── TYPOGRAPHY ────────────────────────────── */
h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.15; }

h1 { font-size: clamp(2.8rem, 6vw, 6rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 600; }

.section-eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--leaf-green);
  margin-bottom: 0.75rem;
  display: block;
}

/* ── LAYOUT ────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 2rem; }
.section    { padding: 7rem 0; }
.section-sm { padding: 4rem 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── NAVIGATION ────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 2rem;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.nav.scrolled {
  background: rgba(11, 29, 18, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(46,204,113,0.12);
}

.nav-inner {
  max-width: 1240px; margin: 0 auto; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  font-family: var(--ff-head);
  font-size: 1.4rem;
  font-weight: 900;
  font-style: italic;
  color: var(--beige);
  display: flex; align-items: center; gap: 0.5rem;
}

.nav-logo .leaf-icon { color: var(--leaf-green); font-size: 1.6rem; }

.nav-links { display: flex; gap: 2.5rem; align-items: center; }

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(245,245,220,0.75);
  transition: color 0.25s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--leaf-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.nav-links a:hover, .nav-links a.active { color: var(--beige); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  background: var(--leaf-green) !important;
  color: var(--ink) !important;
  padding: 0.55rem 1.4rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: #27ae60 !important; transform: translateY(-1px); }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span { display: block; width: 26px; height: 2px; background: var(--beige); transition: var(--transition); }

/* ── BUTTONS ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  position: relative; overflow: hidden;
}

.btn-primary {
  background: var(--leaf-green);
  color: var(--ink);
}
.btn-primary:hover { background: #27ae60; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(46,204,113,0.4); }

.btn-outline {
  background: transparent;
  border: 1.5px solid rgba(245,245,220,0.4);
  color: var(--beige);
}
.btn-outline:hover { border-color: var(--leaf-green); color: var(--leaf-green); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--leaf-green);
  padding: 0;
  font-size: 0.9rem;
}
.btn-ghost:hover { gap: 0.8rem; }
.btn-ghost .arrow { transition: transform 0.3s; }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* ── CARDS ─────────────────────────────────── */
.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,245,220,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(46,204,113,0.2);
}

.card-img {
  overflow: hidden;
  height: var(--img-h-card);
}
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.card:hover .card-img img { transform: scale(1.06); }

.card-body { padding: 1.75rem; }

.card-tag {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--leaf-green);
  margin-bottom: 0.6rem;
}

.card-body h3 { margin-bottom: 0.75rem; font-size: 1.25rem; }
.card-body p  { font-size: 0.9rem; color: rgba(245,245,220,0.65); line-height: 1.65; }

.card-meta {
  display: flex; align-items: center; gap: 1.25rem;
  margin-top: 1.25rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(245,245,220,0.08);
  font-size: 0.82rem;
  color: rgba(245,245,220,0.5);
}
.card-meta span { display: flex; align-items: center; gap: 0.35rem; }

/* ── SECTION HEADERS ───────────────────────── */
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-header p  { max-width: 560px; margin: 0 auto; color: rgba(245,245,220,0.6); font-size: 1.05rem; }

/* ── DIVIDER ───────────────────────────────── */
.divider {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem;
}
.divider-line { flex: 1; height: 1px; background: rgba(245,245,220,0.1); }
.divider-leaf { color: var(--leaf-green); font-size: 1rem; }

/* ── STAT CHIPS ────────────────────────────── */
.stat-chip {
  display: inline-flex; flex-direction: column; align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(46,204,113,0.08);
  border: 1px solid rgba(46,204,113,0.2);
  border-radius: var(--radius);
}
.stat-chip .num  { font-family: var(--ff-head); font-size: 2.5rem; font-weight: 900; color: var(--leaf-green); line-height: 1; }
.stat-chip .label{ font-size: 0.8rem; color: rgba(245,245,220,0.6); margin-top: 0.4rem; text-align: center; }

/* ── BADGE ─────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: rgba(46,204,113,0.12);
  border: 1px solid rgba(46,204,113,0.25);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--leaf-green);
}

/* ── HERO ──────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(11,29,18,0.3) 0%, rgba(11,29,18,0.6) 50%, var(--ink) 100%),
    url('https://images.unsplash.com/photo-1448375240586-882707db888b?w=1600&q=90') center/cover no-repeat;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(20,90,50,0.3) 0%, transparent 70%);
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 860px;
  padding: var(--nav-h) 2rem 2rem;
  margin-left: auto; margin-right: auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(46,204,113,0.12);
  border: 1px solid rgba(46,204,113,0.3);
  border-radius: 50px;
  padding: 0.45rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--leaf-green);
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
  animation: fadeSlideDown 0.8s ease both;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--leaf-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 {
  margin-bottom: 1.5rem;
  animation: fadeSlideUp 0.9s 0.15s ease both;
}
.hero h1 em { font-style: italic; color: var(--leaf-green); }

.hero-sub {
  font-size: 1.15rem;
  color: rgba(245,245,220,0.7);
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
  animation: fadeSlideUp 0.9s 0.3s ease both;
}

.hero-roles {
  display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap;
  margin-bottom: 3rem;
  animation: fadeSlideUp 0.9s 0.45s ease both;
}

.hero-roles .role {
  display: flex; align-items: center; gap: 0.4rem;
  font-size: 0.9rem;
  color: rgba(245,245,220,0.65);
}
.hero-roles .role .dot-sep { color: var(--leaf-green); font-size: 1.2rem; }

.hero-ctas {
  display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
  animation: fadeSlideUp 0.9s 0.6s ease both;
}

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(245,245,220,0.4);
  text-transform: uppercase;
  animation: fadeIn 1s 1.2s ease both;
}

.hero-scroll .scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(245,245,220,0.4), transparent);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%   { height: 40px; opacity: 1; }
  100% { height: 10px; opacity: 0; }
}

/* ── WHAT I DO ─────────────────────────────── */
.what-i-do { background: rgba(255,255,255,0.02); }

.do-card {
  padding: 2.5rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,245,220,0.07);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative; overflow: hidden;
}

.do-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--leaf-green), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.do-card:hover { transform: translateY(-4px); border-color: rgba(46,204,113,0.15); }
.do-card:hover::before { transform: scaleX(1); }

.do-icon {
  width: 56px; height: 56px;
  background: rgba(46,204,113,0.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.do-card h3 { margin-bottom: 0.75rem; font-size: 1.3rem; }
.do-card p  { color: rgba(245,245,220,0.6); font-size: 0.92rem; line-height: 1.7; }

/* ── STATS BAND ────────────────────────────── */
.stats-band {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--forest-green) 100%);
  padding: 4rem 0;
}

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,0.1); }
.stats-grid > * { background: transparent; }

.stat-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.stat-item .num {
  font-family: var(--ff-head);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--leaf-green);
  line-height: 1;
  display: block;
}

.stat-item .lbl {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(245,245,220,0.65);
  letter-spacing: 0.05em;
}

/* ── PROJECTS ──────────────────────────────── */
.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,245,220,0.08);
  transition: all var(--transition);
}
.project-card:hover { transform: translateY(-6px); border-color: rgba(46,204,113,0.2); box-shadow: var(--shadow); }

.project-img {
  height: var(--img-h-project);
  min-height: var(--img-h-project);
  overflow: hidden;
  position: relative;
}
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s; }
.project-card:hover .project-img img { transform: scale(1.05); }

.project-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,29,18,0.85) 0%, transparent 50%);
}

.project-img-badge {
  position: absolute; top: 1rem; left: 1rem;
}

.project-body { padding: 1.75rem; }
.project-body { display: flex; flex-direction: column; gap: 0.4rem; }
.project-body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.project-body p  { font-size: 0.88rem; color: rgba(245,245,220,0.6); margin-bottom: 1rem; }

.project-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(245,245,220,0.45);
}
.project-meta span { display: flex; align-items: center; gap: 0.3rem; }

/* ── BLOG ──────────────────────────────────── */
.blog-card {
  display: grid; grid-template-columns: 220px 1fr;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,245,220,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(46,204,113,0.15); }

.blog-card-img { overflow: hidden; }
.blog-card-img {
  width: 100%;
  height: var(--img-h-blog);
}
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }

.blog-card-body { padding: 1.75rem; display: flex; flex-direction: column; }
.blog-card-body h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.blog-card-body p  { font-size: 0.88rem; color: rgba(245,245,220,0.6); flex: 1; }

.blog-date {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  color: rgba(245,245,220,0.4);
  margin-top: 1rem;
}

/* ── GALLERY PREVIEW ───────────────────────── */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.mosaic-item { overflow: hidden; cursor: pointer; }
.mosaic-item { height: var(--img-h-mosaic); }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; filter: brightness(0.85); }
.mosaic-item:hover img { transform: scale(1.08); filter: brightness(1); }

.mosaic-item:nth-child(1),
.mosaic-item:nth-child(2),
.mosaic-item:nth-child(3),
.mosaic-item:nth-child(4),
.mosaic-item:nth-child(5),
.mosaic-item:nth-child(6) { grid-column: span 1; grid-row: span 1; }

/* ── CURRENTLY WORKING ON ──────────────────── */
.current-work {
  background: linear-gradient(135deg, rgba(20,90,50,0.2) 0%, rgba(11,29,18,0.4) 100%);
  border: 1px solid rgba(46,204,113,0.15);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2rem;
}

.cw-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(46,204,113,0.15);
  border: 1px solid rgba(46,204,113,0.3);
  border-radius: 50px;
  padding: 0.35rem 1rem;
  font-size: 0.78rem;
  color: var(--leaf-green);
  margin-bottom: 0.75rem;
}

.cw-badge .dot {
  width: 5px; height: 5px;
  background: var(--leaf-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

/* ── MAP TEASER ────────────────────────────── */
.map-teaser {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245,245,220,0.08);
  height: 380px;
  position: relative;
}

.map-teaser-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(11,29,18,0.85) 0%, transparent 50%);
  z-index: 10;
  display: flex; flex-direction: column; justify-content: center;
  padding: 3rem;
}

/* ── CONTACT SECTION ───────────────────────── */
.contact-section {
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--forest-green) 100%);
  text-align: center;
  padding: 7rem 2rem;
  position: relative; overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232ECC71' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.contact-section h2 { color: var(--beige); margin-bottom: 1rem; position: relative; }
.contact-section p  { color: rgba(245,245,220,0.7); max-width: 500px; margin: 0 auto 2.5rem; position: relative; }

.collab-badge {
  display: inline-block;
  background: rgba(46,204,113,0.15);
  border: 1px solid rgba(46,204,113,0.4);
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  color: var(--leaf-green);
  font-style: italic;
  margin-bottom: 3rem;
  position: relative;
}

/* ── FOOTER ────────────────────────────────── */
footer {
  background: #050e07;
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(245,245,220,0.06);
}

.footer-grid {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p { font-size: 0.9rem; color: rgba(245,245,220,0.5); margin-top: 1rem; line-height: 1.7; }

.footer-col h5 {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--leaf-green);
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(245,245,220,0.5);
  transition: color 0.25s;
}
.footer-col ul li a:hover { color: var(--beige); }

.footer-bottom {
  max-width: 1240px; margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(245,245,220,0.06);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem;
  color: rgba(245,245,220,0.35);
}

/* ── ANIMATIONS ────────────────────────────── */
@keyframes fadeSlideDown { from { opacity:0; transform: translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeSlideUp   { from { opacity:0; transform: translateY(30px);  } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn        { from { opacity:0; } to { opacity:1; } }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ── PAGE HERO ─────────────────────────────── */
.page-hero {
  padding: 10rem 2rem 5rem;
  background: linear-gradient(to bottom, rgba(11,61,46,0.3), var(--ink));
  text-align: center;
  position: relative; overflow: hidden;
}

.page-hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center;
  filter: brightness(0.3);
}

.page-hero h1 { margin-bottom: 1rem; }
.page-hero p  { font-size: 1.1rem; color: rgba(245,245,220,0.65); max-width: 560px; margin: 0 auto; }

/* ── ABOUT PAGE ────────────────────────────── */
.about-story { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center; }
.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
}
.about-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-img-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,29,18,0.6) 0%, transparent 60%);
}

.about-img-caption {
  position: absolute; bottom: 1.5rem; left: 1.5rem; z-index: 1;
}

.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.skill-item {
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,245,220,0.07);
  border-radius: var(--radius);
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.9rem;
  transition: all 0.3s;
}
.skill-item:hover { border-color: rgba(46,204,113,0.2); background: rgba(46,204,113,0.06); }
.skill-item .skill-icon { font-size: 1.2rem; }

.tools-list { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ── PROJECTS PAGE ─────────────────────────── */
.project-detail {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 3rem;
}

.project-detail-main img {
  width: 100%; border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.project-sidebar-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(245,245,220,0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: sticky; top: 100px;
}

.meta-item {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(245,245,220,0.07);
  font-size: 0.88rem;
}
.meta-item:last-child { border-bottom: none; }
.meta-item .meta-icon { color: var(--leaf-green); flex-shrink: 0; margin-top: 2px; }
.meta-item .meta-label { font-weight: 600; margin-bottom: 0.2rem; font-size: 0.78rem; color: rgba(245,245,220,0.5); }

/* ── GALLERY PAGE ──────────────────────────── */
.gallery-filters {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.5rem;
  border-radius: 50px;
  border: 1.5px solid rgba(245,245,220,0.15);
  background: transparent;
  color: rgba(245,245,220,0.65);
  font-family: var(--ff-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--leaf-green);
  border-color: var(--leaf-green);
  color: var(--ink);
}

.masonry-grid {
  columns: 3;
  column-gap: 1rem;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  height: var(--img-h-gallery);
}
.masonry-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s; }
.masonry-item:hover img { transform: scale(1.04); }

.masonry-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,29,18,0.9) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.25rem;
}
.masonry-item:hover .masonry-overlay { opacity: 1; }
.masonry-overlay h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.masonry-overlay p  { font-size: 0.78rem; color: rgba(245,245,220,0.6); }

/* ── CONTACT PAGE ──────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; }

.contact-form {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(245,245,220,0.08);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(245,245,220,0.75);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(245,245,220,0.12);
  border-radius: var(--radius);
  color: var(--beige);
  font-family: var(--ff-body);
  font-size: 0.92rem;
  transition: border-color 0.3s, background 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--leaf-green);
  background: rgba(46,204,113,0.04);
}

.form-group select {
  background-color: rgba(255,255,255,0.05);
  color: var(--beige);
}

.form-group select option,
.form-group select optgroup {
  background-color: #102519;
  color: var(--beige);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.contact-info-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(245,245,220,0.07);
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: rgba(46,204,113,0.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ── MAP PAGE ──────────────────────────────── */
#field-map {
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245,245,220,0.08);
}

/* ── LIGHTBOX ──────────────────────────────── */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(5,14,7,0.95);
  z-index: 9999;
  display: none; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 85vh; max-width: 90vw; border-radius: var(--radius); }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 2rem;
  font-size: 2rem;
  cursor: pointer;
  color: rgba(245,245,220,0.6);
  transition: color 0.2s;
  background: none; border: none;
}
.lightbox-close:hover { color: var(--beige); }

/* ── MOBILE NAV ────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: rgba(5,14,7,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--ff-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(245,245,220,0.75);
  transition: color 0.25s;
}
.mobile-menu a:hover { color: var(--leaf-green); }

/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 1024px) {
  :root {
    --img-h-card: clamp(210px, 30vw, 250px);
    --img-h-project: clamp(210px, 28vw, 240px);
    --img-h-blog: clamp(200px, 26vw, 230px);
    --img-h-mosaic: clamp(190px, 25vw, 220px);
    --img-h-gallery: clamp(210px, 32vw, 260px);
  }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .project-detail { grid-template-columns: 1fr; }
  .about-story { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --img-h-card: clamp(190px, 55vw, 230px);
    --img-h-project: clamp(190px, 54vw, 230px);
    --img-h-blog: clamp(190px, 53vw, 225px);
    --img-h-mosaic: clamp(185px, 52vw, 220px);
    --img-h-gallery: clamp(195px, 58vw, 240px);
  }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  h1 { font-size: 2.5rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .blog-card { grid-template-columns: 1fr; }
  .blog-card-img,
  .project-img { min-height: 220px; }
  .gallery-mosaic { grid-template-columns: 1fr; }
  .masonry-grid { columns: 2; }
  .contact-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .current-work { grid-template-columns: 1fr; }
  .hero-roles { gap: 0.75rem; }
}

@media (max-width: 480px) {
  :root {
    --img-h-card: clamp(180px, 58vw, 210px);
    --img-h-project: clamp(180px, 58vw, 210px);
    --img-h-blog: clamp(180px, 56vw, 205px);
    --img-h-mosaic: clamp(175px, 55vw, 200px);
    --img-h-gallery: clamp(185px, 60vw, 220px);
  }
  .masonry-grid { columns: 1; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}