:root {
  --ink: #17231d;
  --muted: #59665f;
  --paper: #f5f2e9;
  --paper-2: #ebe7dc;
  --white: #fffdf7;
  --forest: #173f31;
  --forest-2: #255844;
  --green: #4f7a5e;
  --amber: #d89a2b;
  --clay: #c75f43;
  --line: rgba(23, 35, 29, 0.16);
  --line-light: rgba(255, 253, 247, 0.22);
  --shadow: 0 24px 70px rgba(22, 37, 29, 0.12);
  --max: 1180px;
  --radius: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Aptos", "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--forest);
  transform: translateY(-160%);
}

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

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 242, 233, 0.94);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  background: var(--amber);
  font-family: "Georgia", serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong {
  font-family: "Georgia", serif;
  font-size: 17px;
  letter-spacing: 0.075em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav > a:not(.button) {
  position: relative;
  font-size: 14px;
  font-weight: 600;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: var(--amber);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: var(--forest);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  background: var(--forest-2);
  transform: translateY(-1px);
}

.button svg {
  width: 17px;
  height: 17px;
}

.button-secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, 0.45);
}

.button-light {
  background: var(--white);
  color: var(--forest);
}

.button-light:hover {
  background: var(--amber);
  color: var(--ink);
}

.button-small {
  min-height: 42px;
  padding: 10px 15px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to right, black, transparent 75%);
}

.hero-grid {
  position: relative;
  display: grid;
  min-height: calc(88svh - 76px);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  grid-template-columns: minmax(0, 0.94fr) minmax(380px, 0.76fr);
  padding-block: clamp(48px, 7vw, 92px) 48px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 32px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero h1,
.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: "Georgia", serif;
  font-size: clamp(45px, 6.4vw, 84px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.99;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 253, 247, 0.78);
  font-size: clamp(17px, 1.8vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero .button-secondary {
  border-color: var(--line-light);
  color: var(--white);
}

.hero .button-secondary:hover {
  border-color: rgba(255, 253, 247, 0.55);
  background: rgba(255, 255, 255, 0.07);
}

.hero-media {
  position: relative;
  min-height: 540px;
}

.bearing-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-light);
  background: #d9ddd7;
  box-shadow: var(--shadow);
}

.bearing-stage::before {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border: 1px solid rgba(23, 63, 49, 0.22);
  border-radius: 50%;
  content: "";
}

.bearing-stage::after {
  position: absolute;
  inset: 13%;
  border: 1px dashed rgba(23, 63, 49, 0.26);
  border-radius: 50%;
  content: "";
}

.bearing-stage img {
  position: relative;
  z-index: 1;
  width: min(82%, 430px);
  filter: drop-shadow(0 30px 24px rgba(22, 37, 29, 0.24));
  mix-blend-mode: multiply;
  transform: rotate(-8deg);
}

