/* ============================
   Sammy Leverock — Portfolio v4
   Quiet editorial / agency style
   (ref: models.com, skinsmodels.com)
   ============================ */

:root {
  --ink: #111111;
  --paper: #ffffff;
  --panel: #f3f2ef;
  --line: #111111;
  --line-soft: #e2e0da;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1 {
  font-family: var(--serif);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  line-height: 1;
  margin: 0;
}

h2 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.15;
  margin: 0 0 .4em;
}

h3 { font-family: var(--sans); font-weight: 700; letter-spacing: 0; margin: 0 0 .4em; }

p { margin: 0 0 1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .7rem;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 1em;
  display: block;
  opacity: .55;
}

/* ---------- Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--paper);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 40px;
  max-width: 1680px;
  margin: 0 auto;
}

.brand {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 0;
  transition: opacity .15s ease;
  opacity: .65;
}

.nav-links a:hover, .nav-links a.active { opacity: 1; }

.btn {
  display: inline-block;
  background: var(--paper);
  color: var(--ink) !important;
  padding: 13px 28px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 0;
  transition: opacity .15s ease;
  border: 1px solid var(--ink);
}

.btn:hover { opacity: .55; }

.btn-outline { background: transparent; color: var(--ink) !important; border: 1px solid var(--ink); }
.btn-outline:hover { opacity: .55; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- Hero (full-bleed, wordmark on image) ---------- */
.hero { position: relative; height: 118vh; min-height: 700px; overflow: hidden; background: var(--paper); }

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}

.hero-caption { text-align: center; padding: 32px 28px 56px; }
.hero-name-echo {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 12px;
}
.hero-caption .sub {
  display: block;
  margin-top: 0;
  font-size: .72rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  opacity: .7;
}

/* ---------- Page header (non-home) ---------- */
.page-header { padding: 64px 0 56px; text-align: center; }
.page-header h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); letter-spacing: .08em; }
.page-header .tagline { max-width: 600px; margin: 34px auto 0; color: #444; font-size: 1.02rem; font-family: var(--sans); text-transform: none; letter-spacing: 0; line-height: 1.7; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
section.tight { padding: 28px 0; }
section.contact-intro { padding: 20px 0 84px; }
.border-top { /* no divider line — spacing handled by section padding */ }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }

/* ---------- Featured-in strip (quiet, on white) ---------- */
.featured-strip { background: var(--paper); padding: 28px 0 44px; }

.featured-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }

.featured-item {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--ink);
  padding: 0 20px;
}

.featured-item span {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #767267;
  margin-top: 6px;
}

/* ---------- Grid gallery — edge to edge, editorial ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: var(--paper); }
.grid.g3 { grid-template-columns: repeat(3, 1fr); }
.grid.g2 { grid-template-columns: repeat(2, 1fr); }

.grid figure { margin: 0; overflow: hidden; background: var(--panel); aspect-ratio: 4/5; }
.grid figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.grid figure:hover img { transform: scale(1.03); }
.grid figure.wide { grid-column: span 2; aspect-ratio: 8/5; }

/* ---------- Portfolio rhythm — rows of 3 with breathing room, alternating with full-width feature images/video ---------- */
.portfolio-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 14px;
  padding: 0 76px;
}

.portfolio-row figure { margin: 0; overflow: hidden; background: var(--panel); aspect-ratio: 4/5; }
.portfolio-row figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.portfolio-row figure:hover img { transform: scale(1.03); }

.portfolio-feature { margin: 0 0 14px; padding: 0 76px; }
.portfolio-feature figure, .portfolio-feature .video-wrap {
  margin: 0; overflow: hidden; background: var(--panel); aspect-ratio: 16/9;
}
.portfolio-feature img, .portfolio-feature video { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 880px) {
  .portfolio-row { grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 32px; }
  .portfolio-feature { padding: 0 32px; }
  .portfolio-feature figure, .portfolio-feature .video-wrap { aspect-ratio: 4/3; }
}

