/* ==========================================================================
   Clinique Norval, sample site built by Missing Piece Studio.
   Direction: calm, clinical, generous whitespace, booking-forward. One call to
   action on the whole page and a lot of air around it.
   This business is fictional. Nothing here describes a real clinic.
   ========================================================================== */

@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url('/fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url('/fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url('/fonts/karla-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla'; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url('/fonts/karla-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --white: #FFFFFF;
  --mist:  #EDF3F2;
  --slate: #24333D;
  --sage:  #2E6B5E;
  --sage-deep: #1E4A40;
  --grey:  #5C6E78;
  --line:  #DCE6E5;
  --wrap: 64rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--slate);
  font-family: 'Karla', system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: var(--sage); }

:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 1.5rem; }
@media (min-width: 46rem) { .wrap { padding-inline: 2.5rem; } }

.skip { position: absolute; left: -9999px; background: var(--sage); color: var(--white); padding: .8rem 1.1rem; z-index: 60; font-weight: 700; text-decoration: none; }
.skip:focus { position: fixed; left: .75rem; top: .75rem; }

.sample { background: var(--slate); color: var(--white); font-size: .8125rem; line-height: 1.4; padding: .6rem 0; text-align: center; }
.sample a { color: var(--white); font-weight: 700; }

/* Header, quiet */
.head { padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.head-in { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.brand {
  font-family: 'Fraunces', Georgia, serif; font-variation-settings: 'opsz' 40, 'SOFT' 0, 'WONK' 0;
  font-weight: 400; font-size: 1.3125rem; letter-spacing: .01em; line-height: 1;
  color: var(--slate); text-decoration: none; margin-right: auto;
}
.head nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; font-size: .9375rem; }
.head nav a { color: var(--grey); text-decoration: none; }
.head nav a:hover { color: var(--sage); }
.lang { font-size: .8125rem; font-weight: 700; letter-spacing: .06em; color: var(--grey); text-decoration: none; }
.lang:hover { color: var(--sage); }

.btn {
  display: inline-block; background: var(--sage); color: var(--white); text-decoration: none;
  font-weight: 700; font-size: 1rem; padding: .85rem 1.5rem; border-radius: 4px; white-space: nowrap;
}
.btn:hover { background: var(--sage-deep); }
.btn-quiet { background: transparent; color: var(--sage); border: 1px solid var(--line); }
.btn-quiet:hover { background: var(--mist); color: var(--sage-deep); }

/* Generous vertical rhythm is the whole design here. */
section { padding-block: clamp(3.5rem, 2.5rem + 4.4vw, 6.5rem); }

.hero { text-align: left; }
.hero h1 {
  font-family: 'Fraunces', Georgia, serif; font-variation-settings: 'opsz' 144, 'SOFT' 0, 'WONK' 0;
  font-weight: 300; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.375rem); line-height: 1.14;
  letter-spacing: -.015em; max-width: 18ch;
}
.hero p { margin-top: 1.5rem; max-width: 46ch; font-size: 1.1875rem; color: var(--grey); }
.hero .btn { margin-top: 2rem; }
.hero-img { margin-top: 3rem; }
.hero-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }

.kicker { font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); display: block; margin-bottom: 1.25rem; }

.sec-title {
  font-family: 'Fraunces', Georgia, serif; font-variation-settings: 'opsz' 72, 'SOFT' 0, 'WONK' 0;
  font-weight: 400; font-size: clamp(1.625rem, 1.35rem + 1.3vw, 2.25rem); line-height: 1.2;
  letter-spacing: -.01em; max-width: 22ch;
}
.sec-title + p { margin-top: 1.125rem; max-width: 56ch; color: var(--grey); }

.band-mist { background: var(--mist); }

/* Services, plain and readable */
.services { display: grid; gap: 2.5rem; margin-top: 3rem; }
@media (min-width: 46rem) { .services { grid-template-columns: 1fr 1fr; gap: 3rem 3.5rem; } }
.service h3 {
  font-family: 'Fraunces', Georgia, serif; font-variation-settings: 'opsz' 30, 'SOFT' 0, 'WONK' 0;
  font-weight: 500; font-size: 1.25rem; line-height: 1.3;
}
.service p { margin-top: .625rem; color: var(--grey); font-size: .9375rem; }
.service::before { content: ''; display: block; width: 2.25rem; height: 2px; background: var(--sage); margin-bottom: 1.125rem; }

.two { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 52rem) { .two { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.two img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }

.facts { margin-top: 2rem; }
.facts li { padding: 1rem 0; border-top: 1px solid var(--line); display: grid; gap: .2rem; }
.facts li:last-child { border-bottom: 1px solid var(--line); }
.facts dt, .facts strong { font-weight: 700; font-size: .9375rem; }
.facts span { color: var(--grey); font-size: .9375rem; }

/* Booking is the only call to action on the page. */
.booking { text-align: center; }
.booking .sec-title { margin-inline: auto; }
.booking p { margin-inline: auto; }
.booking .btn { margin-top: 2rem; font-size: 1.0625rem; padding: 1rem 2rem; }
.booking .alt { margin-top: 1.25rem; font-size: .9375rem; }

.hours { margin-top: 1.75rem; max-width: 24rem; }
.hours li { display: flex; justify-content: space-between; gap: 1.5rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.hours span { color: var(--grey); }

.foot { border-top: 1px solid var(--line); padding-block: 3rem; font-size: .9375rem; color: var(--grey); }
.foot strong { color: var(--slate); }
.foot p + p { margin-top: .35rem; }
.foot-note { margin-top: 2rem !important; font-size: .8125rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.mt-note { margin-top: 1.5rem; }

/* Below the desktop breakpoint the nav takes its own row, so the brand and the
   language toggle stay together on the first one instead of orphaning it. */
@media (max-width: 60rem) {
  .head nav { order: 3; flex: 1 0 100%; }
}
