@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f4f2ec;
  --paper-dark: #e8e5dc;
  --ink: #1a1b18;
  --muted: #77766f;
  --rule: #cfcdc4;
  --accent: #c8ef75;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --content: 1440px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #708e36;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  transform: translateY(-160%);
  color: var(--ink);
  background: var(--accent);
}

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

.site-header,
.hero,
.section-shell {
  width: min(100% - 40px, var(--content));
  margin-inline: auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.wordmark__symbol {
  position: relative;
  display: grid;
  width: 27px;
  height: 27px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid currentColor;
}

.wordmark__symbol span:first-child { height: 100%; background: currentColor; }
.wordmark__symbol span:last-child { height: 65%; border: 1px solid currentColor; }

.wordmark__text {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
  line-height: 1.25;
}

.header-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  letter-spacing: .025em;
  text-decoration: none;
}

.header-link span:last-child { font-size: 16px; transition: transform .2s ease; }
.header-link:hover span:last-child { transform: translate(2px, 2px); }

.hero {
  position: relative;
  display: flex;
  min-height: 490px;
  flex-direction: column;
  justify-content: center;
  padding-block: 66px 84px;
}

.hero__copy { max-width: 900px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.4;
}

.eyebrow__dash { width: 19px; height: 1px; background: currentColor; }

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

.hero h1 {
  max-width: 850px;
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: clamp(42px, 12.4vw, 94px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .99;
}

.hero h1 span { display: block; }

.hero__subtitle {
  margin-bottom: 8px;
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.5;
}

.hero__audience {
  margin-bottom: 23px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.hero__action { width: fit-content; }

.button {
  display: inline-flex;
  min-width: 204px;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 18px 0 20px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--ink); background: var(--accent); }
.button--primary:hover { background: #b8e65e; }
.button__arrow { font-size: 17px; font-weight: 400; }

.hero__promise {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .025em;
  text-align: center;
}

.setup-inline {
  max-width: 260px;
  margin: 8px 0 0;
  color: #625d4d;
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}

.hero__scroll {
  position: absolute;
  right: 0;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .14em;
  text-decoration: none;
}

.hero__scroll-line { width: 28px; height: 1px; background: currentColor; }

.portfolio { padding-block: 34px 104px; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 27px;
}

.section-heading .eyebrow { margin-bottom: 12px; }

.section-heading h2,
.closing h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 7vw, 62px);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1;
}