.stage-label {
  position: absolute;
  z-index: 2;
  right: 18px;
  bottom: 18px;
  max-width: 230px;
  padding: 10px 12px;
  border: 1px solid rgba(23, 63, 49, 0.24);
  background: rgba(255, 253, 247, 0.92);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-foot {
  position: relative;
  display: grid;
  border-top: 1px solid var(--line-light);
  grid-template-columns: repeat(3, 1fr);
}

.hero-foot div {
  padding: 22px 24px;
  border-right: 1px solid var(--line-light);
}

.hero-foot div:first-child {
  padding-left: 0;
}

.hero-foot div:last-child {
  border-right: 0;
}

.hero-foot strong {
  display: block;
  color: var(--white);
  font-family: "Georgia", serif;
  font-size: 22px;
  font-weight: 400;
}

.hero-foot span {
  color: rgba(255, 253, 247, 0.62);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section {
  padding-block: clamp(72px, 9vw, 122px);
}

.section-alt {
  background: var(--paper-2);
}

.section-dark {
  background: var(--forest);
  color: var(--white);
}

.section-dark .section-lead,
.section-dark .feature p,
.section-dark .step p {
  color: rgba(255, 253, 247, 0.7);
}

.section-head {
  display: grid;
  align-items: end;
  gap: 28px;
  margin-bottom: 46px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
}

.section h2 {
  max-width: 760px;
  margin: 0;
  font-family: "Georgia", serif;
  font-size: clamp(34px, 4.6vw, 57px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.section-lead {
  max-width: 590px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

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

.product-card {
  position: relative;
  display: grid;
  min-height: 530px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  grid-template-rows: 1fr auto;
}

.product-card-copy {
  position: relative;
  z-index: 2;
  padding: 30px;
}

.product-index {
  display: block;
  margin-bottom: 24px;
  color: var(--clay);
  font-family: "Georgia", serif;
  font-size: 14px;
}

.product-card h3 {
  max-width: 430px;
  margin: 0;
  font-family: "Georgia", serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 400;
  line-height: 1.08;
}

.product-card p {
  max-width: 440px;
  margin: 16px 0 0;
  color: var(--muted);
}

.product-card-media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  background: #d9ded8;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product-card:hover .product-card-media img {
  transform: scale(1.035) rotate(-1deg);
}

.product-card-media.drip {
  display: grid;
  place-items: center;
  background: #d9e5dd;
}

.product-card-media.drip img {
  width: min(80%, 430px);
  height: auto;
}

.feature-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  min-height: 250px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 40px;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.feature svg {
  width: 19px;
  height: 19px;
}

.feature h3,
.step h3 {
  margin: 0 0 10px;
  font-family: "Georgia", serif;
  font-size: 23px;
  font-weight: 400;
}

.feature p,
.step p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.process-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, 1fr);
}

.step {
  padding-top: 20px;
  border-top: 2px solid var(--amber);
}

.step-no {
  display: block;
  margin-bottom: 32px;
  color: var(--amber);
  font-family: "Georgia", serif;
  font-size: 13px;
}

.cta-band {
  display: grid;
  align-items: center;
  gap: 32px;
  padding: 46px;
  border: 1px solid var(--line);
  background: var(--amber);
  grid-template-columns: minmax(0, 1fr) auto;
}

.cta-band h2 {
  max-width: 740px;
  margin: 0;
  font-family: "Georgia", serif;
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 400;
  line-height: 1.06;
}

.page-hero {
  padding-block: clamp(72px, 10vw, 124px) clamp(54px, 7vw, 86px);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}

.page-hero-grid {
  display: grid;
  align-items: end;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
}

.page-hero h1 {
  font-size: clamp(46px, 7vw, 82px);
}

.page-hero p {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.product-detail {
  display: grid;
  align-items: center;
  gap: clamp(40px, 7vw, 88px);
  padding-block: clamp(70px, 9vw, 116px);
  border-bottom: 1px solid var(--line);
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1fr);
}

.product-detail.reverse .detail-media {
  order: 2;
}

.detail-media {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #d9ded8;
}

.detail-media > img {
  width: 84%;
  filter: drop-shadow(0 26px 24px rgba(22, 37, 29, 0.22));
  mix-blend-mode: multiply;
}

.detail-media.diagram {
  background: #dce7df;
}

.detail-media.diagram img {
  width: 88%;
  filter: none;
  mix-blend-mode: normal;
}

.detail-copy h2 {
  margin-bottom: 18px;
}

.detail-copy > p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 16px;
}

.spec-list {
  display: grid;
  margin: 0;
  border-top: 1px solid var(--line);
}

.spec-list div {
  display: grid;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 150px 1fr;
}

.spec-list dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 0;
  font-size: 14px;
}

.note {
  margin-top: 24px;
  padding: 14px 16px;
  border-left: 3px solid var(--amber);
  background: rgba(216, 154, 43, 0.1);
  color: var(--muted);
  font-size: 13px;
}

.about-grid {
  display: grid;
  align-items: start;
  gap: clamp(40px, 8vw, 100px);
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
}

.about-fact {
  position: sticky;
  top: 110px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--white);
}

.about-fact .brand-mark {
  margin-bottom: 58px;
}

.about-fact strong {
  display: block;
  font-family: "Georgia", serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
}

.about-fact span {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.prose h2 {
  margin-top: 0;
}

.prose h2 + p {
  margin-top: 24px;
}

.prose h3 {
  margin: 44px 0 10px;
  font-family: "Georgia", serif;
  font-size: 25px;
  font-weight: 400;
}

.prose p {
  max-width: 720px;
  color: var(--muted);
  font-size: 16px;
}

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

.rule-list li {
  display: grid;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 28px 1fr;
}

.rule-list svg {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--forest-2);
}

