/* ============================================================
   2233 Development — brand palette & type per 2233 Brand Identity
   Gold #b8965a · Ink #0d0d0d · Ivory tert. #e8e2d9 · Grays
   Headlines: Cormorant Garamond · Body/labels: DM Mono
   ============================================================ */

:root {
  --gold: #b8965a;
  --gold-soft: #cbb086;
  --ink: #0d0d0d;
  --ivory: #f2efe9;
  --cream: #e8e2d9;
  --gray-dark: #5b5b5b;
  --gray-mid: #a0a0a0;
  --gray-light: #dbdbdb;
  --white: #ffffff;

  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --mono: "DM Mono", "Courier New", monospace;

  --pad-x: clamp(1.25rem, 6vw, 6rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--mono);
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

/* ---------- reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- eyebrow labels ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad-x);
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
}
.nav--solid {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(8px);
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  box-shadow: 0 1px 0 rgba(184, 150, 90, 0.25);
}
.nav__logo img { height: 44px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}
.nav__links a {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ivory);
  transition: color 0.3s ease;
}
.nav__links a:hover { color: var(--gold); }
.nav__cta {
  border: 1px solid var(--gold);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  color: var(--gold) !important;
  transition: background 0.3s ease, color 0.3s ease !important;
}
.nav__cta:hover { background: var(--gold); color: var(--ink) !important; }
@media (max-width: 700px) {
  .nav__links a:not(.nav__cta) { display: none; }
  .nav__logo img { height: 36px; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--ink);
  color: var(--ivory);
  overflow: hidden;
  padding: 8rem var(--pad-x) 6rem;
}
.hero__watermark {
  position: absolute;
  top: 50%;
  right: -3rem;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(16rem, 36vw, 36rem);
  line-height: 1;
  color: transparent;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}
/* echo the logo: gold 22 leading, 33 offset down-right behind it */
.hero__wm22 {
  -webkit-text-stroke: 1px rgba(184, 150, 90, 0.45);
}
.hero__wm33 {
  display: inline-block;
  transform: translateY(0.14em);
  margin-left: -0.04em;
  -webkit-text-stroke: 1px rgba(184, 150, 90, 0.28);
}
.hero__inner { position: relative; max-width: 60rem; }
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 1.4rem 0 2rem;
}
.hero__sub {
  max-width: 34rem;
  font-size: 0.95rem;
  color: var(--gray-mid);
}
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll span {
  display: block;
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- sections ---------- */
.section { padding: clamp(5rem, 12vw, 9rem) var(--pad-x); }
.section--ivory { background: var(--ivory); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: var(--ivory); }
.section__inner { max-width: 72rem; margin: 0 auto; }
.section__inner--center { text-align: center; }
.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  margin: 1.2rem 0 3rem;
}

/* ---------- story ---------- */
.story__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 2.5rem;
  max-width: 62rem;
  font-size: 0.92rem;
  color: var(--gray-dark);
}
.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 2rem;
  margin-top: 4.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--gray-light);
}
.stats__num {
  display: block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  line-height: 1;
  color: var(--ink);
}
.stats__label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-dark);
}

