/* Vienna Family Dental: the garden */
:root {
  --daylight: #F7F8F2;
  --fern: #E3EBD9;
  --moss: #5B7A4A;
  --moss-dark: #3F5A33;
  --forest: #1F3A2C;
  --forest-deep: #162A20;
  --ink: #17271E;
  --text: #2E3B33;
  --muted: #5E6B62;
  --bluebell: #1E5A9C;
  --bluebell-dark: #17497F;
  --serif: "Young Serif", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
  --leaf: clamp(80px, 12vw, 200px);
  --wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--daylight);
  color: var(--text);
  font: 400 18px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--bluebell); }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.01em; line-height: 1.05; }
h2 { font-size: clamp(36px, 4.4vw, 60px); margin-bottom: 20px; }
h3 { font: 600 20px/1.3 var(--sans); }
p { margin: 0 0 16px; }
figure { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.small { font-size: 16px; color: var(--muted); }
.big { font-size: 21px; line-height: 1.55; color: var(--ink); }
.i { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--bluebell); outline-offset: 3px; }

/* the shapes: a leaf (two opposite corners round) and a pebble */
.leaf, .leaf img { border-radius: var(--leaf) 0 var(--leaf) 0; }
.leaf-r, .leaf-r img { border-radius: 0 var(--leaf) 0 var(--leaf); }
.pebble, .pebble img { border-radius: 58% 42% 46% 54% / 50% 56% 44% 50%; }
.pebble-2, .pebble-2 img { border-radius: 44% 56% 60% 40% / 54% 42% 58% 46%; }
.leaf img, .leaf-r img, .pebble img { width: 100%; height: 100%; object-fit: cover; }
.bloom { color: #fff; --heart: var(--moss); position: absolute; pointer-events: none; }

/* buttons */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 10px;
  font: 600 16px/1.2 var(--sans); text-decoration: none; border: 0; cursor: pointer;
}
.btn-book { background: var(--bluebell); color: #fff; }
.btn-book:hover { background: var(--bluebell-dark); }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 18px; }
.call {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--ink); font-weight: 600; text-decoration: none; font-size: 18px;
  border-bottom: 2px solid var(--moss);
}
.call-light { color: #fff; border-color: #9DBB86; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: 28px 0 12px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--daylight);
  border-bottom: 1px solid rgba(31, 58, 44, .08);
}
.header-row { display: flex; align-items: center; gap: 28px; height: 84px; }
.logo img { width: 168px; }
.nav { display: flex; gap: 20px; margin-left: auto; white-space: nowrap; }
.nav a { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--bluebell); }
.header-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; text-decoration: none; font-size: 16px; white-space: nowrap; }
.header-phone .i { color: var(--moss); width: 18px; }
.menu { display: none; }

/* hero */
.hero { padding: 48px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
.kicker { font-size: 16px; font-weight: 500; color: var(--moss-dark); margin-bottom: 24px; max-width: 600px; white-space: nowrap; }
.big, .lede, .team-lead-copy p, .case figcaption, .calm p { text-wrap: pretty; }
h1 { font-size: clamp(54px, 6.4vw, 92px); line-height: .98; margin-bottom: 28px; }
.lede { font-size: 21px; max-width: 34ch; color: var(--text); }
.reassure { font-size: 15px; color: var(--muted); margin-bottom: 28px; }
.rating { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 16px; }
.rating strong { font-weight: 700; }
.stars { display: inline-flex; gap: 2px; color: #C9962B; }
.stars svg { width: 18px; height: 18px; }
.hero-photo { position: relative; height: 640px; margin-right: -120px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; border-radius: 280px 0 280px 0; }
.bloom-hero { width: 120px; height: 120px; left: -48px; bottom: 56px; filter: drop-shadow(0 6px 18px rgba(23, 39, 30, .18)); }

/* mornings */
.mornings { background: var(--fern); padding: 112px 0; }
.mornings-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: center; }
.mornings-photo { aspect-ratio: 3 / 2; margin-left: -80px; }
.hours { margin: 28px 0; border-top: 1px solid rgba(31, 58, 44, .2); }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(31, 58, 44, .2); }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; color: var(--ink); font-weight: 600; }
.mornings .btn { margin-top: 8px; }

