/* ============================================================
   DRAFTWORKS CREATIVE — STYLESHEET
   Typefaces: Fraunces (display) + DM Sans (body)
   ============================================================ */

/* --- RESET --- */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

img, svg {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

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

/* --- DESIGN TOKENS --- */

:root {
  /* Palette */
  --cream:        #F6F1E9;
  --cream-dark:   #EBE5D9;
  --cream-mid:    #D9D2C4;
  --ink:          #1B1B18;
  --ink-mid:      #2E2E2A;
  --ink-light:    #4A4A44;
  --muted:        #8A8678;
  --dark:         #131310;
  --dark-mid:     #1E1E1A;

  /* Accent: copper/burnt orange — warm, industrial */
  --accent:       #C25A1C;
  --accent-dark:  #A04A15;
  --accent-light: #D9723A;

  /* Secondary: slate steel */
  --steel:        #385870;

  /* Typography */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container:    1240px;
  --pad:          2rem;
  --nav-h:        72px;

  /* Spacing scale */
  --s1:  0.5rem;
  --s2:  1rem;
  --s3:  1.5rem;
  --s4:  2rem;
  --s5:  3rem;
  --s6:  4rem;
  --s7:  6rem;
  --s8:  8rem;
  --s9:  10rem;

  /* Motion */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* --- BASE --- */

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- CONTAINER --- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
  /* subtle backdrop blur for depth */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(246, 241, 233, 0.95);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  font-optical-sizing: auto;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1;
  transition: color 0.2s;
}

.nav__logo:hover {
  color: var(--accent);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-light);
  letter-spacing: 0.01em;
  transition: color 0.2s var(--ease);
  position: relative;
}

.nav__links a:not(.nav__cta)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.nav__links a:not(.nav__cta):hover {
  color: var(--ink);
}

.nav__links a:not(.nav__cta):hover::after {
  transform: scaleX(1);
}

.nav__cta {
  background: var(--ink) !important;
  color: var(--cream) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 2px;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.2s var(--ease) !important;
}

.nav__cta:hover {
  background: var(--accent) !important;
  color: #fff !important;
}

.nav__cta::after {
  display: none !important;
}

/* Scroll depth shadow */
.site-header--scrolled {
  box-shadow: 0 2px 20px rgba(27, 27, 24, 0.07);
}

/* Active page link */
.nav__links a.nav--active:not(.nav__cta) {
  color: var(--ink);
}
.nav__links a.nav--active:not(.nav__cta)::after {
  transform: scaleX(1);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.25s;
}

/* Open state */
.nav--open .nav__toggle span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav--open .nav__toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav--open .nav__toggle span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  touch-action: manipulation;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1.5px solid transparent;
  padding: 0.75rem 1.75rem;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.15s var(--ease), box-shadow 0.2s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn:active {
  transform: none;
  box-shadow: none;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn--outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(246, 241, 233, 0.35);
  font-size: 0.875rem;
  font-weight: 500;
}

.btn--outline-light:hover {
  background: rgba(246, 241, 233, 0.08);
  border-color: rgba(246, 241, 233, 0.6);
  box-shadow: none;
}

.btn--white {
  background: var(--cream);
  color: var(--accent);
  border-color: var(--cream);
  font-weight: 700;
}

.btn--white:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.btn--large {
  font-size: 1rem;
  padding: 1rem 2.25rem;
}

/* ============================================================
   SHARED SECTION ELEMENTS
   ============================================================ */

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 600;
  font-optical-sizing: auto;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--cream);
}

