* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: clip;
  background:
    radial-gradient(circle at 92% 5%, rgba(42, 36, 114, 0.07), transparent 24rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-underline-offset: 0.24em;
}

button,
summary {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--paper-strong);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--orange);
  border-radius: var(--radius-small);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  transform: translateY(-180%);
  background: var(--ink);
  color: var(--paper-strong);
  font-weight: 800;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  min-height: 5.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.75rem var(--gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(244, 240, 231, 0.94);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 4rem;
  object-fit: contain;
  object-position: left center;
}

.footer-brand img {
  width: auto;
  height: 3.5rem;
  object-fit: contain;
  object-position: left center;
}

.desktop-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.desktop-nav a,
.site-footer nav a {
  position: relative;
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.45rem;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--orange);
  content: "";
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.mobile-menu {
  display: none;
  position: relative;
}

.mobile-menu summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span,
.mobile-menu summary span::before,
.mobile-menu summary span::after {
  display: block;
  width: 1.45rem;
  height: 2px;
  background: var(--ink);
  content: "";
}

.mobile-menu summary span {
  position: relative;
}

.mobile-menu summary span::before {
  position: absolute;
  top: -0.42rem;
}

.mobile-menu summary span::after {
  position: absolute;
  top: 0.42rem;
}

.mobile-menu[open] summary span {
  background: transparent;
}

.mobile-menu[open] summary span::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu[open] summary span::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu nav {
  position: absolute;
  top: calc(100% + 1.25rem);
  right: calc(-1 * var(--gutter));
  display: grid;
  width: min(22rem, 100vw);
  padding: 1rem var(--gutter) 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.mobile-menu nav a {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 750;
  text-decoration: none;
}

.mobile-menu nav a:last-child {
  border-bottom: 0;
}

.review-note {
  display: grid;
  grid-template-columns: minmax(13rem, 0.8fr) minmax(18rem, 1.2fr);
  gap: 1rem 2rem;
  padding: 0.8rem var(--gutter);
  background: var(--orange);
  color: white;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.025em;
}

.section-pad {
  width: min(100%, calc(var(--content) + 2 * var(--gutter)));
  margin-inline: auto;
  padding: var(--section) var(--gutter);
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--indigo);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2 {
  margin: 0;
  max-width: 18ch;
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 7.9rem);
  white-space: pre-line;
}

h2 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
}

.lead {
  max-width: 43rem;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.6;
}

.hero {
  display: grid;
  min-height: calc(100vh - 5.5rem);
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.82fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.hero-copy h1 {
  max-width: 10ch;
}

.hero-copy h1::first-line {
  color: var(--ink);
}

.hero-copy .lead {
  max-width: 35rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.35rem;
}

.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 820;
  letter-spacing: 0.065em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: var(--orange);
  background: var(--orange);
  color: white;
}

.button-primary:hover {
  border-color: var(--orange-deep);
  background: var(--orange-deep);
}

.button-light {
  border-color: var(--paper-strong);
  background: var(--paper-strong);
  color: var(--indigo-deep);
}

.text-link {
  font-size: 0.84rem;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-transform: uppercase;
}

.hero-field {
  position: relative;
  display: grid;
  aspect-ratio: 0.82;
  min-height: 31rem;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-large) var(--radius-large) 0 var(--radius-large);
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    var(--indigo);
  background-size: 3rem 3rem;
  box-shadow: var(--shadow);
  color: white;
}

