:root {
  color-scheme: light;
  --paper: #f7f8f7;
  --surface: #ffffff;
  --ink: #111820;
  --muted: #59636c;
  --line: #dce1df;
  --brand-ink: #0e1420;
  --accent: #72dfc1;
  --accent-ink: #164d46;
  --content: 1180px;
  --page-gutter: clamp(1.25rem, 4vw, 3.5rem);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 5.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.65;
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--accent-ink);
  outline-offset: 4px;
}

figure,
p,
h1,
h2,
h3 {
  margin: 0;
}

.container {
  width: min(calc(100% - var(--page-gutter) * 2), var(--content));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  transform: translateY(-160%);
  background: var(--brand-ink);
  color: var(--surface);
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  z-index: 5;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 248, 247, 0.97);
}

.header-inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-lockup {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 3px;
  background: var(--brand-ink);
  text-decoration: none;
}

.brand-lockup img {
  width: clamp(7.75rem, 13vw, 9.75rem);
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2rem);
}

nav a {
  color: var(--muted);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 160ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--ink);
}

.section-shell {
  border-bottom: 1px solid var(--line);
}

.hero {
  padding-block: clamp(4.25rem, 9vw, 8rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(20rem, 0.95fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.035em;
  line-height: 1.4;
}

.eyebrow span {
  width: 1.35rem;
  height: 2px;
  flex: 0 0 auto;
  background: var(--accent-ink);
}

.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.99;
}

.hero h1 span {
  color: var(--muted);
}

.hero-summary {
  max-width: 34rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-primary {
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--brand-ink);
  border-radius: 3px;
  background: var(--brand-ink);
  color: var(--surface);
}

.button-primary:hover {
  border-color: #263449;
  background: #263449;
}

.button-text {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.button-text:hover {
  color: var(--accent-ink);
}

.hero-visual {
  display: grid;
  aspect-ratio: 17 / 9;
  place-items: center;
  overflow: hidden;
  border: 1px solid #293546;
  background: var(--brand-ink);
}

.hero-visual img {
  width: clamp(8rem, 18vw, 13rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.products {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background: var(--surface);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2,
.contact h2 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.product-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 3rem 1.25rem;
  padding-block: clamp(3.5rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.product-copy {
  grid-column: 1 / span 5;
  min-width: 0;
}

.product-index {
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.product-index span {
  padding-inline: 0.3rem;
  color: var(--accent-ink);
}

.product-copy h3 {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.product-copy > p:not(.product-index) {
  max-width: 34rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.product-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  margin-top: 1.5rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration-color: var(--accent-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: color 160ms ease;
}

.product-link:hover {
  color: var(--accent-ink);
}

.product-media {
  grid-column: 7 / span 6;
  justify-self: end;
  width: min(100%, 19rem);
  padding: 0.625rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f2f4f3;
}

.product-media img {
  width: 100%;
  height: auto;
  border-radius: 7px;
}

.product-row-reverse .product-copy {
  grid-column: 8 / span 5;
  grid-row: 1;
}

.product-row-reverse .product-media {
  grid-column: 1 / span 6;
  grid-row: 1;
  justify-self: start;
}

.product-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.studio {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.studio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2rem 1.25rem;
}

.studio-intro {
  grid-column: 1 / span 4;
}

.studio-intro h2 {
  margin-top: 1.5rem;
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.06em;
  line-height: 1.03;
}

.studio-detail {
  grid-column: 6 / span 7;
}

.studio-description {
  max-width: 46rem;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
  line-height: 1.75;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2.75rem 0 0;
  padding: 0;
  list-style: none;
}

.principles li {
  min-width: 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}

.principles li span {
  color: var(--accent-ink);
  font-size: 0.8125rem;
  font-weight: 600;
}

.principles h3 {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.45;
}

.contact {
  padding-block: clamp(4.5rem, 8vw, 7rem);
  background: #eef1ef;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 2rem 1.25rem;
}

.contact-grid > div:first-child {
  grid-column: 1 / span 5;
}

.contact h2 {
  margin-top: 1.5rem;
}

.contact-detail {
  grid-column: 7 / span 6;
}

.contact-detail p {
  color: var(--muted);
  font-size: 1rem;
}

address {
  margin-top: 0.5rem;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: normal;
  font-weight: 600;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

address a {
  text-decoration-color: var(--accent-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

address a:hover {
  color: var(--accent-ink);
}

.site-footer {
  padding-block: 1.75rem;
  background: var(--paper);
}

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

.footer-brand p {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}

.footer-brand span,
.copyright,
.footer-domain {
  color: var(--muted);
  font-size: 0.8125rem;
}

.footer-domain {
  text-decoration-color: var(--accent-ink);
  text-underline-offset: 0.2em;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .hero-copy {
    max-width: 48rem;
  }

  .hero-visual {
    width: min(100%, 48rem);
    aspect-ratio: 2.25 / 1;
    justify-self: end;
  }

  .product-row,
  .studio-grid,
  .contact-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .product-copy {
    grid-column: 1 / span 4;
  }

  .product-media {
    grid-column: 5 / span 4;
    width: min(100%, 18rem);
  }

  .product-row-reverse .product-copy {
    grid-column: 5 / span 4;
  }

  .product-row-reverse .product-media {
    grid-column: 1 / span 4;
  }

  .studio-intro {
    grid-column: 1 / span 3;
  }

  .studio-detail {
    grid-column: 4 / span 5;
  }

  .contact-grid > div:first-child {
    grid-column: 1 / span 4;
  }

  .contact-detail {
    grid-column: 5 / span 4;
  }
}

@media (max-width: 700px) {
  .header-inner {
    min-height: 70px;
    gap: 0.8rem;
  }

  .brand-lockup {
    padding: 0.32rem 0.45rem;
  }

  .brand-lockup img {
    width: 7.25rem;
  }

  nav {
    gap: clamp(0.65rem, 3.5vw, 1.1rem);
  }

  nav a {
    font-size: 0.875rem;
  }

  .hero {
    padding-block: 4.25rem;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 9.5vw, 4rem);
  }

  .hero-summary {
    margin-top: 1.35rem;
  }

  .hero-actions {
    margin-top: 1.6rem;
  }

  .product-row,
  .studio-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-row {
    row-gap: 2rem;
    padding-block: 3.5rem;
  }

  .product-copy,
  .product-row-reverse .product-copy,
  .product-media,
  .product-row-reverse .product-media,
  .studio-intro,
  .studio-detail,
  .contact-grid > div:first-child,
  .contact-detail {
    grid-column: 1;
  }

  .product-copy,
  .product-row-reverse .product-copy,
  .product-media,
  .product-row-reverse .product-media {
    grid-row: auto;
  }

  .product-media,
  .product-row-reverse .product-media {
    width: min(100%, 18rem);
    justify-self: center;
  }

  .studio-grid,
  .contact-grid {
    gap: 2rem;
  }

  .principles {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    margin-top: 2rem;
  }

  .principles li {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.75rem;
    align-items: start;
  }

  .principles h3 {
    margin-top: 0;
  }

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

  .copyright {
    grid-column: 1;
    grid-row: 2;
  }

  .footer-domain {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

@media (max-width: 390px) {
  :root {
    --page-gutter: 1rem;
  }

  .header-inner {
    gap: 0.55rem;
  }

  .brand-lockup img {
    width: 6.7rem;
  }

  nav {
    gap: 0.65rem;
  }

  nav a {
    font-size: 0.8125rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
}

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