:root {
  --bg: #0a0a0a;
  --surface: #111;
  --ink: #f2f0ea;
  --muted: #a4a39d;
  --line: rgba(255,255,255,.14);
  --accent: #d8ff55;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: "DM Sans", sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.noise { position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E"); }

.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 90; display: flex; align-items: center; justify-content: space-between; padding: 24px 4vw; transition: background .35s, padding .35s; }
.site-header.scrolled { padding-top: 15px; padding-bottom: 15px; background: rgba(10,10,10,.72); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(255,255,255,.08); }
.logo { display: flex; align-items: baseline; gap: 9px; font-family: Manrope, sans-serif; font-weight: 700; letter-spacing: -.04em; }
.logo-mark { font-size: 1.35rem; }
.logo-word { color: var(--muted); font-size: .8rem; letter-spacing: .04em; }
.navigation { display: flex; align-items: center; gap: 34px; font-size: .86rem; }
.navigation a { color: #c7c6c0; transition: color .2s; }
.navigation a:hover, .navigation a.active { color: #fff; }
.nav-cta { border: 1px solid var(--line); padding: 10px 18px; border-radius: 999px; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: none; }
.menu-toggle span { display: block; width: 17px; height: 1px; background: #fff; margin: 5px auto; }

.hero { position: relative; min-height: 100svh; display: grid; align-items: center; overflow: hidden; padding: 140px 4vw 70px; background: radial-gradient(circle at 64% 45%, #242424 0, #111 29%, #090909 62%); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(10,10,10,.35), transparent 45%), linear-gradient(0deg, rgba(10,10,10,.75), transparent 28%); }
.hero-copy { position: relative; z-index: 5; width: min(62vw, 920px); }
.kicker, .section-index { color: var(--muted); text-transform: uppercase; letter-spacing: .18em; font-size: .68rem; }
.hero h1 { margin-top: 27px; font-family: Manrope, sans-serif; font-size: clamp(3.8rem, 8.3vw, 9.3rem); line-height: .82; letter-spacing: -.075em; font-weight: 600; }
.hero h1 span { display: block; }
.outline-text { color: transparent; -webkit-text-stroke: 1px rgba(242,240,234,.58); }
.hero-description { width: min(500px, 86%); margin-top: 38px; color: #b7b5af; font-size: clamp(.96rem, 1.3vw, 1.16rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 34px; }
.round-button { display: flex; align-items: center; justify-content: space-between; width: 150px; height: 54px; padding: 0 20px; border-radius: 999px; color: #0b0b0b; background: var(--accent); font-weight: 600; font-size: .88rem; transition: transform .25s; }
.round-button:hover { transform: scale(1.04); }
.text-link { display: inline-flex; gap: 12px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 6px; font-size: .9rem; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }

.camera-stage { position: absolute; z-index: 4; width: min(55vw, 760px); right: -1vw; top: 50%; transform: translateY(-47%); perspective: 1200px; pointer-events: none; }
.camera-object { position: relative; transform-style: preserve-3d; will-change: transform; filter: saturate(.85); }
.camera-object svg { display: block; width: 100%; height: auto; }
.camera-shadow { position: absolute; left: 18%; right: 10%; bottom: 1%; height: 10%; background: #000; filter: blur(35px); border-radius: 50%; opacity: .85; }
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; z-index: 1; }
.orbit-one { width: 56vw; height: 56vw; right: -8vw; top: -12vw; }
.orbit-two { width: 30vw; height: 30vw; right: 15vw; bottom: -12vw; }
.scroll-cue { position: absolute; z-index: 5; right: 4vw; bottom: 34px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; transform: rotate(90deg); transform-origin: right center; }
.scroll-cue i { width: 48px; height: 1px; background: var(--muted); }

.section-pad { padding: 130px 4vw; }
.manifesto { min-height: 100vh; display: grid; grid-template-columns: 1fr 3fr 1fr; gap: 40px; align-items: start; }
.manifesto-copy { padding-top: 8vh; font-family: Manrope, sans-serif; font-size: clamp(3.4rem, 7.4vw, 8.5rem); line-height: .95; letter-spacing: -.065em; }
.manifesto-copy p { white-space: nowrap; }
.manifesto-copy span { color: transparent; -webkit-text-stroke: 1px rgba(242,240,234,.55); }
.manifesto-note { align-self: end; color: var(--muted); line-height: 1.65; font-size: .9rem; }

.section-top { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 30px; align-items: end; margin-bottom: 70px; }
.section-top h2, .about-copy h2, .contact h2 { font-family: Manrope, sans-serif; font-size: clamp(3rem, 6.5vw, 7rem); line-height: .9; letter-spacing: -.06em; font-weight: 500; }
.section-top > p:last-child { color: var(--muted); line-height: 1.55; }
.project-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 3vw; }
.project { margin-bottom: 5vw; }
.project-large { grid-row: span 2; }
.project-visual { position: relative; min-height: 35vw; overflow: hidden; display: flex; align-items: flex-end; padding: 28px; border-radius: 3px; background-position: center; background-size: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.project-large .project-visual { min-height: 68vw; }
.project-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 35%, rgba(0,0,0,.62)); }
.project-visual span { position: relative; z-index: 2; font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; }
.visual-one { background: radial-gradient(circle at 55% 30%, #b6a48c, #55463c 34%, #171313 78%); }
.visual-two { background: radial-gradient(circle at 28% 28%, #ee765d, #6c2b3f 39%, #151119 78%); }
.visual-three { background: radial-gradient(circle at 60% 40%, #a9c6ce, #2c4b59 38%, #101517 78%); }
.project:hover .project-visual { transform: scale(.985); }
.project-meta { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: baseline; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 15px; }
.project-meta h3 { font-family: Manrope, sans-serif; font-size: 1.25rem; }
.project-meta p, .project-meta span { color: var(--muted); font-size: .8rem; }

.services { background: #d9d5cb; color: #111; }
.services .section-index, .services .section-top > p:last-child { color: #55544f; }
.service-list { border-top: 1px solid rgba(0,0,0,.25); }
.service-row { display: grid; grid-template-columns: .35fr 1.4fr 1fr auto; align-items: center; gap: 35px; min-height: 142px; border-bottom: 1px solid rgba(0,0,0,.25); transition: padding .25s, background .25s; }
.service-row:hover { padding-left: 18px; background: rgba(255,255,255,.22); }
.service-row > span { font-size: .75rem; }
.service-row h3 { font-family: Manrope, sans-serif; font-size: clamp(1.7rem, 3.4vw, 3.7rem); letter-spacing: -.045em; font-weight: 500; }
.service-row p { color: #595853; line-height: 1.5; font-size: .9rem; }
.service-row i { font-style: normal; font-size: 1.7rem; }

.about-panel { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 680px; border: 1px solid var(--line); }
.about-visual { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle, #374646, #171d1d 43%, #0d0e0e 76%); }
.about-visual::before, .about-visual::after { content: ""; position: absolute; width: 65%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.about-visual::after { width: 42%; }
.about-monogram { position: relative; z-index: 2; font-family: Manrope, sans-serif; font-size: clamp(5rem, 13vw, 13rem); letter-spacing: -.09em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.7); transform: rotate(-8deg); }
.about-copy { display: flex; flex-direction: column; justify-content: center; padding: 7vw; }
.about-copy h2 { margin: 35px 0; font-size: clamp(2.7rem, 5vw, 5.7rem); }
.about-copy > p:not(.section-index) { color: var(--muted); line-height: 1.8; margin-bottom: 35px; }
.about-copy .text-link { align-self: flex-start; }

.quote { min-height: 85vh; display: grid; place-items: center; text-align: center; }
.quote p { max-width: 1150px; font-family: Manrope, sans-serif; font-size: clamp(3rem, 7.2vw, 8rem); line-height: .95; letter-spacing: -.06em; }

.contact { min-height: 82vh; display: grid; grid-template-columns: 2.2fr 1fr; align-items: center; gap: 6vw; background: var(--accent); color: #0b0b0b; }
.contact .section-index { color: rgba(0,0,0,.6); }
.contact h2 { max-width: 950px; margin: 38px 0; font-size: clamp(3.8rem, 8vw, 9rem); }
.contact-email { display: inline-block; font-size: clamp(1.1rem, 2vw, 2rem); border-bottom: 2px solid #111; padding-bottom: 7px; }
.contact-orb { justify-self: center; width: min(27vw, 330px); aspect-ratio: 1; border: 1px solid rgba(0,0,0,.55); border-radius: 50%; display: flex; flex-direction: column; justify-content: space-between; padding: 45px; font-family: Manrope, sans-serif; font-size: 1.2rem; transition: transform .35s, background .35s, color .35s; }
.contact-orb i { align-self: flex-end; font-size: 2.4rem; font-style: normal; }
.contact-orb:hover { transform: rotate(8deg) scale(1.04); background: #111; color: var(--accent); }

footer { padding: 55px 4vw 30px; background: #080808; }
.footer-brand { font-family: Manrope, sans-serif; font-size: clamp(3.5rem, 9vw, 10rem); letter-spacing: -.07em; border-bottom: 1px solid var(--line); padding-bottom: 35px; }
.footer-links { display: flex; gap: 30px; margin: 30px 0 55px; font-size: .85rem; color: var(--muted); }
footer > p { color: #63625e; font-size: .72rem; }

.reveal { opacity: 0; transform: translateY(45px); transition: opacity .85s ease, transform .85s cubic-bezier(.2,.75,.2,1); }
.reveal.show { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .navigation { position: fixed; inset: 0; background: #0a0a0a; flex-direction: column; justify-content: center; font-size: 1.8rem; transform: translateY(-100%); transition: transform .45s; }
  .navigation.open { transform: none; }
  .menu-toggle { position: relative; z-index: 3; display: block; }
  .hero { align-items: start; padding-top: 150px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(3.6rem, 15vw, 7rem); }
  .camera-stage { width: 72vw; right: -19vw; top: 69%; opacity: .72; }
  .manifesto, .section-top { grid-template-columns: 1fr; }
  .manifesto { min-height: auto; }
  .manifesto-copy p { white-space: normal; }
  .manifesto-note { max-width: 420px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-large .project-visual, .project-visual { min-height: 82vw; }
  .service-row { grid-template-columns: .25fr 1fr auto; padding: 28px 0; }
  .service-row p { grid-column: 2 / -1; }
  .about-panel { grid-template-columns: 1fr; }
  .about-visual { min-height: 480px; }
  .contact { grid-template-columns: 1fr; }
  .contact-orb { width: min(70vw, 300px); justify-self: start; }
}

@media (max-width: 560px) {
  .site-header, .section-pad, .hero, footer { padding-left: 22px; padding-right: 22px; }
  .hero h1 { line-height: .88; }
  .hero-description { width: 92%; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .camera-stage { width: 92vw; right: -35vw; top: 72%; }
  .section-pad { padding-top: 95px; padding-bottom: 95px; }
  .manifesto-copy { font-size: 14vw; }
  .project-meta { grid-template-columns: 1fr auto; }
  .project-meta p { grid-column: 1 / -1; }
  .service-row h3 { font-size: 1.65rem; }
  .about-copy { padding: 55px 28px; }
  .quote p { font-size: 13vw; }
  .contact h2 { font-size: 15vw; }
  .contact-orb { padding: 35px; }
  .footer-links { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Portfolio photography imported from the original JGM site */
.portfolio-grid { align-items: start; }
.photo-visual { padding: 0; background: #161616; }
.photo-visual::before { z-index: 1; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.34)); pointer-events: none; }
.photo-visual img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .8s cubic-bezier(.2,.75,.2,1), filter .5s ease; }
.project:hover .photo-visual img { transform: scale(1.045); }
.photo-visual.portrait img { object-position: center 35%; }
.food-triptych { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.food-triptych img { min-width: 0; }
@media (max-width: 700px) {
  .food-triptych { grid-template-columns: 1fr; }
  .food-triptych img:last-child { display: none; }
}


/* Categorized portfolio — added to the new camera-animation website */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 35px 0 42px;
}

.filter-btn {
  border: 1px solid rgba(255,255,255,.22);
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 11px 18px;
  font: inherit;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #f5f0e8;
  color: #111;
  border-color: #f5f0e8;
}

.categorized-gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(10px, 1.4vw, 20px);
}

.gallery-card {
  grid-column: span 4;
  min-width: 0;
  transition: opacity .35s ease, transform .35s ease;
}

.gallery-card.featured {
  grid-column: span 8;
}

.gallery-card.is-hidden {
  display: none;
}

.gallery-image {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #151515;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 5;
}

.gallery-card.featured .gallery-image {
  aspect-ratio: 16 / 10;
}

.gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .75s cubic-bezier(.2,.75,.2,1), filter .35s ease;
}

.gallery-image:hover img {
  transform: scale(1.045);
  filter: brightness(.84);
}

.gallery-caption {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4px 16px;
  padding-top: 13px;
}

.gallery-caption h3,
.gallery-caption p {
  margin: 0;
}

.gallery-caption h3 {
  font-size: clamp(1rem, 1.35vw, 1.35rem);
}

.gallery-caption p {
  opacity: .62;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.gallery-caption span {
  grid-row: 1 / span 2;
  grid-column: 2;
  opacity: .48;
  font-size: .78rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 5vh 4vw;
  background: rgba(0,0,0,.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity .28s ease, visibility .28s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 94vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 25px 80px rgba(0,0,0,.65);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 27px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 3rem;
  cursor: pointer;
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .gallery-card,
  .gallery-card.featured {
    grid-column: span 6;
  }

  .gallery-card.featured .gallery-image {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 560px) {
  .categorized-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .gallery-card.featured {
    grid-column: 1;
  }

  .portfolio-filters {
    gap: 7px;
  }

  .filter-btn {
    padding: 9px 13px;
    font-size: .82rem;
  }
}
