/* Hanifah Brown — personal site
   Near-black, ivory, one champagne accent.
   Fashion lookbook. No framework. Desktop-first. */

:root {
  --night: #0b0b0a;
  --night-2: #111110;
  --night-3: #181714;
  --ivory: #f3eee4;
  --ivory-soft: #c8c0b2;
  --muted: #8a8376;
  --rule: rgba(243, 238, 228, 0.14);
  --rule-strong: rgba(243, 238, 228, 0.28);
  --gold: #c9b48a;
  --gold-deep: #a89468;
  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 4.5rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ivory);
  background: var(--night);
  font-family: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  display: block;
  height: 1px;
  background: var(--gold);
  opacity: 0.55;
}

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

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: var(--pad);
  top: 0.5rem;
  z-index: 20;
  background: var(--night);
  color: var(--ivory);
  padding: 0.4rem 0.7rem;
}

/* ——— type ——— */
.display,
h1, h2 {
  font-family: "Cormorant Garamond", "Times New Roman", Times, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.92;
  margin: 0;
}

.kicker {
  font-family: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ——— frame ——— */
.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

/* ——— nav ——— */
.nav {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.6rem 0 1.2rem;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  font-family: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-decoration: none;
  color: var(--ivory);
  text-transform: uppercase;
}

.wordmark span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: clamp(1.1rem, 2.6vw, 2.2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ivory-soft);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

/* ——— hero ——— */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: clamp(2.5rem, 8vw, 7rem);
  align-items: end;
  padding: clamp(4.5rem, 12vh, 8.5rem) 0 clamp(5rem, 12vh, 8rem);
  min-height: calc(100svh - 5.5rem);
}

.hero-copy .kicker { margin-bottom: 1.85rem; }

.hero h1 {
  font-size: clamp(4.6rem, 13.5vw, 9.2rem);
  font-weight: 300;
  line-height: 0.84;
  letter-spacing: -0.035em;
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--ivory);
}

.lede {
  max-width: 32rem;
  margin: 2.4rem 0 0;
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.5;
  font-weight: 300;
  color: var(--ivory-soft);
}

.lede p { margin: 0 0 0.45rem; }

.hero-meta {
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portrait {
  margin: 0;
  justify-self: end;
  width: 100%;
}

.portrait-frame {
  aspect-ratio: 3 / 4;
  background: var(--night-2);
  border: 1px solid var(--gold);
  overflow: hidden;
  position: relative;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(201, 180, 138, 0.28);
  pointer-events: none;
}

.portrait figcaption {
  margin-top: 0.85rem;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ——— sections ——— */
.section, .approach, .contact {
  scroll-margin-top: 1.25rem;
}

.section {
  padding: clamp(5rem, 11vw, 8.5rem) 0;
}

.section + .section { border-top: 1px solid var(--rule); }

.section-head {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3.2rem;
}

.section h2 {
  font-size: clamp(2.6rem, 5.4vw, 4rem);
  font-weight: 300;
  max-width: 14ch;
}

.prose {
  max-width: 38rem;
  font-size: 1.05rem;
  color: var(--ivory-soft);
  font-weight: 300;
}

.prose p { margin: 0 0 1.15rem; }
.prose p:last-child { margin-bottom: 0; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.note {
  border-left: 1px solid var(--gold);
  padding: 0.1rem 0 0.1rem 1.35rem;
  color: var(--ivory);
  font-size: 1.02rem;
  font-weight: 300;
  letter-spacing: 0.01em;
}

.topics {
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

.topics li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  font-weight: 300;
  color: var(--ivory);
}

/* ——— path ——— */
.path-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem 3rem;
}

.path-card .year {
  font-family: "Cormorant Garamond", "Times New Roman", Times, serif;
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 300;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin: 0 0 0.85rem;
}

.path-card h3 {
  font-family: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.7rem;
  color: var(--ivory);
}

.path-card p {
  margin: 0;
  color: var(--ivory-soft);
  font-size: 0.98rem;
  font-weight: 300;
}

.horizon {
  height: 1px;
  margin: 0 0 3rem;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
  opacity: 0.55;
}

/* ——— lookbook plates ——— */
.plate {
  margin: 0;
}

.plate img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.plate-bleed {
  width: 100%;
  padding-bottom: 1.4rem;
  border-top: 1px solid rgba(201, 180, 138, 0.35);
}

.plate-bleed img {
  height: min(64vh, 640px);
  object-position: center 55%;
}

.plate-wide {
  margin-top: 4.2rem;
  border-top: 1px solid rgba(201, 180, 138, 0.35);
}

.plate-wide img {
  height: min(52vh, 520px);
  object-position: center 45%;
}

.plate-label {
  margin: 0;
  padding: 0.85rem 0 0;
  font-family: "Cormorant Garamond", "Times New Roman", Times, serif;
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--gold);
}

.plate-wide .plate-label {
  padding-left: 0;
  padding-right: 0;
}

.path-where {
  margin: 0 0 2.2rem;
  font-family: "Cormorant Garamond", "Times New Roman", Times, serif;
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--gold);
}