.section-header {
  margin-bottom: var(--s5);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding-top: var(--s7);
  padding-bottom: var(--s6);
  min-height: calc(88dvh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.hero__layout {
  display: grid;
  grid-template-columns: 1fr 220px;
  align-items: end;
  gap: var(--s6);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s3);
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 700;
  font-optical-sizing: auto;
  line-height: 1.0;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: var(--s4);
}

.hero__headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero__sub {
  font-size: clamp(0.975rem, 1.5vw, 1.125rem);
  color: var(--muted);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: var(--s4);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero index — editorial sidebar detail */
.hero__index {
  padding-bottom: 0.5rem;
  padding-left: var(--s4);
  border-left: 1px solid var(--cream-mid);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero__index-item {
  padding: var(--s3) 0;
}

.hero__index-divider {
  height: 1px;
  background: var(--cream-dark);
}

.hero__index-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  font-optical-sizing: auto;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.hero__index-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Accent bar below hero */
.hero__bar {
  height: 3px;
  background: linear-gradient(to right, var(--accent) 0%, var(--accent) 30%, var(--cream-dark) 100%);
  margin-top: var(--s6);
}

/* ============================================================
   VALUE PROP
   ============================================================ */

.value-prop {
  padding: var(--s6) 0;
  background: var(--cream);
}

.value-prop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.value-prop__item {
  padding: var(--s4) var(--s5) var(--s4) 0;
  border-top: 2px solid var(--accent);
  border-right: 1px solid var(--cream-dark);
}

.value-prop__item:nth-child(2) {
  padding-left: var(--s5);
}

.value-prop__item:nth-child(3) {
  padding-left: var(--s5);
  border-right: none;
  padding-right: 0;
}

.value-prop__num {
  display: block;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  font-optical-sizing: auto;
  color: var(--cream-dark);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--s3);
  user-select: none;
}

.value-prop__item h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  font-optical-sizing: auto;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.value-prop__item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================================
   FEATURED WORK
   ============================================================ */

.featured-work {
  padding: var(--s7) 0;
  background: var(--ink);
}

.featured-work .section-label {
  color: var(--accent);
}

.featured-work .section-label::before {
  background: var(--accent);
}

/* Grid: two equal columns with a 1px gap filled with a mid-dark tone */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #2A2A26;
}

/* Project card */
.project-card {
  background: var(--ink);
  padding: 3.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s var(--ease);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.project-card:hover {
  background: #232320;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-card--alt {
  background: var(--dark-mid);
}

.project-card--alt:hover {
  background: var(--dark);
}

/* Card top row */
.project-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.project-card__num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  font-optical-sizing: auto;
  line-height: 1;
  letter-spacing: -0.05em;
  color: #2C2C28;
  user-select: none;
  flex-shrink: 0;
}

.project-card--alt .project-card__num {
  color: #252520;
}

.project-card__type {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 0.4rem;
  text-align: right;
  line-height: 1.5;
}

/* Card body */
.project-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.4rem);
  font-weight: 600;
  font-optical-sizing: auto;
  color: var(--cream);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.project-card__desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.75;
}

.project-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.project-card__tags li {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-light);
  padding: 0.3rem 0.7rem;
  border: 1px solid #2E2E2A;
  border-radius: 1px;
}

.project-card--alt .project-card__tags li {
  border-color: #252520;
  color: #4A4A44;
}

/* Card link */
.project-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cream-mid);
  letter-spacing: 0.01em;
  padding-bottom: 2px;
  border-bottom: 1px solid #3A3A36;
  width: fit-content;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), gap 0.2s var(--ease);
}

.project-card__link:hover {
  color: var(--accent);
  border-color: var(--accent);
  gap: 0.8rem;
}

.arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease);
}

.project-card__link:hover .arrow {
  transform: translateX(3px);
}

/* Work section footer */
.featured-work__footer {
  margin-top: var(--s5);
  display: flex;
  justify-content: center;
}

/* ============================================================
   CTA STRIP
   ============================================================ */

.cta-strip {
  padding: var(--s7) 0;
  background: var(--accent);
}

.cta-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
}

.cta-strip__headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 600;
  font-optical-sizing: auto;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.cta-strip__sub {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--dark);
  padding: var(--s5) 0 var(--s4);
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s4);
  padding-bottom: var(--s4);
  border-bottom: 1px solid #232320;
}