/* services */
.services { padding: 120px 0 104px; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 56px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; font-size: 19px; max-width: 46ch; }
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 56px 40px; }
.tile { color: inherit; text-decoration: none; display: block; }
.tile h3 { margin: 18px 0 6px; font-size: 21px; }
.tile:hover h3 { color: var(--bluebell); }
.tile p { margin: 0; font-size: 16.5px; color: var(--muted); }
.tile-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.tile-big { grid-row: span 2; }
.tile-big .tile-img { aspect-ratio: auto; height: 560px; }
.tile-big h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin-top: 24px; }
.tile-big p { font-size: 18px; max-width: 46ch; }
.tile-ill-r .ill { border-radius: 90px 0 90px 0 !important; }
.tile-ill .ill { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; background: var(--fern); border-radius: 0 90px 0 90px; --ink: var(--forest); --shape: #C3D6B1; }
.tile-ill svg { width: 62%; height: auto; }
.emergency { margin-top: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 36px; background: #fff; border-radius: 0 60px 0 60px; }
.emergency p { margin: 0; font-size: 19px; color: var(--ink); }
.also { margin: 24px 0 0; color: var(--muted); font-size: 16px; }

/* calm */
.calm { background: var(--forest); color: #DCE6D5; padding: 104px 0 120px; }
.calm h2 { color: #fff; }
.calm-top { display: grid; grid-template-columns: 760px 1fr; gap: 64px; align-items: start; }
.calm-top h2 { margin-top: -6px; }
.calm-photo { position: relative; height: 440px; }
.calm-photo figcaption, .photo-credit {
  position: absolute; right: 20px; bottom: 16px; color: #fff; font-size: 13px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .6);
}
.calm-grid { margin-top: 72px; }
.calm-quotes { display: grid; grid-template-columns: 7fr 4fr; gap: 72px; align-items: start; }
.calm-grid p { font-size: 18px; }
.calm .btn-book { background: #fff; color: var(--forest); }
.calm .btn-book:hover { background: var(--fern); }
.calm-quotes blockquote { margin: 0; }
.paino p { font-family: var(--serif); color: #fff; font-size: 27px; line-height: 1.35; margin-bottom: 20px; }
.paino footer, .patient footer { display: flex; align-items: center; gap: 14px; font-size: 16px; color: #B8CCAA; }
.paino footer img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.patient { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .22); }
.patient p { font-size: 18px; font-style: italic; color: #E6EEE1; }

/* team */
.team { padding: 120px 0 104px; background: url(img/leaf-shadow.jpg) center / cover; }
.team-lead { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.arch { overflow: hidden; border-radius: 999px 999px 0 0; background: #8A8784; }
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.arch-lg { border-radius: 260px 260px 0 0; }
.team-lead-copy p { max-width: 58ch; }
.docs { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 40px; max-width: 560px; }
.doc { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; }
.doc h3 { margin: 4px 0 6px; font-size: 19px; }
.doc p { font-size: 15.5px; color: var(--muted); margin: 0; }
.crew { list-style: none; padding: 0; margin: 88px 0 0; display: grid; grid-template-columns: repeat(9, 1fr); gap: 20px; }
.crew img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 999px 999px 0 0; background: #8A8784; }
.crew strong { display: block; margin-top: 12px; color: var(--ink); font-weight: 600; font-size: 16px; }
.crew span { display: block; min-height: 1.35em; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.team-link { margin: 36px 0 0; }
.team-link a, .section-head a { font-weight: 600; }

/* smiles */
.smiles { background: var(--fern); padding: 120px 0; }
.cases { display: grid; grid-template-columns: 5fr 6fr; gap: 48px; }
.cases > .case-stack:last-child { align-content: start; gap: 48px; }
.cases > .case-stack:last-child .ba { aspect-ratio: 4 / 3; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.ba { position: relative; overflow: hidden; }
.ba img { width: 100%; height: 100%; object-fit: cover; }
.ba span {
  position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .92); color: var(--ink);
  font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 6px;
}
.case-lead .pair { border-radius: 140px 0 140px 0; overflow: hidden; }
.case-stack .case-lead .ba { aspect-ratio: 4 / 5; }
.case-stack { display: grid; gap: 32px; }
.case-stack .ba { aspect-ratio: 5 / 3; }
.case-stack .pair { border-radius: 0 48px 0 48px; overflow: hidden; }
.case figcaption { margin-top: 14px; font-size: 16px; color: var(--muted); max-width: 60ch; }
.case figcaption strong { color: var(--ink); }

/* reviews */
.reviews { position: relative; padding: 140px 0; overflow: hidden; }
.reviews-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.reviews .wrap { position: relative; }
.reviews-panel { background: var(--daylight); max-width: 660px; padding: 64px 64px 52px; border-radius: 0 160px 0 160px; }
.reviews-panel h2 { font-size: clamp(34px, 3.6vw, 48px); }
.reviews blockquote { margin: 0; }
.review-lead p { font-family: var(--serif); font-size: 25px; line-height: 1.4; color: var(--ink); }
.reviews footer { font-size: 15px; color: var(--muted); }
.review-small { margin-top: 28px !important; padding-top: 24px; border-top: 1px solid rgba(31, 58, 44, .15); }
.review-small p { font-size: 17px; }
.reviews .rating { margin-top: 28px; }
.photo-credit { margin: 0; }

/* town */
.town { padding: 128px 0; overflow: hidden; }
.town-grid {
  position: relative; display: grid; gap: 32px;
  grid-template-columns: 5fr 4fr 3fr; grid-template-rows: auto auto;
  grid-template-areas: "copy a a" "b b c";
}
.town-copy { grid-area: copy; padding-right: 32px; align-self: center; }
.town-a { grid-area: a; height: 460px; }
.town-b { grid-area: b; height: 380px; margin-left: 80px; }
.town-c { grid-area: c; width: 260px; height: 340px; margin-top: 64px; justify-self: center; }
.town figure { position: relative; }
.town figcaption {
  position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%); white-space: nowrap;
  font-size: 14px; color: var(--muted);
}
.town-b figcaption { left: 70%; }
.directions { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; min-height: 44px; }
.directions .i { color: var(--moss); }
.bloom-town { width: 96px; height: 96px; color: var(--fern); --heart: var(--moss); left: 33%; bottom: 300px; }

/* paying */
.paying { background: var(--fern); padding: 112px 0; }
.paying-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 88px; align-items: center; }
.paying-photo { aspect-ratio: 1; }
.paying p { max-width: 56ch; }
.ticks { list-style: none; padding: 0; margin: 24px 0; }
.ticks li { padding: 12px 0 12px 34px; position: relative; border-top: 1px solid rgba(31, 58, 44, .18); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 20px; width: 14px; height: 14px; border-radius: 14px 0 14px 0; background: var(--moss); }
.ticks strong { color: var(--ink); }

/* book */
.book { background: var(--forest); color: #DCE6D5; padding: 112px 0; }
.book h2 { color: #fff; }
.book-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 72px; align-items: start; }
.book-form { background: var(--daylight); color: var(--text); padding: 52px 52px 40px; border-radius: 0 120px 0 0; }
.book-form h2 { color: var(--ink); }
form { margin-top: 28px; }
.field { margin: 0 0 20px; border: 0; padding: 0; }
.field label, legend { display: block; font-weight: 600; color: var(--ink); font-size: 16px; margin-bottom: 6px; padding: 0; }
.field label span { font-weight: 400; color: var(--muted); }
input[type=text], input[type=tel], select {
  width: 100%; min-height: 50px; padding: 10px 14px; font: 400 17px var(--sans); color: var(--ink);
  background: #fff; border: 1.5px solid #B9C7B0; border-radius: 10px;
}
input:focus, select:focus { border-color: var(--bluebell); outline: none; box-shadow: 0 0 0 3px rgba(30, 90, 156, .2); }
.opt { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 400 !important; margin: 4px 22px 0 0; min-height: 32px; }
.opt input { width: 18px; height: 18px; accent-color: var(--bluebell); }
.book-form .btn { width: 100%; margin-top: 8px; }
.form-note { margin: 16px 0 0; text-align: center; font-size: 16px; color: var(--muted); }
.book-photo { height: 300px; }
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; margin-top: 48px; }
.visit h3 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.visit p { font-size: 17px; margin: 0; }
.visit a { color: #fff; }
.big-phone { font-family: var(--serif); font-size: 26px; text-decoration: none; }
.muted { color: #A9BC9C; font-size: 15px; }
.directions-light { color: #fff !important; margin-top: 6px; }
.directions-light .i { color: #9DBB86; }

/* footer */
.site-footer { background: var(--forest-deep); color: #B8C7AE; padding: 88px 0 32px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1.4fr 1fr; gap: 48px; }
.f-brand img { width: 240px; margin-bottom: 24px; }
.site-footer h3 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; line-height: 1.4; }
.site-footer a { color: #DCE6D5; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; align-items: center; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer-base p { margin: 0; font-size: 14px; }
.bloom-foot { position: static; width: 40px; height: 40px; color: #DCE6D5; --heart: var(--moss); }

/* tablet */
@media (max-width: 1180px) {
  .nav { display: none; }
  .header-phone { margin-left: auto; }
  .menu { display: block; position: relative; }
  .menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
  .menu summary::-webkit-details-marker { display: none; }
  .menu summary span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
  .menu nav { position: absolute; right: 0; top: 54px; background: #fff; padding: 12px; border-radius: 0 0 0 24px; box-shadow: 0 12px 32px rgba(23, 39, 30, .16); display: grid; min-width: 240px; }
  .menu nav a { padding: 12px 14px; color: var(--ink); text-decoration: none; font-weight: 500; }
  .hero-photo { margin-right: -32px; }
  .crew { grid-template-columns: repeat(5, 1fr); }
  .calm-top { grid-template-columns: 1fr 1fr; }
}

/* phone */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .header-row { height: 68px; gap: 10px; }
  .logo img { width: 118px; }
  .header-phone span, .wide-only { display: none; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border-radius: 10px; border: 1.5px solid #C8D5BE; }
  .site-header .btn-book { min-height: 44px; padding: 10px 16px; }
  .hero { padding: 24px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-photo { order: -1; height: 300px; margin: 0 -20px 32px 0; }
  .hero-photo img { border-radius: 120px 0 0 0; }
  .bloom-hero { width: 72px; height: 72px; left: 16px; bottom: -28px; }
  .kicker { font-size: 15px; margin-bottom: 14px; white-space: normal; }
  .kicker .br { display: block; }
  h1 { font-size: 50px; margin-bottom: 18px; }
  .lede { font-size: 18px; }
  .actions { gap: 12px 24px; margin-top: 22px; }
  .hero .btn-lg { width: 100%; }
  h2 { font-size: 38px; }
  .mornings, .services, .smiles, .paying, .book, .town, .team { padding: 80px 0; }
  .calm { padding: 72px 0 80px; }
  .mornings-grid, .section-head, .calm-top, .calm-quotes, .team-lead, .cases, .paying-grid, .book-grid { grid-template-columns: 1fr; gap: 36px; }
  .mornings-photo { margin: 0 0 0 -20px; }
  .section-head { gap: 12px; margin-bottom: 40px; }
  .bento { grid-template-columns: 1fr 1fr; gap: 36px 16px; }
  .tile-big { grid-column: 1 / -1; grid-row: auto; }
  .tile-big .tile-img { height: 300px; }
  .tile h3 { font-size: 18px; margin-top: 12px; }
  .tile p { font-size: 15px; }
  .tile-ill .ill { border-radius: 0 48px 0 48px; }
  .emergency { flex-direction: column; align-items: flex-start; padding: 24px; margin-top: 48px; border-radius: 0 40px 0 40px; }
  .emergency p { font-size: 17px; }
  .calm-photo { height: 280px; margin: 0 -20px; }
  .calm-photo, .calm-photo img { border-radius: 0 0 100px 0; }
  .calm-grid { margin-top: 48px; }
  .patient { padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
  .paino p { font-size: 22px; }
  .team-lead .arch-lg { max-width: 300px; border-radius: 160px 160px 0 0; }
  .docs { grid-template-columns: 1fr; gap: 24px; }
  .doc { grid-template-columns: 96px 1fr; }
  .crew { grid-template-columns: repeat(3, 1fr); gap: 24px 14px; margin-top: 56px; }
  .crew span { font-size: 13px; }
  .case-lead .pair { border-radius: 80px 0 80px 0; }
  .reviews { padding: 240px 0 0; }
  .reviews-bg { height: 280px; object-position: 50% 50%; }
  .reviews .wrap { padding: 0; }
  .reviews-panel { padding: 44px 24px 40px; border-radius: 0 80px 0 0; }
  .review-lead p { font-size: 21px; }
  .photo-credit { top: 16px; bottom: auto; }
  .town-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "copy copy" "a a" "b c"; gap: 20px 14px; }
  .town-copy { padding: 0 0 12px; }
  .town-a { height: 260px; }
  .town-b, .town-c { height: 200px; margin: 0; width: auto; justify-self: stretch; }
  .town-b figcaption, .town figcaption { left: 0; transform: none; white-space: normal; font-size: 13px; bottom: auto; top: calc(100% + 6px); }
  .town-b, .town-c { margin-bottom: 44px; }
  .town-a { margin-bottom: 36px; }
  .bloom-town { display: none; }
  .paying-photo { max-width: 260px; }
  .book { padding-top: 0; }
  .book .wrap { padding: 0; }
  .book-form { padding: 52px 20px 40px; border-radius: 0; }
  .book-side { padding: 0 20px; }
  .book-photo { height: 200px; }
  .visit { grid-template-columns: 1fr; gap: 24px; margin-top: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .site-footer { padding-top: 64px; }
}
