/* ============================================================
   CURATED — Shared Stylesheet
   All pages share this file.
   Google Fonts loaded via <link> in each HTML file.
============================================================ */

/* ── Custom Properties ── */
:root {
  --white:           #ffffff;
  --black:           #111111;
  --text:            #222222;
  --muted:           #888888;
  --border:          #e0e0e0;
  --img-placeholder: #e2e2e2;
  --bg:              #ffffff;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 100;
  background: transparent;
}

.nav-logo {
  text-decoration: none;
  line-height: 1;
  /* REPLACE: wrap contents in <img src="logo.svg" alt="..." width="140"> */
}

/* Logo text placeholders — swap each for an <img> or inline SVG */
.logo-light {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}

.logo-dark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  font-weight: 400;
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

.nav--light .nav-links a {
  color: var(--white);
}

.nav--dark .nav-links a {
  color: var(--text);
}

.nav-links a:hover {
  text-decoration: underline;
}

/* ── Image Placeholders ── */
/* REPLACE: swap any .img-placeholder div with <img> or set background-image */
.img-placeholder {
  background: var(--img-placeholder);
  display: block;
  cursor: pointer; /* indicates click-to-preview is active in dev */
}

/* Homepage hero */
.hero-wrap {
  position: relative;
}

.hero-img {
  width: 100%;
  height: 100vh;
  background-color: #1c1c1c;
  background-size: cover;
  background-position: center;
  cursor: default;
}

.hero-tagline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0;
  width: 90%;
}

/* Real <img> tags replacing placeholders */
img.project-img {
  object-fit: cover;
}

img.about-img-wide,
img.about-img-second {
  object-fit: cover;
}

.ig-cell img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}

.ig-cell:hover img {
  opacity: 0.8;
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   WORK PAGE
============================================================ */

.work-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}

.work-intro {
  padding-top: 140px;
  margin-bottom: 80px;
}

.work-intro p {
  font-size: 17px;
  line-height: 1.9;
  color: var(--text);
}

.project {
  margin-bottom: 80px;
}

.project > a {
  display: block;
  text-decoration: none;
}

.project-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--img-placeholder);
  display: block;
  transition: opacity 0.3s ease;
}

.project > a:hover .project-img {
  opacity: 0.82;
}

.project h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 20px;
  margin: 16px 0 8px;
  text-transform: lowercase;
  color: var(--text);
}

.project h2 a {
  color: inherit;
  text-decoration: none;
}

.project h2 a:hover {
  text-decoration: underline;
}

.project > p {
  font-size: 16px;
  color: #555555;
  line-height: 1.8;
  margin: 0;
}

.project-coming-soon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--text);
  overflow: hidden;
}

.coming-soon-logo {
  width: 130px;
  opacity: 0.8;
}

.coming-soon-ribbon {
  position: absolute;
  top: 28px;
  right: -36px;
  width: 160px;
  background: var(--text);
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 7px 0;
  transform: rotate(45deg);
}


/* ============================================================
   ABOUT PAGE
============================================================ */

.about-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 120px 40px 0;
}

.about-logo-block {
  text-align: center;
  margin-bottom: 48px;
}

.about-logo {
  width: 200px;
  height: 60px;
  background: #cccccc;
  margin: 0 auto 28px;
}

.about-logo-img {
  width: 200px;
  display: block;
  margin: 0 auto 28px;
}

.definition {
  font-size: 15px;
  color: var(--text);
  margin: 6px 0;
}

.see-also {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
  letter-spacing: 0.05em;
}

.about-img-wide {
  width: 100%;
  aspect-ratio: 3 / 2;
  background: var(--img-placeholder);
  margin: 60px 0;
}

.about-body p {
  font-size: 17px;
  line-height: 1.95;
  color: var(--text);
  margin-bottom: 22px;
}

.about-lead strong {
  font-weight: 600;
}

.process-list {
  list-style: none;
  padding-left: 0;
  padding: 0;
  margin: 32px 0 0;
}

