/* ============================================================
   Australind Dental Centre, shared design tokens & utilities
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&display=swap');

:root {
  /* Palette, calm coastal teal + warm sand, single warm gold accent.
     Drawn from the brand gradient (sand #DDD1B7 → muted teal #6C9FA2).
     Note: the --sage-* token names are retained for compatibility,
     and now carry teal/sage-green values to match the brand artwork. */
  --cream:      #EFE8D8;
  --cream-2:    #E3DAC6;
  --paper:      #F8F4EA;
  --sage-900:   #1E4546;
  --sage-800:   #2E5F60;
  --sage-700:   #3D6E6F;
  --sage-500:   #7FA3A3;
  --sage-200:   #C8DAD8;
  --sage-100:   #DDE9E6;
  --tan-500:    #C9A572;
  --tan-300:    #E1CDA8;
  --ink:        #1F2A2A;
  --ink-2:      #45514F;
  --muted:      #6E7A77;
  --line:       rgba(45,90,90,0.12);
  --line-2:     rgba(45,90,90,0.20);

  /* Shadows, restrained */
  --shadow-sm: 0 1px 2px rgba(18,54,53,0.05);
  --shadow-md: 0 12px 32px -16px rgba(18,54,53,0.18);
  --shadow-lg: 0 32px 64px -28px rgba(18,54,53,0.25);

  /* Radii */
  --radius-xs: 8px;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 48px;

  /* Motion */
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Type */
  --font-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-feature-settings: 'cv11';
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 17px;
  line-height: 1.6;
}

img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
::selection { background: var(--sage-800); color: var(--cream); }
:focus-visible { outline: 2px solid var(--sage-800); outline-offset: 3px; border-radius: 6px; }

/* Containers */
.container { width: min(1240px, 100% - 64px); margin: 0 auto; }
.container-wide { width: min(1440px, 100% - 32px); margin: 0 auto; }

/* Type scale */
.display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(48px, 6.4vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0;
}
.display em { font-style: italic; font-weight: 300; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.015em; }
h2 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.05; margin: 0; }
h2 em { font-style: italic; font-weight: 300; color: var(--sage-700); }
h3 { font-size: 26px; line-height: 1.15; margin: 0; }
h4 { font-size: 19px; line-height: 1.25; margin: 0; }
.lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 56ch; }

/* Eyebrow, single, restrained */
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--sage-700);
  margin-bottom: 20px;
}
.eyebrow-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  color: var(--tan-500);
  letter-spacing: 0;
  text-transform: none;
  margin-right: 14px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--sage-800); color: var(--cream); }
.btn-primary:hover { background: var(--sage-900); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--sage-800); border-color: var(--sage-800); }
.btn-ghost:hover { background: var(--sage-800); color: var(--cream); }
.btn-cream { background: var(--cream); color: var(--sage-900); }
.btn-cream:hover { background: var(--paper); box-shadow: var(--shadow-md); }
.btn-light-ghost { background: transparent; color: var(--cream); border-color: rgba(245,241,235,0.4); }
.btn-light-ghost:hover { background: rgba(245,241,235,0.12); border-color: var(--cream); }
.btn-sm { padding: 11px 18px; font-size: 14px; }

/* Call pill (nav) */
.call-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 11px;
  border-radius: 999px;
  background: var(--sage-800);
  color: var(--cream);
  font-weight: 500;
  font-size: 15px;
  white-space: nowrap;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.call-pill:hover { background: var(--sage-900); transform: translateY(-1px); }
.call-pill .ic {
  width: 28px; height: 28px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--tan-500);
  color: var(--sage-900);
  display: grid; place-items: center;
}

/* Reveal, progressive enhancement */
.reveal { transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
html.js-reveal-ready .reveal { opacity: 0; transform: translateY(18px); }
html.js-reveal-ready .reveal.in { opacity: 1; transform: none; }

/* Media placeholders, for user to swap with real photos/videos */
.media-placeholder {
  position: relative;
  background:
    repeating-linear-gradient(135deg, transparent 0 12px, rgba(46,95,96,0.06) 12px 13px),
    var(--sage-100);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  color: var(--sage-700);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
}
.media-placeholder::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px dashed var(--sage-500);
  border-radius: calc(var(--radius-md) - 12px);
  pointer-events: none;
}
.media-placeholder .mp-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.media-placeholder .mp-inner .icn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--cream);
  display: grid; place-items: center;
  color: var(--sage-800);
}
.media-placeholder .mp-inner small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
  text-transform: none;
  letter-spacing: 0.02em;
}
.media-placeholder.ratio-16x9 { aspect-ratio: 16/9; }
.media-placeholder.ratio-4x5  { aspect-ratio: 4/5; }
.media-placeholder.ratio-1x1  { aspect-ratio: 1/1; }
.media-placeholder.ratio-3x4  { aspect-ratio: 3/4; }

/* Section spacing */
.section { padding: 120px 0; }
.section-tight { padding: 80px 0; }

@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .section-tight { padding: 56px 0; }
  .container, .container-wide { width: calc(100% - 32px); }
  body { font-size: 16px; }
}

/* Print + reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