.footer__logo {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  font-optical-sizing: auto;
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.footer__tagline {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.footer__nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-top: 0.25rem;
}

.footer__nav a {
  font-size: 0.8rem;
  font-weight: 500;
  color: #4A4A44;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--cream);
}

.footer__bottom {
  padding-top: var(--s3);
}

.footer__bottom p {
  font-size: 0.75rem;
  color: #383834;
  letter-spacing: 0.02em;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* Staggered children */
.reveal--stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal--stagger > *:nth-child(1) { transition-delay: 0s;    }
.reveal--stagger > *:nth-child(2) { transition-delay: 0.1s;  }
.reveal--stagger > *:nth-child(3) { transition-delay: 0.2s;  }
.reveal--stagger > *:nth-child(4) { transition-delay: 0.3s;  }

.reveal--stagger.revealed > * {
  opacity: 1;
  transform: none;
}

/* ============================================================
   PAGE HERO (shared — work / about / contact)
   ============================================================ */

.page-hero {
  background: var(--ink);
  padding: var(--s7) 0 var(--s6);
  border-bottom: 1px solid #2A2A26;
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s3);
}

.page-hero__eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 8vw, 7rem);
  font-weight: 700;
  font-optical-sizing: auto;
  color: var(--cream);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.page-hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.page-hero__sub {
  margin-top: var(--s3);
  font-size: 1rem;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
}

/* ============================================================
   WORK PAGE — PROJECT SECTIONS
   ============================================================ */

.work-project {
  background: var(--ink);
  padding: var(--s8) 0;
  border-bottom: 1px solid #2A2A26;
}

.work-project--alt {
  background: var(--dark-mid);
}

.work-project__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--s2);
}

.work-project__num {
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 700;
  font-optical-sizing: auto;
  line-height: 1;
  letter-spacing: -0.06em;
  color: #242420;
  user-select: none;
  margin-bottom: -1.5rem;
}

.work-project--alt .work-project__num {
  color: #1E1E1A;
}

.work-project__type {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  padding-top: 0.5rem;
  text-align: right;
  line-height: 1.6;
}

.work-project__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  font-weight: 700;
  font-optical-sizing: auto;
  color: var(--cream);
  line-height: 0.97;
  letter-spacing: -0.04em;
  max-width: 700px;
  margin-bottom: var(--s5);
}

.work-project__divider {
  height: 1px;
  background: #2A2A26;
  margin-bottom: var(--s5);
}

.work-project__body {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--s7);
  align-items: start;
}

/* Left column */
.work-project__desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: var(--s5);
  max-width: 540px;
}

.work-project__built-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-bottom: var(--s3);
}

.work-project__built-label::before {
  content: '';
  display: block;
  width: 16px;
  height: 1px;
  background: var(--ink-light);
}

.work-project__built-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.work-project__built-list li {
  font-size: 0.875rem;
  color: var(--muted);
  padding-left: 1.1rem;
  position: relative;
  line-height: 1.6;
}

.work-project__built-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
}

/* Right column — meta */
.work-project__meta {
  padding-left: var(--s4);
  border-left: 1px solid #2A2A26;
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}

.work-project__live-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cream);
  padding: 0.75rem 1.25rem;
  border: 1px solid #3A3A36;
  border-radius: 2px;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), gap 0.2s var(--ease);
  width: fit-content;
}

.work-project__live-link:hover {
  background: rgba(246, 241, 233, 0.04);
  border-color: var(--accent);
  color: var(--accent);
  gap: 0.75rem;
}

.work-project__live-link .arrow {
  font-size: 0.8rem;
}

.work-project__no-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3A3A36;
  padding: 0.75rem 0;
  border-top: 1px solid #2A2A26;
  border-bottom: 1px solid #2A2A26;
}

.work-project__meta-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.work-project__meta-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.work-project__meta-value {
  font-size: 0.875rem;
  color: var(--muted);
}

.work-project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.work-project__tags li {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4A4A44;
  padding: 0.3rem 0.6rem;
  border: 1px solid #2A2A26;
  border-radius: 1px;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.about-story {
  padding: var(--s8) 0;
  background: var(--cream);
}

.about-story__inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--s7);
  align-items: start;
}