.process-list li {
  list-style: none;
  display: flex;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.process-list li:last-child {
  border-bottom: 1px solid var(--border);
}

.process-num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding-top: 2px;
  flex-shrink: 0;
  width: 24px;
}

.process-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.process-list p {
  font-size: 16px;
  line-height: 1.85;
  color: #555555;
  margin: 0;
}

.about-img-second {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--img-placeholder);
  margin: 60px 0;
}

/* ── Team ── */
.team-single {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin: 48px 0 60px;
}

.team-photo {
  width: 40%;
  flex-shrink: 0;
  display: block;
  object-fit: cover;
  object-position: center 35%;
}

.team-bio {
  padding-top: 8px;
}

.team-bio {
  padding: 28px 0 0;
}

.team-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
  color: var(--text);
}

.team-bio p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  margin: 0;
}

.team-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
}

.team-prev,
.team-next {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text);
  padding: 4px 8px;
  line-height: 1;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.team-prev:hover,
.team-next:hover {
  opacity: 1;
}

.team-dots {
  display: flex;
  gap: 10px;
}

.team-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text);
  border: none;
  cursor: pointer;
  padding: 0;
  opacity: 0.2;
  transition: opacity 0.2s ease;
}

.team-dot.active {
  opacity: 1;
}

.about-quote {
  text-align: center;
  font-style: italic;
  font-size: 20px;
  color: var(--text);
  margin: 60px 0;
  padding: 0;
  border: none;
}

/* ── Instagram Grid (shared between about + office) ── */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin: 60px 0;
  max-width: 480px;
  margin: 60px auto;
}

.ig-cell {
  display: block;
}

.ig-cell .img-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--img-placeholder);
  display: block;
  transition: opacity 0.2s ease;
}

.ig-cell:hover .img-placeholder {
  opacity: 0.8;
}


/* ============================================================
   OFFICE PAGE
============================================================ */

.office-layout {
  display: grid;
  grid-template-columns: 45fr 55fr;
  min-height: 100vh;
}

.office-left {
  padding: 160px 60px 80px 48px;
}

.office-right {
  position: relative;
}

.office-photo {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  object-fit: cover;
  object-position: center;
  background: #c8c8c8;
  display: block;
}

.office-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 300;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--text);
}

.office-sub {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 48px;
}

.office-contact p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 24px;
}

.office-contact strong {
  font-size: 13px;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
}

.office-contact a {
  color: var(--text);
  text-decoration: none;
}

.office-contact a:hover {
  text-decoration: underline;
}

.office-instagram {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 40px;
}


/* ============================================================
   SHARED FOOTER
   (work, about, office pages only — not homepage)
============================================================ */

.site-footer {
  padding: 50px 40px;
  max-width: 900px;
  margin: 0 auto;
}

.footer-rule {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 24px;
}

.site-footer p {
  font-size: 14px;
  color: var(--muted);
  font-family: 'Cormorant Garamond', serif;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-preview {
  margin-top: 10px;
  font-style: italic;
}


/* ============================================================
   MOBILE — max-width: 768px
============================================================ */

@media (max-width: 768px) {

  .nav {
    padding: 0 24px;
  }

  .nav-links {
    gap: 24px;
  }

  .nav-links a {
    font-size: 12px;
  }

  /* Work */
  .work-content {
    padding: 0 20px;
  }

  .work-intro {
    padding-top: 100px;
  }

  /* About */
  .about-content {
    padding: 100px 20px 0;
  }

  .about-quote {
    font-size: 17px;
  }

  /* Office */
  .office-layout {
    grid-template-columns: 1fr;
  }

  .office-left {
    padding: 120px 24px 60px;
    order: 1;
  }

  .office-right {
    order: 2;
  }

  .office-photo {
    height: 60vw;
    min-height: unset;
  }

  .office-heading {
    font-size: 30px;
  }

  .office-instagram {
    padding: 0 20px;
    margin: 60px auto;
  }

  .hero-tagline {
    font-size: 22px;
    letter-spacing: 0.12em;
  }

  /* Footer */
  .site-footer {
    padding: 40px 20px;
  }
}
