@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("fonts/Nunito-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

:root {
  --ink: #303136;
  --muted: #707176;
  --paper: #ffffff;
  --mist: #f3f4f5;
  --silver: #b1b3b3;
  --pink: #db32b1;
  --red: #e0004d;
  --violet: #685bc7;
  --yellow: #ffb500;
  --andestech-blue: #14244e;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Nunito", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 14px max(28px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid #e8e8ea;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  position: relative;
  z-index: 20;
}

.andestech-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
  text-decoration: none;
}

.andestech-brand img {
  width: 112px;
  height: 76px;
  object-fit: contain;
}

.andestech-brand span {
  color: var(--andestech-blue);
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 3.5rem);
}

.site-header nav a {
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.01em;
  padding-block: 0.7rem;
  border-bottom: 2px solid transparent;
  transition: border-color 180ms ease, color 180ms ease;
}

.site-header nav a:hover,
.site-header nav a:focus-visible {
  color: var(--pink);
  border-bottom-color: var(--pink);
}

.contact-link {
  color: var(--pink);
}

.hero {
  max-width: var(--max);
  min-height: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(4rem, 8vw, 7rem) clamp(2rem, 5vw, 5rem);
  position: relative;
}

.hero-copy::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 74%;
  left: 0;
  top: 13%;
  background: linear-gradient(var(--yellow), var(--pink), var(--violet));
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--pink);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.plenum-logo {
  width: min(100%, 480px);
  image-rendering: auto;
}

.hero-line {
  max-width: 460px;
  margin: 2.1rem 0 1.4rem;
  color: var(--muted);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 300;
  line-height: 1.35;
}

.text-link {
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.2rem;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--pink);
  border-color: var(--pink);
}

.hero-visual {
  min-height: 650px;
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

.hero-visual > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  filter: contrast(1.08) saturate(0.82);
  transform: scale(1.03);
}

.hero-visual.corporate-visual > img {
  object-position: 50% 50%;
  filter: contrast(1.08) saturate(0.72);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(48, 49, 54, 0.04), rgba(48, 49, 54, 0.28));
}

.hero-note {
  position: absolute;
  right: 30px;
  bottom: 30px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.hero-note span,
.number {
  color: var(--pink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-note p {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.25;
}

.products {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5.5rem, 9vw, 8rem) 28px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.4rem;
}

.section-heading .eyebrow {
  margin-bottom: 0.55rem;
}

.section-heading h2,
.quote h2 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.4rem);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(440px, auto);
  gap: 18px;
}

.product-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  background: var(--mist);
}

.regeneration {
  grid-column: span 7;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
}

.product-copy {
  padding: clamp(2rem, 4vw, 3.7rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.product-card h3 {
  margin: 0.8rem 0 0.7rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 300;
}

.product-card p {
  margin: 0;
  font-size: 1rem;
}

.product-card ul {
  padding: 0;
  margin: 2rem 0 0;
  list-style: none;
  color: var(--muted);
}

.product-card li {
  padding: 0.58rem 0;
  border-top: 1px solid #d8d8db;
}

.regeneration-images {
  min-height: 440px;
  position: relative;
  background: linear-gradient(145deg, #fff 18%, #e9e9eb 100%);
  overflow: hidden;
}

.regeneration-images::before {
  content: "";
  position: absolute;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(219, 50, 177, 0.16), transparent 70%);
  right: -8%;
  top: -10%;
}

.regeneration-images img {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(48, 49, 54, 0.15));
}

.regeneration-images .oss {
  width: 80%;
  left: 0;
  bottom: -2%;
}

.regeneration-images .guide {
  width: 46%;
  right: 1%;
  top: 2%;
  transform: rotate(-8deg);
}

.implant-card {
  grid-column: span 5;
}

.components-card {
  grid-column: span 5;
}

.instruments-card {
  grid-column: span 7;
}

.dark {
  color: white;
  min-height: 440px;
}

.dark > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.implant-card > img {
  object-position: center;
}

.components-card > img {
  object-position: center 44%;
}

.dark:hover > img {
  transform: scale(1.035);
}

.light-card {
  min-height: 440px;
  color: var(--ink);
  background: #f2f2f3;
}

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

.light-card:hover > img {
  transform: scale(1.035);
}

.light-card .overlay {
  background: linear-gradient(180deg, transparent 28%, rgba(255, 255, 255, 0.3) 55%, rgba(255, 255, 255, 0.98) 100%);
}

.light-card .card-label p {
  color: #5b5c61;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(24, 24, 27, 0.88) 100%);
}

.card-label {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: clamp(2rem, 4vw, 3rem);
}

.card-label h3 {
  margin-block: 0.65rem;
}

.card-label p {
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.78);
}