/* Left: copy */
.about-story__copy .about-lead {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.75vw, 1.9rem);
  font-weight: 400;
  font-optical-sizing: auto;
  color: var(--ink);
  line-height: 1.45;
  letter-spacing: -0.02em;
  margin-bottom: var(--s4);
}

.about-story__copy p {
  font-size: 0.975rem;
  color: var(--ink-light);
  line-height: 1.85;
  margin-bottom: var(--s3);
}

.about-story__copy p:last-child {
  margin-bottom: 0;
}

/* Right: facts panel */
.about-facts {
  position: sticky;
  top: calc(var(--nav-h) + var(--s4));
  border-left: 1px solid var(--cream-mid);
  padding-left: var(--s4);
  display: flex;
  flex-direction: column;
}

.about-fact {
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--cream-dark);
}

.about-fact:last-child {
  border-bottom: none;
}

.about-fact__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  font-optical-sizing: auto;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.2rem;
}

.about-fact__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-section {
  padding: var(--s8) 0;
  background: var(--cream);
}

.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s7);
  align-items: start;
}

.contact-section__intro {
  padding-right: var(--s4);
}

.contact-section__intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  font-optical-sizing: auto;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--s3);
}

.contact-section__intro p {
  font-size: 0.975rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: var(--s3);
}

.contact-section__detail {
  margin-top: var(--s4);
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  border-top: 1px solid var(--cream-dark);
  padding-top: var(--s4);
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-detail-item__label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-detail-item__value {
  font-size: 0.875rem;
  color: var(--ink);
  font-weight: 500;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-light);
}

.form-label .optional {
  font-weight: 400;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.7rem;
  margin-left: 0.35rem;
}

.form-input,
.form-textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--cream-dark);
  border-radius: 2px;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(194, 90, 28, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.65;
}

.form-submit {
  margin-top: 0.25rem;
}

.form-note {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 0.25rem;
}

/* ============================================================
   WORK — PROJECT PREVIEW STRIP
   ============================================================ */

.work-project__preview {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: 1.25rem var(--s4);
  margin-bottom: var(--s5);
  background: #0C0C0A;
  border: 1px solid #222220;
  border-radius: 2px;
  overflow: hidden;
}

