/* ──────────────────────────────────────────────────────────────────
   Tyler Esterly Design System — Foundations
   Lime (#BADA55) + ink-deep (#302E32) on cool gray (#F6F6F6).
   League Spartan · Playfair Display italic · JetBrains Mono.
   Modern techy: no outlines, soft blurred shadows, pill CTAs.
   ────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* League Spartan — brand fonts, served locally */
@font-face { font-family: 'League Spartan'; src: url('/fonts/LeagueSpartan-Thin.ttf')       format('truetype'); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: 'League Spartan'; src: url('/fonts/LeagueSpartan-ExtraLight.ttf') format('truetype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'League Spartan'; src: url('/fonts/LeagueSpartan-Light.ttf')      format('truetype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'League Spartan'; src: url('/fonts/LeagueSpartan-Regular.ttf')    format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'League Spartan'; src: url('/fonts/LeagueSpartan-Medium.ttf')     format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'League Spartan'; src: url('/fonts/LeagueSpartan-SemiBold.ttf')   format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'League Spartan'; src: url('/fonts/LeagueSpartan-Bold.ttf')       format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'League Spartan'; src: url('/fonts/LeagueSpartan-ExtraBold.ttf')  format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'League Spartan'; src: url('/fonts/LeagueSpartan-Black.ttf')      format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }

:root {
  /* ── COLOR · Brand ─────────────────────────────────────────────── */
  --chartreuse:        #BADA55;   /* signature lime (yes — "badass") · ONE lime, no soft/deep */

  /* ── COLOR · Ink + Paper · cool grays ──────────────────────────── */
  --ink:               #302E32;   /* primary text, brand dark        */
  --ink-soft:          #4A4748;   /* secondary text                  */
  --ink-mute:          #6E6C70;   /* tertiary text                   */
  --paper:             #F6F6F6;   /* default background — cool gray  */
  --paper-warm:        #ECECEC;   /* soft surface                    */
  --paper-deep:        #D9D9D9;   /* dividers (used sparingly)       */
  --paper-white:       #FFFFFF;   /* highlight surfaces              */

  /* ── COLOR · Accent palette (intentionally tight) ──────────────── */
  /* Brand uses ONLY two accents: chartreuse + ink-deep. No 3rd hue. */
  --accent:            var(--chartreuse);
  --accent-deep:       var(--ink);

  /* ── COLOR · Semantic ──────────────────────────────────────────── */
  --fg-1:              var(--ink);
  --fg-2:              var(--ink-soft);
  --fg-3:              var(--ink-mute);
  --fg-on-lime:        var(--ink);
  --fg-on-ink:         var(--paper-white);
  --bg-1:              var(--paper);
  --bg-2:              var(--paper-warm);
  --bg-3:              var(--paper-deep);
  --bg-invert:         var(--ink);
  --bg-spot:           var(--chartreuse);
  --link:              var(--chartreuse);
  --hover:             var(--chartreuse);

  /* ── TYPE · Families ───────────────────────────────────────────── */
  --font-sans:         'League Spartan', 'Helvetica Neue', Arial, sans-serif;
  --font-display:      'League Spartan', 'Helvetica Neue', Arial, sans-serif;
  --font-italic:       'Playfair Display', 'Times New Roman', Georgia, serif;
  --font-mono:         'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* ── TYPE · Scale ──────────────────────────────────────────────── */
  --fs-xs:   12px;
  --fs-sm:   14px;
  --fs-base: 17px;
  --fs-md:   20px;
  --fs-lg:   24px;
  --fs-xl:   32px;
  --fs-2xl:  44px;
  --fs-3xl:  64px;
  --fs-4xl:  96px;
  --fs-5xl:  140px;

  /* ── TYPE · Leading + tracking ─────────────────────────────────── */
  --lh-tight:   1.0;
  --lh-snug:    1.15;
  --lh-normal:  1.4;
  --lh-relaxed: 1.65;
  --tr-display: -0.02em;
  --tr-tight:   -0.005em;
  --tr-normal:   0;
  --tr-loose:    0.04em;
  --tr-eyebrow:  0.12em;
  --tr-label:    0.18em;

  /* ── SPACING · 4-step rhythm ───────────────────────────────────── */
  --sp-1:  4px;
  --sp-2:  8px;
  --sp-3:  12px;
  --sp-4:  16px;
  --sp-5:  24px;
  --sp-6:  32px;
  --sp-7:  48px;
  --sp-8:  64px;
  --sp-9:  96px;
  --sp-10: 128px;

  /* ── SHAPE · Rounded · modern techy ────────────────────────────── */
  --r-none: 0;
  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:   14px;
  --r-lg:   20px;
  --r-xl:   28px;
  --r-pill: 999px;
  --r-disc: 50%;

  /* ── BORDERS · the system avoids outlines ──────────────────────── */
  /* Prefer elevation (soft shadows) and fills over hard rules.
     The one exception: form fields use a thin bottom underline. */
  --border-input:      1.5px solid var(--chartreuse);

  /* ── SHADOWS · soft, blurred ───────────────────────────────────── */
  --shadow-xs:   0 1px 2px rgba(48, 46, 50, 0.06);
  --shadow-sm:   0 2px 8px rgba(48, 46, 50, 0.06), 0 1px 2px rgba(48, 46, 50, 0.04);
  --shadow-md:   0 8px 24px -10px rgba(48, 46, 50, 0.14), 0 3px 8px -4px rgba(48, 46, 50, 0.06);
  --shadow-lg:   0 16px 40px -16px rgba(48, 46, 50, 0.20), 0 6px 14px -6px rgba(48, 46, 50, 0.08);
  --shadow-xl:   0 32px 80px -32px rgba(48, 46, 50, 0.32), 0 12px 24px -10px rgba(48, 46, 50, 0.10);
  --shadow-lime: 0 12px 32px -10px rgba(186, 218, 85, 0.45);

  /* ── MOTION ────────────────────────────────────────────────────── */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 120ms;
  --dur-base: 240ms;
  --dur-slow: 480ms;
}

/* ──────────────────────────────────────────────────────────────────
   BASE
   ────────────────────────────────────────────────────────────────── */

html, body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--fg-1);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  /* Washi-tape corner strips (.te-tape) intentionally overhang their photo's
     edge — near the viewport boundary that overhang can poke past it and
     trigger real horizontal scroll. Clip the bleed without touching layout. */
  overflow-x: hidden;
}
* { box-sizing: border-box; }

