*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cream: #F0E9DF;
  --red: #4A5C38;
  --black: #0D0D0D;
  --body: #2A2A2A;
  --muted: #7A7A6A;
  --border: rgba(0,0,0,0.1);
}
html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--body); font-family: 'DM Sans', sans-serif; font-weight: 400; font-size: 1.125rem; overflow-x: hidden; }

/* ── PAGES ── */
.page { display: none; }
.page.active { display: block; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 56px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.35rem;
  letter-spacing: 0.06em; color: var(--red); text-decoration: none; cursor: pointer;
}
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a, .nav-links button {
  font-size: 0.88rem; color: var(--black); text-decoration: none;
  background: none; border: none; cursor: pointer; font-family: 'DM Sans', sans-serif;
  border-bottom: 2px solid transparent; padding-bottom: 2px; transition: border-color 0.2s;
}
.nav-links a:hover, .nav-links button:hover { border-color: var(--black); }
.nav-links a.active, .nav-links button.active { border-color: var(--red); color: var(--red); }

/* ── SHARED ── */
.section-label {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.back-btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem;
  color: var(--muted); padding: 0; transition: color 0.2s;
  margin-bottom: 40px;
}
.back-btn:hover { color: var(--red); }
.back-btn::before { content: '←'; font-size: 1rem; }

/* ──────────────────────────────
   HOME PAGE
────────────────────────────── */

/* HERO */
.hero {
  min-height: 100vh; padding: 80px 56px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 8.5vw, 8.5rem);
  line-height: 0.92; color: var(--red); letter-spacing: 0.01em; margin-bottom: 36px;
}
.hero-body { font-size: 1rem; line-height: 1.8; max-width: 420px; margin-bottom: 40px; }
.hero-body p + p { margin-top: 14px; }
.btn-red {
  display: inline-block; background: var(--red); color: #fff;
  font-family: 'Bebas Neue', sans-serif; font-size: 1.05rem;
  letter-spacing: 0.12em; padding: 14px 40px; text-decoration: none;
  border: none; cursor: pointer; transition: opacity 0.2s;
}
.btn-red:hover { opacity: 0.85; }
.hero-image img { width: 100%; height: 78vh; object-fit: cover; object-position: top; display: block; }

/* ABOUT */
.about {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 80vh;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.about-content {
  padding: 80px 64px; display: flex; flex-direction: column; justify-content: center;
}
.big-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5.5vw, 5.5rem);
  line-height: 0.9; color: var(--red); margin-bottom: 32px;
}
.blockquote {
  font-size: 0.9rem; font-style: italic; color: var(--muted);
  border-left: 3px solid var(--red); padding-left: 16px; margin-bottom: 24px;
}
.body-text { font-size: 0.93rem; line-height: 1.85; }
.body-text p + p { margin-top: 16px; }

/* PHILOSOPHY STRIP */
.philosophy {
  background: var(--red); color: #fff; padding: 80px 56px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.philosophy-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 5rem); line-height: 0.92; color: #fff;
}
.philosophy-body { font-size: 0.93rem; line-height: 1.9; color: rgba(255,255,255,0.82); }
.philosophy-body p + p { margin-top: 18px; }