.work-project__preview-palette {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.work-project__preview-palette .swatch {
  width: 12px;
  height: 44px;
  border-radius: 2px;
  background: var(--swatch-color);
  opacity: 0.85;
}

.work-project__preview-label {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.6rem);
  font-weight: 600;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
  color: rgba(246, 241, 233, 0.22);
  flex: 1;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.work-project__preview-tag {
  flex-shrink: 0;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 1px;
  border: 1px solid;
}

.work-project__preview-tag--live {
  color: #5CAF70;
  border-color: #1A3A22;
  background: rgba(92, 175, 112, 0.05);
}

.work-project__preview-tag--spec {
  color: var(--muted);
  border-color: #2A2A26;
  background: transparent;
}

/* ============================================================
   ENTRANCE ANIMATIONS
   ============================================================ */

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__eyebrow  { animation: hero-enter 0.5s var(--ease-out) 0.05s both; }
  .hero__headline { animation: hero-enter 0.55s var(--ease-out) 0.15s both; }
  .hero__sub      { animation: hero-enter 0.5s var(--ease-out) 0.28s both; }
  .hero__actions  { animation: hero-enter 0.5s var(--ease-out) 0.38s both; }
  .hero__index    { animation: hero-enter 0.5s var(--ease-out) 0.22s both; }
  .hero__bar      { animation: hero-enter 0.4s var(--ease-out) 0.45s both; }

  .page-hero .container > * {
    animation: hero-enter 0.55s var(--ease-out) both;
  }
  .page-hero .container > *:nth-child(1) { animation-delay: 0.05s; }
  .page-hero .container > *:nth-child(2) { animation-delay: 0.15s; }
  .page-hero .container > *:nth-child(3) { animation-delay: 0.25s; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .reveal--stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .hero__layout {
    grid-template-columns: 1fr;
    gap: var(--s5);
  }

  .hero__index {
    flex-direction: row;
    align-items: flex-start;
    border-left: none;
    border-top: 1px solid var(--cream-mid);
    padding-left: 0;
    padding-top: var(--s4);
    gap: var(--s4);
  }

  .hero__index-divider {
    width: 1px;
    height: auto;
    align-self: stretch;
    background: var(--cream-dark);
  }

  .hero__index-item {
    padding: 0;
    flex: 1;
  }
}

@media (max-width: 860px) {
  :root {
    --pad: 1.5rem;
  }

  .value-prop__grid {
    grid-template-columns: 1fr;
  }

  .value-prop__item {
    border-right: none;
    border-bottom: 1px solid var(--cream-dark);
    padding: var(--s4) 0;
  }

  .value-prop__item:nth-child(2),
  .value-prop__item:nth-child(3) {
    padding-left: 0;
    padding-right: 0;
  }

  .value-prop__item:last-child {
    border-bottom: none;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    padding: 2.5rem 2rem;
  }

  .cta-strip__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 1.25rem;
  }

  /* Mobile nav */
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    border-bottom: 1px solid var(--cream-dark);
    box-shadow: 0 12px 32px rgba(27, 27, 24, 0.1);
    padding: var(--s2) var(--pad);
    gap: 0;
  }

  .nav--open .nav__links {
    display: flex;
  }

  .nav__links li {
    border-bottom: 1px solid var(--cream-dark);
  }

  .nav__links li:last-child {
    border-bottom: none;
    padding-top: var(--s2);
    padding-bottom: var(--s1);
  }

  .nav__links a:not(.nav__cta) {
    display: block;
    padding: 0.875rem 0;
    font-size: 0.975rem;
  }

  .nav__cta {
    display: block;
    text-align: center;
    padding: 0.75rem 1.25rem !important;
  }

  .hero {
    min-height: auto;
    padding-top: var(--s6);
    padding-bottom: var(--s5);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__index {
    flex-direction: column;
    gap: 0;
    border-top: none;
    padding-top: 0;
  }

  .hero__index-divider {
    width: 100%;
    height: 1px;
  }

  .hero__index-item {
    padding: var(--s2) 0;
  }

  .hero__bar {
    margin-top: var(--s5);
  }

  .project-card {
    padding: 2rem 1.5rem;
  }

  .project-card__num {
    font-size: 3.5rem;
  }

  .footer__inner {
    flex-direction: column;
    gap: var(--s3);
  }

  .footer__nav {
    gap: 1.5rem;
  }
}

@media (max-width: 860px) {
  .work-project__body {
    grid-template-columns: 1fr;
    gap: var(--s5);
  }

  .work-project__meta {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #2A2A26;
    padding-top: var(--s4);
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--s3) var(--s5);
  }

  .work-project__meta-section {
    flex: 1 1 180px;
  }

  .about-story__inner {
    grid-template-columns: 1fr;
    gap: var(--s5);
  }

  .about-facts {
    position: static;
    border-left: none;
    border-top: 1px solid var(--cream-dark);
    padding-left: 0;
    padding-top: var(--s4);
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }

  .about-fact {
    flex: 1 1 160px;
    padding: var(--s2) var(--s3) var(--s2) 0;
    border-bottom: none;
    border-right: 1px solid var(--cream-dark);
  }

  .about-fact:last-child {
    border-right: none;
  }

  .contact-section__inner {
    grid-template-columns: 1fr;
    gap: var(--s5);
  }

  .contact-section__intro {
    padding-right: 0;
  }
}

@media (max-width: 640px) {
  .work-project__preview {
    gap: var(--s3);
  }

  .work-project__preview-palette .swatch {
    width: 8px;
    height: 36px;
  }

  .work-project__num {
    font-size: 5rem;
  }

  .work-project__meta {
    flex-direction: column;
  }

  .work-project__meta-section {
    flex: unset;
  }

  .about-facts {
    flex-direction: column;
  }

  .about-fact {
    border-right: none;
    border-bottom: 1px solid var(--cream-dark);
    padding: var(--s2) 0;
  }

  .about-fact:last-child {
    border-bottom: none;
  }
}
