/* ==========================================================================
   Variables & Base Reset
   ========================================================================== */
:root {
  --ink: #113047;
  --blue: #1f57b8;
  --aqua: #21bdb7;
  --paper: #f6f8f6;
  --line: rgba(17,48,71,.15);
  --mono: 'DM Mono', monospace;
  --sans: Manrope, sans-serif;
  --serif: 'Playfair Display', serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================================
   Focus & Accessibility
   ========================================================================== */
:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--aqua);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  z-index: 200;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ==========================================================================
   Page Loader
   ========================================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--paper);
  display: grid;
  place-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.loader-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 30% 40%;
  animation: loaderPulse 1.2s ease-in-out infinite;
}

.loader-text {
  font-size: 13px;
  letter-spacing: 0.08em;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
}

.loader-text b { font-weight: 800; }
.loader-text i {
  font-size: 9px;
  font-style: normal;
  letter-spacing: 0.33em;
  color: var(--aqua);
  font-weight: 700;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.7; }
}

/* ==========================================================================
   Layout Basics
   ========================================================================== */
.page-noise {
  position: fixed;
  inset: 0;
  opacity: .035;
  pointer-events: none;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 170 170' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.section-shell {
  max-width: 1280px;
  margin: auto;
  padding-left: 5vw;
  padding-right: 5vw;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.045em;
  margin: 0;
}

h1 {
  font-size: clamp(55px, 6.6vw, 95px);
}

h2 {
  font-size: clamp(42px, 5vw, 70px);
}

h1 em, h2 em {
  color: var(--blue);
  font-weight: 500;
}

.eyebrow {
  font-family: var(--mono);
  letter-spacing: .08em;
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
}

.eyebrow > span:first-child {
  display: inline-block;
  width: 27px;
  height: 1px;
  background: var(--aqua);
}

.mono {
  font: 10px var(--mono);
  letter-spacing: .06em;
}

/* ==========================================================================
   Buttons & Links
   ========================================================================== */
.button {
  display: inline-flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-weight: 800;
  padding: 15px 18px;
  min-width: 178px;
  font-size: 12px;
}

.button b {
  font-size: 19px;
  font-weight: 400;
}

.button-primary {
  background: var(--blue);
  color: #fff;
}

.text-link {
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--ink);
  font: 700 12px var(--sans);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.text-link b {
  font-size: 19px;
  font-weight: 400;
}

.text-link:hover {
  color: var(--blue);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1440px;
  margin: auto;
  padding: 0 5vw;
  position: relative;
  z-index: 2;
}

.brand {
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  object-position: 30% 40%;
  border-radius: 50%;
}

.brand span {
  letter-spacing: .08em;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand b {
  font-weight: 800;
}

.brand i {
  font-size: 9px;
  font-style: normal;
  letter-spacing: .33em;
  color: var(--aqua);
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: 28px;
  margin-left: 9vw;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--blue);
}

.main-nav a.is-active {
  color: var(--blue);
  position: relative;
}

.main-nav a.is-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--aqua);
  border-radius: 1px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.language-toggle {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  cursor: pointer;
  padding: 5px;
}

.language-toggle span:first-child {
  font-weight: bold;
}

.header-cta {
  background: var(--ink);
  color: #fff;
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 2px;
}

