@charset "UTF-8";
/* ============================================================
   FIX MY TEETH — STANDING PAGES

   01  About / the founder page
   02  Ruled definition lists — values, milestones, process
   03  Qualifications and specialties
   04  Technology
   05  Contact
   06  Placeholder notes
   ============================================================ */

/* ============================================================
   01  ABOUT

   The portrait runs alongside the opening of the bio rather than
   above it, so the reader meets the face and the first paragraph
   together. It sticks while the bio scrolls — this is the one page
   where the practice is a person, and losing the face three
   paragraphs in undercuts that.
   ============================================================ */

.founder-page {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 62rem) {
  .founder-page {
    grid-template-columns: 22rem 1fr;
  }

  .founder-page-portrait {
    position: sticky;
    top: calc(var(--header-h) + var(--sp-5));
  }
}

.founder-page-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-card);
  border: 1px solid var(--rule);
  outline: 1px solid var(--rule-soft);
  outline-offset: 5px;
}

.founder-page-portrait figcaption {
  display: grid;
  gap: 0.15rem;
  margin-top: var(--sp-5);
  font-family: var(--caps);
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
}

.founder-page-portrait figcaption span {
  font-family: var(--body);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  color: var(--text-gold);
}

.founder-page-body {
  max-width: 68ch;
}

/* A section rule before each heading, matching the concern body — these are
   long pages and the reader needs the joins. */
.founder-page-body h2,
.statement-body h2,
.technology-body h2 {
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--rule);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
}

.founder-page-body h2:first-child,
.statement-body h2:first-child,
.technology-body h2:first-child {
  margin-top: 0;
}

.statement-body,
.technology-body {
  max-width: 74ch;
}

/* The pull quote. Set apart by the gold hairline above it rather than a
   quotation-mark graphic, which would be decoration. */
.pull {
  margin-block: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 2px solid var(--gold);
}

/* ============================================================
   02  RULED DEFINITION LISTS

   Values, milestones and the visit process are all the same shape:
   a short name and a sentence, in sequence. They set as one ruled
   list with the number in the inscriptional face — the engraved
   index again, because each of these genuinely has an order.
   ============================================================ */

.values,
.milestones,
.process {
  list-style: none;
  padding-left: 0 !important;
  counter-reset: fmt-ruled;
  border-top: 1px solid var(--rule);
}

.values > li,
.milestones > li,
.process > li {
  position: relative;
  display: grid;
  grid-template-columns: 3ch 1fr;
  gap: 0 var(--sp-5);
  align-items: baseline;
  padding-left: 0 !important;
  padding-block: var(--sp-4);
  margin-top: 0 !important;
  border-bottom: 1px solid var(--rule-soft);
  counter-increment: fmt-ruled;
}

/* The entry-content counter treatment does not apply here. */
.values > li::before,
.milestones > li::before,
.process > li::before {
  content: counter(fmt-ruled, decimal-leading-zero);
  position: static;
  font-family: var(--caps);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-gold);
}

.values > li strong,
.milestones > li strong,
.process > li strong {
  grid-column: 2;
  font-family: var(--display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" var(--display-opsz), "wght" 600;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.25;
}

.values > li span,
.milestones > li span,
.process > li span {
  grid-column: 2;
  margin-top: 0.25rem;
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-soft);
}

/* An unconfirmed date is marked, not hidden. */
.milestones em {
  font-style: normal;
  padding: 0.05em 0.4em;
  border: 1px dashed var(--tan);
  border-radius: var(--r-sm);
  font-size: 0.82em;
  color: var(--text-gold);
  white-space: nowrap;
}

/* ============================================================
   03  QUALIFICATIONS AND SPECIALTIES

   Two columns of short lines, each on a hairline. A credential list
   is a schedule, so it sets like one.
   ============================================================ */

.quals,
.specialty-list {
  list-style: none;
  padding-left: 0 !important;
  display: grid;
  gap: 0 clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule);
}

@media (min-width: 48rem) {
  .quals,
  .specialty-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.quals > li,
.specialty-list > li {
  padding-left: 0 !important;
  padding-block: 0.8rem;
  margin-top: 0 !important;
  border-bottom: 1px solid var(--rule-soft);
  font-family: var(--display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" var(--display-opsz), "wght" 500;
  font-size: 1rem;
  line-height: 1.3;
}

.quals > li::before,
.specialty-list > li::before {
  display: none !important;
}

/* ============================================================
   04  TECHNOLOGY
   ============================================================ */

.technology-body .tablewrap {
  margin-top: var(--sp-5);
}

.technology-body table td:first-child {
  font-weight: 500;
}

.technology-body table td:last-child {
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
}

/* ============================================================
   05  CONTACT

   Call and WhatsApp come first and the form second, because on this
   practice's evidence the phone is the conversion. Someone in pain
   is not going to fill in a form and wait.
   ============================================================ */

.contact-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 62rem) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-routes {
  display: grid;
  gap: var(--sp-4);
}

.route {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: clamp(1.1rem, 2.4vw, 1.5rem);
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  background: var(--bg);
  text-decoration: none;
  transition: border-color 0.22s var(--ease), background-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.route:hover {
  border-color: var(--gold);
  background: var(--panel);
  box-shadow: var(--shadow-1);
}

.route-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--tan);
  border-radius: 50%;
  color: var(--text-gold);
}