/* ──────────────────────────────────────────────────────────────────
   TYPE
   ────────────────────────────────────────────────────────────────── */

.t-display, h1.t-display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-5xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--tr-display);
  color: var(--ink);
}
h1, .t-h1 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-4xl); line-height: var(--lh-tight); letter-spacing: var(--tr-display); }
h2, .t-h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-3xl); line-height: var(--lh-snug); letter-spacing: var(--tr-display); }
h3, .t-h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-2xl); line-height: var(--lh-snug); letter-spacing: var(--tr-tight); }
h4, .t-h4 { font-family: var(--font-sans);    font-weight: 600; font-size: var(--fs-lg);  line-height: var(--lh-snug); letter-spacing: var(--tr-tight); }

p, .t-body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: var(--lh-relaxed);
  color: var(--fg-2);
  text-wrap: pretty;
}

.t-lede {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-xl);
  line-height: var(--lh-snug);
  color: var(--ink);
}

/* THE signature: italic Playfair word in chartreuse, inline inside sans headings. */
.t-accent, em.accent {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--chartreuse);
  letter-spacing: 0;
}

.t-section {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: var(--fs-2xl);
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
  line-height: 1;
  color: var(--ink);
}

.t-eyebrow {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--tr-label);
  color: var(--ink);
}

.t-meta {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--tr-loose);
  color: var(--fg-3);
}

.t-caption {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  color: var(--fg-2);
  line-height: var(--lh-snug);
}

code, .t-code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: var(--paper-warm);
  padding: 0.1em 0.4em;
  border-radius: var(--r-xs);
  color: var(--ink);
}

a, .t-link {
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(var(--chartreuse), var(--chartreuse));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 6px;
  padding-bottom: 1px;
  transition: background-size var(--dur-base) var(--ease-out);
}
a:hover, .t-link:hover { background-size: 100% 100%; }

