:root {
  --primary: #173f39;
  --primary-strong: #0f2f2a;
  --accent: #bfdcd5;
  --accent-soft: #dcece7;
  --bg: #f3f0e8;
  --surface: #fcfbf7;
  --fg: #17211f;
  --muted: #66716d;
  --line: #d7d9d1;
  --white: #ffffff;
  --sand: #e7e1d4;
  --shadow: 0 24px 70px rgba(23, 33, 31, 0.12);
  --font-heading: "Newsreader", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 34px;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
a { color: inherit; }
p, h1, h2, h3 { margin-top: 0; }
::selection { background: var(--accent); color: var(--primary-strong); }

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 24px;
  height: 1px;
  background: currentColor;
  content: "";
}

.btn {
  min-height: 52px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid #72a99e;
  outline-offset: 4px;
}

.btn__icon {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
}

.btn__icon svg {
  width: 13px;
  height: 13px;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(23, 63, 57, 0.22);
}

.btn--primary:hover {
  background: var(--primary-strong);
  box-shadow: 0 16px 34px rgba(23, 63, 57, 0.28);
}

.btn--light {
  background: var(--surface);
  color: var(--primary-strong);
}

.btn--light:hover {
  background: var(--white);
}

.btn--ghost {
  border-color: rgba(23,63,57,.24);
  color: var(--primary);
}

.btn--ghost:hover {
  border-color: var(--primary);
  background: rgba(255,255,255,.5);
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid rgba(23, 33, 31, 0.09);
}

.site-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.site-brand__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 13px;
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(23,63,57,.16);
}

.site-brand__mark svg {
  width: 27px;
  height: 27px;
}

.site-brand__copy {
  display: grid;
  line-height: 1.05;
}

.site-brand__name {
  color: var(--fg);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.site-brand__place {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-header__phone {
  display: none;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.site-header .btn {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 0.77rem;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 46px 0 36px;
}

.hero::before {
  position: absolute;
  top: -180px;
  right: -140px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191,220,213,.72) 0, rgba(191,220,213,0) 68%);
  content: "";
  pointer-events: none;
}

.hero__layout {
  position: relative;
  display: grid;
  gap: 36px;
}

.hero__copy {
  align-self: center;
}

.hero__title {
  max-width: 780px;
  margin: 0;
  color: var(--fg);
  font-family: var(--font-heading);
  font-size: clamp(3.6rem, 16vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -0.062em;
  line-height: 0.86;
}

.hero__title span {
  display: block;
  color: var(--primary);
  font-style: italic;
}

.hero__lead {
  max-width: 600px;
  margin: 28px 0 0;
  color: #4f5b57;
  font-size: clamp(1rem, 2.2vw, 1.16rem);
  line-height: 1.72;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.hero__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 480px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.hero__note svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  margin-top: 2px;
  color: var(--primary);
}

.hero__visual {
  position: relative;
}

.hero__image-wrap {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--primary);
  box-shadow: var(--shadow);
}

.hero__image-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,47,42,0) 52%, rgba(15,47,42,.34) 100%);
  content: "";
}

.hero__image {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.hero__badge {
  position: absolute;
  right: -4px;
  bottom: -18px;
  z-index: 2;
  width: min(78%, 300px);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(23,63,57,.12);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 18px 46px rgba(23,33,31,.16);
}

.hero__badge-number {
  display: block;
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 3.65rem;
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: .8;
}

.hero__badge-copy {
  color: var(--fg);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero__caption {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 1;
  max-width: 180px;
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: .7rem;
  font-weight: 600;
  line-height: 1.45;
}

.offer {
  padding: 84px 0;
}

.offer__layout {
  display: grid;
  gap: 38px;
}

.offer__intro {
  max-width: 700px;
}

.offer__title,
.process__title,
.enquiry__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: .98;
}

.offer__text {
  max-width: 590px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.offer__card {
  padding: 10px;
  border: 1px solid rgba(23,63,57,.12);
  border-radius: var(--radius-md);
  background: rgba(252,251,247,.7);
}

.offer__list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer__item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 15px;
  padding: 24px 18px;
  border-bottom: 1px solid var(--line);
}

.offer__item:last-child {
  border-bottom: 0;
}

.offer__index {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-style: italic;
}

.offer__item-copy h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.1;
}

