@font-face {
  font-family: "Newsreader";
  src: url("/fonts/newsreader-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #171918;
  --ink-soft: #333633;
  --paper: #f7f5f1;
  --paper-deep: #efede8;
  --white: #fffefa;
  --muted: #62645f;
  --line: #dedbd4;
  --brass: #c99a51;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content: 1320px;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 1.5rem;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  font-size: 16px;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid #b97827;
  outline-offset: 4px;
  border-radius: 3px;
}

.wrap,
.section-wrap {
  width: min(calc(100% - 72px), var(--content));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 20;
  inset: 0 auto auto 1rem;
  transform: translateY(-150%);
  padding: 0.7rem 1rem;
  border-radius: 0 0 0.65rem 0.65rem;
  color: var(--ink);
  background: var(--white);
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(ellipse at 74% 63%, rgb(54 58 52 / 30%), transparent 44%),
    linear-gradient(115deg, #131615 4%, #1c1e1c 54%, #121413 100%);
}

.topbar {
  min-height: 78px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(1.25rem, 3.2vw, 3.4rem);
  position: relative;
  z-index: 2;
}

.wordmark {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.1rem;
  text-decoration: none;
  white-space: nowrap;
  color: inherit;
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 650;
  letter-spacing: -0.07em;
}

.wordmark svg {
  width: 17px;
  margin-top: -0.35rem;
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.8;
  stroke-linecap: round;
}

.primary-nav,
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 2.1vw, 2rem);
}

.primary-nav a,
.footer-nav a {
  text-decoration: none;
  text-underline-offset: 0.38em;
  font-size: 0.88rem;
  white-space: nowrap;
}

.primary-nav a {
  color: rgb(255 254 250 / 88%);
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--brass);
  text-decoration-thickness: 1px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.72rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 630;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button-light {
  color: var(--ink);
  background: var(--white);
}

.button-light:hover {
  background: #e8e5de;
  transform: translateY(-1px);
}

.button-outline {
  color: var(--white);
  border-color: rgb(255 254 250 / 75%);
  background: transparent;
}

.button-outline:hover {
  color: var(--ink);
  background: var(--white);
}

.header-cta {
  min-height: 40px;
  padding-inline: 1.15rem;
  font-size: 0.82rem;
}

.hero {
  min-height: 338px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  padding-block: 24px 50px;
  position: relative;
  z-index: 1;
}

.hero-copy {
  padding-block: 1rem;
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #d1cec7;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
.coming-copy h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 650px;
  margin-bottom: 0.85rem;
  font-size: clamp(3.1rem, 5.2vw, 5rem);
  line-height: 0.96;
}

.hero-intro {
  max-width: 540px;
  margin-bottom: 1.35rem;
  color: #e0ded8;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.52;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-art {
  min-width: 0;
  position: relative;
  padding: 1rem 0.1rem 0.5rem;
}

.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(100px, 1fr));
  gap: clamp(0.5rem, 1.1vw, 0.9rem);
  align-items: center;
  padding: 0.9rem 0.1rem;
}

.mosaic-tile {
  min-width: 0;
  height: clamp(105px, 12vw, 150px);
  margin: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 1rem;
  background: #343936;
  box-shadow: 0 10px 24px rgb(0 0 0 / 24%);
}

.mosaic-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-tile figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.2rem 0.6rem 0.45rem;
  color: white;
  background: linear-gradient(transparent, rgb(0 0 0 / 74%));
  font-size: 0.76rem;
  font-weight: 620;
  line-height: 1.2;
}

.tile-plant,
.tile-cat {
  transform: translateY(0.35rem) rotate(-1.5deg);
}

.tile-food,
.tile-coin {
  transform: translateY(-0.25rem) rotate(1.3deg);
}

.tile-art,
.tile-word {
  transform: translateY(0.55rem) rotate(1.8deg);
}

.tile-dog,
.tile-car {
  transform: translateY(-0.2rem) rotate(-1deg);
}