::selection { background: var(--chartreuse); color: var(--ink); }

/* ──────────────────────────────────────────────────────────────────
   COMPONENTS
   ────────────────────────────────────────────────────────────────── */

/* Pill CTA — modern lime button with soft glow */
.te-btn {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-md);
  color: var(--ink);
  background: var(--chartreuse);
  border: 0;
  padding: 14px 32px;
  border-radius: var(--r-pill);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.te-btn:hover  { box-shadow: var(--shadow-lime); transform: translateY(-1px); }
.te-btn:active { transform: translateY(0); box-shadow: var(--shadow-xs); }

.te-btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
}
.te-btn--ghost:hover { background: var(--chartreuse); color: var(--ink); box-shadow: var(--shadow-lime); }

.te-btn--paper {
  background: var(--paper-white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.te-btn--paper:hover { background: var(--chartreuse); }

/* Washi tape strip */
.te-tape {
  position: absolute;
  background: var(--chartreuse);
  opacity: 0.78;
  width: 140px;
  height: 28px;
  clip-path: polygon(2% 12%, 100% 0%, 98% 88%, 0% 100%);
  pointer-events: none;
}

.te-taped-photo {
  position: relative;
  display: inline-block;
  border-radius: var(--r-md);
  aspect-ratio: 13 / 16;
}
.te-taped-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-md);
  filter: grayscale(1) contrast(1.04);
  box-shadow: var(--shadow-md);
}

/* The four-block column system */
.te-fourcol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.te-block {
  padding: 48px 32px;
  text-align: center;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}
.te-block--dark  { background: var(--ink);        color: var(--paper-white); }
.te-block--paper { background: var(--paper-warm); color: var(--ink); }
.te-block--lime  { background: var(--chartreuse); color: var(--ink); }
.te-block--mute  { background: var(--ink-mute);   color: var(--paper-white); }

.te-block .t-section { color: inherit; }
.te-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-md);
  line-height: 1.9;
}
.te-block--dark  ul { color: var(--chartreuse); }
.te-block--paper ul { color: var(--ink); }
.te-block--lime  ul { color: var(--ink); }
.te-block--mute  ul { color: var(--paper-white); }
.te-block--mute  .te-block__copy { color: var(--paper-white); }

/* ──────────────────────────────────────────────────────────────────
   STRUCTURAL — site shell (not part of the token file)
   Container, nav, footer, section rhythm, mobile breakpoint.
   ────────────────────────────────────────────────────────────────── */

/* Legacy alias custom properties — older inline styles in the build
   scripts still reference these names; map them onto the new tokens
   so unstyled fallbacks don't go fully bare while templates catch up. */
:root {
  --color-ink:        var(--ink);
  --color-body-text:  var(--ink-soft);
  --color-muted:      var(--ink-mute);
  --color-gray-line:  var(--paper-deep);
  --color-light-gray: var(--paper-warm);
  --color-accent:     var(--chartreuse);
  --font-heading:     var(--font-display);
  --max-width:        1100px;
  --radius:           var(--r-md);
}

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

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--sp-5);
}

/* ── Nav ──────────────────────────────────────────────────────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
}
.site-nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}
.site-nav__logo {
  display: flex;
  align-items: center;
  background-image: none;
  padding-bottom: 0;
}
.site-nav__logo-img {
  height: 40px;
  width: 40px;
  border-radius: var(--r-disc);
  display: block;
}
.site-nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  list-style: none;
}
.site-nav__links a {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-base);
  color: var(--ink);
  text-decoration: none;
  background-image: linear-gradient(var(--chartreuse), var(--chartreuse));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 3px;
  padding-bottom: 4px;
  transition: background-size var(--dur-base) var(--ease-out);
}
.site-nav__links a:hover { background-size: 100% 3px; }

/* ── Section rhythm ──────────────────────────────────────────────*/
.section {
  padding-top: var(--sp-9);
  padding-bottom: var(--sp-9);
}
.section--lg {
  padding-top: var(--sp-10);
  padding-bottom: var(--sp-10);
}

/* ── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: var(--paper-white);
  margin-top: var(--sp-9);
}
.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: var(--sp-7) var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-4);
}
.site-footer__inner > span {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: var(--tr-loose);
  color: var(--paper-deep);
}
.site-footer__links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.site-footer__links a {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--paper-white);
  text-decoration: none;
  text-transform: capitalize;
  background-image: linear-gradient(var(--chartreuse), var(--chartreuse));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  padding-bottom: 2px;
  transition: background-size var(--dur-base) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.site-footer__links a:hover { color: var(--chartreuse); background-size: 100% 2px; }

/* ── Mobile ───────────────────────────────────────────────────── */
@media (max-width: 760px) {
  .site-nav__inner { padding: var(--sp-3) var(--sp-4); }
  .site-nav__links { gap: var(--sp-4); }
  .site-footer__inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .te-fourcol { grid-template-columns: repeat(2, 1fr); }
  .t-display, h1.t-display { font-size: var(--fs-3xl); }
  h1, .t-h1 { font-size: var(--fs-2xl); }
  .section { padding-top: var(--sp-7); padding-bottom: var(--sp-7); }
  .section--lg { padding-top: var(--sp-8); padding-bottom: var(--sp-8); }
}

@media (max-width: 480px) {
  .te-fourcol { grid-template-columns: 1fr; }
}

/* ──────────────────────────────────────────────────────────────────
   PAGE COMPONENTS — hero, nice-to-meet, four-block icons, project grid,
   about gallery, contact dark mode. Added when porting the Tyler Esterly
   design-system blueprint into the page-body templates. Tokens only —
   no new hardcoded colors.
   ────────────────────────────────────────────────────────────────── */

/* ── Hero ─────────────────────────────────────────────────────────*/
.hero {
  padding-top: var(--sp-10);
  padding-bottom: var(--sp-10);
  text-align: center;
  background: var(--paper);
}
.hero__eyebrow { margin: 0 0 var(--sp-5); }
.hero__headline { margin: 0; }
.hero__headline em.accent { font-style: italic; }
.hero__sub {
  max-width: 560px;
  margin: var(--sp-6) auto 0;
}
.hero__cta-wrap { margin-top: var(--sp-7); }

/* ── Tape positions (corners) ─────────────────────────────────────*/
.te-tape--tl { top: -12px; left: -28px; transform: rotate(-22deg); }
.te-tape--tr { top: -12px; right: -28px; transform: rotate(22deg); }
.te-tape--bl { bottom: 12px; left: -32px; transform: rotate(18deg); }
.te-tape--br { bottom: 12px; right: -32px; transform: rotate(-18deg); }

/* ── Nice to meet you (homepage intro) ────────────────────────────*/
.nice-to-meet__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}
.nice-to-meet__body { margin-top: var(--sp-6); max-width: 500px; }
.nice-to-meet__body p { font-size: var(--fs-md); line-height: var(--lh-relaxed); color: var(--ink-soft); }
.nice-to-meet__body strong { font-weight: 700; color: var(--ink); }
.nice-to-meet__photo { display: flex; justify-content: center; }
.nice-to-meet__photo .te-taped-photo { width: 100%; max-width: 380px; height: 440px; }

/* ── Four-block icons ─────────────────────────────────────────────*/
.te-block__icon { width: 48px; height: 48px; }
.te-block__icon svg { width: 100%; height: 100%; display: block; }
.te-block__copy {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: var(--fs-lg);
  line-height: 1.5;
  margin: 0;
}

/* ── Project grid ─────────────────────────────────────────────────*/
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: var(--sp-6);
}
.project-tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ink);
  text-decoration: none;
  background-image: none;
}
.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--dur-base) var(--ease-out), filter var(--dur-base) var(--ease-out);
}
.project-tile:hover img { transform: scale(1.04); filter: brightness(1.05); }
.project-tile__overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--sp-5);
  background: linear-gradient(180deg, transparent, rgba(48, 46, 50, 0.55) 45%, rgba(48, 46, 50, 0.96));
}
.project-tile__format { color: var(--chartreuse); margin: 0 0 var(--sp-1); }
.project-tile__title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--paper-white);
  margin: 0;
  line-height: var(--lh-snug);
}
.project-tile__meta { color: var(--paper-deep); margin-top: var(--sp-1); }
.project-tile--text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-6);
  gap: var(--sp-2);
}
.project-tile--text .project-tile__format { margin: 0; }
.project-tile--text .project-tile__title { font-size: var(--fs-xl); }
.project-tile--text .project-tile__meta { margin: 0; }

