:root {
  --teal: #127078;
  --teal-dark: #0a4f55;
  --teal-deep: #073f44;
  --ink: #1f1f1f;
  --text: #333333;
  --muted: #606060;
  --pale: #f2f8ff;
  --cream: #f8f7f2;
  --line: #e3e9e9;
  --white: #ffffff;
  --orange: #fc6800;
  --shadow: 0 20px 50px rgba(21, 55, 57, .09);
  --serif: "Lora", Georgia, serif;
  --sans: "Mulish", Arial, sans-serif;
  --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.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;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.18;
}
h1 { margin-bottom: 28px; font-size: clamp(3.3rem, 6.2vw, 5.7rem); font-weight: 600; letter-spacing: -.045em; }
h2 { margin-bottom: 24px; font-size: clamp(2.25rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -.035em; }
h3 { font-size: 1.45rem; font-weight: 600; }
.eyebrow {
  margin-bottom: 16px;
  color: var(--teal);
  font-size: .79rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow.light { color: #b9dadd; }
.section { padding: 104px 0; }
.button, .nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 28px;
  color: var(--white);
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
  touch-action: manipulation;
}
.button:hover, .button:focus-visible, .nav-button:hover, .nav-button:focus-visible {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
}
.button-light { color: var(--teal-deep); background: var(--white); border-color: var(--white); }
.button-light:hover, .button-light:focus-visible { color: var(--white); background: transparent; border-color: var(--white); }

.site-header {
  position: relative;
  z-index: 100;
  height: 90px;
  background: var(--white);
  border-bottom: 1px solid rgba(18, 112, 120, .1);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), var(--container));
  height: 100%;
  margin: auto;
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal-deep);
  text-decoration: none;
}
.brand-logo {
  display: block;
  width: 240px;
  max-width: 100%;
  max-height: 70px;
  object-fit: contain;
}
.footer-brand .brand-logo { width: 220px; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav > a:not(.nav-button) {
  position: relative;
  font-size: .95rem;
  font-weight: 650;
  text-decoration: none;
}
.primary-nav > a:not(.nav-button)::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.primary-nav > a:hover::after, .primary-nav > a:focus-visible::after { transform: scaleX(1); }
.nav-button { min-height: 46px; padding: 10px 21px; font-size: .92rem; }
.menu-toggle { display: none; border: 0; background: transparent; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 15%, rgba(255,255,255,.09), transparent 30%),
    linear-gradient(120deg, var(--teal-deep), var(--teal) 72%, #27868d);
}
.hero::after {
  position: absolute;
  right: -130px;
  bottom: -280px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255,255,255,.03), 0 0 0 160px rgba(255,255,255,.025);
  content: "";
}
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image: linear-gradient(30deg, transparent 48%, #fff 49%, #fff 51%, transparent 52%);
  background-size: 62px 108px;
  mask-image: linear-gradient(90deg, transparent 50%, black);
}
.hero-inner { position: relative; z-index: 2; padding-top: 98px; padding-bottom: 86px; }
.hero h1 { color: var(--white); }
.hero .eyebrow { color: #c7e1e3; }
.hero-copy { max-width: 760px; margin-bottom: 34px; color: rgba(255,255,255,.86); font-size: 1.18rem; }
.knowledge-search {
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  max-width: 850px;
  padding: 8px 8px 8px 22px;
  background: var(--white);
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 12px;
  box-shadow: 0 16px 35px rgba(0,0,0,.16);
}
.knowledge-search svg {
  width: 23px;
  fill: none;
  stroke: var(--teal);
  stroke-linecap: round;
  stroke-width: 1.8;
}
.knowledge-search input {
  width: 100%;
  padding: 14px;
  color: var(--text);
  background: transparent;
  border: 0;
  outline: 0;
}
.knowledge-search button {
  min-width: 118px;
  padding: 13px 22px;
  color: var(--white);
  background: var(--teal);
  border: 0;
  border-radius: 9px;
  font-weight: 700;
  cursor: pointer;
}
.knowledge-search:focus-within { outline: 3px solid rgba(255,255,255,.28); }
.search-status { min-height: 22px; margin: 10px 0 0; color: #d5e9ea; font-size: .85rem; }
.popular { display: flex; flex-wrap: wrap; gap: 9px 18px; align-items: center; margin-top: 12px; font-size: .83rem; }
.popular span { color: #c6dcde; font-weight: 700; }
.popular a { color: var(--white); text-underline-offset: 4px; }

.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid div { position: relative; padding: 28px 36px; }
.trust-grid div:not(:last-child)::after { position: absolute; top: 25%; right: 0; width: 1px; height: 50%; background: var(--line); content: ""; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { color: var(--teal); font-family: var(--serif); font-size: 1.2rem; }
.trust-grid span { color: var(--muted); font-size: .78rem; }

.intro-section { padding-bottom: 74px; }
.intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 100px; align-items: end; }
.intro-grid h2 { margin-bottom: 0; }
.intro-grid > div:last-child { max-width: 670px; }
.text-link { color: var(--teal); font-weight: 750; text-decoration: none; }
.text-link span { display: inline-block; margin-left: 5px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.topics-section { padding-top: 80px; background: var(--cream); }
.section-heading { display: grid; grid-template-columns: 1fr .75fr; gap: 80px; align-items: end; margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 570px; margin-bottom: 8px; color: var(--muted); }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.topic-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 38px 34px 32px;
  overflow: hidden;
  color: var(--text);
  background: var(--white);
  border: 1px solid #e7e8e3;
  border-radius: 14px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.topic-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--teal);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.topic-card:hover, .topic-card:focus-visible { border-color: rgba(18,112,120,.35); box-shadow: var(--shadow); transform: translateY(-6px); }
.topic-card:hover::before, .topic-card:focus-visible::before { transform: scaleX(1); }
.topic-card.featured { color: var(--white); background: var(--teal); border-color: var(--teal); }
.topic-card.featured h3, .topic-card.featured .card-link { color: var(--white); }
.topic-card.featured p, .topic-card.featured .topic-number { color: rgba(255,255,255,.75); }
.topic-card.featured .topic-icon { color: var(--white); background: rgba(255,255,255,.12); }
.topic-number { position: absolute; top: 29px; right: 32px; color: #a8b3b3; font-family: var(--serif); font-size: .82rem; }
.topic-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 31px;
  color: var(--teal);
  background: var(--pale);
  border-radius: 50%;
}
.topic-icon svg { width: 34px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.topic-card h3 { margin-bottom: 14px; }
.topic-card p { margin-bottom: 25px; color: var(--muted); font-size: .94rem; }
.card-link { margin-top: auto; color: var(--teal); font-size: .87rem; font-weight: 750; }
.card-link b { margin-left: 4px; font-size: 1.1rem; }
.topic-card[hidden] { display: none; }
.no-results { padding: 45px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
.no-results h3 { margin-bottom: 8px; }
.no-results p { margin-bottom: 0; }

.path-section { color: var(--white); background: var(--teal-deep); }
.path-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: center; }
.path-intro h2 { color: var(--white); }
.path-intro > p:not(.eyebrow) { color: #c8dcdd; }
.path-intro .button { margin-top: 14px; }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.steps li { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.steps > li > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--teal-deep);
  background: #dceced;
  border-radius: 50%;
  font-family: var(--serif);
  font-weight: 700;
}
.steps h3 { margin: 0 0 5px; color: var(--white); font-size: 1.2rem; }
.steps p { margin: 0; color: #bcd2d4; font-size: .9rem; }

.featured-guide { background: var(--white); }
.guide-card { position: relative; overflow: hidden; padding: 0; background: var(--pale); border-radius: 18px; box-shadow: var(--shadow); }
.guide-label {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  padding: 11px 22px;
  color: var(--white);
  background: var(--teal);
  border-radius: 0 0 10px;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.guide-content { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 520px; }
.guide-content > div:first-child { padding: 90px 0 70px 72px; }
.guide-content p:not(.eyebrow) { max-width: 650px; color: var(--muted); }
.guide-visual {
  position: relative;
  overflow: hidden;
  min-height: 450px;
  background: linear-gradient(145deg, #e3f0f2, #c8e0e2);
}
.ring { position: absolute; border: 1px solid rgba(18,112,120,.22); border-radius: 50%; }
.ring-one { top: 12%; left: 10%; width: 430px; height: 430px; }
.ring-two { top: 26%; left: 25%; width: 300px; height: 300px; }
.material {
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 175px;
  height: 310px;
  padding: 26px 22px;
  border-radius: 88px 88px 18px 18px;
  box-shadow: 0 22px 50px rgba(12,61,65,.18);
}
.material span { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.material small { font-size: .7rem; }
.ceramic { top: 65px; left: 18%; color: var(--teal-deep); background: linear-gradient(155deg, #fff, #e9eded); transform: rotate(-6deg); }
.titanium { right: 15%; bottom: 55px; color: var(--white); background: linear-gradient(155deg, #78858a, #303c41); transform: rotate(7deg); }

.standards-section { padding-top: 40px; }
.standards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center; }
.standards-grid > div:first-child p:last-child { color: var(--muted); }
.standards-list { border-top: 1px solid var(--line); }
.standards-list > div { display: grid; grid-template-columns: 55px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.standards-list span { color: var(--teal); font-family: var(--serif); font-size: .8rem; }
.standards-list p { margin: 0; font-size: .94rem; }

.consult-section { padding: 76px 0; color: var(--white); background: var(--teal); }
.consult-inner { display: grid; grid-template-columns: 1fr auto; gap: 80px; align-items: center; }
.consult-inner h2 { margin-bottom: 14px; color: var(--white); }
.consult-inner p:not(.eyebrow) { max-width: 800px; margin-bottom: 0; color: #d8e9ea; }
.consult-actions { display: flex; flex-direction: column; gap: 15px; align-items: center; min-width: 250px; }
.phone-link { color: var(--white); font-size: .85rem; font-weight: 700; text-decoration: none; }

.site-footer { padding: 74px 0 25px; background: #f4f5f2; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 55px; padding-bottom: 55px; }
.footer-brand { margin-bottom: 24px; }
.footer-grid > div:first-child p { max-width: 360px; color: var(--muted); font-size: .86rem; }
.footer-grid h3 { margin-bottom: 18px; font-family: var(--sans); font-size: .83rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-grid a, .footer-grid > div:not(:first-child) p { display: block; margin-bottom: 9px; color: var(--muted); font-size: .82rem; text-decoration: none; }
.footer-grid a:hover { color: var(--teal); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 22px; border-top: 1px solid #daddd8; }
.footer-bottom p { margin: 0; color: #737776; font-size: .7rem; }

@media (max-width: 1024px) {
  .primary-nav { gap: 16px; }
  .primary-nav > a:not(.nav-button) { font-size: .85rem; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .path-grid, .standards-grid { gap: 60px; }
  .guide-content > div:first-child { padding-left: 48px; }
  .material { width: 145px; height: 275px; }
  .footer-grid { grid-template-columns: 1.6fr repeat(2, 1fr); }
  .footer-grid > div:last-child { grid-column: 2 / -1; }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  .container, .header-inner { width: min(calc(100% - 34px), var(--container)); }
  .section { padding: 74px 0; }
  .site-header { height: 80px; }
  .brand-logo { width: 200px; max-height: 56px; }
  .menu-toggle { display: grid; min-width: 44px; min-height: 44px; place-content: center; gap: 5px; padding: 9px; cursor: pointer; }
  .menu-toggle > span:not(.sr-only) { display: block; width: 26px; height: 2px; background: var(--teal); transition: transform .2s ease, opacity .2s ease; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .primary-nav {
    position: absolute;
    top: 80px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 15px 30px rgba(0,0,0,.08);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px;
  }
  .primary-nav .nav-button { margin-top: 10px; }
  .hero { min-height: auto; }
  .hero-inner { padding-top: 75px; padding-bottom: 68px; }
  .hero br { display: none; }
  .knowledge-search { grid-template-columns: 22px 1fr; padding-right: 12px; }
  .knowledge-search button { grid-column: 1 / -1; width: 100%; margin-top: 5px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid div:nth-child(2)::after { display: none; }
  .trust-grid div { padding: 23px; }
  .intro-grid, .section-heading, .path-grid, .guide-content, .standards-grid, .consult-inner { grid-template-columns: 1fr; gap: 35px; }
  .section-heading { margin-bottom: 34px; }
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card { min-height: 335px; }
  .path-grid { gap: 50px; }
  .guide-content > div:first-child { padding: 80px 30px 48px; }
  .guide-visual { min-height: 390px; }
  .ring-one { left: 4%; }
  .consult-actions { align-items: flex-start; }
  .consult-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

@media (max-width: 480px) {
  h1 { font-size: 2.85rem; }
  h2 { font-size: 2.05rem; }
  .popular { align-items: flex-start; }
  .popular span { width: 100%; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid div { padding: 19px 12px; }
  .topic-card { padding: 32px 25px 28px; }
  .knowledge-search input { min-width: 0; }
  .popular a { display: inline-flex; align-items: center; min-height: 44px; }
  .material { width: 125px; height: 245px; }
  .ceramic { left: 10%; }
  .titanium { right: 10%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