.tile-art img {
  object-position: center 28%;
}

.tile-word img,
.tile-coin img {
  object-position: center;
}

.tile-car img,
.car-feature img {
  object-position: 70% center;
}

.hand-note {
  margin: 0;
  color: #e7e1d6;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  letter-spacing: 0.015em;
  line-height: 1.25;
  transform: rotate(-5deg);
}

.hero-art > .hand-note:first-child {
  position: absolute;
  z-index: 1;
  top: -0.6rem;
  left: 2%;
  font-size: clamp(0.86rem, 1.2vw, 1.05rem);
}

.hand-note-bottom {
  position: absolute;
  right: 0.3rem;
  bottom: -0.5rem;
  color: #dfd7ca;
  font-size: 0.94rem;
  transform: rotate(-7deg);
}

.hero-edge {
  position: absolute;
  z-index: 0;
  width: 120%;
  height: 36px;
  left: -10%;
  bottom: -22px;
  border-radius: 50% 50% 0 0 / 70% 70% 0 0;
  background: var(--paper);
}

.projects-section {
  padding-block: 2.7rem 2.4rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.35rem;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 3.3vw, 3.25rem);
  line-height: 1.05;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  font-size: 0.87rem;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  white-space: nowrap;
}

.text-link span,
.project-action span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.project-link:hover .project-action span,
.project-link:focus-visible .project-action span {
  transform: translateX(3px);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgb(46 46 40 / 5%);
  border-radius: 0.9rem;
  background: #fffdfa;
  box-shadow: 0 9px 28px rgb(37 31 19 / 3%);
}

.project-card:focus-within {
  outline: 3px solid #b97827;
  outline-offset: 3px;
}

.project-link {
  display: flex;
  height: 100%;
  flex-direction: column;
  text-decoration: none;
}

.project-link:focus-visible {
  outline: none;
}

.project-link > img {
  width: 100%;
  aspect-ratio: 1.62 / 1;
  object-fit: cover;
  background: var(--paper-deep);
  transition: transform 220ms ease;
}

.project-link:hover > img {
  transform: scale(1.025);
}

.project-card-static {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.project-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.75rem 0.85rem 0.85rem;
}

