/* Loveable Smiles concept: eight promises on a card. Spec work by Pina Studios. */
:root {
  --paper: #FBFAF8;
  --card: #FFFFFF;
  --ink: #1E2230;
  --ink-2: #4A5060;
  --red: #C8434B;
  --red-soft: #F7E7E6;
  --blue: #136FA8;
  --blue-hover: #0F5C8C;
  --sky: #E6F4FB;
  --night: #19202C;
  --line: rgba(30, 34, 48, .14);
  --line-strong: rgba(30, 34, 48, .3);
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(20px, 5vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--ink-2) var(--paper); }
.reduce { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
a:hover { color: var(--blue-hover); }
::selection { background: #F3D3D1; color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(2rem, 2vw + 1.1rem, 3rem); line-height: 1.08; letter-spacing: -.01em; }
h3 { font-size: 1.3125rem; line-height: 1.25; }
p { margin: 0 0 1em; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; padding: 10px 16px; }
.skip:focus { top: 12px; }
.concept-ribbon { background: var(--night); color: #D5DAE3; font: 600 .8125rem/1.4 var(--sans); text-align: center; padding: 8px var(--gutter); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; font: 700 1rem/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-hover); color: #fff; }
.btn-wide { width: 100%; }

.site-head { background: #fff; border-bottom: 1px solid var(--line); }
.head-inner { max-width: 1320px; margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: 24px; }
.brand img { width: 200px; height: auto; }
.nav { flex: 1; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 26px; justify-content: center; flex-wrap: wrap; }
.nav a { font: 600 .9375rem/1.2 var(--sans); color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--blue); text-decoration: underline; }
.head-actions { display: flex; align-items: center; gap: 18px; }
.head-phone { font: 700 1rem/1.2 var(--sans); color: var(--ink); text-decoration: none; white-space: nowrap; }

/* Hero: the card */
.hero { padding: clamp(28px, 4vw, 56px) 0 clamp(56px, 8vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 36px clamp(32px, 4vw, 64px); align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: clamp(24px, 3.2vw, 44px); box-shadow: 0 1px 0 rgba(30, 34, 48, .04), 0 22px 44px -30px rgba(30, 34, 48, .35); }
.card h1 { font-size: clamp(2.2rem, 2.4vw + 1.1rem, 3.4rem); line-height: 1.04; letter-spacing: -.015em; }
.card-from { margin: 10px 0 22px; color: var(--ink-2); font-size: 1rem; }
.promises { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.promises li { display: grid; grid-template-columns: 2.1rem 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.promises p { margin: 0; font-family: var(--serif); font-size: 1.125rem; line-height: 1.45; color: var(--ink-2); }
.promises strong { font-weight: 600; color: var(--ink); }
.pn { font: 600 1.625rem/1 var(--serif); color: var(--red); padding-top: 1px; font-variant-numeric: oldstyle-nums; }
.signoff { margin: 20px 0 0; display: flex; align-items: center; gap: 12px; font: italic 400 1.125rem/1.4 var(--serif); color: var(--ink); }
.heart { flex: none; width: 46px; height: 40px; }
.heart path { fill: none; stroke: var(--red); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.js .heart path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .heart.is-drawn path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease) .5s; }
.reduce .heart path { stroke-dashoffset: 0; }
.hero-side { position: sticky; top: 24px; }
.team-photo { margin: 0 0 18px; border-radius: 14px; overflow: hidden; }
.open-now { font-weight: 600; margin-bottom: 18px; }
.open-now .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; background: #2E8B57; vertical-align: 1px; }
.open-now.is-closed .dot { background: var(--red); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 12px; }
.phone-link { font-weight: 700; color: var(--ink); }
.address { color: var(--ink-2); margin: 0; }
.kind-words { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.kind-words p { margin: 0 0 6px; font: italic 400 1.375rem/1.4 var(--serif); }
.kind-words footer { font-size: .9375rem; color: var(--ink-2); }

/* Bands */
.band { padding: clamp(72px, 10vh, 120px) 0; }
.band h2 { margin-bottom: 28px; }
.care-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; }
.care-list li { border-top: 2px solid var(--ink); padding-top: 14px; }
.care-list h3 { margin-bottom: 6px; }
.care-list p { margin: 0; color: var(--ink-2); }

.band-ink { background: var(--night); color: #E9ECF2; }
.band-ink :focus-visible { outline-color: #fff; }
.tech-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.tech-lede { font-family: var(--serif); font-size: 1.375rem; line-height: 1.45; color: #C9D0DC; max-width: 30em; }
.tech-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.tech-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.tech-name { font-weight: 700; color: #fff; }
.tech-list span:last-child { color: #C9D0DC; }

.band-rose { background: var(--red-soft); }
.babies-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px clamp(40px, 6vw, 96px); align-items: start; }
.babies-grid h2 { margin: 0; }
.babies-grid p { font-size: 1.1875rem; max-width: 34em; }

.team { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.team img { border-radius: 12px; aspect-ratio: 670 / 500; object-fit: cover; width: 100%; margin-bottom: 12px; }
.team .who { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; margin: 0; }
.team .role { margin: 2px 0 0; color: var(--ink-2); }

.band-paper { background: var(--sky); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.visit-addr { font-family: var(--serif); font-size: 1.5rem; line-height: 1.35; margin-bottom: 10px; }
.hours { border-collapse: collapse; margin-top: 18px; min-width: min(100%, 360px); }
.hours th, .hours td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line-strong); }
.hours th { font-weight: 600; padding-right: 40px; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--blue); font-weight: 700; }
.warranty { background: #fff; border-radius: 14px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--line); }
.warranty h3 { margin-bottom: 10px; }
.warranty blockquote { margin: 0; }
.warranty blockquote p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.25rem; line-height: 1.5; }

.request-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px clamp(40px, 6vw, 88px); align-items: start; }
.request-copy p { color: var(--ink-2); max-width: 30em; }
.request-copy a { font-weight: 700; }
.request-form { background: #fff; border: 1px solid var(--line-strong); border-radius: 14px; padding: clamp(20px, 3vw, 36px); }
.request-form label, .request-form legend { display: block; font-weight: 700; font-size: .9375rem; margin: 0 0 6px; }
.opt { font-weight: 400; color: var(--ink-2); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; color: var(--ink); font: 400 1.0625rem/1.4 var(--sans); }
textarea { resize: vertical; margin-bottom: 16px; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231E2230' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
fieldset { border: 0; margin: 0 0 16px; padding: 0; }
.days label, .newpt label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; margin: 0 18px 8px 0; min-height: 32px; }
.days input, .newpt input { width: 18px; height: 18px; accent-color: var(--blue); }
.field-error { color: #A11B1B; font-weight: 700; }
.sent { margin-top: 16px; border: 1px solid var(--blue); background: var(--sky); border-radius: 8px; padding: 14px 16px; }
.sent-title { font-weight: 700; margin-bottom: 4px; }
.sent p:last-child { margin: 0; }

.site-foot { background: var(--night); color: #B8C0CD; padding: 64px 0 120px; }
.site-foot a { color: #fff; }
.site-foot :focus-visible { outline-color: #fff; }
.foot-inner { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.foot-logo { width: 220px; background: #fff; border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; }
.foot-sub { max-width: 40em; }
.foot-facts { margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 28px; }
.foot-facts dt { font-weight: 700; font-size: .875rem; color: #fff; }
.foot-facts dd { margin: 4px 0 0; }
.foot-note { max-width: 1240px; margin: 40px auto 0; padding: 20px var(--gutter) 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .875rem; }

.lost { max-width: 760px; margin: 0 auto; padding: 120px var(--gutter) 160px; }
.lost h1 { font-size: clamp(2.2rem, 3vw + 1rem, 3.6rem); line-height: 1.05; margin-bottom: 18px; }
.mobile-cta { display: none; }

@media (max-width: 1100px) {
  .head-phone { display: none; }
  .care-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .head-inner { flex-wrap: wrap; gap: 8px 16px; }
  .nav { order: 3; flex-basis: 100%; overflow-x: auto; -webkit-mask-image: linear-gradient(to right, #000 84%, transparent); mask-image: linear-gradient(to right, #000 84%, transparent); }
  .nav ul { flex-wrap: nowrap; justify-content: flex-start; gap: 20px; padding-bottom: 6px; }
  .nav a { white-space: nowrap; }
  .head-actions { margin-left: auto; }
  .hero-grid, .tech-grid, .babies-grid, .visit-grid, .request-grid { grid-template-columns: 1fr; }
  .hero-side { position: static; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .brand img { width: 160px; }
  .head-actions .btn { display: none; }
  .card { padding: 22px 18px; border-radius: 12px; }
  .card h1 { font-size: 2.1rem; }
  .promises p { font-size: 1.0625rem; }
  .hero-actions { display: none; }
  .care-list { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .team .who { font-size: 1.0625rem; }
  .team .role { font-size: .875rem; }
  .row { grid-template-columns: 1fr; }
  .tech-list li { grid-template-columns: 1fr; gap: 2px; }
  .foot-facts { grid-template-columns: 1fr; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--night); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  .mobile-cta a { display: flex; align-items: center; justify-content: center; min-height: 48px; border: 1px solid rgba(255, 255, 255, .4); color: #fff; text-decoration: none; font: 700 .9375rem/1 var(--sans); border-radius: 999px; }
  .mobile-cta a.is-primary { background: var(--blue); border-color: var(--blue); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