.heading-arrow { color: #929087; font-family: var(--sans); font-size: .58em; vertical-align: .08em; }

.section-heading__note {
  max-width: 180px;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: 38px 18px;
}

.portfolio-feature,
.portfolio-picker {
  grid-column: 1 / -1;
  min-width: 0;
}

.portfolio-feature { width: min(100%, 920px); margin-inline: auto; }
.portfolio-feature__item { width: 100%; }

.portfolio-picker {
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}

.portfolio-picker__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.portfolio-picker__label,
.portfolio-picker__count {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .13em;
}

.project-selector-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.project-tile {
  display: grid;
  min-width: 0;
  min-height: 76px;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 6px;
  border: 1px solid var(--rule);
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.project-tile[aria-pressed="true"] { border-color: var(--ink); background: #eeece5; }

.project-tile__image {
  display: block;
  width: 56px;
  height: 62px;
  background: var(--paper-dark);
  object-fit: cover;
}

.project-tile__copy { display: grid; min-width: 0; gap: 5px; }
.project-tile__title { overflow: hidden; font-size: 10px; font-weight: 600; line-height: 1.3; text-overflow: ellipsis; }
.project-tile__details { color: var(--muted); font-size: 7px; font-weight: 700; letter-spacing: .1em; }

.portfolio-picker__more {
  display: block;
  min-height: 44px;
  margin: 8px auto 0;
  padding: 8px 12px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 10px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.portfolio-empty {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.empty-frame {
  position: relative;
  display: grid;
  min-height: 190px;
  aspect-ratio: 1.03 / 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid #d8d5cc;
}

.empty-frame--before { background: #e9e6de; }
.empty-frame--after { background: #deded4; }

.empty-frame__label,
.empty-frame__index {
  position: absolute;
  color: #76756e;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .13em;
}

.empty-frame__label { top: 13px; left: 13px; }
.empty-frame__index { right: 13px; bottom: 13px; font-size: 7px; font-weight: 400; }

.empty-frame__center {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #73726c;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .12em;
}

.empty-frame__mark {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid #aaa89e;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 300;
}

.portfolio-empty__caption {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}

.work-item { min-width: 0; margin: 0; }
.work-item:nth-child(3n + 1) { grid-column: span 7; }
.work-item:nth-child(3n + 2) { grid-column: span 5; margin-top: 70px; }
.work-item:nth-child(3n) { grid-column: span 6; margin-left: 25%; }

.comparison__stage {
  position: relative;
  overflow: hidden;
  background: var(--paper-dark);
  isolation: isolate;
}

.comparison__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 75vh;
  object-fit: cover;
}

.comparison__image--after {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.comparison__stage--toggle .comparison__image {
  max-height: none;
  object-fit: contain;
}

.comparison__tag {
  position: absolute;
  z-index: 2;
  top: 12px;
  padding: 7px 9px;
  color: var(--ink);
  background: var(--paper);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
}

.comparison__tag--before { left: 12px; }
.comparison__tag--after { right: 12px; }

.comparison__controls,
.comparison__toggle-controls {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.comparison__jump,
.comparison__toggle {
  min-width: 52px;
  min-height: 44px;
  padding: 8px 10px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}

.comparison__range { width: 100%; margin: 0; accent-color: #667b3b; touch-action: pan-y; }
.comparison__toggle-controls {
  position: sticky;
  z-index: 3;
  top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: start;
  gap: 0;
  margin-bottom: 8px;
  border-block: 1px solid var(--rule);
  background: var(--paper);
}

.comparison__toggle {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 0;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
}

.comparison__toggle + .comparison__toggle { border-left: 1px solid var(--rule); }
.comparison__toggle[aria-pressed="true"] { color: var(--paper); background: var(--ink); }

.work-item__caption {
  display: flex;
  min-height: 35px;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--rule);
  font-size: 10px;
}

.work-item__number { color: var(--muted); font-variant-numeric: tabular-nums; }
.work-item__title { font-weight: 600; }
.work-item__note { margin-left: auto; color: var(--muted); text-align: right; }

.process { padding-block: 0 98px; }
.section-heading--compact { margin-bottom: 18px; }
.section-heading--compact .eyebrow { margin: 0; }
.section-heading--compact .section-heading__note { max-width: none; }

.steps {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  list-style: none;
}

.step {
  display: grid;
  min-height: 63px;
  grid-template-columns: 35px 1fr;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--rule);
}

.step:last-child { border-bottom: 0; }
.step__number { color: var(--muted); font-size: 9px; font-variant-numeric: tabular-nums; }
.step__text { font-family: var(--serif); font-size: 18px; letter-spacing: -.02em; }

.closing {
  display: flex;
  min-height: 250px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 44px 28px;
  color: var(--paper);
  background: var(--ink);
}

.closing .eyebrow { color: #aaa9a2; }
.closing h2 { max-width: 640px; font-size: clamp(36px, 7vw, 68px); }
.closing__copy > p:last-child { margin: 13px 0 0; color: #c6c4bc; font-family: var(--serif); font-size: 17px; }
.button--light { flex: 0 0 auto; color: var(--ink); background: var(--paper); }
.button--light:hover { background: var(--accent); }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px 30px;
  padding-block: 27px 34px;
}

.footer__brand { display: flex; align-items: center; gap: 20px; }
.wordmark--footer .wordmark__symbol { width: 24px; height: 24px; }
.footer__copyright,
.footer__label { color: var(--muted); font-size: 9px; }
.footer__contacts { display: grid; justify-items: end; gap: 7px; }
.footer__label { font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.contact-links { display: flex; align-items: center; gap: 8px; font-size: 10px; }
.contact-links a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact-links__separator,
.contact-links__missing { color: var(--muted); }
.launch-note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 13px;
  border-top: 1px solid var(--rule);
  color: #6b695f;
  font-size: 10px;
  line-height: 1.6;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] { display: none !important; }

@media (min-width: 700px) {
  .site-header,
  .hero,
  .section-shell { width: min(100% - 72px, var(--content)); }
  .site-header { min-height: 88px; }
  .hero { min-height: 610px; padding-block: 85px 110px; }
  .hero__copy { max-width: 940px; }
  .hero h1 { font-size: clamp(68px, 8.5vw, 112px); }
  .hero__subtitle { margin-bottom: 7px; }
  .hero__audience { margin-bottom: 27px; font-size: 13px; }
  .portfolio { padding-top: 48px; padding-bottom: 140px; }
  .section-heading { margin-bottom: 38px; }
  .portfolio-grid { column-gap: 28px; }
  .portfolio-picker { padding-top: 22px; }
  .project-selector-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .project-tile { min-height: 88px; grid-template-columns: 60px minmax(0, 1fr); gap: 10px; padding: 8px; }
  .project-tile__image { width: 60px; height: 70px; }
  .project-tile__title { font-size: 11px; }
  .portfolio-empty { gap: 14px; }
  .empty-frame { min-height: 300px; }
  .empty-frame__label { top: 19px; left: 20px; }
  .empty-frame__index { right: 20px; bottom: 19px; }
  .portfolio-empty__caption { margin-top: 10px; font-size: 20px; }
  .process { padding-bottom: 140px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step { min-height: 78px; grid-template-columns: 34px auto; border-right: 1px solid var(--rule); border-bottom: 0; padding-inline: 17px; }
  .step:first-child { padding-left: 0; }
  .step:last-child { border-right: 0; }
  .step__text { font-size: clamp(16px, 2vw, 21px); }
  .closing { min-height: 300px; padding: 55px 54px; }
  .site-footer { padding-block: 32px 42px; }
}

@media (max-width: 699px) {
  .work-item,
  .work-item:nth-child(3n + 1),
  .work-item:nth-child(3n + 2),
  .work-item:nth-child(3n) {
    grid-column: 1 / -1;
    margin: 0;
  }
}

@media (min-width: 1000px) {
  .hero { min-height: 590px; }
  .hero__copy { max-width: 1280px; }
  .hero h1 { max-width: 1250px; font-size: clamp(68px, 6vw, 84px); }
  .hero__scroll { bottom: 38px; }
  .section-heading h2 { font-size: 68px; }
  .portfolio-empty { gap: 18px; }
  .empty-frame { min-height: 390px; }
  .empty-frame__center { font-size: 10px; }
  .empty-frame__mark { width: 46px; height: 46px; font-size: 20px; }
}

@media (max-width: 430px) {
  .hero { min-height: 460px; padding-block: 50px 76px; }
  .hero h1 { font-size: clamp(39px, 11vw, 47px); }
  .hero .eyebrow { margin-bottom: 14px; font-size: 8px; }
  .hero__subtitle { margin-bottom: 6px; }
  .hero__audience { max-width: 300px; margin-bottom: 19px; font-size: 11px; }
  .button { min-height: 52px; }
  .portfolio { padding-top: 26px; padding-bottom: 82px; }
  .section-heading { align-items: end; gap: 12px; margin-bottom: 20px; }
  .section-heading h2 { font-size: clamp(34px, 10vw, 42px); }
  .section-heading__note { max-width: 115px; font-size: 9px; }
  .section-heading:not(.section-heading--compact) { flex-wrap: wrap; }
  .section-heading:not(.section-heading--compact) .section-heading__note { width: 100%; max-width: none; text-align: left; }
  .section-heading .eyebrow { font-size: 8px; }
  .empty-frame { min-height: 160px; aspect-ratio: .85 / 1; }
  .empty-frame__label { top: 10px; left: 9px; font-size: 7px; }
  .empty-frame__index { right: 9px; bottom: 10px; font-size: 6px; }
  .empty-frame__center { gap: 7px; font-size: 6px; }
  .empty-frame__mark { width: 28px; height: 28px; font-size: 13px; }
  .portfolio-empty__caption { font-size: 15px; }
  .process { padding-bottom: 80px; }
  .section-heading--compact { align-items: center; margin-bottom: 13px; }
  .section-heading--compact .section-heading__note { max-width: 150px; }
  .step { min-height: 58px; }
  .step__text { font-size: 17px; }
  .closing { min-height: 0; flex-direction: column; align-items: flex-start; gap: 24px; padding: 32px 22px; }
  .closing h2 { font-size: 43px; }
  .closing__copy > p:last-child { font-size: 15px; }
  .site-footer { grid-template-columns: 1fr; gap: 18px; padding-top: 23px; }
  .footer__brand { justify-content: space-between; }
  .footer__contacts { justify-items: start; }
  .contact-links { flex-wrap: wrap; gap: 6px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