@media (max-width: 560px) {
  .portfolio-row { grid-template-columns: repeat(3, 1fr); gap: 5px; padding: 0 16px; }
  .portfolio-feature { padding: 0 16px; }
}

.portfolio-row + .portfolio-feature, .portfolio-feature + .portfolio-row { margin-top: 0; }

/* ---------- Press tearsheet block ---------- */
.press-block { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.press-block img { border-radius: 0; }
.press-block h3 { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 1.8rem; text-transform: none; letter-spacing: 0; }
.press-block .credit { font-size: .74rem; color: #767267; margin-top: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }

/* ---------- Service cards ---------- */
.services { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; background: var(--paper); }

.service-card { background: transparent; border: none; padding: 32px 32px 0; display: flex; flex-direction: column; }
.service-card.featured { border: 1px solid var(--ink); padding: 32px 32px 40px; }
.service-card h3 { font-size: 1.5rem; margin-bottom: .5em; }
.service-card.featured h3 { font-size: 1.7rem; }
.service-card p { color: var(--ink); opacity: .7; font-size: .94rem; flex-grow: 1; }
.service-card a.link {
  margin-top: 16px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  display: inline-block;
  width: fit-content;
  color: var(--ink);
}

/* ---------- Case study ---------- */
.case-study { padding: 44px 0; margin-bottom: 0; }
.case-study-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.case-study-head h3 { font-size: 1.4rem; margin: 0; }
.serif-heading { font-family: var(--serif); font-size: 1.9rem; font-weight: 500; letter-spacing: .01em; text-transform: none; }
.case-study-head .tag { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #767267; }

/* ---------- Video grid ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: var(--paper); }
.video-grid.g2 { grid-template-columns: repeat(2, 1fr); }
.video-card { background: var(--panel); }
.video-card video { width: 100%; aspect-ratio: 9/16; object-fit: cover; background: #111; }
.video-card.landscape video { aspect-ratio: 16/9; }
.video-card figcaption { font-size: .72rem; font-weight: 500; letter-spacing: .04em; padding: 10px 2px 0; color: #555; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--panel); color: var(--ink); text-align: center; padding: 84px 0; }
.cta-band h2 { color: var(--ink); }
.cta-band p { color: #555; max-width: 460px; margin: 0 auto 28px; }

/* ---------- Contact / Book me ---------- */
.contact-panel { max-width: 620px; margin: 0 auto; }
.email-cta {
  display: block;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  padding: 24px;
  border: 1px solid var(--ink);
  margin-bottom: 48px;
  transition: background .15s ease, color .15s ease;
}
.email-cta:hover { opacity: .55; }

.email-hint {
  text-align: center;
  font-size: .76rem;
  color: #767267;
  margin: -14px 0 76px;
}

.info-table { margin: 0 0 32px; }
.info-row { display: grid; grid-template-columns: 200px 1fr; gap: 8px 24px; padding: 16px 18px; align-items: baseline; }
.info-row:nth-child(even) { background: var(--panel); }
.info-row dt { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #111; margin: 0; }
.info-row dd { font-size: .92rem; color: #444; margin: 0; }

.note-box { background: var(--panel); padding: 22px 26px; font-size: .9rem; color: #444; margin-top: 8px; }

@media (max-width: 560px) {
  .info-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 16px; }
}

/* ---------- Footer ---------- */
.site-footer { padding: 56px 0 44px; text-align: center; font-size: .78rem; color: #767267; }
.site-footer a { border-bottom: 1px solid currentColor; font-weight: 500; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .nav-links { position: fixed; top: 66px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 22px 32px; gap: 18px; box-shadow: 0 12px 24px rgba(0,0,0,.06); display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .featured-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .grid figure.wide { grid-column: span 2; }
  .press-block { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .video-grid, .video-grid.g2 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid, .video-grid.g2 { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
}