.project-name {
  margin-bottom: 0.22rem;
  color: #191a18;
  font-size: 1.05rem;
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.project-description {
  margin-bottom: 0.85rem;
  color: #52544f;
  font-size: 0.89rem;
  line-height: 1.42;
}

.project-action {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 30px;
  padding: 0.34rem 0.72rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.15;
}

.status-green { color: #225c37; background: #e6f1e7; }
.status-red { color: #8a392c; background: #fbe8e3; }
.status-violet { color: #504179; background: #eeeaf8; }
.status-sand { color: #705027; background: #f8eedb; }
.status-blue { color: #235080; background: #e6eef8; }
.status-brass { color: #65502e; background: #f1e9d6; }

.approach-section {
  padding-block: 2.35rem 2.7rem;
  border-top: 1px solid rgb(41 38 31 / 8%);
}

.section-heading-compact {
  margin-bottom: 1.4rem;
}

.section-heading-compact h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.65rem);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.step {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px 42px minmax(0, 1fr);
  align-items: start;
  gap: 0.85rem;
  padding: 0.2rem 0.6rem;
}

.step + .step {
  border-left: 1px solid var(--line);
  padding-left: 1.45rem;
}

.step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #62635f;
  background: #eeece6;
  font-size: 0.95rem;
}

.step-icon {
  width: 39px;
  height: 39px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sparkle-icon {
  fill: none;
  stroke-width: 1.8;
}

.step h3 {
  margin: 0.1rem 0 0.3rem;
  font-family: var(--serif);
  font-size: 1.23rem;
  font-weight: 520;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.step p {
  margin-bottom: 0;
  color: #555752;
  font-size: 0.88rem;
  line-height: 1.42;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(230px, 1fr) minmax(270px, 1.05fr);
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2rem);
  padding-block: 1.25rem 1.55rem;
  border-top: 1px solid rgb(41 38 31 / 8%);
  border-bottom: 1px solid rgb(41 38 31 / 8%);
  background: linear-gradient(120deg, rgb(235 232 224 / 70%), rgb(248 246 242 / 85%));
}

.car-feature {
  min-height: 180px;
  position: relative;
  overflow: hidden;
  border-radius: 0.95rem;
  background: #333;
}

.car-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-status {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  padding: 0.34rem 0.65rem;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 999px;
  color: #fff;
  background: rgb(20 22 21 / 75%);
  font-size: 0.72rem;
  font-weight: 650;
}

.feature-copy {
  padding-inline: 0.3rem;
}

.feature-copy h2 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  line-height: 1;
}

.feature-copy > p:not(.eyebrow) {
  max-width: 370px;
  margin-bottom: 0.85rem;
  color: #535550;
  font-size: 0.92rem;
  line-height: 1.45;
}

.feature-release {
  width: fit-content;
  margin: 0;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  color: #4b4539;
  background: #eee7d8;
  font-size: 0.76rem;
  font-weight: 650;
}

.coming-copy {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.3rem 0 0.3rem clamp(1rem, 2vw, 1.7rem);
  border-left: 1px solid #d8d5cd;
}

.coming-copy h3 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.1;
}

.coming-copy > p:not(.eyebrow, .hand-note) {
  max-width: 420px;
  margin-bottom: 0.5rem;
  color: #535550;
  font-size: 0.9rem;
  line-height: 1.45;
}

.hand-note-light {
  align-self: flex-end;
  color: #4e4c45;
  font-size: 0.92rem;
}

.site-footer {
  padding-block: 1.5rem;
  background: #fffdfa;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.7rem;
}

.footer-brand {
  text-decoration: none;
}

.footer-brand .wordmark {
  color: var(--ink);
  font-size: 1.65rem;
}

.footer-tagline {
  display: block;
  margin-top: 0.4rem;
  color: #555752;
  font-size: 0.78rem;
}

.footer-nav {
  gap: clamp(0.75rem, 1.8vw, 1.7rem);
}

.footer-nav a {
  font-size: 0.75rem;
}

.footer-note {
  margin: 0;
  color: #666761;
  font-size: 0.67rem;
  line-height: 1.55;
}

@media (min-width: 1500px) {
  .hero {
    min-height: 390px;
  }
}

@media (max-width: 1050px) {
  .wrap,
  .section-wrap {
    width: min(calc(100% - 48px), var(--content));
  }

  .topbar {
    gap: 1.2rem;
  }

  .primary-nav {
    gap: clamp(0.65rem, 1.35vw, 1rem);
  }

  .primary-nav a {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding-inline: 0.15rem;
    font-size: 0.79rem;
  }

  .hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.4rem;
  }

  h1 {
    font-size: clamp(3rem, 5.6vw, 4rem);
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-section {
    grid-template-columns: minmax(220px, 0.9fr) minmax(230px, 1fr);
  }

  .coming-copy {
    grid-column: 1 / -1;
    min-height: 140px;
    padding: 1rem 0 0;
    border-top: 1px solid #d8d5cd;
    border-left: 0;
  }

  .footer-inner {
    grid-template-columns: auto 1fr;
  }

  .footer-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .wrap,
  .section-wrap {
    width: min(calc(100% - 36px), var(--content));
  }

  .topbar {
    grid-template-columns: 1fr auto;
    gap: 0.45rem 1rem;
    padding-block: 0.95rem 0.7rem;
  }

  .wordmark {
    font-size: 1.55rem;
  }

  .header-cta {
    min-height: 38px;
  }

  .primary-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 0.3rem;
    padding-block: 0.25rem 0.1rem;
  }

  .primary-nav a {
    font-size: clamp(0.7rem, 3vw, 0.8rem);
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-block: 2.3rem 3rem;
  }

  .hero-copy {
    padding: 0;
  }

  h1 {
    max-width: 620px;
    font-size: clamp(3.05rem, 12vw, 4.5rem);
  }

  .desktop-break {
    display: none;
  }

  .hero-intro {
    max-width: 520px;
    font-size: 1rem;
  }

  .hero-art {
    padding: 1.4rem 0 0.8rem;
  }

  .hero-art > .hand-note:first-child {
    top: 0;
    left: 0.2rem;
  }

  .hero-mosaic {
    grid-template-rows: repeat(2, minmax(78px, 1fr));
    gap: 0.55rem;
    padding-block: 0.7rem;
  }

  .mosaic-tile {
    height: clamp(84px, 25vw, 130px);
    border-radius: 0.75rem;
  }

  .mosaic-tile figcaption {
    padding: 1rem 0.38rem 0.32rem;
    font-size: clamp(0.62rem, 2.5vw, 0.75rem);
  }

  .hand-note-bottom {
    bottom: -0.2rem;
  }

  .hero-edge {
    height: 25px;
    bottom: -17px;
  }

  .projects-section {
    padding-block: 2.15rem 1.8rem;
  }

  .section-heading {
    align-items: flex-start;
    margin-bottom: 1rem;
  }

  .section-heading h2 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .section-heading > .text-link {
    margin-top: 1.15rem;
  }

  .project-grid {
    gap: 0.72rem;
  }

  .project-card {
    border-radius: 0.75rem;
  }

  .project-body {
    padding: 0.65rem 0.65rem 0.72rem;
  }

  .project-name {
    font-size: 0.98rem;
  }

  .project-description {
    font-size: 0.82rem;
  }

  .project-action {
    padding-inline: 0.55rem;
    font-size: 0.69rem;
  }

  .approach-section {
    padding-block: 1.9rem 2rem;
  }

  .section-heading-compact {
    align-items: flex-end;
  }

  .section-heading-compact h2 {
    font-size: clamp(1.8rem, 7.5vw, 2.4rem);
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .step {
    grid-template-columns: 38px 38px minmax(0, 1fr);
    gap: 0.65rem;
    padding: 0.4rem 0;
  }

  .step + .step {
    padding: 0.9rem 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .step-number,
  .step-icon {
    width: 34px;
    height: 34px;
  }

  .step h3 {
    font-size: 1.12rem;
  }

  .step p {
    font-size: 0.84rem;
  }

  .feature-section {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-block: 1.2rem;
  }

  .car-feature {
    min-height: 150px;
  }

  .feature-copy h2 {
    font-size: 1.8rem;
  }

  .feature-copy > p:not(.eyebrow) {
    font-size: 0.83rem;
  }

  .coming-copy {
    min-height: unset;
    grid-column: 1 / -1;
    padding-top: 1rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.6rem 1.15rem;
  }

  .footer-nav a {
    font-size: 0.8rem;
  }

  .footer-note {
    grid-column: auto;
    font-size: 0.73rem;
  }
}

@media (max-width: 420px) {
  .wrap,
  .section-wrap {
    width: calc(100% - 28px);
  }

  .primary-nav a {
    letter-spacing: -0.02em;
  }

  .hero-actions .button {
    min-height: 42px;
    padding-inline: 0.95rem;
    font-size: 0.82rem;
  }

  .section-heading {
    gap: 0.4rem;
  }

  .section-heading > .text-link {
    gap: 0.28rem;
    font-size: 0.76rem;
  }

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

  .project-link > img {
    aspect-ratio: 1.75 / 1;
  }

  .project-body {
    padding: 0.72rem 0.8rem 0.8rem;
  }

  .project-name {
    font-size: 1.03rem;
  }

  .project-description {
    margin-bottom: 0.7rem;
    font-size: 0.87rem;
  }

  .feature-section {
    grid-template-columns: 1fr;
  }

  .car-feature {
    min-height: 180px;
  }

  .feature-copy {
    padding: 0.15rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