.route-icon svg {
  width: 20px;
  height: 20px;
}

.route-body {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.route-label {
  font-family: var(--caps);
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-gold);
}

.route-value {
  font-family: var(--display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" var(--display-opsz), "wght" 600;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  line-height: 1.15;
}

.route-note {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.clinic-facts {
  display: grid;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
}

.clinic-facts .label {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--caps);
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-gold);
}

.clinic-facts .small {
  display: block;
  margin-top: 0.2rem;
}

.clinic-facts a {
  text-decoration: none;
}

.clinic-facts a:hover {
  color: var(--text-gold);
}

/* ---- The form ---- */

.contact-form-wrap {
  padding: clamp(1.4rem, 3vw, 2.25rem);
  border-top: 2px solid var(--gold);
  border-radius: var(--r-card);
  background: var(--panel);
}

.contact-form-wrap h2 {
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
}

.form-intro {
  margin-top: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.appointment-form {
  display: grid;
  gap: var(--sp-4);
}

.appointment-form .btn {
  width: 100%;
  margin-top: var(--sp-2);
}

.form-foot {
  margin: 0;
  text-align: center;
}

/* ---- The map card ----

   A link, not an embedded iframe. An iframe to Google on every page
   view costs a third-party connection and a lot of script for
   something most visitors never open — and the address above it is
   already a link into their own maps app. */

.map-card {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding: clamp(1.1rem, 2.4vw, 1.5rem);
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  background: var(--panel-deep);
  text-decoration: none;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.map-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-1);
}

.map-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--text-gold);
}

.map-card-icon svg {
  width: 20px;
  height: 20px;
}

.map-card-body {
  display: grid;
  gap: 0.1rem;
  flex: 1;
  min-width: 0;
}

.map-card-title {
  font-family: var(--display);
  font-optical-sizing: none;
  font-variation-settings: "opsz" var(--display-opsz), "wght" 600;
  font-size: 1.125rem;
  line-height: 1.2;
}

.map-card-text {
  font-size: 0.875rem;
  color: var(--text-soft);
}

.map-card .arrow {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  color: var(--gold-deep);
  transition: transform 0.22s var(--ease);
}

.map-card:hover .arrow {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .map-card .arrow {
    transition: none;
  }

  .map-card:hover .arrow {
    transform: none;
  }
}

/* ============================================================
   06  PLACEHOLDER NOTES

   Where content is genuinely still owed, the page says so in the
   practice's own register instead of showing lorem ipsum or a
   confident-sounding paragraph nobody approved. Dashed, so it is
   obviously not finished copy, and easy to find before publish.
   ============================================================ */

.placeholder-note {
  padding: var(--sp-4) var(--sp-5);
  border: 1px dashed var(--tan);
  border-radius: var(--r-card);
  background: var(--panel);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.placeholder-note strong {
  color: var(--text-gold);
}

/* ============================================================
   06  The instruments
   ============================================================

   A plate of twelve photographs on the Technology page, replacing the
   brand/model table the practice asked to have removed.

   The supplied shots are manufacturer product images on white. Rather than
   fight that, each sits on a white card: the photograph's own background
   disappears into the card and the parchment page shows only between them, so
   twelve stray cut-outs read as one set. The microscope is the exception — it
   was shot on black — so it takes the feature cell and becomes the accent
   instead of the odd one out.
   ============================================================ */

.equipment {
  background: var(--cream);
}

.equipment-head {
  max-width: 54ch;
  margin-bottom: var(--sp-7);
}

.equipment-head .lede {
  margin-top: var(--sp-4);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
  gap: var(--sp-5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.equipment-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--r-card);
  /* No transform on hover: the glow cards elsewhere anchor their gradient to
     the viewport, and a transform here would teach the eye the wrong rule. */
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.equipment-card:hover {
  border-color: var(--tan);
  box-shadow: 0 1px 2px rgba(46, 31, 22, 0.05), 0 8px 24px rgba(46, 31, 22, 0.06);
}

/* The microscope. Two columns where there is room, and its own dark ground. */
.equipment-card.is-feature {
  background: var(--ink);
  border-color: transparent;
}

@media (min-width: 40rem) {
  .equipment-card.is-feature {
    grid-column: span 2;
  }

  .equipment-card.is-feature .equipment-art {
    aspect-ratio: 2 / 1;
  }
}

.equipment-art {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
}

.equipment-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipment-text {
  padding: var(--sp-4) var(--sp-4) var(--sp-5);
  border-top: 1px solid var(--rule-soft);
}

.equipment-card.is-feature .equipment-text {
  border-top-color: rgba(231, 215, 188, 0.18);
}

.equipment-name {
  margin: 0 0 var(--sp-2);
  font-family: var(--caps);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.equipment-note {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-soft);
}

.equipment-card.is-feature .equipment-name {
  color: var(--on-ink-text);
}

.equipment-card.is-feature .equipment-note {
  color: var(--on-ink-soft);
}
