/* Samar Salman — static rebuild of samarsalman.com */
:root {
  --bg: #191917;
  --bg-header: #141412;
  --ink: #b9bf60;          /* olive text used across the site */
  --ink-soft: #9a9f52;
  --muted: #777777;
  --line: rgba(185, 191, 96, 0.35);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Syne", "Helvetica Neue", Arial, sans-serif;
  --max: 1180px;
  --gutter: clamp(16px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; font-weight: 300; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg-header);
  height: 70px;
}
.site-header .wrap {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { font-size: 27px; letter-spacing: 0.01em; }
.brand:hover { opacity: .8; }

.nav { display: flex; gap: 28px; font-family: var(--sans); font-size: 16px; }
.nav-item { position: relative; }
.nav-item > button {
  all: unset; cursor: pointer; padding: 8px 0; display: inline-flex; align-items: center; gap: 6px;
}
.nav-item > button::after { content: ""; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-3px); }
.dropdown {
  position: absolute; right: 0; top: 100%;
  min-width: 230px; padding: 10px 0; margin: 0; list-style: none;
  background: var(--bg-header); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown,
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 18px; font-size: 15px; }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: rgba(185,191,96,.1); }

/* ---------- Hero ---------- */
.hero { min-height: calc(100vh - 70px); max-height: 900px; display: flex; align-items: center; }
.hero h1 {
  font-size: clamp(54px, 10vw, 142px);
  line-height: .9;
  letter-spacing: -0.01em;
}
.hero em { font-style: italic; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-title { font-size: clamp(30px, 3.2vw, 39px); line-height: 1; }
.section-sub { font-size: 20px; line-height: 1.2; margin-top: 8px; max-width: 560px; }
.section-head { margin-bottom: 50px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 142px; height: 40px; padding: 0 20px;
  font-family: var(--sans); font-size: 14px; letter-spacing: .04em;
  border: 1px solid var(--ink); color: var(--ink);
  transition: background .2s, color .2s;
}
.btn:hover { background: var(--ink); color: var(--bg); }

/* Dawn 3-up */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.grid-3 img { width: 100%; aspect-ratio: 376 / 647; object-fit: cover; }
.align-end { display: flex; justify-content: flex-end; margin-top: 24px; }

/* Newsroom */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 27px; align-items: start; }
.news .col { display: grid; gap: 49px; }
.news a img { width: 100%; transition: opacity .25s; }
.news a:hover img { opacity: .82; }
.news .col-3 { gap: 36px; }
.collab { font-size: clamp(40px, 5vw, 80px); line-height: 1; }

/* AAJ BAZAR MEIN */
.pair { display: grid; grid-template-columns: 610fr 521fr; gap: 44px; align-items: end; margin-top: 60px; }
.pair img { width: 100%; aspect-ratio: auto; object-fit: cover; }

/* Visual essay band */
.band {
  position: relative; min-height: 684px;
  display: grid; place-items: center; text-align: center;
  background: url("../images/home-visual-essay-bg.jpg") center / cover no-repeat;
  color: #000;
  padding: 80px var(--gutter);
}
.band h3 { font-size: clamp(32px, 3.6vw, 43px); line-height: .9; }
.band p { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; margin-top: 18px; }
.band .watch { display: inline-block; margin-top: 18px; font-family: var(--sans); font-size: 25px; border-bottom: 1px solid transparent; }
.band .watch:hover { border-bottom-color: currentColor; }

/* Blue world teaser */
.blue { display: grid; grid-template-columns: 600fr 426fr; gap: 42px; align-items: start; }
.blue .left { padding-top: 0; }
.blue .left img { margin-top: 90px; }
.blue .right .btn { margin-top: 28px; }

/* ---------- Project pages ---------- */
.page-head { padding: 90px 0 40px; }
.page-head h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1; }
.page-head p.lead { font-size: clamp(20px, 2vw, 24px); line-height: 1.45; max-width: 760px; margin-top: 28px; }

.gallery-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; padding-bottom: 80px; }
.gallery-2 img { width: 100%; }
.gallery-2 .wide { grid-column: 1 / -1; max-width: 732px; justify-self: center; }

.essay { display: grid; grid-template-columns: 442px 1fr; gap: 64px; align-items: start; padding: 40px 0 100px; }
.essay h1 { font-size: clamp(30px, 3vw, 40px); line-height: 1.05; margin-bottom: 28px; }
.essay p { font-size: 21px; line-height: 1.5; }
.essay p + p { margin-top: 1.2em; }

.stack { display: grid; gap: 40px; padding-bottom: 100px; }
.stack img { width: 100%; max-width: 967px; margin-inline: auto; }

/* ---------- Footer ---------- */
.site-footer { padding: 80px 0 60px; border-top: 1px solid rgba(185,191,96,.12); }
.site-footer .label { font-size: 30px; line-height: 1.4; }
.site-footer .mail { font-size: 25px; color: var(--muted); line-height: 1.4; }
.site-footer .mail:hover { color: var(--ink); }
.social { display: flex; gap: 10px; list-style: none; padding: 0; margin: 22px 0 0; }
.social img { width: 39px; height: 39px; transition: opacity .2s; }
.social a:hover img { opacity: .7; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3, .news { grid-template-columns: 1fr 1fr; }
  .news .col-3 { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .news .col-3 .collab { grid-column: 1 / -1; }
  .pair, .blue, .essay { grid-template-columns: 1fr; }
  .blue .left img { margin-top: 30px; }
  .gallery-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid-3, .news, .news .col-3 { grid-template-columns: 1fr; }
  .brand { font-size: 22px; }
  .nav { gap: 18px; font-size: 15px; }
  .section { padding: 56px 0; }
}

/* ---------- Video ---------- */
video { display: block; width: 100%; height: auto; background: #000; }
.pair video:first-child { aspect-ratio: 1140 / 732; object-fit: cover; }
.pair video:last-child { aspect-ratio: 1280 / 958; object-fit: cover; }
.essay-video { aspect-ratio: 9 / 16; max-height: 85vh; width: auto; max-width: 100%; }
