/* Marlow Dental Studio: fictional sample by Venant Studio (redesign 2026-09-28).
   Gulf-coast calm: quartz white, sea glass, deep teal ink, one sun accent.
   The logo's two arches frame every image. */
:root {
  --ink: #0b3b3a;
  --ink-2: #3d5f5d;
  --teal: #0e6b68;
  --teal-2: #138581;
  --sea: #d6eee8;
  --foam: #f2faf7;
  --white: #fff;
  --sun: #f2c14e;
  --line: #bcdcd5;
  --display: "Young Serif", Georgia, serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font: 400 1.0625rem/1.65 var(--body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 96px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 50; }
.skip:focus { top: 12px; }

/* concept notice */
.notice { background: var(--ink); color: #d7ebe7; font-size: .8125rem; }
.notice .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.notice a { color: #fff; }

/* header */
.hdr { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand svg { width: 40px; height: 40px; }
.brand span { font-family: var(--display); font-size: 1.25rem; line-height: 1.05; }
.brand small { display: block; font-family: var(--body); font-size: .75rem; color: var(--ink-2); letter-spacing: .01em; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); list-style: none; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:not(.btn):hover { color: var(--teal); }
.menu-btn { display: none; border: 1.5px solid var(--ink); background: none; border-radius: 6px; padding: 9px 16px; font: 600 .95rem var(--body); color: var(--ink); cursor: pointer; }
.btn { display: inline-flex; align-items: center; gap: 10px; border-radius: 6px; padding: 13px 22px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--teal); background: var(--teal); color: #fff; transition: background-color .18s, color .18s, border-color .18s; cursor: pointer; font-size: 1rem; }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn.ghost { background: transparent; color: var(--teal); }
.btn.ghost:hover { background: var(--sea); color: var(--ink); }

/* hero */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 104px); background: linear-gradient(180deg, var(--white) 0 62%, var(--foam) 62%); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.1rem); }
.hero .lead { margin-top: 24px; font-size: 1.1875rem; color: var(--ink-2); max-width: 34em; }
.hero .actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.facts { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.facts li { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 8px 14px; font-size: .92rem; font-weight: 500; }
.facts li b { color: var(--teal); font-weight: 700; }
.arch { position: relative; border-radius: 999px 999px 28px 28px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sea); box-shadow: 0 30px 60px -30px rgba(11,59,58,.45); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero .arch { max-width: 520px; justify-self: end; width: 100%; }
.hours-chip { position: absolute; left: -28px; bottom: 40px; background: var(--white); border-radius: 18px; padding: 14px 18px; box-shadow: 0 18px 40px -18px rgba(11,59,58,.5); font-size: .92rem; line-height: 1.35; }
.hours-chip b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.35rem; color: var(--teal); }
.hero-wrap-img { position: relative; }
.imgnote { margin-top: 10px; font-size: .78rem; color: var(--ink-2); text-align: right; }

/* first visit: sticky scroll */
.visit-steps { background: var(--foam); padding-block: clamp(72px, 9vw, 128px); }
.visit-steps h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); max-width: 16em; }
.visit-steps .intro { margin-top: 16px; color: var(--ink-2); max-width: 38em; font-size: 1.125rem; }
.steps-grid { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.steps { list-style: none; counter-reset: s; }
.step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding-block: 24px; opacity: .32; transition: opacity .35s ease; }
.step.is-active { opacity: 1; }
.step .n { font-family: var(--display); color: var(--teal); font-size: 1.1rem; }
.step h3 { margin-top: 10px; font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem); }
.step p { margin-top: 14px; font-size: 1.125rem; color: var(--ink-2); max-width: 30em; }
.step .mini { display: none; }
.stage { position: sticky; top: calc(50vh - 220px); height: 440px; border-radius: 28px; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.stage figure { position: absolute; inset: 0; display: grid; place-items: center; padding: 36px; opacity: 0; transform: translateY(12px) scale(.98); transition: opacity .45s ease, transform .45s ease; }
.stage figure.is-active { opacity: 1; transform: none; }
.stage svg { width: 100%; height: 100%; max-height: 340px; }
.stage figcaption { position: absolute; left: 24px; bottom: 18px; font-size: .85rem; color: var(--ink-2); }

/* care */
.care { padding-block: clamp(72px, 9vw, 128px); }
.care .head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: end; }
.care h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); }
.care .head p { color: var(--ink-2); font-size: 1.125rem; }
.care-list { margin-top: 48px; list-style: none; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 5vw, 80px); border-top: 1px solid var(--line); }
.care-list li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.care-list svg { width: 36px; height: 36px; color: var(--teal); }
.care-list h3 { font-size: 1.35rem; }
.care-list p { margin-top: 6px; color: var(--ink-2); }