.offer__item-copy p {
  margin: 0;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.6;
}

.process {
  padding: 84px 0;
  background: var(--primary);
  color: var(--white);
}

.process .eyebrow {
  color: var(--accent);
}

.process__head {
  max-width: 750px;
}

.process__head p {
  max-width: 520px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.67);
}

.process__grid {
  display: grid;
  gap: 12px;
  margin-top: 38px;
}

.process__step {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.045);
}

.process__number {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 1.06rem;
  font-style: italic;
}

.process__step h3 {
  margin: 34px 0 10px;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.process__step p {
  margin: 0;
  color: rgba(255,255,255,.65);
  font-size: .86rem;
  line-height: 1.65;
}

.location {
  padding: 84px 0;
  background: var(--surface);
}

.location__grid {
  display: grid;
  gap: 42px;
  align-items: start;
}

.location__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .98;
}

.location__address {
  margin: 24px 0 0;
  color: var(--muted);
  font-style: normal;
}

.location__address strong {
  display: block;
  margin-bottom: 7px;
  color: var(--fg);
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.location__notes {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.location__note {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #4f5b57;
  font-size: .84rem;
}

.location__note svg {
  width: 19px;
  height: 19px;
  color: var(--primary);
}

.location__card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--bg);
}

.location__card-label {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.location__details {
  display: grid;
  gap: 20px;
  margin: 0;
}

.location__details div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.location__details div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.location__details dt {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.location__details dd {
  margin: 0;
  color: var(--fg);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.35;
}

.location__details a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.enquiry {
  padding: 20px 0 84px;
  background: var(--surface);
}

.enquiry__inner {
  position: relative;
  overflow: hidden;
  padding: 38px 26px;
  border-radius: var(--radius-lg);
  background: var(--accent);
  color: var(--primary-strong);
}

.enquiry__inner::after {
  position: absolute;
  right: -70px;
  bottom: -110px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(23,63,57,.15);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(23,63,57,.045), 0 0 0 60px rgba(23,63,57,.03);
  content: "";
  pointer-events: none;
}

.enquiry__copy {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.enquiry__copy p {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(15,47,42,.74);
}

.enquiry__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.site-footer {
  padding: 42px 0 28px;
  background: var(--primary-strong);
  color: rgba(255,255,255,.72);
}

.site-footer__top {
  display: grid;
  gap: 28px;
}

.site-footer .site-brand__name { color: var(--white); }
.site-footer .site-brand__place { color: rgba(255,255,255,.55); }
.site-footer .site-brand__mark { background: var(--accent); color: var(--primary-strong); }

.site-footer__copy {
  max-width: 430px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.58);
  font-size: .78rem;
}

.site-footer__links {
  display: grid;
  gap: 7px;
  align-content: start;
  font-size: .82rem;
}

.site-footer__links a {
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--white);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.42);
  font-size: .68rem;
}

@media (min-width: 680px) {
  .site-header__phone { display: inline; }
  .hero { padding-top: 68px; }
  .hero__image-wrap, .hero__image { min-height: 520px; }
  .offer__item { padding: 28px 24px; }
  .process__grid { grid-template-columns: repeat(3, 1fr); }
  .location__grid { grid-template-columns: 1.15fr .85fr; }
  .enquiry__inner { padding: 54px; }
  .site-footer__top { grid-template-columns: 1.5fr .7fr; }
}