/* ---------- portfolio ---------- */
.project {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.project + .project {
  margin-top: clamp(4rem, 9vw, 7rem);
  padding-top: clamp(4rem, 9vw, 7rem);
  border-top: 1px solid rgba(184, 150, 90, 0.2);
}
.project--flip { grid-template-columns: 1fr 1.15fr; }
.project--flip .project__media { order: 2; }
@media (max-width: 800px) {
  .project, .project--flip { grid-template-columns: 1fr; }
  .project--flip .project__media { order: 0; }
}
.project__media { position: relative; }

/* --- photo treatment: brand-toned duotone, gallery frame, layered postcard --- */
.project__media--collage { padding: 0 2.2rem 2.6rem 0; }
.photo { margin: 0; }
.photo--main {
  position: relative;
  border: 1px solid rgba(184, 150, 90, 0.55);
  padding: 0.6rem;
  background: rgba(184, 150, 90, 0.04);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
.photo--main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.7) contrast(1.06) sepia(0.14) brightness(0.96);
  transition: filter 0.6s ease;
}
.photo--main:hover img { filter: saturate(0.85) contrast(1.04) sepia(0.06) brightness(1); }
.photo--main::after {
  /* warm gold wash so photography sits in the brand palette */
  content: "";
  position: absolute;
  inset: 0.6rem;
  background: linear-gradient(160deg, rgba(184, 150, 90, 0.16), rgba(13, 13, 13, 0.12) 70%);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.photo--postcard {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 28%;
  transform: rotate(-4deg);
  border: 5px solid #f6f2ea;
  box-shadow: 0 18px 35px -12px rgba(0, 0, 0, 0.85);
  transition: transform 0.5s ease;
}
.photo--postcard:hover { transform: rotate(-1.5deg) translateY(-4px); }
.photo--postcard img { width: 100%; display: block; }
.photo--portrait img { aspect-ratio: 3 / 4; }
.photo--portrait { box-shadow: 0 24px 48px -28px rgba(13, 13, 13, 0.45); }
/* fallback: if a photo file is missing, show the placeholder instead */
.project__media--stack .project__placeholder { display: none; }
.project__media--stack.media-missing { padding: 0; }
.photo--main img { object-position: center 42%; }
.project__media--stack.media-missing .photo { display: none; }
.project__media--stack.media-missing .project__placeholder { display: flex; }
.project__placeholder {
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(184, 150, 90, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(184,150,90,0.08) 0%, rgba(184,150,90,0.02) 100%);
}
.project__placeholder span {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  color: var(--gold);
}
.project__placeholder em {
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-mid);
}
.project__status {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.project__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.05;
}
.project__location {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin: 0.8rem 0 1.6rem;
}
.project__desc {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin-bottom: 1.8rem;
}
.project__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0;
}
.project__meta li {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding-right: 1rem;
  margin-right: 1rem;
  border-right: 1px solid rgba(184, 150, 90, 0.35);
}
.project__meta li:last-child { border-right: none; padding-right: 0; margin-right: 0; }

.portfolio__more {
  margin-top: clamp(4rem, 9vw, 7rem);
  padding-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid rgba(184, 150, 90, 0.2);
  text-align: center;
}
.portfolio__more-line {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--ivory);
}
.portfolio__more-line::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 1px;
  margin: 1.4rem auto 0;
  background: var(--gold);
}
.portfolio__more-sub {
  margin-top: 1.2rem;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

/* ---------- leadership ---------- */
.leader {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) 2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  max-width: 62rem;
}
@media (max-width: 700px) {
  .leader { grid-template-columns: 1fr; }
}
.leader__placeholder {
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(91, 91, 91, 0.3);
  background: linear-gradient(160deg, rgba(13,13,13,0.05), rgba(13,13,13,0.01));
  font-family: var(--serif);
  font-size: 4rem;
  color: var(--gold);
}
.leader__bio p {
  font-size: 0.92rem;
  color: var(--gray-dark);
  margin-bottom: 1.4rem;
}
.link-arrow {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.35rem;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}
.link-arrow:hover { color: var(--gold); letter-spacing: 0.28em; }

/* ---------- contact ---------- */
.section--contact { padding-top: clamp(6rem, 14vw, 11rem); padding-bottom: clamp(6rem, 14vw, 11rem); }
.contact__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 6rem);
  line-height: 1.05;
  margin: 1.2rem 0 3rem;
}
.contact__title em { font-style: italic; color: var(--gold); }
.contact__email {
  font-family: var(--mono);
  font-size: clamp(0.95rem, 2.2vw, 1.35rem);
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--ivory);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.5rem;
  transition: color 0.3s ease;
}
.contact__email:hover { color: var(--gold); }

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: var(--gray-mid);
  text-align: center;
  padding: 3rem var(--pad-x) 3.5rem;
  border-top: 1px solid rgba(184, 150, 90, 0.2);
}
.footer__logo {
  height: 40px;
  width: auto;
  margin: 0 auto 1.2rem;
  opacity: 0.9;
}
.footer p { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; }