/* WHAT I PHOTOGRAPH */
.services {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 80vh;
}
.services-content { padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; }
.services-img {
  position: sticky;
  top: 65px;
  height: calc(100vh - 65px);
  align-self: start;
}
.services-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.includes { margin-bottom: 36px; }
.includes-label {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 12px;
}
.includes ul { list-style: none; }
.includes li {
  font-size: 0.9rem; padding: 6px 0; display: flex; align-items: center; gap: 10px;
}
.includes li::before { content: '—'; color: var(--red); }
.accordion { border-top: 1px solid var(--border); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; padding: 18px 0; cursor: pointer; text-align: left;
}
.acc-label {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem;
  letter-spacing: 0.05em; color: var(--red); transition: color 0.2s;
}
.acc-trigger:hover .acc-label { color: var(--black); }
.acc-icon {
  font-size: 1.4rem; color: var(--red); line-height: 1;
  transition: transform 0.3s; font-family: monospace;
}
.acc-item.open .acc-icon { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.acc-inner { padding: 0 0 18px; font-size: 0.88rem; line-height: 1.8; color: var(--muted); }
.acc-tagline { font-style: italic; margin-bottom: 8px; color: var(--body); font-size: 0.9rem; }
.acc-desc { margin-bottom: 14px; }
.acc-list { list-style: none; margin-top: 4px; }
.acc-list li { padding: 5px 0; display: flex; align-items: flex-start; gap: 10px; border-bottom: 1px solid var(--border); }
.acc-list li:last-child { border-bottom: none; }
.acc-list li::before { content: '—'; color: var(--red); flex-shrink: 0; margin-top: 1px; }

/* MY WORK GRID */
.portfolio-section { padding: 80px 56px; }
.portfolio-header { margin-bottom: 56px; }
.portfolio-header-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 5vw, 5rem); line-height: 0.9; color: var(--red); max-width: 800px;
}
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.portfolio-grid-row2 {
  display: flex; gap: 20px; margin-top: 20px; justify-content: center;
}
.portfolio-grid-row2 .portfolio-card {
  flex: 0 0 calc((100% - 40px) / 3);
}
.portfolio-card {
  cursor: pointer; position: relative; overflow: hidden;
}
.portfolio-thumb {
  aspect-ratio: 3/4; overflow: hidden; position: relative;
}
.portfolio-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; transition: transform 0.6s ease;
}
.portfolio-card:hover .portfolio-thumb img { transform: scale(1.05); }
.portfolio-thumb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(140,26,26,0.7) 0%, transparent 55%);
  opacity: 0; transition: opacity 0.4s;
  display: flex; align-items: flex-end; padding: 20px;
}
.portfolio-card:hover .portfolio-thumb-overlay { opacity: 1; }
.portfolio-thumb-cta {
  font-family: 'Bebas Neue', sans-serif; font-size: 1rem;
  letter-spacing: 0.12em; color: #fff;
}
.portfolio-card-label {
  font-family: 'Bebas Neue', sans-serif; font-size: 1.2rem;
  letter-spacing: 0.04em; color: var(--black); margin-top: 12px;
  transition: color 0.2s;
}
.portfolio-card:hover .portfolio-card-label { color: var(--red); }

/* INSTAGRAM */
.instagram-section { overflow: hidden; }
.marquee-track {
  display: flex; align-items: center; white-space: nowrap;
  animation: marqueescroll 14s linear infinite; padding: 60px 0 48px;
}
.marquee-word {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 13vw, 13rem);
  line-height: 1; color: var(--black); padding-right: 36px; flex-shrink: 0;
}
.marquee-dot {
  width: 16px; height: 16px; background: var(--black);
  border-radius: 50%; margin-right: 36px; flex-shrink: 0;
}
@keyframes marqueescroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.insta-cta { text-align: center; margin-bottom: 32px; }
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.insta-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: opacity 0.3s; }
.insta-grid img:hover { opacity: 0.85; }

