:root {
  --paper: #f3efe7;
  --paper-deep: #e9e3d8;
  --ink: #161616;
  --ink-soft: #4a4540;
  --ink-mute: #7a736c;
  --line: #d9d2c5;
  --y: #D9A52B;
  --o: #E0672A;
  --r: #B9402B;
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 0; }
p { margin: 0; }

/* Brand stripes */
.stripes { display: flex; height: 6px; }
.stripes i { flex: 1; }
.stripes i:nth-child(1) { background: var(--y); }
.stripes i:nth-child(2) { background: var(--o); }
.stripes i:nth-child(3) { background: var(--r); }
.mark { display: flex; width: 48px; height: 4px; margin-bottom: 18px; }
.mark i { flex: 1; }
.mark i:nth-child(1) { background: var(--y); }
.mark i:nth-child(2) { background: var(--o); }
.mark i:nth-child(3) { background: var(--r); }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  margin-bottom: 10px;
}

/* Header */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--gutter);
}
.brand img { height: 24px; width: auto; }
.site-nav { display: flex; gap: 28px; }
.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { border-bottom-color: var(--o); }

/* Hero */
.hero {
  position: relative;
  margin-top: 84px;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: grayscale(1);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.55) 35%, rgba(0,0,0,.18) 70%, rgba(0,0,0,.05) 100%);
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 120px var(--gutter) 56px;
  color: #fff;
}
.hero h1 {
  font-size: clamp(32px, 4.3vw, 58px);
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.hero-sub {
  font-size: clamp(17px, 1.6vw, 21px);
  max-width: 560px;
  line-height: 1.5;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}
.hero-est {
  margin-top: 16px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: .85;
}
.hero .stripes { position: absolute; left: 0; right: 0; bottom: 0; }

/* Projects */
.projects {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px var(--gutter) 40px;
}
.section-head { margin-bottom: 64px; }
.section-head h2, .story-head h2 { font-size: clamp(32px, 4vw, 52px); }

.project {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.project:last-of-type { border-bottom: 1px solid var(--line); }
.project:nth-of-type(even) .project-photo { order: 2; }
.project-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(1);
  transition: filter .5s ease;
}
.project:hover .project-photo img { filter: grayscale(0); }
.project-text h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 14px; }
.project-text p { color: var(--ink-soft); max-width: 52ch; }
.project-text .tag {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--r);
  font-weight: 700;
  margin-bottom: 8px;
}

/* Story */
.story {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px var(--gutter) 112px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.story-head h2 { max-width: 12ch; }
.story-body p { color: var(--ink-soft); margin-bottom: 22px; }
.story-body p:first-child { color: var(--ink); font-size: 1.15em; font-weight: 500; }
.story-sig {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute) !important;
  font-weight: 500;
  margin-top: 8px;
}

/* Story section: full-width stripe bands */
.story-wrap { position: relative; }
.story-wrap > .stripes { width: 100%; }

/* Closing band: photo, logo, stripes */
.closing-band {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.band-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}
.closing-band::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(16,14,12,.45);
}
.band-logo {
  position: relative;
  width: min(62vw, 720px);
  height: auto;
  margin: 96px var(--gutter);
  filter: drop-shadow(0 2px 18px rgba(0,0,0,.45));
}
.closing-band .stripes { position: absolute; left: 0; right: 0; bottom: 0; }

/* Footer */
.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 32px var(--gutter);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--paper-deep);
}

/* Phones and small tablets */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .site-header { padding: 20px var(--gutter); }
  .brand img { height: 17px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 11px; letter-spacing: 0.1em; }
  .hero { margin-top: 68px; min-height: 68vh; }
  .hero-inner { padding: 100px var(--gutter) 44px; }
  .project { grid-template-columns: 1fr; gap: 22px; padding: 32px 0; }
  .project:nth-of-type(even) .project-photo { order: 0; }
  .project-photo img { filter: grayscale(0); }
  .section-head { margin-bottom: 36px; }
  .projects { padding-top: 64px; }
  .story { grid-template-columns: 1fr; padding: 64px var(--gutter) 80px; }
  .story-head h2 { max-width: none; }
  .closing-band { min-height: 46vh; }
  .band-logo { width: 78vw; margin: 64px var(--gutter); }
}