/* ——— approach ——— */
.approach {
  background: var(--night-2);
  color: var(--ivory);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: clamp(5.5rem, 12vw, 9rem) 0;
}

.approach .kicker { color: var(--gold); }

.approach h2 { color: var(--ivory); }

.pull {
  font-family: "Cormorant Garamond", "Times New Roman", Times, serif;
  font-size: clamp(2.4rem, 5.6vw, 4.2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.06;
  letter-spacing: -0.025em;
  max-width: 16ch;
  margin: 0.9rem 0 2.6rem;
  color: var(--ivory);
}

.pull em {
  font-style: italic;
  color: var(--gold);
}

.approach .prose { color: var(--ivory-soft); }
.approach .prose p + p { margin-top: 1.15rem; }

/* ——— contact ——— */
.contact {
  padding: clamp(5.5rem, 12vw, 9rem) 0 3.6rem;
}

.contact h2 {
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 300;
  margin: 0.6rem 0 0.9rem;
}

.contact .invite {
  font-size: 1.05rem;
  margin: 0 0 2.6rem;
  color: var(--ivory-soft);
  font-weight: 300;
}

.mail {
  font-family: "Cormorant Garamond", "Times New Roman", Times, serif;
  font-size: clamp(2rem, 5.4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 300;
  text-decoration: none;
  color: var(--ivory);
  display: inline-block;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.12em;
}

.mail:hover { color: var(--gold); }

.contact-meta {
  margin-top: 2.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 2.2rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.studio {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--gold);
}

/* ——— footer ——— */
.footer {
  border-top: 1px solid var(--rule);
  padding: 1.6rem 0 2.6rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.25rem 2rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.footer-copy p { margin: 0 0 0.3rem; }
.footer-copy p:last-child { margin-bottom: 0; }

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
}

.socials a {
  color: var(--ivory-soft);
  text-decoration: none;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.socials a:hover { color: var(--gold); }

/* ——— mobile ——— */
@media (max-width: 820px) {
  html { font-size: 17px; }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 3rem;
  }

  .hero h1 { font-size: clamp(3.8rem, 18vw, 5.8rem); }

  .portrait {
    justify-self: start;
    max-width: 200px;
    order: -1;
  }

  .section-head,
  .split,
  .path-grid { grid-template-columns: 1fr; }

  .section-head { gap: 0.7rem; margin-bottom: 2rem; }

  .nav-links { display: none; }

  .plate-bleed img { height: min(42vh, 380px); }
  .plate-wide img { height: min(38vh, 320px); }
  .path-where { margin-top: 0; }

  .footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .nav, .skip { display: none; }
  body { background: #fff; color: #111; }
  .approach { background: #fff; color: #111; }
  .approach .prose, .approach h2 { color: #111; }
}