.instruments-card {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  background: #ececee;
}

.instrument-copy {
  padding: clamp(2rem, 4vw, 3.7rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.instrument-copy p {
  color: var(--muted);
}

.instruments-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.quote {
  background: var(--ink);
  color: white;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 5rem;
  padding: clamp(5rem, 9vw, 8rem) max(28px, calc((100vw - var(--max)) / 2));
  align-items: end;
}

.quote h2 {
  max-width: 820px;
}

.quote-action {
  padding-left: 2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.quote-action p {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
}

.quote-action a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.85rem 1.45rem;
  background: white;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.quote-action a:hover,
.quote-action a:focus-visible {
  background: var(--pink);
  color: white;
}

footer {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 132px;
  padding: 20px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.6rem;
  color: var(--muted);
  font-size: 0.9rem;
}

footer img {
  width: 72px;
  height: 58px;
  object-fit: contain;
}

footer a {
  text-decoration: none;
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Desktop composition: the complete three-level landing fits in one viewport. */
@media (min-width: 901px) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  body {
    min-height: 100vh;
  }

  .site-header {
    min-height: 68px;
    height: 68px;
    padding-block: 6px;
  }

  .andestech-brand img {
    width: 82px;
    height: 54px;
  }

  .andestech-brand span {
    font-size: 1.35rem;
  }

  main {
    min-height: 0;
  }

  .hero {
    min-height: 276px;
    height: 31vh;
    max-height: 320px;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .hero-copy {
    padding: 2.2rem clamp(2rem, 4vw, 4rem);
  }

  .hero-copy::before {
    height: 68%;
    top: 16%;
    width: 5px;
  }

  .hero-copy .eyebrow {
    margin-bottom: 0.85rem;
    font-size: 0.72rem;
  }

  .plenum-logo {
    width: min(100%, 330px);
  }

  .hero-line {
    margin: 1rem 0 0.72rem;
    max-width: 390px;
    font-size: 1.06rem;
  }

  .text-link {
    font-size: 0.86rem;
  }

  .hero-visual {
    min-height: 276px;
    height: 100%;
  }

  .hero-note {
    right: 18px;
    bottom: 16px;
    gap: 0.7rem;
    padding: 0.6rem 0.8rem;
  }

  .hero-note p {
    font-size: 0.78rem;
  }

  .products {
    padding: 16px 28px 20px;
  }

  .section-heading {
    align-items: center;
    margin-bottom: 12px;
  }

  .section-heading .eyebrow {
    margin: 0;
    font-size: 0.7rem;
  }

  .section-heading h2 {
    font-size: 2.25rem;
  }

  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 205px;
    gap: 12px;
  }

  .regeneration,
  .implant-card,
  .components-card,
  .instruments-card {
    grid-column: auto;
    min-height: 205px;
  }

  .regeneration {
    display: block;
  }

  .regeneration .product-copy {
    position: absolute;
    inset: auto 0 0;
    z-index: 3;
    min-height: 88px;
    padding: 0.85rem 1rem;
    color: var(--ink);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), #fff 38%);
  }

  .regeneration-images {
    min-height: 205px;
    height: 100%;
  }

  .regeneration-images .oss {
    width: 67%;
    left: -3%;
    bottom: 22%;
  }

  .regeneration-images .guide {
    width: 40%;
    right: 2%;
    top: -2%;
  }

  .product-card h3 {
    margin: 0.28rem 0 0.2rem;
    font-size: 1.45rem;
  }

  .product-card p {
    font-size: 0.79rem;
    line-height: 1.3;
  }

  .product-card ul {
    display: none;
  }

  .card-label {
    padding: 0.9rem 1rem;
  }

  .implant-card > img,
  .components-card > img {
    object-position: center;
  }

  .light-card {
    min-height: 205px;
  }

  .light-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 34%;
  }

  .instruments-card {
    display: block;
    color: white;
    background: var(--ink);
  }

  .instruments-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(24, 24, 27, 0.9));
  }

  .instruments-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .instrument-copy {
    position: absolute;
    inset: auto 0 0;
    z-index: 2;
    padding: 0.9rem 1rem;
  }

  .instrument-copy p {
    color: rgba(255, 255, 255, 0.78);
  }

  .number,
  .hero-note span {
    font-size: 0.68rem;
  }

  .quote {
    min-height: 156px;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    padding-block: 1.8rem;
  }

  .quote .eyebrow {
    margin-bottom: 0.55rem;
    font-size: 0.7rem;
  }

  .quote h2 {
    max-width: 720px;
    font-size: clamp(2.1rem, 3.2vw, 3rem);
  }

  .quote-action {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1.2rem;
  }

  .quote-action p {
    margin: 0;
    font-size: 0.9rem;
  }

  .quote-action a {
    min-height: 46px;
    padding: 0.7rem 1rem;
    white-space: nowrap;
  }

  footer {
    max-width: none;
    min-height: 48px;
    height: 48px;
    padding: 6px max(28px, calc((100vw - var(--max)) / 2));
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1.6rem;
    border-top: 1px solid #e8e8ea;
    font-size: 0.78rem;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 88px;
  }

  .andestech-brand img {
    width: 92px;
    height: 62px;
  }

  .andestech-brand span {
    font-size: 1.12rem;
  }

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

  .hero-copy {
    min-height: 500px;
    padding-left: 44px;
  }

  .hero-visual {
    min-height: 520px;
  }

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

  .regeneration,
  .implant-card,
  .components-card,
  .instruments-card {
    grid-column: auto;
  }

  .quote {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .quote-action {
    max-width: 560px;
  }
}

