:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #181714;
  background: #f4f1ea;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #181714;
  --muted: #6d6961;
  --paper: #f4f1ea;
  --line: rgba(24, 23, 20, 0.18);
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100svh;
  margin: 0;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
}

a {
  color: inherit;
  text-decoration-color: rgba(24, 23, 20, 0.35);
  text-underline-offset: 0.3em;
}

a:hover,
a:focus-visible {
  text-decoration-color: currentColor;
}

.site-header {
  width: min(100%, 82rem);
  min-height: 5.5rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  max-width: 12rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1;
  text-decoration: none;
}

nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.25rem);
}

nav a,
.text-link {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav a {
  text-decoration: none;
}

main,
footer {
  width: min(100%, 82rem);
  margin: 0 auto;
}

.hero {
  min-height: min(48rem, calc(100svh - 5.5rem));
  padding: clamp(6rem, 13vw, 10rem) 0 clamp(5rem, 10vw, 8rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow,
.section-label,
.card-number,
dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}

h1 {
  max-width: 11.5ch;
  margin: 1.75rem 0 2rem;
  font-size: clamp(3.4rem, 9vw, 7.6rem);
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.hero-description {
  max-width: 38rem;
  margin-bottom: 2.25rem;
  font-size: clamp(1.08rem, 2vw, 1.4rem);
  line-height: 1.55;
}

.statement,
.company-section {
  display: grid;
  grid-template-columns: minmax(9rem, 0.65fr) minmax(0, 2fr);
  gap: clamp(2rem, 7vw, 8rem);
  padding: clamp(5rem, 10vw, 9rem) 0;
  border-top: 1px solid var(--line);
}

.statement h2,
.section-heading h2 {
  margin-bottom: 1.75rem;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.statement h2 {
  max-width: 17ch;
}

.statement div > p {
  max-width: 39rem;
  margin-bottom: 0;
  color: #4f4c46;
  font-size: 1.05rem;
  line-height: 1.7;
}

.work-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(9rem, 0.65fr) minmax(0, 2fr);
  gap: clamp(2rem, 7vw, 8rem);
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.section-heading h2 {
  max-width: 15ch;
  margin-bottom: 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-left: max(0px, calc((100% - 8rem) * 0.245));
  border-top: 1px solid var(--line);
}

.work-grid article {
  min-height: 19rem;
  padding: 2rem clamp(1.5rem, 4vw, 3.5rem) 2rem 0;
  border-bottom: 1px solid var(--line);
}

.work-grid article:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.work-grid article:nth-child(even) {
  padding-left: clamp(1.5rem, 4vw, 3.5rem);
}

.work-grid h3 {
  margin: 3.5rem 0 1.2rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.work-grid article > p:last-child {
  max-width: 27rem;
  margin-bottom: 0;
  color: #56524b;
  line-height: 1.65;
}

.company-section {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: clamp(3rem, 4vw, 4rem);
  padding-bottom: clamp(3rem, 4vw, 4rem);
}

.founder,
.company-details {
  min-width: 0;
}

.founder .section-label,
.company-details .section-label {
  margin-bottom: 1.5rem;
}

.founder h2 {
  margin-bottom: 0.6rem;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

dl div {
  display: grid;
  grid-template-columns: 8rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

dt {
  padding-top: 0.2rem;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-family: var(--serif);
  font-size: 1.1rem;
  line-height: 1.4;
}

footer {
  min-height: 8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}

footer p {
  margin: 0;
}

@media (max-width: 48rem) {
  .site-header {
    min-height: 4.75rem;
  }

  nav a:not(:last-child) {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .statement,
  .section-heading,
  .company-section {
    grid-template-columns: 1fr;
  }

  .statement,
  .company-section {
    gap: 3rem;
  }

  .section-heading {
    gap: 2rem;
  }

  .work-grid {
    grid-template-columns: 1fr;
    margin-left: 0;
  }

  .work-grid article,
  .work-grid article:nth-child(even) {
    min-height: auto;
    padding: 2rem 0 2.5rem;
    border-right: 0;
  }

  .work-grid h3 {
    margin-top: 2.5rem;
  }

  .company-section {
    gap: 5rem;
  }
}

@media (max-width: 30rem) {
  body {
    padding: 0 1.25rem;
  }

  h1 {
    font-size: clamp(3.1rem, 17vw, 4.8rem);
  }

  dl div {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.6rem;
  }
}

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