/* Sarah Faulkner Designs — minimalist portfolio */

:root {
  --ink: #1a1a1a;
  --ink-soft: #6b6b6b;
  --paper: #ffffff;
  --hairline: #e5e2dd;
  --display: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { display: block; width: 100%; height: auto; }

/* ---------- Header ---------- */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 2.5rem 4vw;
}

.wordmark {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 2.5rem;
}

.site-nav a {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] { color: var(--ink); }

/* ---------- Title card (top of homepage) ---------- */

.title-card {
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 6vw;
}

.title-card .kicker {
  font-size: 0.64rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.title-card h1 {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(2.4rem, 6.5vw, 4.8rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.title-card .intro {
  margin-top: 2.25rem;
  max-width: 34rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- Homepage project feed ---------- */

.feed-label {
  padding: 0 4vw;
  margin-bottom: 2rem;
}

.feed {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 5rem;
}

.feed-item {
  position: relative;
  display: block;
  height: 84vh;
  min-height: 420px;
  overflow: hidden;
}

.feed-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feed-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.03) 45%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 4vw;
  color: #fff;
}

.feed-overlay h2 {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: -0.01em;
}

.feed-overlay p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Page scaffold (profile, contact) ---------- */

.page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 4vw 6rem;
}

.page-title {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  letter-spacing: -0.01em;
  margin-bottom: 3rem;
}

.section-label {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Profile ---------- */

.profile { max-width: 42rem; }

.profile .lede {
  font-family: var(--display);
  font-weight: 200;
  font-size: 1.45rem;
  line-height: 1.55;
  margin-bottom: 3.5rem;
}

.profile p { margin-bottom: 1.6rem; }

.profile p:not(.lede) { color: var(--ink-soft); }

/* ---------- Contact ---------- */

.contact { max-width: 42rem; }

.contact p { color: var(--ink-soft); margin-bottom: 2.5rem; }

.contact-lines { display: grid; gap: 0.8rem; }

.contact-lines a {
  font-family: var(--display);
  font-weight: 200;
  font-size: 1.35rem;
  transition: color 0.2s ease;
}

.contact-lines a:hover { color: var(--ink-soft); }

/* ---------- Footer ---------- */

.site-footer {
  padding: 3rem 4vw;
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Project page: horizontal scroll ---------- */

.project-page {
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.project-page .site-header { flex: none; }

.strip {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: stretch;
  gap: 2.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5rem 4vw 2.5rem;
  outline: none;
}

.strip img {
  flex: 0 0 auto;
  height: 100%;
  width: auto;
}

.strip-intro {
  flex: 0 0 auto;
  width: min(30rem, 78vw);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.strip-intro .kicker {
  font-size: 0.64rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.strip-intro h1 {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.intro-tagline {
  margin-top: 0.9rem;
  color: var(--ink-soft);
}

.intro-details { margin-top: 2.2rem; }

.intro-details div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--hairline);
}

.intro-details div:last-child { border-bottom: 1px solid var(--hairline); }

.intro-details dt {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  align-self: center;
}

.intro-details dd { font-size: 0.85rem; }

.strip-end {
  flex: 0 0 auto;
  position: relative;
  width: min(32rem, 70vw);
  display: block;
  overflow: hidden;
}

.strip-end img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strip-end .next-label {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.05) 50%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.scroll-hint {
  position: fixed;
  right: 4vw;
  bottom: 2.4rem;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-soft);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.scroll-hint.hidden { opacity: 0; }

/* ---------- Small screens ---------- */

@media (max-width: 720px) {
  .site-header { flex-direction: column; gap: 1.25rem; align-items: flex-start; }
  .site-nav { gap: 1.75rem; }
  .title-card { min-height: 55vh; }
  .feed-item { height: 58vh; min-height: 320px; }
  .site-footer { flex-direction: column; gap: 0.5rem; }
  .strip { gap: 1.25rem; }
  .strip-intro { width: 85vw; }
}
