/* Self-hosted fonts (SIL Open Font License, see /fonts) */
@font-face { font-family: "Jost"; font-weight: 200; font-display: swap; src: url("/fonts/jost-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 300; font-display: swap; src: url("/fonts/jost-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-weight: 400; font-display: swap; src: url("/fonts/jost-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 300; font-display: swap; src: url("/fonts/montserrat-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 400; font-display: swap; src: url("/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 500; font-display: swap; src: url("/fonts/montserrat-latin-500-normal.woff2") format("woff2"); }

:root {
  --paper: #F7F6F3;
  --stone: #D9D8D3;
  --stone-soft: #E9E7E2;
  --ink: #353330;
  --muted: #5F5B55;
  --tan: #CAB095;
  --tan-deep: #8A6B4E;
  --night: #2E2C29;
  --white: #FFFFFF;
  --display: "Jost", "Futura", "Avenir Next", sans-serif;
  --body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
body { background: var(--paper); color: var(--ink); font: 400 16px/1.75 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 500; color: var(--ink); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
:focus-visible { outline: 2px solid var(--tan-deep); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 10px 16px; }

.eyebrow { font: 400 12px/1 var(--display); letter-spacing: .32em; text-transform: uppercase; color: var(--tan-deep); }
h1, h2, h3 { font-family: var(--display); font-weight: 300; color: var(--ink); }
h2 { font-size: 44px; line-height: 1.15; letter-spacing: .01em; margin: 18px 0 22px; }
h3 { font-size: 21px; font-weight: 400; letter-spacing: .02em; }
.lead { font-weight: 300; font-size: 18px; color: var(--muted); max-width: 560px; }
.lead + .lead { margin-top: 14px; }
section { padding: 120px 0; scroll-margin-top: 20px; }

.btn { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font: 400 13px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; padding: 18px 30px; border-radius: 2px; background: var(--ink); color: var(--white); border: 0; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid rgba(53,51,48,.3); }

/* Announcement + closure notice */
.announce { display: flex; justify-content: center; gap: 28px; background: var(--ink); color: var(--stone); font: 400 12px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; text-align: center; padding: 13px 16px; }
.announce b { color: var(--tan); font-weight: 400; }
.announce a { color: var(--white); border-bottom: 1px solid var(--tan); }
.closure { background: var(--tan); color: var(--ink); text-align: center; padding: 12px 16px; font: 400 15px/1.5 var(--display); letter-spacing: .02em; }
[hidden] { display: none !important; }

/* Header */
header { background: var(--paper); border-bottom: 1px solid rgba(53,51,48,.08); position: relative; z-index: 10; }
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 96px; }
nav { display: flex; gap: 32px; margin: 0 28px; font: 400 16px/1 var(--display); letter-spacing: .04em; color: var(--muted); }
nav a:hover { color: var(--ink); }
nav .btn { display: none; }
.head-right { display: flex; align-items: center; gap: 22px; }
header .btn { padding: 16px 24px; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 9px; }
.burger span { display: block; height: 1px; background: var(--ink); margin: 7px 0; transition: transform .2s, opacity .2s; }
.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { padding: 0; background: var(--stone); position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 620px; }
.hero-copy { padding: 110px 60px 100px 0; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.hero h1 { font-size: 66px; line-height: 1.06; font-weight: 200; margin: 26px 0 28px; color: var(--ink); }
.hero h1 em { font-style: normal; color: var(--tan-deep); }
.hero p { font-size: 18px; color: var(--ink); max-width: 470px; }
.hero-cta { display: flex; gap: 14px; margin-top: 44px; flex-wrap: wrap; }
.hero p.hero-call { margin: 0; max-width: 34em; font: 400 13px/1.7 var(--display); letter-spacing: .2em; text-transform: uppercase; padding: 18px 30px; border-radius: 2px; background: var(--ink); color: var(--white); }
/* Bleeds to the right edge of the window at every width. */
.hero-img { position: relative; margin-right: calc(-1 * max(40px, (100vw - var(--wrap)) / 2 + 40px)); }
.hero-img img, .welcome-imgs img { filter: sepia(.12) saturate(.85); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }

/* Move band */
.move { background: var(--paper); padding: 70px 0; border-bottom: 1px solid rgba(53,51,48,.08); }
.move .wrap { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 40px; align-items: center; }
.move .from, .move .to { font-family: var(--display); }
.move .label { font: 400 11px/1 var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.move .addr { font-size: 26px; font-weight: 300; margin-top: 10px; }
.move .from .addr { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(119,115,108,.5); text-decoration-thickness: 1px; }
.move .to .addr { color: var(--ink); }
.move .arrow { width: 120px; height: 1px; background: var(--tan); position: relative; }
.move .arrow::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-top: 1px solid var(--tan); border-right: 1px solid var(--tan); transform: rotate(45deg); }
.move .note { font-size: 14px; color: var(--muted); max-width: 300px; }

/* Vision */
.welcome .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.welcome-imgs { position: relative; height: 600px; }
.welcome-imgs .a { position: absolute; left: 0; top: 0; width: 76%; height: 520px; object-fit: cover; }
.welcome-imgs .b { position: absolute; right: 0; bottom: 0; width: 46%; height: 300px; object-fit: cover; border: 10px solid var(--paper); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; padding-top: 40px; border-top: 1px solid rgba(53,51,48,.1); }
.values h3 { font-size: 17px; margin: 0 0 8px; }
.values p { font-size: 15px; color: var(--muted); line-height: 1.65; }
.values .num { font: 300 13px/1 var(--display); color: var(--tan-deep); letter-spacing: .2em; margin-bottom: 14px; display: block; }

/* Treatments */
.treat { background: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; }
.section-head .lead { max-width: 420px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; border-top: 1px solid var(--stone); border-left: 1px solid var(--stone); list-style: none; }
.card { padding: 40px 32px 44px; border-right: 1px solid var(--stone); border-bottom: 1px solid var(--stone); }
.card svg { width: 40px; height: 40px; stroke: var(--tan-deep); fill: none; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 28px; }
.card h3 { margin-bottom: 10px; hyphens: manual; min-height: 2lh; }
.card p { font-size: 15px; color: var(--muted); line-height: 1.65; }

/* Team */
.team { background: var(--stone-soft); }
/* Laptops: rows keep the design's card widths (3 dentists / 4 assistants per row) and are centred. */
.team .wrap > .eyebrow { display: block; text-align: center; }
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; list-style: none; }
.team-grid > li { width: calc((100% - 128px) / 5); }
.team-grid.dentists { margin-top: 40px; }
.person { min-width: 0; }
.person .photo { aspect-ratio: 4/5; background: var(--stone); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.person .photo img { width: 100%; height: 100%; object-fit: cover; }
.person .photo svg { width: 56px; height: 49px; color: var(--tan); opacity: .8; }
.person h3 { margin-top: 16px; font-size: 19px; }
.person .role { font: 400 12px/1 var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--tan-deep); margin: 10px 0 14px; }
.person .riziv { font-size: 14px; color: var(--muted); }
.assist-head { display: flex; align-items: center; gap: 20px; margin: 56px 0 32px; }
.assist-head::before { content: ""; flex: 1; height: 1px; background: rgba(53,51,48,.12); }
.assist-head .line { flex: 1; height: 1px; background: rgba(53,51,48,.12); }


/* Practical */
.prac-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 56px; margin-top: 56px; }
.prac-block h3 { font-size: 19px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--stone); }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px dashed rgba(53,51,48,.1); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--muted); }
.hours .closed td { color: rgba(95,91,85,.7); }
.hours-note { margin-top: 16px; font-size: 13px; color: var(--muted); }
.checklist { list-style: none; font-size: 15px; }
.checklist li { padding: 9px 0 9px 26px; position: relative; border-bottom: 1px dashed rgba(53,51,48,.1); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 1px; background: var(--tan); }
.prac-block p { font-size: 15px; color: var(--muted); margin-bottom: 14px; }
.facts { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin-top: 72px; background: var(--white); }
.fact { padding: 32px 36px; }
.fact + .fact { border-left: 1px solid var(--stone-soft); }
.fact .eyebrow { font-size: 10px; }
.fact p { font: 300 18px/1.45 var(--display); margin-top: 12px; }

/* Emergency */
.urgent { background: var(--night); color: var(--stone); padding: 100px 0; }
.urgent .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.urgent h2 { color: var(--white); }
.urgent .lead { color: #A8A39B; }
.urgent-num { display: block; font: 200 48px/1 var(--display); color: var(--white); letter-spacing: .04em; }
.urgent-rows { margin-top: 30px; }
.urgent-rows div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 15px; }
.urgent-rows dd { color: var(--white); text-align: right; }
.urgent-112 { margin-top: 26px; font-size: 14px; color: #A8A39B; }
.urgent-112 b { color: var(--tan); font-weight: 500; }

/* Contact */
.contact .wrap { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; }
.contact-list { margin-top: 36px; }
.contact-list div { padding: 18px 0; border-top: 1px solid var(--stone); display: grid; grid-template-columns: 120px 1fr; font-size: 16px; }
.contact-list dt { font: 400 11px/2 var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.contact-list a { border-bottom: 1px solid var(--tan); }
.contact-list small { display: block; font-size: 13px; color: var(--muted); }
.map { position: relative; min-height: 460px; background: var(--stone); overflow: hidden; }
.map .streets { position: absolute; inset: 0; width: 100%; height: 100%; filter: grayscale(1) sepia(.15); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pin { position: absolute; left: 50%; top: 42%; transform: translate(-50%, -100%); }
.map-actions { position: absolute; left: 0; right: 0; bottom: 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.map-actions .btn { padding: 14px 22px; }
.map-actions small { font-size: 12px; color: var(--muted); max-width: 340px; background: rgba(247,246,243,.85); padding: 4px 10px; }
.map-route { display: inline-block; margin-top: 16px; font: 400 13px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid var(--tan); padding-bottom: 4px; }

/* Footer */
footer { background: var(--stone); padding: 80px 0 40px; color: var(--muted); font-size: 13px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.6); }
.foot-cols { display: flex; gap: 70px; }
.foot-cols h2 { font: 400 11px/1 var(--display); letter-spacing: .26em; text-transform: uppercase; color: var(--ink); margin: 0 0 16px; }
.foot-cols p { line-height: 1.9; }
.foot-cols a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; padding-top: 28px; font-size: 12px; }

/* Legal pages */
.legal { padding: 90px 0 120px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: 48px; font-weight: 200; margin: 18px 0 40px; }
.legal h2 { font-size: 26px; margin: 48px 0 14px; }
.legal p, .legal li { color: var(--muted); margin-bottom: 12px; }
.legal ul { padding-left: 20px; }
.legal a { border-bottom: 1px solid var(--tan); }
.legal dl div { display: grid; grid-template-columns: 240px 1fr; gap: 16px; padding: 10px 0; border-top: 1px solid var(--stone); }
.legal dt { color: var(--ink); }
.legal dd { color: var(--muted); }
.todo { background: rgba(202,176,149,.25); border-bottom: 1px dashed var(--tan-deep); padding: 0 4px; color: var(--ink); }
.back { display: flex; align-items: center; gap: 10px; width: fit-content; margin-bottom: 30px; font: 400 13px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; }

/* ---------- Mobile ---------- */
/* The full menu needs ~1100px; below that it folds into the burger. */
@media (max-width: 1100px) {
  .head-right .btn { display: none; }
  .burger { display: block; }
  nav { display: none; }
  .nav-open nav { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; margin: 0; gap: 22px; padding: 28px 40px 32px; background: var(--paper); border-bottom: 1px solid rgba(53,51,48,.12); font-size: 18px; }
  .nav-open nav .btn { display: inline-flex; justify-content: center; font-size: 13px; align-self: flex-start; }
  .hero h1 { font-size: 52px; }
  .hero-copy { padding-right: 40px; }
  .move .wrap { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px 24px; align-items: end; }
  .move .arrow { width: 40px; margin-bottom: 12px; }
  .move .note { grid-column: 1 / -1; max-width: none; }
  .welcome .wrap { gap: 56px; }
  /* Values as rows: number beside the title. */
  .values { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .values > div { display: grid; grid-template-columns: 36px 1fr; column-gap: 10px; padding: 20px 0; }
  .values > div + div { border-top: 1px solid rgba(53,51,48,.1); }
  .values .num { grid-row: span 2; margin: 0; padding-top: 5px; }
  .values h3 { margin-bottom: 4px; }
  /* Treatments: two columns, icon beside the text. */
  .grid4 { grid-template-columns: 1fr 1fr; }
  .card { display: grid; grid-template-columns: 32px 1fr; column-gap: 18px; padding: 26px 24px; align-content: start; }
  .card svg { grid-row: span 2; width: 32px; height: 32px; margin: 0; }
  .card h3 { margin-bottom: 6px; min-height: 0; }
  .prac-grid { gap: 36px; }
  .hours td { white-space: nowrap; padding-left: 12px; }
  .foot-top { flex-direction: column; gap: 40px; }
  .foot-top > img { width: 220px; height: auto; }
  .foot-cols { width: 100%; justify-content: space-between; gap: 32px; }
  /* One equal grid: the two lists dissolve into the outer grid. */
  .team-all { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; margin-top: 40px; }
  .team-all > .team-grid { display: contents; }
  .team-all > .assist-head { display: none; }
  .team-grid > li { width: auto; }
  .team .wrap > .eyebrow { text-align: left; }
  .person .photo, .team-grid.assist .photo { aspect-ratio: 1/1; }
  .person .photo svg, .team-grid.assist .photo svg { width: 56px; height: 49px; }
  .person h3, .team-grid.assist h3 { margin-top: 16px; font-size: 17px; line-height: 1.25; }
  .person .role, .team-grid.assist .role { margin: 8px 0; font-size: 10px; letter-spacing: .12em; line-height: 1.3; overflow-wrap: anywhere; }
  .person .riziv { font-size: 12px; }
}

@media (max-width: 760px) {
  .wrap { padding: 0 22px; }
  section { padding: 76px 0; }
  h2 { font-size: 32px; }
  .announce { flex-direction: column; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .14em; line-height: 1.6; }
  header .wrap { height: 74px; }
  header .logo img { width: 160px; height: auto; }
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding: 0; }
  .hero-img { order: -1; margin: 0; height: 260px; }
  .hero-copy { padding: 56px 22px 48px; }
  .hero h1 { font-size: 42px; }
  .hero p { font-size: 16px; }
  .hero-cta { flex-direction: column; margin-top: 32px; }
  .hero-cta .btn { justify-content: center; }
  .move { padding: 44px 0 40px; }
  .nav-open nav { padding-left: 22px; padding-right: 22px; }
  .move .wrap { gap: 20px 14px; }
  .move .arrow { width: 22px; margin-bottom: 9px; }
  .move .label { letter-spacing: .16em; line-height: 1.4; font-size: 10px; }
  .move .addr { font-size: 18px; line-height: 1.3; margin-top: 6px; }
  .move .note { font-size: 13px; }
  .welcome .wrap { grid-template-columns: 1fr; gap: 50px; }
  .welcome-imgs { height: 380px; }
  .welcome-imgs .a { height: 320px; width: 82%; }
  .welcome-imgs .b { height: 190px; width: 50%; }
  .values { grid-template-columns: 1fr; gap: 0; margin-top: 40px; padding-top: 0; }
  .values > div { display: grid; grid-template-columns: 36px 1fr; column-gap: 10px; padding: 22px 0; }
  .values > div + div { border-top: 1px solid rgba(53,51,48,.1); }
  .values .num { grid-row: span 2; margin: 0; padding-top: 5px; }
  .values h3 { margin-bottom: 4px; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; gap: 0; }
  .grid4 { grid-template-columns: 1fr 1fr; }
  .card { display: flex; flex-direction: column; gap: 12px; padding: 18px 14px 20px; min-width: 0; }
  .card svg { width: 28px; height: 28px; margin: 0; }
  .card h3 { font-size: 15px; line-height: 1.3; margin: 0; }
  .card p { display: none; }
  .team-all { grid-template-columns: 1fr 1fr; gap: 26px 18px; margin-top: 28px; }
  .person .photo svg, .team-grid.assist .photo svg { width: 48px; height: 42px; }
  .person h3, .team-grid.assist h3 { margin-top: 14px; font-size: 18px; }
  .prac-grid { grid-template-columns: 1fr; gap: 48px; }
  .facts { grid-auto-flow: row; grid-auto-columns: auto; margin-top: 48px; }
  .fact { padding: 24px; }
  .fact + .fact { border-left: 0; border-top: 1px solid var(--stone-soft); }
  .urgent { padding: 76px 0; }
  .urgent .wrap { grid-template-columns: 1fr; gap: 36px; }
  .urgent-num { font-size: 46px; }
  .contact .wrap { grid-template-columns: 1fr; gap: 40px; }
  .contact-list div { grid-template-columns: 1fr; gap: 4px; }
  .map { min-height: 360px; }
  .foot-top { flex-direction: column; gap: 40px; }
  .foot-cols { flex-direction: column; gap: 30px; }
  .foot-bottom { flex-direction: column; gap: 8px; }
  .legal h1 { font-size: 36px; }
  .legal dl div { grid-template-columns: 1fr; gap: 2px; }
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
h2.eyebrow { margin: 0; }