@media (min-width: 920px) {
  .wrap { width: min(100% - 72px, var(--wrap)); }
  .site-header__inner { min-height: 88px; }
  .site-header .btn { min-height: 48px; padding-inline: 20px; }
  .hero { min-height: calc(100svh - 88px); display: grid; align-items: center; padding: 62px 0 72px; }
  .hero__layout { grid-template-columns: minmax(0, 1.03fr) minmax(380px, .77fr); gap: 74px; align-items: center; }
  .hero__title { font-size: clamp(5.4rem, 7.5vw, 8.4rem); }
  .hero__lead { margin-top: 34px; }
  .hero__actions { margin-top: 34px; }
  .hero__image-wrap, .hero__image { min-height: 610px; }
  .hero__badge { right: -24px; bottom: 34px; }
  .offer, .process, .location { padding-block: 116px; }
  .offer__layout { grid-template-columns: minmax(0, .9fr) minmax(430px, 1fr); gap: 92px; align-items: start; }
  .offer__intro { position: sticky; top: 130px; }
  .process__grid { margin-top: 54px; }
  .process__step { min-height: 300px; padding: 30px; }
  .location__grid { gap: 90px; }
  .location__card { padding: 36px; }
  .enquiry { padding-bottom: 116px; }
  .enquiry__inner { min-height: 430px; display: flex; flex-direction: column; justify-content: center; padding: 74px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* North Melbourne Dentists photography */
.photo-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--sand);
  box-shadow: 0 18px 50px rgba(23,33,31,.1);
}

.photo-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-panel__caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  margin: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(15,47,42,.78);
  color: rgba(255,255,255,.84);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .04em;
  backdrop-filter: blur(8px);
}

.offer__media {
  min-height: 300px;
  margin-top: 30px;
  aspect-ratio: 4 / 3;
}

.offer__media img {
  object-position: center;
}

.location__media {
  min-height: 360px;
  aspect-ratio: 4 / 3;
}

.location__media img {
  object-position: center;
}

.location__copy-card {
  display: grid;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-md);
  background: var(--bg);
}

.location__copy-card h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.08;
}

.location__copy-card p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

.location__pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.location__pill-list li {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
}

/* Consultation modal */
.booking-modal {
  width: min(calc(100% - 28px), 720px);
  max-width: 720px;
  max-height: min(92svh, 860px);
  margin: auto;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 28px;
  background: transparent;
  color: var(--fg);
}

.booking-modal[open] {
  animation: booking-modal-in 220ms ease both;
}

.booking-modal::backdrop {
  background: rgba(10,28,25,.72);
  backdrop-filter: blur(10px);
  animation: booking-backdrop-in 180ms ease both;
}

.booking-modal__panel {
  position: relative;
  max-height: min(92svh, 860px);
  overflow-y: auto;
  padding: 30px 22px 24px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 34px 100px rgba(4,20,17,.34);
}

.booking-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--primary);
  cursor: pointer;
}

.booking-modal__close svg {
  width: 16px;
  height: 16px;
}

.booking-modal__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--primary);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.booking-modal__brand .site-brand__mark {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border-radius: 10px;
  box-shadow: none;
}

.booking-modal__brand .site-brand__mark svg {
  width: 22px;
  height: 22px;
}

.booking-modal__title {
  max-width: 560px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 9vw, 4rem);
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: .96;
}

.booking-modal__intro {
  max-width: 560px;
  margin: 16px 0 26px;
  color: var(--muted);
  font-size: .9rem;
}

.booking-form {
  display: grid;
  gap: 16px;
}

.booking-form__grid {
  display: grid;
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field label {
  color: var(--fg);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--fg);
  padding: 13px 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.form-field input {
  min-height: 50px;
}

.form-field textarea {
  min-height: 128px;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #87908d;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(191,220,213,.55);
}

.booking-form__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.booking-form__privacy {
  margin: 0;
  color: var(--muted);
  font-size: .66rem;
  line-height: 1.5;
}

.booking-form__status {
  padding: 22px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--primary-strong);
}

.booking-form__status h3 {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 400;
}

.booking-form__status p {
  margin: 0;
  font-size: .84rem;
}

.booking-form__error {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff1ed;
  color: #7a3022;
  font-size: .76rem;
}

[hidden] {
  display: none !important;
}

@keyframes booking-modal-in {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes booking-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (min-width: 680px) {
  .offer__media {
    min-height: 360px;
  }

  .booking-modal__panel {
    padding: 42px;
  }

  .booking-form__grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-field--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 920px) {
  .offer__media {
    min-height: 430px;
  }

  .location__media {
    min-height: 520px;
  }

  .location__copy-card {
    padding: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-modal[open],
  .booking-modal::backdrop {
    animation: none;
  }
}


body.modal-open {
  overflow: hidden;
}