.hero-field::before {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.hero-field::after {
  position: absolute;
  width: 42%;
  aspect-ratio: 1;
  border: 2px solid rgba(190, 67, 29, 0.88);
  border-radius: 50%;
  content: "";
}

.field-index,
.field-caption {
  position: absolute;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.field-index {
  top: 1.4rem;
  left: 1.4rem;
}

.field-caption {
  right: 1.4rem;
  bottom: 1.4rem;
}

.hero-logo {
  position: relative;
  z-index: 3;
  display: block;
  width: min(58%, 19rem);
  height: auto;
}

.principle {
  display: grid;
  grid-template-columns: 0.42fr minmax(0, 1fr);
  gap: 1.25rem clamp(2rem, 8vw, 8rem);
  align-items: start;
  border-top: 1px solid var(--line);
}

.principle .eyebrow {
  grid-row: span 3;
}

.principle > p:not(.eyebrow) {
  max-width: 42rem;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.rhythm-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 3.5rem 0 0;
  padding: 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.rhythm-list li {
  display: grid;
  min-height: 8rem;
  align-content: space-between;
  padding: 1rem 1.25rem;
  border-right: 1px solid var(--line);
  font-weight: 750;
}

.rhythm-list li:last-child {
  border-right: 0;
}

.rhythm-list span {
  color: var(--indigo);
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(20rem, 1.14fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}

.split-section > div:first-child > p:not(.eyebrow) {
  max-width: 32rem;
  margin: 2rem 0;
  color: var(--ink-soft);
}

.empty-visual {
  display: grid;
  min-height: 25rem;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 1.25rem;
  padding: clamp(2rem, 5vw, 4rem);
  overflow: hidden;
  border-radius: 0 var(--radius-large) var(--radius-large) var(--radius-large);
  background: var(--indigo-soft);
}

.empty-visual span {
  display: block;
  border: 1px solid rgba(42, 36, 114, 0.35);
  border-radius: 999px 999px 0 0;
  background: rgba(42, 36, 114, 0.08);
}

.empty-visual span:nth-child(1) {
  height: 38%;
}

.empty-visual span:nth-child(2) {
  height: 63%;
}

.empty-visual span:nth-child(3) {
  height: 88%;
}

.support-callout {
  width: min(calc(100% - 2 * var(--gutter)), var(--content));
  margin-bottom: var(--section);
  padding: clamp(3rem, 7vw, 6rem);
  border-radius: var(--radius-large);
  background: var(--indigo);
  color: white;
}

.support-callout .eyebrow {
  color: #f4a080;
}

.support-callout h2 {
  max-width: 16ch;
}

.support-callout > p:not(.eyebrow) {
  max-width: 41rem;
  margin: 2rem 0;
  color: rgba(255, 255, 255, 0.8);
}

.page-hero {
  padding-bottom: clamp(3rem, 6vw, 6rem);
}

.page-hero h1 {
  max-width: 13ch;
}

.catalog-empty {
  display: grid;
  grid-template-columns: minmax(18rem, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  padding-top: 2rem;
}

.empty-logo {
  display: grid;
  min-height: 29rem;
  place-items: center;
  padding: 4rem;
  border-radius: var(--radius-large) var(--radius-large) var(--radius-large) 0;
  background: var(--indigo);
}

.empty-logo img {
  width: min(72%, 20rem);
  height: auto;
}

.catalog-empty h2 {
  font-size: clamp(2.35rem, 4.6vw, 4.2rem);
}

.catalog-empty p:not(.eyebrow) {
  max-width: 34rem;
  color: var(--ink-soft);
}

.support-hero {
  display: grid;
  grid-template-columns: 0.38fr minmax(0, 1fr);
  gap: 1rem clamp(2rem, 7vw, 7rem);
}

.support-hero .eyebrow {
  grid-row: span 2;
}

.support-hero h1 {
  max-width: 16ch;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

.support-hero .lead {
  grid-column: 2;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding-top: 2rem;
  background: var(--line);
}

.support-card {
  position: relative;
  display: grid;
  min-height: 20rem;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--paper);
}

.support-card > span {
  color: var(--indigo);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
}

.support-card h2 {
  max-width: 14ch;
  font-size: clamp(2rem, 3.6vw, 3.3rem);
}

.support-card p {
  max-width: 31rem;
  color: var(--ink-soft);
}

.support-card::after {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 4.5rem;
  height: 0.55rem;
  border-inline: 1px solid var(--line);
  background: repeating-linear-gradient(90deg, transparent 0 0.65rem, var(--line) 0.65rem 0.72rem);
  content: "";
}

.not-found {
  min-height: calc(100vh - 16rem);
  display: grid;
  align-content: center;
}

.not-found h1 {
  max-width: 14ch;
  font-size: clamp(3.2rem, 7vw, 6.8rem);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem 4rem;
  padding: 3.5rem var(--gutter);
  background: var(--ink);
  color: var(--paper);
}

.site-footer p {
  margin: 0;
  color: rgba(244, 240, 231, 0.7);
  font-size: 0.82rem;
}

.footer-copy {
  display: grid;
  gap: 0.35rem;
}

.site-footer .footer-tagline {
  color: var(--paper);
  font-weight: 700;
}

.support-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-grid-three .support-card {
  min-height: 16rem;
}

.check-list {
  display: grid;
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.5rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.check-list span {
  color: var(--indigo);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 2;
}

.table-wrap {
  max-width: 100%;
  margin-top: 2rem;
  overflow-x: auto;
}

.guide-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
}

.guide-table th,
.guide-table td {
  padding: 0.9rem 0.8rem 0.9rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.guide-table th {
  color: var(--indigo);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guide-table td {
  color: var(--ink-soft);
}

.guide-table td:nth-child(2) {
  color: var(--ink);
  font-weight: 700;
}

.faq.section-pad,
.prose.section-pad {
  padding-top: 0;
}

.faq details {
  max-width: 56rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}

.faq details:first-child {
  border-top: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 750;
}

.faq p {
  max-width: 44rem;
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
}

.prose p {
  max-width: 48rem;
  margin: 0 0 1.25rem;
  color: var(--ink-soft);
  font-size: 1.1rem;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  gap: clamp(3rem, 7vw, 7rem);
}

.gallery-frames {
  display: grid;
  gap: 1rem;
}

.gallery-frames figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-medium);
  background: var(--indigo-soft);
}

.js .gallery-frames figure:not(.is-active) {
  display: none;
}

.gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.gallery-thumbs a {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 750;
  text-decoration: none;
}

.product-copy h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
}

.technical-specs {
  margin: 2rem 0 0;
}

.technical-specs div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.technical-specs dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.technical-specs dd {
  margin: 0;
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-field {
    aspect-ratio: 1.1;
    min-height: 24rem;
  }

  .principle,
  .support-hero {
    grid-template-columns: 1fr;
  }

  .principle .eyebrow,
  .support-hero .eyebrow {
    grid-row: auto;
  }

  .support-hero .lead {
    grid-column: auto;
  }

  .split-section,
  .catalog-empty,
  .product-layout {
    grid-template-columns: 1fr;
  }

  .support-grid-three {
    grid-template-columns: 1fr;
  }

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

  .site-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 570px) {
  .site-header {
    min-height: 4.75rem;
    padding-block: 0.75rem;
  }

  .brand img {
    width: auto;
    height: 3.25rem;
  }

  .review-note {
    grid-template-columns: 1fr;
  }

  .section-pad {
    padding-block: clamp(3.5rem, 16vw, 5.5rem);
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 5.3rem);
  }

  .guide-table {
    min-width: 0;
  }

  .guide-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .guide-table tr {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
  }

  .guide-table td {
    display: grid;
    grid-template-columns: 6.5rem 1fr;
    gap: 0.75rem;
    padding: 0.3rem 0;
    border: 0;
  }

  .guide-table td::before {
    content: attr(data-label);
    color: var(--indigo);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 2;
    text-transform: uppercase;
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3.6rem);
  }

  .hero {
    gap: 3.5rem;
  }

  .hero-field {
    min-height: 20rem;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .actions .text-link {
    width: 100%;
    text-align: center;
  }

  .rhythm-list {
    grid-template-columns: 1fr;
  }

  .rhythm-list li {
    min-height: 5.5rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .rhythm-list li:last-child {
    border-bottom: 0;
  }

  .empty-visual {
    min-height: 19rem;
  }

  .support-callout {
    width: calc(100% - 2 * var(--gutter));
    padding: 2.25rem;
  }

  .empty-logo {
    min-height: 20rem;
    padding: 3rem;
  }

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

  .support-card {
    min-height: 16rem;
    grid-template-columns: 2rem 1fr;
    padding: 2rem 1.5rem;
  }
}

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

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