@media (max-width: 650px) {
  .site-header {
    padding: 10px 18px;
    align-items: center;
  }

  .site-header nav {
    justify-content: flex-end;
    gap: 1rem;
  }

  .site-header nav a {
    font-size: 0.83rem;
    line-height: 1.2;
    text-align: right;
  }

  .site-header nav a:first-child {
    max-width: 130px;
  }

  .andestech-brand img {
    width: 76px;
    height: 54px;
  }

  .andestech-brand {
    gap: 0.55rem;
  }

  .andestech-brand span {
    max-width: 110px;
    font-size: 0.9rem;
    line-height: 1.05;
    white-space: normal;
  }

  .hero-copy {
    min-height: 450px;
    padding: 4rem 28px 4rem 42px;
  }

  .hero-copy::before {
    left: 18px;
  }

  .hero-line {
    font-size: 1.2rem;
  }

  .hero-visual {
    min-height: 400px;
  }

  .hero-note {
    right: 18px;
    bottom: 18px;
  }

  .products {
    padding-inline: 16px;
  }

  .section-heading h2 {
    font-size: 2.75rem;
  }

  .regeneration,
  .instruments-card {
    grid-template-columns: 1fr;
  }

  .regeneration-images {
    min-height: 350px;
  }

  .product-grid {
    grid-auto-rows: auto;
  }

  .dark {
    min-height: 430px;
  }

  .instruments-card > img {
    min-height: 340px;
  }

  .quote {
    padding-inline: 24px;
  }

  .quote h2 {
    font-size: 2.65rem;
  }

  .quote-action {
    padding-left: 1.2rem;
  }

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

  footer a {
    grid-column: 1 / -1;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