.contact-grid {
  display: grid;
  gap: clamp(40px, 7vw, 90px);
  grid-template-columns: minmax(0, 0.72fr) minmax(340px, 1fr);
}

.contact-panel h2 {
  margin-bottom: 22px;
}

.contact-panel > p {
  max-width: 530px;
  color: var(--muted);
  font-size: 16px;
}

.contact-lines {
  display: grid;
  margin-top: 38px;
  border-top: 1px solid var(--line);
}

.contact-line {
  display: grid;
  gap: 12px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 120px 1fr;
}

.contact-line span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-line a,
.contact-line strong {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.inquiry-form {
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--white);
}

.form-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}

.field label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 3px;
  outline: none;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input,
.field select {
  min-height: 48px;
  padding: 10px 12px;
}

.field textarea {
  min-height: 150px;
  padding: 12px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(23, 63, 49, 0.12);
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--forest);
  color: var(--white);
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding-block: 56px;
  grid-template-columns: minmax(0, 1fr) 0.6fr 0.6fr;
}

.footer-brand p {
  max-width: 380px;
  margin: 20px 0 0;
  color: rgba(255, 253, 247, 0.62);
  font-size: 14px;
}

.footer-col h3 {
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  display: block;
  margin-top: 9px;
  color: rgba(255, 253, 247, 0.72);
  font-size: 14px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
  border-top: 1px solid var(--line-light);
  color: rgba(255, 253, 247, 0.48);
  font-size: 12px;
}

.not-found {
  display: grid;
  min-height: 70svh;
  place-items: center;
  padding: 80px 0;
  text-align: center;
}

.not-found h1 {
  margin: 0;
  font-family: "Georgia", serif;
  font-size: clamp(46px, 9vw, 100px);
  font-weight: 400;
}

.not-found p {
  margin: 16px 0 28px;
  color: var(--muted);
}

@media (max-width: 940px) {
  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-block: 60px 36px;
  }

  .hero-media {
    min-height: 360px;
  }

  .hero-foot {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-foot div,
  .hero-foot div:first-child {
    padding: 16px 18px;
    border-right: 1px solid var(--line-light);
    border-bottom: 0;
  }

  .hero-foot div:last-child {
    border-right: 0;
  }

  .section-head,
  .page-hero-grid,
  .product-detail,
  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .product-detail.reverse .detail-media {
    order: 0;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-fact {
    position: static;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(calc(100% - 28px), var(--max));
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-copy small {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 68px 0 auto;
    display: none;
    align-items: stretch;
    padding: 20px 14px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    flex-direction: column;
    gap: 4px;
  }

  .site-nav[data-open="true"] {
    display: flex;
  }

  .site-nav > a:not(.button) {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 17px;
  }

  .site-nav > a:not(.button)::after {
    display: none;
  }

  .site-nav .button {
    margin-top: 14px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(42px, 13.5vw, 65px);
  }

  .hero {
    isolation: isolate;
  }

  .hero::after {
    position: absolute;
    z-index: -1;
    top: 130px;
    right: -170px;
    width: 430px;
    height: 430px;
    background: url("assets/6205-bearing.png") center / contain no-repeat;
    content: "";
    opacity: 0.09;
    transform: rotate(-12deg);
  }

  .hero-grid {
    gap: 0;
    padding-block: 38px 26px;
  }

  .hero h1 {
    font-size: clamp(38px, 11.8vw, 52px);
  }

  .hero-copy > p:not(.eyebrow) {
    margin-top: 18px;
    font-size: 16px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-media {
    display: none;
  }

  .stage-label {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }

  .hero-foot {
    display: none;
  }

  .product-grid,
  .feature-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 470px;
  }

  .product-card-copy {
    padding: 24px;
  }

  .feature {
    min-height: auto;
    padding: 24px;
  }

  .feature-icon {
    margin-bottom: 28px;
  }

  .cta-band {
    padding: 28px 22px;
    grid-template-columns: 1fr;
  }

  .detail-media {
    min-height: 360px;
  }

  .spec-list div {
    gap: 5px;
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-line {
    grid-template-columns: 1fr;
  }

  .inquiry-form {
    padding: 22px;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

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