/* hours */
.hours { background: var(--ink); color: #e6f4f1; padding-block: clamp(72px, 9vw, 128px); }
.hours .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.hours h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); color: #fff; }
.hours .lede { margin-top: 18px; color: #b9d8d2; max-width: 30em; font-size: 1.125rem; }
.hours address { font-style: normal; margin-top: 28px; color: #fff; }
.hours address small { display: block; color: #9cc6be; font-size: .82rem; margin-top: 4px; }
.week { width: 100%; border-collapse: collapse; font-size: .95rem; }
.week caption { text-align: left; color: #9cc6be; font-size: .85rem; padding-bottom: 12px; }
.week th { text-align: left; font-weight: 600; padding: 9px 12px 9px 0; width: 96px; color: #fff; }
.week td { padding: 9px 0; }
.bar-track { position: relative; height: 34px; border-radius: 999px; background: rgba(255,255,255,.06); }
.bar { position: absolute; top: 0; bottom: 0; left: var(--from); width: var(--span); border-radius: 999px; background: var(--teal-2); display: flex; align-items: center; padding-inline: 14px; font-size: .86rem; font-weight: 600; color: #fff; white-space: nowrap; transform-origin: left center; }
.bar.early { background: linear-gradient(90deg, var(--sun), var(--teal-2) 38%); color: var(--ink); }
.bar.late { background: linear-gradient(90deg, var(--teal-2) 50%, #1f4f6e); }
.closed { font-size: .86rem; color: #7fa9a1; padding-left: 14px; line-height: 34px; }
.scale { display: flex; justify-content: space-between; color: #7fa9a1; font-size: .75rem; margin: 6px 0 0 96px; }
.js .week .bar { transform: scaleX(0); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.js .week.in .bar { transform: none; }
.js .week.in tr:nth-child(2) .bar { transition-delay: .06s; } .js .week.in tr:nth-child(3) .bar { transition-delay: .12s; }
.js .week.in tr:nth-child(4) .bar { transition-delay: .18s; } .js .week.in tr:nth-child(5) .bar { transition-delay: .24s; }

/* team */
.team { padding-block: clamp(72px, 9vw, 128px); }
.team h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); }
.people { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); list-style: none; }
.people .arch { aspect-ratio: 3 / 4; box-shadow: none; }
.people img { object-position: 50% 22%; }
.people h3 { margin-top: 18px; font-size: 1.5rem; }
.people .role { color: var(--teal); font-weight: 600; font-size: .95rem; margin-top: 2px; }
.people p { margin-top: 8px; color: var(--ink-2); }

/* faq */
.faq { background: var(--foam); padding-block: clamp(72px, 9vw, 128px); }
.faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); }
.faq h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); }
.qs details { border-bottom: 1px solid var(--line); }
.qs summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 600; font-size: 1.125rem; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform .2s; }
.qs details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.qs details p { padding: 0 0 22px; color: var(--ink-2); max-width: 40em; }

/* request demo */
.book { padding-block: clamp(72px, 9vw, 128px); }
.book .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.book h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); }
.book .lede { margin-top: 16px; color: var(--ink-2); font-size: 1.125rem; }
.demo-note { margin-top: 20px; padding: 14px 16px; border-radius: 14px; background: var(--foam); border: 1px dashed var(--line); font-size: .92rem; color: var(--ink-2); }
.form { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: clamp(20px, 3vw, 36px); display: grid; gap: 18px; box-shadow: 0 30px 60px -40px rgba(11,59,58,.5); }
.form label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: 6px; }
.form select, .form input { width: 100%; font: 400 1rem var(--body); color: var(--ink); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--white); min-height: 48px; }
.form select:focus-visible, .form input:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; border-color: var(--teal); }
.form .err { color: #b3261e; font-size: .88rem; font-weight: 600; margin-top: 6px; }
.form .err:empty { display: none; }
.preview { border-radius: 16px; background: var(--sea); padding: 16px 18px; }
.preview[hidden] { display: none; }
.preview b { font-family: var(--display); font-weight: 400; font-size: 1.2rem; display: block; margin-bottom: 4px; }

/* footer */
.ftr { background: var(--ink); color: #cfe6e1; padding-block: 56px 32px; }
.ftr .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.ftr .brand span { color: #fff; }
.ftr h3 { font-family: var(--body); font-weight: 700; font-size: .95rem; color: #fff; }
.ftr ul { list-style: none; margin-top: 10px; display: grid; gap: 6px; }
.ftr a { text-decoration: none; } .ftr a:hover { text-decoration: underline; }
.ftr .base { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; margin-top: 16px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #9cc6be; }

/* small screens */
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 8px var(--pad) 20px; }
  .nav.open { display: flex; }
  .nav a { display: block; padding: 12px 0; font-size: 1.1rem; }
  .nav .btn { justify-content: center; margin-top: 8px; }
  .hero .wrap, .care .head, .care-list, .hours .wrap, .faq .wrap, .book .wrap, .ftr .wrap { grid-template-columns: 1fr; }
  .hero .arch { justify-self: start; max-width: 460px; }
  .hours-chip { left: 12px; bottom: 16px; }
  .steps-grid { grid-template-columns: 1fr; }
  .stage { display: none; }
  .step { min-height: 0; opacity: 1; padding-block: 18px; border-top: 1px solid var(--line); }
  .step .mini { display: block; margin-top: 16px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
  .step .mini svg { max-height: 200px; margin-inline: auto; }
  .people { grid-template-columns: 1fr; max-width: 420px; }
  .week th { width: 56px; }
  .scale { margin-left: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .js .week .bar { transform: none; }
}

/* team: crop out the illustrative portrait's garbled coat badge */
.people li:first-child img { transform: scale(1.32); transform-origin: 50% 8%; }

/* ---- New first screen, 2026-11-12 ---- */
.hx [data-in] { opacity: 0; transform: translateY(18px); animation: hx-in .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--d, 0) * 90ms + 80ms); }
@keyframes hx-in { to { opacity: 1; transform: none; } }
.hx-note { font-size: .75rem; opacity: .75; }
@media (prefers-reduced-motion: reduce) { .hx [data-in] { opacity: 1; transform: none; animation: none; } }

.hx-marlow { position: relative; overflow: hidden; background: var(--foam); }
.hx-marlow .hx-photo { position: absolute; inset: 0 0 auto 0; height: calc(100% - 92px); }
.hx-marlow .hx-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
/* the morning light: daylight washes in from the window side and settles behind the words */
.hx-marlow .hx-wash { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(242,250,247,.97) 0%, rgba(242,250,247,.9) 34%, rgba(242,250,247,.35) 56%, rgba(242,250,247,0) 72%); transform-origin: left center; animation: hx-dawn 1.6s cubic-bezier(.2,.7,.2,1) both; }
@keyframes hx-dawn { from { opacity: .2; transform: scaleX(.55); } to { opacity: 1; transform: none; } }
.hx-marlow .hx-grid { position: relative; display: grid; align-content: center; min-height: clamp(440px, calc(100vh - 240px), 640px); padding-block: clamp(36px, 4.5vw, 64px) clamp(40px, 5vw, 72px); max-width: var(--max); }
.hx-marlow .hx-grid > * { max-width: 36rem; }
.hx-marlow .hx-tag { font-weight: 600; color: var(--teal); letter-spacing: .01em; }
.hx-marlow h1 { margin-top: 14px; font-size: clamp(2.3rem, 1.1rem + 2.9vw, 3.7rem); line-height: 1.04; }
.hx-marlow .hx-lead { margin-top: 20px; font-size: 1.1875rem; color: var(--ink-2); }
.hx-marlow .hx-actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.hx-marlow .hx-btn { display: inline-flex; align-items: center; padding: 15px 26px; border-radius: 6px; background: var(--teal); color: #fff; font-weight: 600; text-decoration: none; transition: background .2s, transform .15s; }
.hx-marlow .hx-btn:hover { background: var(--ink); } .hx-marlow .hx-btn:active { transform: scale(.98); }
.hx-marlow .hx-link { font-weight: 600; color: var(--ink); text-decoration: none; background: linear-gradient(var(--sun), var(--sun)) 0 100% / 100% 3px no-repeat; padding-bottom: 3px; transition: background-size .25s; }
.hx-marlow .hx-link:hover { background-size: 100% 100%; }
.hx-marlow .hx-mobile-photo { display: none; }
/* the day: a band of light from 7am to 7pm, the sun crossing it once */
.hx-marlow .hx-day { position: relative; height: 92px; background: var(--ink); color: #fff; display: flex; align-items: center; }
.hx-marlow .hx-day .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(14px, 3vw, 32px); width: 100%; }
.hx-marlow .hx-day p { font-size: 1rem; color: var(--sea); white-space: nowrap; }
.hx-marlow .hx-day b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; color: #fff; margin-right: 6px; }
.hx-marlow .hx-track { position: relative; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--sun), #fbe7b0 50%, var(--teal-2)); }
.hx-marlow .hx-sun { position: absolute; top: 50%; left: 0; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 6px rgba(242,193,78,.25), 0 0 24px 6px rgba(242,193,78,.55); animation: hx-sun 3.2s cubic-bezier(.45,0,.2,1) .6s both; }
@keyframes hx-sun { from { left: 0; } to { left: 100%; } }
.hx-marlow .hx-note { position: absolute; right: var(--pad); bottom: 6px; color: var(--sea); z-index: 2; }
@media (max-width: 1100px) and (min-width: 701px) {
  .hx-marlow .hx-wash { background: linear-gradient(90deg, rgba(242,250,247,.97) 0%, rgba(242,250,247,.92) 48%, rgba(242,250,247,.4) 72%, rgba(242,250,247,0) 88%); }
}
@media (max-width: 700px) {
  .hx-marlow .hx-photo { display: none; }
  .hx-marlow .hx-grid { min-height: 0; padding-block: 32px 36px; }
  .hx-marlow .hx-mobile-photo { display: block; margin-top: 24px; margin-inline: calc(-1 * var(--pad)); position: relative; }
  .hx-marlow .hx-mobile-photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 48% 70%; }
  .hx-marlow .hx-mobile-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(242,250,247,.55), rgba(242,250,247,0) 35%); }
  .hx-marlow .hx-actions { margin-top: 24px; }
  .hx-marlow .hx-btn { flex: 1 1 100%; justify-content: center; }
  .hx-marlow .hx-day { height: 76px; } .hx-marlow .hx-day b { font-size: 1.2rem; } .hx-marlow .hx-day p { font-size: .9rem; }
  .hx-marlow .hx-note { position: static; padding-block: 8px; text-align: right; }
}
@media (prefers-reduced-motion: reduce) { .hx-marlow .hx-wash, .hx-marlow .hx-sun { animation: none; } .hx-marlow .hx-sun { left: 50%; } }