/* HOME FOOTER */
.site-footer { background: var(--cream); padding: 60px 56px 40px; border-top: 1px solid var(--border); }
.footer-brand {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 9vw, 8rem); line-height: 0.9; color: var(--red); margin-bottom: 48px;
}
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-col-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 0.95rem;
  letter-spacing: 0.12em; color: var(--red); margin-bottom: 16px;
}
.footer-col-body { font-size: 0.85rem; line-height: 1.8; }
.footer-col-body a { color: var(--red); text-decoration: none; }
.footer-col-body a:hover { text-decoration: underline; }
.footer-icons { display: flex; gap: 10px; margin-top: 10px; }
.footer-icon {
  width: 34px; height: 34px; background: var(--black); border-radius: 5px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.2s;
}
.footer-icon:hover { background: var(--red); }
.footer-icon svg { width: 16px; height: 16px; fill: #fff; }
.footer-bottom { text-align: center; margin-top: 40px; font-size: 0.72rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 24px; }

/* ──────────────────────────────
   CONTACT PAGE
────────────────────────────── */
.contact-page {
  display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 65px);
}
.contact-left {
  background: var(--red); color: #fff;
  padding: 80px 64px; display: flex; flex-direction: column; justify-content: center;
}
.contact-h {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 8vw, 8rem); line-height: 0.9; color: #fff; margin-bottom: 24px;
}
.contact-intro { font-size: 0.95rem; line-height: 1.8; color: rgba(255,255,255,0.82); margin-bottom: 10px; }
.contact-phone { font-size: 0.95rem; font-weight: 500; color: #fff; margin-bottom: 40px; }
.contact-phone a { color: #fff; text-decoration: none; }
.form-label {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7); display: block; margin-bottom: 6px; margin-top: 22px;
}
.form-label:first-child { margin-top: 0; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-input {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid rgba(255,255,255,0.3); color: #fff;
  font-family: 'DM Sans', sans-serif; font-size: 0.9rem;
  padding: 8px 0 10px; outline: none; transition: border-color 0.2s;
}
.form-input::placeholder { color: rgba(255,255,255,0.3); }
.form-input:focus { border-color: rgba(255,255,255,0.85); }
.form-input:-webkit-autofill,
.form-input:-webkit-autofill:hover,
.form-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px var(--red) inset;
  -webkit-text-fill-color: #fff;
  transition: background-color 5000s ease-in-out 0s;
}
textarea.form-input { resize: vertical; min-height: 100px; }
.form-submit {
  margin-top: 28px; background: #fff; color: var(--red); border: none;
  font-family: 'Bebas Neue', sans-serif; font-size: 1.05rem;
  letter-spacing: 0.12em; padding: 15px 48px; cursor: pointer;
  transition: background 0.2s; align-self: flex-start;
}
.form-submit:hover { background: var(--cream); }
.contact-right img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ──────────────────────────────
   PORTFOLIO GALLERY PAGES
────────────────────────────── */
.gallery-page { padding: 64px 56px 80px; }
.gallery-hero { margin-bottom: 56px; }
.gallery-hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 10vw, 10rem); line-height: 0.88;
  color: var(--red); margin-bottom: 20px;
}
.gallery-hero-sub { font-size: 0.95rem; line-height: 1.8; color: var(--muted); max-width: 600px; }
.gallery-grid {
  columns: 3;
  column-gap: 12px;
}
.gallery-grid-item {
  break-inside: avoid;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 12px;
}
.gallery-grid-item img {
  width: 100%; height: auto; display: block;
  transition: transform 0.6s ease;
}
.gallery-grid-item:hover img { transform: scale(1.04); }
.gallery-cta {
  margin-top: 72px; background: var(--red); color: #fff;
  padding: 64px 56px; text-align: center;
}
.gallery-cta-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 0.9; color: #fff; margin-bottom: 24px;
}
.gallery-cta-body { font-size: 0.95rem; color: rgba(255,255,255,0.82); margin-bottom: 32px; }
.btn-white {
  display: inline-block; background: #fff; color: var(--red);
  font-family: 'Bebas Neue', sans-serif; font-size: 1.05rem;
  letter-spacing: 0.12em; padding: 14px 44px; text-decoration: none;
  border: none; cursor: pointer; transition: background 0.2s;
}
.btn-white:hover { background: var(--cream); }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.93); z-index: 999;
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox-close {
  position: fixed; top: 24px; right: 32px;
  background: none; border: none; color: #fff;
  font-size: 2.2rem; cursor: pointer; opacity: 0.7; line-height: 1;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: #fff;
  font-size: 2.5rem; cursor: pointer; opacity: 0.6;
  padding: 16px; line-height: 1; user-select: none;
  transition: opacity 0.2s;
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-counter {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6); font-size: 0.9rem; letter-spacing: 0.05em;
  pointer-events: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {

  /* Base */
  body { font-size: 1rem; }

  /* Nav */
  nav { padding: 14px 20px; }
  .nav-links { gap: 16px; }
  .nav-links a, .nav-links button { font-size: 0.82rem; }

  /* Hero */
  .hero { grid-template-columns: 1fr; padding: 48px 24px 56px; gap: 28px; min-height: auto; }
  .hero-image img { height: 72vw; min-height: 260px; }

  /* About */
  .about { grid-template-columns: 1fr; }
  .about-img img { height: auto; object-fit: unset; }
  .about-content {
    padding: 40px 24px 48px;
    margin-top: -80px;
    background: var(--cream);
    position: relative;
    box-shadow: 0 -12px 40px rgba(0,0,0,0.18);
  }

  /* Philosophy */
  .philosophy { grid-template-columns: 1fr; gap: 28px; padding: 56px 24px; }

  /* Services — reset sticky, give fixed height */
  .services { grid-template-columns: 1fr; }
  .services-content { padding: 40px 24px; }
  .services-img { position: static; height: 72vw; }
  .services-img img { height: 100%; }

  /* Portfolio */
  .portfolio-section { padding: 48px 24px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-grid-row2 { flex-direction: column; }
  .portfolio-grid-row2 .portfolio-card { flex: 1 1 auto; }

  /* Marquee */
  .marquee-word { font-size: clamp(2.8rem, 13vw, 13rem); }
  .marquee-track { padding: 40px 0 32px; }

  /* Instagram */
  .insta-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .site-footer { padding: 48px 24px 32px; }
  .footer-cols { grid-template-columns: 1fr; gap: 28px; }

  /* Contact */
  .contact-page { grid-template-columns: 1fr; }
  .contact-left { padding: 48px 24px; }
  .contact-right { display: none; }
  .form-row-2 { grid-template-columns: 1fr; }

  /* Galleries */
  .gallery-page { padding: 32px 20px 56px; }
  .gallery-hero { margin-bottom: 32px; }
  .gallery-grid { columns: 1; column-gap: 0; }
  .gallery-grid-item { margin-bottom: 8px; }
  .gallery-cta { padding: 48px 24px; margin-top: 48px; }
}

/* Touch devices — always show portfolio card overlay since there's no hover */
@media (hover: none) {
  .portfolio-thumb-overlay { opacity: 1; }
}
