/* Studio Gulmoh, site styles */
:root {
  --ground: #FFFFFF;
  --ground-2: #F7F6F3;
  --ink: #111111;
  --muted: #5C5C5C;
  --line: #E4E2DE;
  --slot: #ECEAE6;
  --slot-text: #7A7772;
  --brand: #E04018;
  --green: #183830;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(64px, 9vw, 150px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--brand); }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, blockquote { margin: 0; }

.wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }

/* Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.brand { display: block; }
.brand img { height: 44px; width: auto; }
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 400;
}
.nav a { padding: 12px 0; color: var(--ink); border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav a[aria-current="page"] { border-bottom-color: var(--brand); }

/* Type */
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}
.eyebrow-rule { display: flex; align-items: center; gap: 16px; }
.rule { display: inline-block; width: 32px; height: 1px; background: var(--brand); }
.display {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 1.08;
  letter-spacing: 0.005em;
}
.display-sm {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 3.2vw, 50px);
  line-height: 1.15;
}
.lead {
  max-width: 600px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--muted);
}
.body { font-size: 15.5px; font-weight: 300; line-height: 1.85; color: var(--muted); }
.body p + p { margin-top: 18px; }
.center { text-align: center; }
.center .lead, .center .body { margin-left: auto; margin-right: auto; }
.center .eyebrow-rule { justify-content: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 34px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 400;
  border: 1px solid var(--ink);
  cursor: pointer;
  font-family: var(--sans);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: #fff; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; padding-top: 10px; }
.center .btn-row { justify-content: center; }
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
}

/* Sections */
.hero {
  padding-top: clamp(40px, 6vw, 96px);
  padding-bottom: clamp(48px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 72px);
}
.hero-text { display: flex; flex-direction: column; gap: 26px; max-width: 900px; }
.center .hero-text, .hero-text.center { margin-left: auto; margin-right: auto; align-items: center; text-align: center; }

.bleed { width: 100%; }
.bleed .slot { min-height: 60vh; max-height: 86vh; }
.hero-caption {
  padding-top: clamp(40px, 6vw, 96px);
  padding-bottom: clamp(48px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
}

.section { padding-top: var(--section); padding-bottom: var(--section); }
.band { width: 100%; }
.band-line { border-top: 1px solid var(--line); }
.band-tint { background: var(--ground-2); }
.band-lines { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 22px; }
.stack-lg { display: flex; flex-direction: column; gap: clamp(36px, 4vw, 64px); }

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(32px, 4vw, 64px);
}
.pillar { display: flex; flex-direction: column; gap: 14px; padding-top: 22px; border-top: 1px solid var(--ink); }
.pillar-num { font-size: 11px; letter-spacing: 0.3em; color: var(--muted); }
.pillar h3 { font-family: var(--serif); font-weight: 300; font-size: 30px; line-height: 1.15; }
.pillar p { font-size: 15px; font-weight: 300; line-height: 1.8; color: var(--muted); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.section-head .stack { gap: 14px; }

/* Image slots (placeholders until real images are added) */
.slot {
  width: 100%;
  background: var(--slot);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--slot-text);
  overflow: hidden;
  position: relative;
}
.slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.r-16-9 { aspect-ratio: 16 / 9; }
.r-4-5 { aspect-ratio: 4 / 5; }
.r-21-9 { aspect-ratio: 21 / 9; }
.r-3-2 { aspect-ratio: 3 / 2; }
.r-1-1 { aspect-ratio: 1 / 1; }
figure.slot { padding: 0; }
figure.slot figcaption { padding: 24px; position: relative; }

/* Project cards */
.grid-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(28px, 3vw, 48px) clamp(24px, 3vw, 40px);
}
.card { display: flex; flex-direction: column; gap: 16px; color: var(--ink); }
.card .slot { padding: 20px; }
.card-title { font-family: var(--serif); font-size: 26px; font-weight: 300; line-height: 1.2; }
.card-meta { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.card-body { display: flex; flex-direction: column; gap: 6px; }

/* Private projects notice */
.private-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 26px;
  padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 80px);
  border: 1px solid var(--line);
  max-width: 900px;
  margin: 0 auto;
}
.private-block .body { max-width: 560px; }

/* Quote */
.quote-band { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.quote {
  max-width: 820px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.35;
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--ground); color: var(--ink); }
.site-footer .wrap {
  padding-top: clamp(56px, 7vw, 110px);
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 88px);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.footer-logo img { height: 56px; width: auto; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 32px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted);
  padding-top: 6px;
}
.footer-cols > div { display: flex; flex-direction: column; gap: 6px; }
.footer-label { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--ink); font-weight: 400; }
.footer-cols a { color: var(--muted); }
.footer-cols a:hover { color: var(--brand); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Projects (private area) */
.private-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.private-bar form { margin: 0; }
.link-btn {
  background: none;
  border: none;
  padding: 12px 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--ink);
  cursor: pointer;
  border-bottom: 1px solid var(--ink);
}
.link-btn:hover { color: var(--brand); border-bottom-color: var(--brand); }
.project { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 40px); }
.project + .project { padding-top: var(--section); border-top: 1px solid var(--line); }
.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.project-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}
.project-facts div { display: flex; flex-direction: column; gap: 4px; }
.project-facts .footer-label { color: var(--ink); }

/* Gate page */
.gate { min-height: 100vh; display: flex; flex-direction: column; }
.gate-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: var(--section) var(--gutter); }
.gate-card { width: 100%; max-width: 440px; display: flex; flex-direction: column; gap: 26px; align-items: center; text-align: center; }
.gate-card form { width: 100%; }
.field { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.field label { font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.field input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  border-radius: 0;
}
.field input:focus { outline: 2px solid var(--brand); outline-offset: 2px; }
.error { color: var(--brand); font-size: 14px; }

/* About page */
.timeline { display: flex; flex-direction: column; }
.timeline-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.timeline-row:last-child { border-bottom: 1px solid var(--line); }
.timeline-row .num { font-size: 11px; letter-spacing: 0.3em; color: var(--muted); padding-top: 6px; }
.timeline-row strong { font-weight: 400; color: var(--ink); }
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(24px, 3vw, 40px); }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } a, .btn { transition: none; } }

@media (max-width: 600px) {
  .site-header { justify-content: center; text-align: center; }
  .brand img { height: 38px; }
  .nav { gap: 18px 22px; justify-content: center; font-size: 10px; letter-spacing: 0.22em; }
  .nav a { padding: 8px 0; }
}

/* Slideshow */
.slideshow { position: relative; overflow: hidden; }
.slides { display: flex; transition: transform .5s ease; will-change: transform; }
.slide { flex: 0 0 100%; min-width: 0; }
.slide-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.85); color: var(--ink); border: 1px solid var(--line); cursor: pointer; padding: 0;
  transition: background .2s ease, color .2s ease;
}
.slide-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.slide-btn.prev { left: 16px; } .slide-btn.next { right: 16px; }
.slide-count {
  position: absolute; right: 20px; bottom: 16px; padding: 6px 12px;
  background: rgba(255,255,255,.85); font-size: 10px; letter-spacing: 0.26em; color: var(--ink);
}
@media (prefers-reduced-motion: reduce) { .slides { transition: none; } }
