/* ————— Faraday Smith LLC ————— */

:root {
  --ink: #12100d;
  --ink-2: #1a1713;
  --ivory: #f2ede3;
  --ivory-dim: #b3aa99;
  --brass: #c9a961;
  --hairline: rgba(242, 237, 227, 0.14);
  --hairline-dark: rgba(18, 16, 13, 0.16);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ————— 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 clamp(1.5rem, 5vw, 4rem);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

nav.scrolled {
  background: rgba(18, 16, 13, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  backdrop-filter: saturate(140%) blur(18px);
  box-shadow: 0 1px 0 var(--hairline);
}

.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--ivory);
  text-decoration: none;
  white-space: nowrap;
}

.wordmark span {
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--brass);
  vertical-align: 0.18em;
  margin-left: 0.15em;
}

.nav-links { display: flex; gap: clamp(1.2rem, 3vw, 2.4rem); }

.nav-links a {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-links a:hover { color: var(--ivory); }

/* ————— hero ————— */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(18,16,13,0.96) 0%, rgba(18,16,13,0.45) 40%, rgba(18,16,13,0.25) 70%, rgba(18,16,13,0.55) 100%);
}

.hero-inner {
  position: relative;
  padding: 0 clamp(1.5rem, 6vw, 6rem) clamp(5rem, 12vh, 9rem);
  max-width: 60rem;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.6rem;
}

.eyebrow.dark { color: #9a7f3f; }

h1 {
  font-size: clamp(2.9rem, 8.5vw, 6.4rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 1.8rem;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  font-style: italic;
  color: rgba(242, 237, 227, 0.82);
  max-width: 34em;
  margin-bottom: 2.6rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory);
  text-decoration: none;
  padding: 0.95em 1.9em;
  border: 1px solid rgba(242, 237, 227, 0.35);
  border-radius: 100px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.hero-cta:hover { border-color: var(--brass); background: rgba(201, 169, 97, 0.08); }
.hero-cta .arrow { color: var(--brass); }

.hero-credit {
  position: absolute;
  bottom: 1.2rem;
  right: clamp(1.5rem, 4vw, 3rem);
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: rgba(242, 237, 227, 0.4);
}

/* ————— mission ————— */

section { padding: clamp(5rem, 12vh, 9.5rem) clamp(1.5rem, 6vw, 6rem); }

.mission { max-width: 78rem; margin: 0 auto; }

.statement {
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.01em;
  max-width: 24em;
  margin-bottom: clamp(3.5rem, 8vh, 6rem);
}

.statement em { font-style: italic; color: var(--brass); }

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  border-top: 1px solid var(--hairline);
  padding-top: clamp(2.5rem, 5vh, 4rem);
}

.pillar-num {
  display: block;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--brass);
  margin-bottom: 1.1rem;
}

.pillar h3 {
  font-size: 1.35rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
}

.pillar p {
  font-size: 0.98rem;
  color: var(--ivory-dim);
  max-width: 30em;
}

/* ————— collection ————— */

.collection { max-width: 82rem; margin: 0 auto; }

.section-title {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.4rem;
}

.section-lede {
  font-size: 1.12rem;
  font-style: italic;
  color: var(--ivory-dim);
  max-width: 36em;
  margin-bottom: clamp(3rem, 7vh, 5.5rem);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr));
  gap: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.5rem);
}

.gallery figure { margin: 0; }

.frame {
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 4 / 3;
  background: var(--ink-2);
  box-shadow: 0 0 0 1px var(--hairline);
}

.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery figure:hover .frame img { transform: scale(1.035); }

.gallery figcaption { padding-top: 1.4rem; }

.year {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
}

.gallery h3 {
  font-size: 1.4rem;
  font-weight: 400;
  margin: 0.5rem 0 0.55rem;
}

.gallery figcaption p {
  font-size: 0.95rem;
  color: var(--ivory-dim);
  max-width: 34em;
}

/* ————— naturalism (ivory flip) ————— */

.naturalism {
  background: var(--ivory);
  color: var(--ink);
}

.nat-inner {
  max-width: 78rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(0, 1.35fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}

.nat-text .section-title { color: var(--ink); }

.nat-text p:not(.eyebrow) {
  font-size: 1.06rem;
  color: rgba(18, 16, 13, 0.72);
  max-width: 32em;
  margin-bottom: 1.2rem;
}

.nat-plates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 2.5vw, 2rem);
}

.plate img {
  border-radius: 4px;
  box-shadow: 0 22px 50px -18px rgba(18, 16, 13, 0.45), 0 0 0 1px var(--hairline-dark);
}

.plate:last-child { transform: translateY(clamp(1.5rem, 4vw, 3rem)); }

.plate figcaption {
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(18, 16, 13, 0.5);
  padding-top: 0.9rem;
}

/* ————— quote ————— */

.quote { padding-top: clamp(6rem, 14vh, 11rem); padding-bottom: clamp(6rem, 14vh, 11rem); }

.quote-inner {
  max-width: 62rem;
  margin: 0 auto;
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.quote-portrait {
  width: clamp(7rem, 14vw, 11rem);
  border-radius: 4px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--hairline);
  filter: saturate(0.85);
}

blockquote p {
  font-size: clamp(1.6rem, 3.6vw, 2.7rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.25;
  margin-bottom: 1.6rem;
}

blockquote cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
}

/* ————— footer ————— */

footer {
  border-top: 1px solid var(--hairline);
  padding: clamp(3.5rem, 8vh, 6rem) clamp(1.5rem, 6vw, 6rem) 2.5rem;
  max-width: 82rem;
  margin: 0 auto;
}

.foot-mission {
  font-style: italic;
  color: var(--ivory-dim);
  margin: 1.2rem 0 1.6rem;
  max-width: 30em;
}

.foot-mail {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--brass);
  text-decoration: none;
  border-bottom: 1px solid rgba(201, 169, 97, 0.35);
  padding-bottom: 2px;
}

.foot-mail:hover { border-bottom-color: var(--brass); }

.foot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.5rem;
  justify-content: space-between;
  margin-top: 3.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--hairline);
}

.foot-meta p {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  color: rgba(242, 237, 227, 0.38);
}

/* ————— reveal on scroll ————— */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.d1 { transition-delay: 0.12s; }
.reveal.d2 { transition-delay: 0.24s; }
.reveal.d3 { transition-delay: 0.36s; }

.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .frame img { transition: none; }
}

/* ————— responsive ————— */

@media (max-width: 860px) {
  .nat-inner { grid-template-columns: 1fr; }
  .quote-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .nav-links a:not(:last-child) { display: none; }
  .plate:last-child { transform: translateY(1rem); }
}
