:root {
  color-scheme: light;
  --bg: oklch(1 0 0);
  --surface: oklch(0.965 0.008 268);
  --ink: oklch(0.205 0.028 268);
  --muted: oklch(0.45 0.025 268);
  --primary: oklch(0.36 0.15 268);
  --primary-deep: oklch(0.27 0.12 268);
  --primary-light: oklch(0.9 0.05 268);
  --accent: oklch(0.82 0.15 103);
  --line: oklch(0.82 0.018 268);
  --hero-ink: oklch(0.985 0.005 268);
  --content: 1180px;
  --display: "Avenir Next", "Helvetica Neue", "PingFang SC", sans-serif;
  --body: "Avenir Next", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

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

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 10;
  padding: 0.65rem 0.9rem;
  background: var(--accent);
  color: var(--ink);
  transform: translateY(-180%);
  transition: transform 180ms var(--ease-out);
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: min(calc(100% - 2 * clamp(1.25rem, 5vw, 4.5rem)), var(--content));
  margin-inline: auto;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--hero-ink);
}

.wordmark {
  display: inline-grid;
  gap: 0;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.wordmark span:last-child {
  color: var(--accent);
}

nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.4rem);
  font-size: 0.9rem;
}

nav a {
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.hero {
  min-height: min(820px, 92svh);
  padding: clamp(8.5rem, 16vh, 11rem) clamp(1.25rem, 5vw, 4.5rem) clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  background: var(--primary);
  color: var(--hero-ink);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, 0.7fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  width: min(100%, var(--content));
  min-height: clamp(360px, 55vh, 540px);
  margin-inline: auto;
}

.location {
  margin: 0 0 1.15rem;
  color: currentColor;
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.hero h1 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 4.8vw, 4.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  white-space: nowrap;
}

.hero-statement {
  animation: enter 800ms var(--ease-out) both;
}

.identity {
  align-self: end;
  max-width: 22rem;
  padding-top: 1.4rem;
  border-top: 1px solid color-mix(in oklch, var(--hero-ink) 42%, transparent);
  animation: enter 800ms 120ms var(--ease-out) both;
}

.identity p,
.identity span {
  display: block;
  margin: 0;
  color: var(--primary-light);
  font-size: 0.8rem;
}

.identity strong {
  display: block;
  margin-block: 0.7rem 1.25rem;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-line {
  width: min(100%, var(--content));
  height: 10px;
  margin: clamp(3rem, 8vh, 7rem) auto 0;
  background: var(--accent);
  transform-origin: left;
  animation: line-in 900ms 180ms var(--ease-out) both;
}

.intro,
.products,
.company-facts,
footer,
.policy {
  width: min(calc(100% - 2 * clamp(1.25rem, 5vw, 4.5rem)), var(--content));
  margin-inline: auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.5fr);
  gap: clamp(2rem, 8vw, 8rem);
  padding-block: clamp(5rem, 10vw, 9rem);
}

.intro h2,
.section-heading h2,
.policy h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.intro h2,
.section-heading h2 {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.intro > p {
  max-width: 30ch;
  margin: 0;
  font-size: clamp(1.55rem, 3.1vw, 2.65rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

.products,
.company-facts {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 7vw, 6rem);
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.product-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.65fr) minmax(280px, 1.35fr) minmax(150px, 0.7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-block: 2rem;
  border-block: 1px solid var(--ink);
}

.product-name h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.product-name p,
.product-description {
  margin: 0;
}

.product-name p {
  margin-top: 0.35rem;
  color: var(--muted);
}

.product-description {
  max-width: 42ch;
  font-size: 1.08rem;
}

.product-links {
  display: grid;
  gap: 0.65rem;
  justify-items: start;
  font-size: 0.92rem;
}

.company-facts dl {
  margin: 0;
}

.company-facts dl > div {
  display: grid;
  grid-template-columns: minmax(140px, 0.55fr) minmax(0, 1.8fr);
  gap: clamp(2rem, 6vw, 7rem);
  padding-block: 1.45rem;
  border-top: 1px solid var(--line);
}

.company-facts dl > div:last-child {
  border-bottom: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-size: 0.9rem;
}

dd {
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 560;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-block: clamp(2.5rem, 6vw, 4rem);
  color: var(--muted);
  font-size: 0.82rem;
}

footer p {
  margin: 0;
}

footer div {
  display: flex;
  gap: 0.7rem;
}

.light-header {
  position: relative;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.policy {
  max-width: 780px;
  padding-block: clamp(4rem, 10vw, 8rem);
}

.policy > h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.policy-date {
  margin: 1rem 0 clamp(3.5rem, 8vw, 6rem);
  color: var(--muted);
}

.policy section {
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
}

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

.policy h2 {
  font-size: 1.2rem;
}

.policy section p {
  max-width: 68ch;
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.light-footer {
  border-top: 1px solid var(--line);
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes line-in {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
  }

  .site-header nav {
    gap: 1rem;
  }

  .site-header nav a:nth-child(2) {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .intro,
  .product-row {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: 0;
    gap: 5rem;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.15rem, 9.5vw, 2.65rem);
  }

  .intro {
    gap: 1.8rem;
  }

  .intro > p {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .product-row {
    gap: 1.8rem;
  }

  .company-facts dl > div {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  footer {
    flex-direction: column;
  }
}

@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;
  }
}