/* ==========================================================================
   Mobile Navigation
   ========================================================================== */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px;
  z-index: 22;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-nav-content > a {
  font: 700 22px var(--serif);
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.mobile-nav-content > a:hover {
  color: var(--blue);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  min-height: 670px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 430px;
  margin: 28px 0;
  font-size: 16px;
  color: #4c6779;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hero-art {
  position: absolute;
  width: 55%;
  height: 100%;
  right: 0;
  top: 0;
  background: linear-gradient(135deg, #dce8ed 0%, #eff4f1 60%, #d1efe7 100%);
  overflow: hidden;
}

.hero-circle {
  position: absolute;
  width: 490px;
  height: 490px;
  border: 1px solid rgba(31,87,184,.25);
  border-radius: 50%;
  top: 90px;
  left: 13%;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
}

.orb-one {
  height: 330px;
  width: 330px;
  background: radial-gradient(circle at 35% 30%, #62e0d5, #2575b4 70%);
  opacity: .65;
  top: 150px;
  left: 25%;
}

.orb-two {
  width: 180px;
  height: 180px;
  border: 1px solid #28a7b6;
  top: 80px;
  right: 4%;
}

.arch {
  position: absolute;
  border: 24px solid #f7faf7;
  border-bottom: 0;
  width: 250px;
  height: 340px;
  border-radius: 56% 56% 0 0;
  filter: drop-shadow(0 12px 18px rgba(15,62,84,.14));
  transform: rotate(16deg);
}

.arch-left {
  top: 187px;
  left: 23%;
}

.arch-right {
  top: 85px;
  left: 43%;
  transform: rotate(30deg) scale(.7);
  opacity: .75;
}

.hero-card {
  position: absolute;
  bottom: 86px;
  right: 8%;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  padding: 18px 22px;
  width: 190px;
}

.hero-card strong {
  display: block;
  font: 500 21px/1.12 var(--serif);
  margin-top: 11px;
}

.scan-line {
  position: absolute;
  width: 80%;
  height: 1px;
  background: var(--aqua);
  top: 52%;
  left: -10%;
  transform: rotate(-22deg);
}

.art-label {
  position: absolute;
  bottom: 25px;
  right: 9%;
  color: #527181;
}

.hero-footer {
  position: absolute;
  bottom: 28px;
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-footer p {
  color: #67808f;
}

.scroll-cue {
  display: flex;
  gap: 9px;
  align-items: center;
  font: 9px var(--mono);
}

.scroll-cue span:first-child {
  display: block;
  height: 1px;
  width: 30px;
  background: var(--ink);
}

/* ==========================================================================
   Intro Section
   ========================================================================== */
.intro {
  padding-top: 125px;
  padding-bottom: 125px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12vw;
  align-items: end;
}

.intro-detail p {
  color: #526d7d;
  margin: 0 0 30px;
  max-width: 410px;
}

.stats {
  border-top: 1px solid var(--line);
  margin-top: 110px;
  padding-top: 25px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stats div {
  display: flex;
  flex-direction: column;
}

.stats strong {
  font: 500 36px var(--serif);
  color: var(--blue);
}

.stats span {
  font-size: 11px;
  color: #5b7483;
}

/* ─── Mission & Vision ─── */
.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 60px;
}

.mv-card {
  padding: 28px 30px;
  border-left: 3px solid var(--aqua);
  background: rgba(33, 189, 183, 0.04);
}

.mv-card .eyebrow {
  margin-bottom: 14px;
}

.mv-card > p:last-child {
  color: #526d7d;
  font-size: 13px;
  margin: 0;
  line-height: 1.65;
}

/* ==========================================================================
   Solutions / Products
   ========================================================================== */
.solutions {
  padding: 115px 0;
  background: var(--ink);
  color: #f6fbfa;
}

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

.section-heading h2 {
  margin-top: 20px;
}

.section-heading > p {
  width: 300px;
  margin: 0;
  color: #b2cbd4;
  font-size: 13px;
}

.solutions .eyebrow {
  color: #a9d6d6;
}

.solutions h2 em {
  color: #52d1c8;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
}

.product {
  border: 1px solid rgba(255,255,255,.16);
  min-height: 380px;
  display: grid;
  grid-template-rows: 1fr auto;
}

.product-wide {
  grid-row: span 2;
}

.product-visual {
  height: 230px;
  position: relative;
  overflow: hidden;
  background: #1b4357;
}

.product-wide .product-visual {
  height: 100%;
}

.product-content {
  padding: 23px;
}

.product-number {
  color: #73d6d0;
  margin: 0 0 11px;
}

.product h3 {
  font: 500 28px var(--serif);
  margin: 0 0 10px;
}

.product p:not(.product-number) {
  color: #b8ced4;
  max-width: 390px;
  margin: 0 0 16px;
  font-size: 12px;
}

.product-details {
  margin-top: 4px;
}

.product-details p {
  color: #b8ced4;
  max-width: 420px;
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.6;
}

.product-details p:last-child {
  margin-bottom: 0;
}

.product-details p strong {
  color: #e0edef;
  font-weight: 700;
}

.product-link {
  background: none;
  border: 0;
  color: #fff;
  font: 700 11px var(--sans);
  padding: 0;
  cursor: pointer;
}

.product-link span {
  margin-left: 8px;
  font-size: 18px;
  color: #6bd9d1;
}

.visual-zirconia {
  background: radial-gradient(circle at 65% 35%, #b7e5e2 0, #5d9aaa 27%, #214f69 65%);
}

.object-shape {
  position: absolute;
  background: #eff7f1;
  box-shadow: inset -14px -16px 25px rgba(13,63,94,.15), 13px 16px 28px rgba(4,29,50,.25);
}

.shape-one {
  width: 190px;
  height: 200px;
  border-radius: 48% 52% 45% 55% / 60% 50% 50% 40%;
  top: 16%;
  left: 27%;
  transform: rotate(-12deg);
}

.shape-two {
  width: 145px;
  height: 160px;
  border-radius: 50%;
  top: 31%;
  left: 52%;
  transform: rotate(17deg);
  opacity: .91;
}

.material-tag {
  position: absolute;
  bottom: 16px;
  right: 17px;
  color: #fff;
}

.visual-implant {
  background: linear-gradient(140deg, #80c4c9, #174b70);
}

.implant-post {
  position: absolute;
  height: 170px;
  width: 48px;
  left: 46%;
  top: 64px;
  background: repeating-linear-gradient(0deg, #7597a1 0 8px, #ddeeea 9px 12px);
  transform: perspective(200px) rotateX(-10deg);
  border-radius: 7px;
}

.implant-crown {
  position: absolute;
  width: 120px;
  height: 110px;
  border-radius: 48% 49% 37% 38%;
  background: #f8fbf7;
  left: 36%;
  top: 25px;
  box-shadow: inset -15px -15px 19px #bad2d0;
}

.visual-removable {
  background: linear-gradient(135deg, #163d58, #28656d);
}

.partial {
  border: 15px solid #c7e5e1;
  border-bottom-color: transparent;
  border-radius: 50%;
  position: absolute;
  width: 160px;
  height: 150px;
  top: 28px;
  left: 34%;
  transform: rotate(-20deg);
}

.partial-b {
  transform: rotate(62deg) scale(.82);
  left: 49%;
  top: 50px;
  border-color: #60b8bc;
  border-bottom-color: transparent;
}

/* ==========================================================================
   Workflow Section
   ========================================================================== */
.workflow {
  min-height: 700px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 10vw;
  padding-top: 100px;
  padding-bottom: 100px;
}

.workflow-visual {
  height: 500px;
  background: #d5eced;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.grid-plane {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(22,83,113,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(22,83,113,.13) 1px, transparent 1px);
  background-size: 28px 28px;
  transform: perspective(400px) rotateX(58deg) scale(1.7) translateY(110px);
}

.workflow-tooth {
  position: absolute;
  height: 265px;
  width: 200px;
  background: linear-gradient(135deg, #fff, #d7ece7);
  left: 30%;
  top: 88px;
  clip-path: path('M100 3C63 3 32 24 28 70c-4 49 22 95 37 150 7 25 15 39 28 39 16 0 17-41 31-41s16 41 32 41c13 0 21-14 28-39 15-55 41-101 37-150C168 24 137 3 100 3Z');
  filter: drop-shadow(18px 22px 15px rgba(35,89,111,.24));
}

.workflow-tooth span {
  display: block;
  margin: 35px auto;
  border: 1px solid #47baba;
  border-radius: 50%;
  width: 130px;
  height: 130px;
}

.workflow-visual p {
  position: absolute;
  bottom: 18px;
  left: 20px;
  color: #477281;
}

.workflow-copy > p:not(.eyebrow) {
  color: #567180;
  max-width: 400px;
  margin: 24px 0;
}

.workflow-list {
  list-style: none;
  padding: 0;
  margin: 35px 0 0;
  border-top: 1px solid var(--line);
}

.workflow-list li {
  display: flex;
  gap: 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.workflow-list li > b {
  font: 10px var(--mono);
  color: var(--aqua);
  padding-top: 3px;
}

.workflow-list strong {
  font-weight: 800;
}

/* ==========================================================================
   Principles Section
   ========================================================================== */
.principles {
  background: #e4eeed;
  padding: 115px 0;
}

.principle-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  margin-top: 60px;
}

.principle-list article {
  border-top: 1px solid #8db0b5;
  padding-top: 18px;
}

.principle-list span {
  font: 10px var(--mono);
  color: var(--blue);
}

.principle-list h3 {
  font: 500 28px var(--serif);
  margin: 40px 0 10px;
}

.principle-list p {
  font-size: 13px;
  color: #52707f;
  max-width: 290px;
}

/* ==========================================================================
   Team Section
   ========================================================================== */
.team {
  padding-top: 60px;
  padding-bottom: 100px;
}

.team h2 {
  margin-bottom: 55px;
}

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

.team-card {
  text-align: center;
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #dce8ed, #eff4f1);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-name {
  font: 500 20px var(--serif);
  margin: 0 0 6px;
}

.team-role {
  color: var(--aqua);
  margin: 0 0 10px;
  font-size: 10px;
}

.team-desc {
  font-size: 12px;
  color: #5b7483;
  margin: 0;
  max-width: 260px;
  margin-inline: auto;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery {
  padding: 115px 0;
  background: var(--paper);
}

.gallery .section-heading {
  margin-bottom: 40px;
}

.gallery-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 9px 20px;
  border: 1px solid var(--line);
  background: transparent;
  font: 700 11px var(--sans);
  color: var(--ink);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}

.filter-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.filter-btn.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(17, 48, 71, 0.1);
}

.case-card.is-hidden {
  display: none;
}

.case-image {
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #dce8ed, #c1dbd8);
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.06);
}

.case-info {
  padding: 18px;
}

.case-tag {
  font-size: 9px;
  color: var(--aqua);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 8px;
}

.case-title {
  font: 500 20px var(--serif);
  margin: 0 0 8px;
}

.case-info > p {
  font-size: 12px;
  color: #5b7483;
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials {
  padding: 115px 0;
  background: #e4eeed;
}

.testimonials .eyebrow {
  margin-bottom: 22px;
}

.testimonials h2 {
  margin-bottom: 55px;
}

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

.testimonial-card {
  background: #fff;
  padding: 30px 26px;
  position: relative;
  border-top: 3px solid var(--aqua);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.quote-mark {
  font: 500 60px var(--serif);
  color: var(--aqua);
  opacity: 0.3;
  line-height: 1;
  position: absolute;
  top: 22px;
  right: 22px;
}

.testimonial-quote {
  font-size: 13px;
  color: #4c6779;
  line-height: 1.65;
  margin: 0 0 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font: 700 12px var(--sans);
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 13px;
  margin: 0;
}

.testimonial-practice {
  font-size: 11px;
  color: #6b8a96;
  margin: 3px 0 0;
}

/* ==========================================================================
   Tech Stack Section
   ========================================================================== */
.tech-stack {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.tech-badges {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 35px;
}

.tech-badge {
  padding: 22px 16px;
  border: 1px solid var(--line);
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.tech-badge:hover {
  border-color: var(--aqua);
  transform: translateY(-3px);
}

.tech-badge strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 6px;
}

.tech-badge span {
  font-size: 10px;
  color: #5b7483;
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact {
  max-width: none;
  background: var(--blue);
  color: white;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 12vw;
  padding-top: 115px;
  padding-bottom: 115px;
  position: relative;
  overflow: hidden;
}

.contact:after {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  left: -270px;
  bottom: -370px;
}

.light {
  color: #c8ebed;
}

.light > span:first-child {
  background: #aaf5e8;
}

.contact h2 em {
  color: #b9f4ed;
}

.contact-intro > p:not(.eyebrow) {
  max-width: 420px;
  color: #d7e5f8;
  margin: 26px 0;
}

.contact-location {
  font: 11px var(--mono);
  display: flex;
  gap: 8px;
  align-items: center;
}

.location-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #81e4dc;
}

.contact-map {
  margin-top: 24px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
}

.contact-map iframe {
  display: block;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  z-index: 1;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.45);
  border-radius: 0;
  outline: 0;
  color: white;
  padding: 6px 0;
  font: 14px var(--sans);
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #b7cae2;
}

.contact-form select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.45);
  border-radius: 0;
  outline: 0;
  color: white;
  padding: 6px 0;
  font: 14px var(--sans);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23b7cae2' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}

.contact-form select option {
  background: var(--ink);
  color: #fff;
}

.button-light {
  background: #eaf3f1;
  color: var(--ink);
  align-self: flex-start;
  margin-top: 4px;
}

.form-message {
  font-size: 12px;
  margin: 0;
  color: #c3f6ec;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  max-width: 1280px;
  margin: auto;
  padding: 30px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #67808f;
}

footer .brand img {
  width: 32px;
  height: 32px;
}

footer .brand span {
  font-size: 10px;
}

footer a:last-child {
  color: var(--ink);
  text-decoration: none;
}

.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-social a {
  color: #67808f;
  transition: color 0.2s, transform 0.2s;
  display: grid;
  place-items: center;
}

.footer-social a:hover {
  color: var(--blue);
  transform: translateY(-2px);
}

/* ─── Accessibility: Improved Color Contrast for Aqua Text ─── */
.team-role {
  color: #0e7a75;
}
.case-tag {
  color: #0e7a75;
}
.product-number {
  color: #4ab8b2;
}

/* ==========================================================================
   Tablet Breakpoint (781px – 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .main-nav {
    gap: 18px;
    margin-left: 4vw;
  }

  .main-nav a {
    font-size: 12px;
  }

  .header-cta {
    padding: 10px 12px;
    font-size: 10px;
  }

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

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

  .product-wide {
    grid-row: auto;
  }

  .product-wide .product-visual {
    height: 280px;
  }
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 780px) {
  .site-header {
    height: 74px;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .main-nav {
    display: none;
  }
  
  .header-cta {
    display: none;
  }
  
  .hero {
    min-height: 730px;
    display: block;
    padding-top: 70px;
  }
  
  .hero-art {
    width: 100%;
    height: 360px;
    top: auto;
    bottom: 45px;
    opacity: .8;
  }
  
  .hero-footer {
    bottom: 12px;
    width: 90%;
  }
  
  .hero-footer p {
    display: none;
  }
  
  .hero-copy {
    position: relative;
  }
  
  .hero-text {
    font-size: 14px;
  }
  
  .arch-left {
    left: 21%;
    top: 94px;
    transform: rotate(16deg) scale(.75);
  }
  
  .arch-right {
    left: 43%;
    top: 39px;
    transform: rotate(30deg) scale(.52);
  }
  
  .orb-one {
    top: 85px;
  }
  
  .hero-card {
    bottom: 50px;
  }
  
  .intro {
    padding-top: 85px;
    padding-bottom: 85px;
  }
  
  .intro-grid, .workflow, .contact, .mission-vision {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  
  .stats {
    margin-top: 65px;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
  
  .section-heading {
    display: block;
  }
  
  .section-heading > p {
    width: auto;
    margin-top: 22px;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .product-wide {
    grid-row: auto;
  }
  
  .product-wide .product-visual {
    height: 230px;
  }
  
  .workflow {
    padding-top: 80px;
    padding-bottom: 80px;
  }
  
  .workflow-visual {
    height: 370px;
  }
  
  .workflow-tooth {
    transform: scale(.78);
    left: 18%;
    top: 42px;
  }
  
  .principles {
    padding: 80px 0;
  }
  
  .principle-list {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 38px;
  }
  
  .principle-list h3 {
    margin: 20px 0 6px;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .tech-badges {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  
  .contact {
    padding-top: 85px;
    padding-bottom: 85px;
  }
  
  .contact:after {
    display: none;
  }
  
  .contact-map iframe {
    height: 180px;
  }
  
  footer {
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .brand img {
    width: 41px;
    height: 41px;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 50px;
  }
  
  .hero-actions {
    gap: 17px;
  }
  
  .button {
    min-width: 155px;
    padding: 13px;
  }
  
  .hero-art {
    height: 320px;
  }
  
  .hero-card {
    right: 4%;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .tech-badges {
    grid-template-columns: repeat(2, 1fr);
  }
}