/* ── Case study ───────────────────────────────────────────────────*/
.case-study-meta { margin-top: var(--sp-3); }
.case-study-sections { margin-top: var(--sp-7); }
.case-section { padding: var(--sp-6) 0; border-top: 1px solid var(--paper-deep); }
.case-section:first-child { border-top: 0; padding-top: 0; }
.case-section__label { margin: 0 0 var(--sp-3); }

/* ── Notes / prose ────────────────────────────────────────────────*/
.note-item { padding: var(--sp-6) 0; border-top: 1px solid var(--paper-deep); }
.note-item:first-child { border-top: 0; }
.note-item__title { display: block; margin-top: var(--sp-2); }
.note-item__excerpt { margin-top: var(--sp-2); }
.note-item__tags { margin-top: var(--sp-3); display: flex; gap: var(--sp-3); }
.filter-bar { display: flex; gap: var(--sp-3); margin: var(--sp-5) 0 var(--sp-6); }
.filter-btn {
  font-family: var(--font-sans);
  font-size: var(--fs-sm);
  background: none;
  border: 1px solid var(--paper-deep);
  color: var(--ink-mute);
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out);
}
.filter-btn.is-active, .filter-btn:hover { border-color: var(--chartreuse); color: var(--ink); }
.prose h2 { margin: var(--sp-7) 0 var(--sp-3); }
.prose p { margin: 0 0 var(--sp-4); }
.prose ul, .prose ol { margin: 0 0 var(--sp-4); padding-left: var(--sp-5); }

/* ── About page ───────────────────────────────────────────────────*/
.about-gallery {
  display: flex;
  gap: var(--sp-7);
  justify-content: center;
  flex-wrap: wrap;
  align-items: flex-end;
  padding: var(--sp-6) var(--sp-5) var(--sp-9);
}
.about-gallery__item .te-taped-photo { width: 260px; height: 320px; }
.about-approach {
  border-left: 2px solid var(--chartreuse);
  padding-left: var(--sp-5);
  margin: 0 0 var(--sp-7);
  font-style: italic;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-9);
  margin-top: var(--sp-7);
}
.about-entry { margin-bottom: var(--sp-6); }
.about-list { list-style: none; margin: var(--sp-3) 0 0; padding: 0; }
.about-list li {
  padding: var(--sp-2) 0;
  border-top: 1px solid var(--paper-deep);
  color: var(--ink-soft);
}
.about-list li:first-child { border-top: 0; }

/* ── Contact page (dark) ──────────────────────────────────────────*/
.contact-page { background: var(--ink); color: var(--paper-white); }
.contact-page .container { padding-top: var(--sp-9); padding-bottom: var(--sp-10); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--sp-9);
  align-items: center;
}
.contact-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: var(--tr-display);
  color: var(--paper-white);
  margin: 0;
}
.contact-headline em.accent { color: var(--chartreuse); font-style: italic; }
.contact-form__field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
.contact-field label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  color: var(--chartreuse);
}
.contact-field input,
.contact-field textarea {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: var(--border-input);
  padding: var(--sp-3) 0 var(--sp-2);
  margin-top: var(--sp-2);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  color: var(--paper-white);
  outline: none;
}
.contact-field textarea { resize: vertical; min-height: 100px; }
.contact-social { display: flex; gap: var(--sp-3); margin-top: var(--sp-4); }
.contact-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-disc);
  background: var(--paper-white);
  background-image: none;
}
.contact-social img { width: 20px; height: 20px; }
.contact-fallback { color: var(--paper-warm); margin-top: var(--sp-6); }
.contact-fallback a { color: var(--chartreuse); background-image: none; }

@media (max-width: 760px) {
  .nice-to-meet__grid { grid-template-columns: 1fr; }
  .nice-to-meet__photo { order: -1; }
  .project-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
  .about-gallery__item .te-taped-photo { width: 80vw; max-width: 280px; height: 320px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form__field-row { grid-template-columns: 1fr; }
}
