:root {
  --paper: #F6F4EA;
  --sand: #D4C5B0;
  --oxide: #FE5D26;
  --ink: #392318;
  --card: #FFFFFF;

  --rule: rgba(57, 35, 24, 0.18);
  --rule-strong: rgba(57, 35, 24, 0.45);
  --ink-soft: rgba(57, 35, 24, 0.72);
  --ink-mute: rgba(57, 35, 24, 0.5);

  --font: "National Park", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--oxide); color: var(--paper); }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============== NAV ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 234, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; transition: opacity 0.2s; }
.brand:hover { opacity: 0.78; }
.brand .wordmark { height: 38px; width: auto; display: block; }
.brand .mark-only { height: 36px; width: auto; display: none; }

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--oxide); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--oxide);
}
.nav-cta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper) !important;
  padding: 10px 18px !important;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-cta:hover { background: var(--oxide); color: var(--paper); }

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--ink);
  padding: 8px 14px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ============== HOME ============== */
.hero { padding: 88px 0 64px; }
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 1.5px;
  background: var(--oxide);
}
.hero h1 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(40px, 6.8vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 32px;
  max-width: 14ch;
}
.hero h1 .accent { color: var(--oxide); }
.hero-sub {
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: 44px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-primary {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 16px 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
  border: 2px solid var(--ink);
  border-radius: 32px;
}
.btn-primary:hover { background: var(--oxide); border-color: var(--oxide); }
.btn-primary svg { transition: transform 0.25s; }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 16px 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1.5px solid transparent;
  transition: all 0.2s;
}
.btn-ghost:hover { color: var(--oxide); border-bottom-color: var(--oxide); }

/* Marquee */
.marquee {
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding: 14px 0;
  overflow: hidden;
  margin-top: 56px;
  background: var(--sand);
}
.marquee-track {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: scroll 50s linear infinite;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink);
}
.marquee-track span { display: inline-flex; align-items: center; gap: 60px; }
.marquee-track span::after {
  content: "✕";
  color: var(--oxide);
  font-weight: 400;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Brand moment */
.brand-moment { padding: 120px 0; text-align: center; }
.brand-moment-line {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 24ch;
  margin: 0 auto;
}
.brand-moment-line + .brand-moment-line { margin-top: 12px; }
.brand-moment-line.fade { color: var(--ink-mute); font-weight: 300; }
.brand-moment-line.trail { margin-top: 36px; }
.brand-moment-line.trail .accent { color: var(--oxide); font-weight: 700; }
.brand-moment-line .ellipsis {
  display: inline-block;
  margin-left: 4px;
  animation: blink 2.4s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Section heads */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 2px solid var(--ink);
  padding-top: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-head h2 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.05;
}
.section-head h2 .accent { color: var(--oxide); }
.section-head .meta {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
}

.recent { padding: 88px 0; }

/* Empty state */
.empty-state {
  border: 2px dashed var(--rule-strong);
  padding: 80px 32px;
  text-align: center;
  background: var(--card);
  position: relative;
}
.empty-state::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--rule);
  pointer-events: none;
}
.empty-state-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--oxide);
  margin-bottom: 20px;
  position: relative;
}
.empty-state h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin-bottom: 16px;
  max-width: 26ch;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.empty-state p {
  color: var(--ink-soft);
  max-width: 50ch;
  margin: 0 auto;
  font-size: 16px;
  position: relative;
}
.empty-state-link {
  color: var(--oxide);
  font-weight: 600;
  border-bottom: 1.5px solid var(--oxide);
  padding-bottom: 1px;
  transition: all 0.2s;
}
.empty-state-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* About snippet */
.about-snippet {
  padding: 100px 0;
  border-top: 1px solid var(--rule);
}
.about-snippet-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.about-snippet-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  padding-top: 14px;
}
.about-snippet-body p {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
  max-width: 30ch;
}
.about-snippet-body p .accent {
  color: var(--oxide);
  font-weight: 700;
}

