/* ─────────────────────────────────────────────────────────
   PORTFOLIO SITE — style.css
   Fraunces + Nunito, retro palette
───────────────────────────────────────────────────────── */

:root {
  --cream:      #F5F0E1;
  --black:      #1A1A2E;
  --parchment:  #F1E7D3;
  --soft-umber: #7B6250;
  --red:        #E63B2E;
  --orange:     #F28C28;
  --mustard:    #E8A317;
  --teal:       #1B7A6D;
  --periwinkle: #5B7FCC;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Nunito', system-ui, sans-serif;

  --max-width: 1200px;
  --radius:    16px;
}

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-transform: lowercase;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; font: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  text-transform: lowercase;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── CONTAINER ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}

/* ── BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-transform: lowercase;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: opacity 0.2s;
  text-decoration: none;
}
.btn:hover {
  opacity: 0.85;
  text-decoration: none;
  color: var(--cream);
}

/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  padding: 1rem 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  text-transform: lowercase;
  text-decoration: none;
  white-space: nowrap;
}
.logo:hover { text-decoration: none; color: var(--black); }

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
nav a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--black);
  text-transform: lowercase;
  text-decoration: none;
  transition: color 0.2s;
}
nav a:hover { color: var(--red); text-decoration: none; }

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(rgba(26,26,46,0.34), rgba(26,26,46,0.34)),
    url("images/hero-print-studio.jpg") center / cover;
  padding: clamp(96px, 12vw, 160px) 0;
  text-align: center;
  min-height: 68vh;
  display: flex;
  align-items: center;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.hero-mark {
  width: min(78vw, 980px);
  max-height: 54vh;
  object-fit: contain;
  filter: drop-shadow(0 6px 24px rgba(26,26,46,0.16));
}
.hero-subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--cream);
  opacity: 0.85;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

/* ── GALLERY ────────────────────────────────────────────── */
.gallery-section {
  padding: 80px 48px;
  background: var(--cream);
}
.gallery {
  columns: 3;
  column-gap: 16px;
}
a.gallery-item {
  display: block;
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
a.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,26,46,0.15);
  text-decoration: none;
}
a.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── 35MM PAGE ──────────────────────────────────────────── */
.film-section {
  padding: 80px 48px;
  background: var(--cream);
}
.film-intro {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.1rem;
  color: var(--black);
  opacity: 0.7;
  text-align: center;
  margin-bottom: 3rem;
}
.film-coming-soon-msg {
  text-align: center;
  color: rgba(26,26,46,0.4);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 60px 0;
  border: 2px dashed rgba(26,26,46,0.15);
  border-radius: var(--radius);
}

/* ── ABOUT PAGE ─────────────────────────────────────────── */
.about-section {
  padding: 80px 48px;
  background: var(--cream);
  text-align: center;
}
.about-photo {
  width: 100%;
  max-width: 820px;
  margin: 0 auto 3rem;
}
.about-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.about-text {
  max-width: 600px;
  margin: 0 auto;
}
.about-text p {
  font-size: 1.15rem;
  line-height: 1.85;
  color: var(--black);
}

/* ── PROJECTS PAGE ──────────────────────────────────────── */
.projects-hero {
  background: linear-gradient(135deg, #E63B2E 0%, #F28C28 52%, #1B7A6D 100%);
  padding: 80px 0;
  text-align: center;
}
.projects-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  color: var(--cream);
  text-transform: lowercase;
}
.projects-section {
  padding: 80px 48px;
  background: var(--cream);
}
.projects-intro {
  max-width: 620px;
  margin: 0 auto 3rem;
  color: var(--black);
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
}
.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}
.project-item {
  border: 2px solid var(--black);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: rgba(245,240,225,0.75);
}
.project-item h2 {
  color: var(--black);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.project-item p {
  color: rgba(26,26,46,0.72);
  line-height: 1.7;
}

/* ── CONTACT ────────────────────────────────────────────── */
.contact-section {
  padding: 80px 48px;
  background: var(--black);
  text-align: center;
}
.contact-section .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--cream);
  text-transform: lowercase;
  margin-bottom: 2.5rem;
}
.contact-form {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-row label {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cream);
  text-transform: lowercase;
}
.form-row input,
.form-row textarea {
  padding: 0.75rem 1rem;
  border: 2px solid rgba(245,240,225,0.3);
  border-radius: var(--radius);
  background: rgba(245,240,225,0.08);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form-row input::placeholder,
.form-row textarea::placeholder {
  color: rgba(245,240,225,0.45);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--orange);
}
.form-row textarea { resize: vertical; }
.contact-form .btn {
  display: block;
  margin: 1rem auto 0;
}
.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--mustard);
  text-align: center;
}
.contact-email {
  margin-top: 1.5rem;
  text-align: center;
}
.contact-email a {
  color: var(--cream);
  font-weight: 700;
  text-decoration-color: var(--orange);
  text-underline-offset: 0.25rem;
}
.contact-email a:hover {
  color: var(--mustard);
}

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  padding: 2rem 0;
  background: var(--black);
  border-top: 1px solid rgba(245,240,225,0.12);
  text-align: center;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.875rem;
  color: var(--cream);
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .container { padding: 0 24px; }

  .nav-toggle { display: flex; }
  nav {
    display: none;
    flex-direction: column;
    gap: 1.25rem;
    position: absolute;
    top: calc(100% + 2px);
    left: -24px;
    right: -24px;
    background: var(--cream);
    padding: 1.5rem 24px;
    z-index: 99;
  }
  nav.open { display: flex; }
  .site-header { position: relative; }

  .gallery { columns: 2; }
  .gallery-section { padding: 48px 24px; }
  .about-section { padding: 48px 24px; }
  .contact-section { padding: 48px 24px; }
  .film-section { padding: 48px 24px; }
  .projects-section { padding: 48px 24px; }
  .hero {
    padding: 88px 0;
    min-height: 58vh;
  }
  .hero-mark {
    width: min(88vw, 720px);
    max-height: 44vh;
  }
}
@media (max-width: 480px) {
  .gallery { columns: 1; }
}