/* ============== PROJECTS ============== */
.page-header { padding: 88px 0 48px; }
.page-header h1 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.page-header h1 .accent { color: var(--oxide); }
.page-header .lede {
  font-size: clamp(17px, 1.7vw, 20px);
  color: var(--ink-soft);
  max-width: 56ch;
  line-height: 1.55;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 32px;
  padding: 64px 0 120px;
}
.project-card {
  cursor: pointer;
  transition: transform 0.3s ease;
}
.project-card:hover { transform: translateY(-4px); }
.project-thumb {
  aspect-ratio: 16 / 10;
  background: var(--card);
  border: 1.5px solid var(--ink);
  margin-bottom: 18px;
  overflow: hidden;
  transition: all 0.2s;
}
.project-card:hover .project-thumb {
  border-color: var(--oxide);
  box-shadow: 4px 4px 0 var(--oxide);
}
.project-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--paper);
  background: var(--oxide);
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 10px;
}
.project-title {
  font-family: var(--font);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.projects-empty {
  grid-column: 1 / -1;
  padding: 80px 0;
}

/* ============== SHOP ============== */
.shop-hero {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.shop-hero::before {
  content: "SOON";
  position: absolute;
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(180px, 32vw, 520px);
  color: var(--sand);
  z-index: 0;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  line-height: 0.85;
}
.shop-hero-content { position: relative; z-index: 1; max-width: 620px; }
.shop-hero h1 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(36px, 4.8vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.shop-hero h1 .accent { color: var(--oxide); }
.shop-hero p {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 40px;
}
.email-form {
  display: flex;
  gap: 0;
  border: 2px solid var(--ink);
  overflow: hidden;
  max-width: 460px;
  margin: 0 auto;
  background: var(--card);
  transition: border-color 0.2s;
}
.email-form:focus-within { border-color: var(--oxide); }
.email-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 16px 22px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--ink);
  outline: none;
}
.email-form input::placeholder { color: var(--ink-mute); }
.email-form button {
  background: var(--ink);
  color: var(--paper);
  border: none;
  padding: 16px 24px;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background 0.2s;
}
.email-form button:hover { background: var(--oxide); }
.form-note {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin-top: 18px;
}

/* ============== ABOUT ============== */
.about-body {
  padding: 32px 0 120px;
  display: block;
}
.about-prose {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 64ch;
  margin: 0 auto;
}
.about-prose > p { margin-bottom: 26px; }
.about-prose .pivot {
  font-family: var(--font);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 40px 0;
  padding: 24px 28px;
  background: var(--sand);
  border-left: 4px solid var(--oxide);
}
.about-prose ul {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  counter-reset: reasons;
}
.about-prose ul li {
  position: relative;
  padding: 28px 0 28px 64px;
  border-top: 1.5px solid var(--rule-strong);
  counter-increment: reasons;
}
.about-prose ul li:last-child { border-bottom: 1.5px solid var(--rule-strong); }
.about-prose ul li::before {
  content: counter(reasons, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 32px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  color: var(--oxide);
  letter-spacing: 0.05em;
}
.about-prose ul li strong {
  display: block;
  font-family: var(--font);
  font-weight: 700;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  margin-bottom: 8px;
  color: var(--ink);
}

/* ============== WORK WITH ME ============== */
.work-body { padding: 32px 0 120px; }
.work-intro {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 62ch;
  margin-bottom: 80px;
}
.work-section {
  border-top: 2px solid var(--ink);
  padding: 40px 0 60px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}
.work-section h3 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(24px, 2.8vw, 36px);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--oxide);
  line-height: 1.05;
}
.work-section p {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 56ch;
}
.partnership-list { list-style: none; margin-top: 16px; }
.partnership-list li {
  padding: 26px 0;
  border-bottom: 1.5px solid var(--rule);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: baseline;
}
.partnership-list li:first-child { border-top: 1.5px solid var(--rule); }
.partnership-list .term {
  font-family: var(--font);
  font-weight: 700;
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.partnership-list .desc {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
}
.work-disclaimer {
  margin-top: 32px;
  padding: 24px 28px;
  background: var(--sand);
  border-left: 4px solid var(--oxide);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 56ch;
}
.contact-block {
  background: var(--ink);
  color: var(--paper);
  padding: 64px 48px;
  margin-top: 48px;
  text-align: center;
}
.contact-block .small {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--paper);
  opacity: 0.6;
  margin-bottom: 24px;
}
.contact-block a {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.015em;
  color: var(--paper);
  border-bottom: 2px solid transparent;
  transition: all 0.25s;
  text-transform: lowercase;
}
.contact-block a:hover {
  color: var(--oxide);
  border-bottom-color: var(--oxide);
}

/* ============== 404 PAGE ============== */
.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 120px 32px;
}
.error-code {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(120px, 22vw, 280px);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--oxide);
  margin-bottom: 24px;
}
.error-page h1 {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
  max-width: 22ch;
}
.error-page p {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 40px;
  max-width: 50ch;
}

/* ============== FOOTER ============== */
footer {
  border-top: 2px solid var(--ink);
  padding: 56px 0 40px;
  background: var(--sand);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-mark img { height: 40px; width: auto; }
.footer-links {
  display: flex;
  gap: 28px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--oxide); }
.footer-meta {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1.5px solid var(--rule);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  flex-wrap: wrap;
  gap: 16px;
}

/* Responsive */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: 28px 32px;
    border-bottom: 2px solid var(--ink);
    gap: 22px;
    align-items: flex-start;
  }
  .brand .wordmark { display: none; }
  .brand .mark-only { display: block; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .about-snippet-grid, .work-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .partnership-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .hero { padding: 64px 0 48px; }
  .brand-moment { padding: 80px 0; }
}

@media (max-width: 540px) {
  .wrap, .nav-inner { padding-left: 20px; padding-right: 20px; }
  .projects-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
  .about-prose { font-size: 17px; }
  .about-prose .pivot { font-size: 22px; padding: 20px 22px; }
  .contact-block { padding: 48px 24px; }
}
