/* FootWorks Podiatry & Laser - practice closure site */

@font-face {
  font-family: 'Quicksand';
  src: url('/assets/fonts/quicksand-variable.woff2') format('woff2');
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PT Serif';
  src: url('/assets/fonts/pt-serif-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PT Serif';
  src: url('/assets/fonts/pt-serif-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PT Serif';
  src: url('/assets/fonts/pt-serif-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy: #1a4a78;
  --navy-dark: #123a60;
  --heading: #17395a;
  --ink: #26313a;
  --card-blue: #c9def2;
  --band-blue: #e3eef9;
  --footer-blue: #c5dcf0;
  --gray-card: #f2f2ef;
  --white: #ffffff;
  --serif: 'PT Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Quicksand', 'Segoe UI', 'Trebuchet MS', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 {
  font-family: var(--sans);
  color: var(--heading);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

p { margin: 0 0 1.15rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--navy-dark); }

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}

.shell {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.reading { max-width: 46rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--navy);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 12px 12px;
  text-decoration: none;
  transition: top 0.15s ease-out;
}
.skip-link:focus { top: 0; color: var(--white); }

/* Header */

.site-header {
  background: var(--white);
  border-bottom: 1px solid #e7e7e2;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.brand { display: inline-flex; border-radius: 8px; }

.brand img {
  display: block;
  width: clamp(200px, 28vw, 300px);
  height: auto;
}

.nav-list {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--heading);
  text-decoration: none;
  padding: 0.35rem 0.1rem;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  border-bottom-color: var(--navy);
  color: var(--navy);
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.9rem;
    text-align: center;
  }
  .nav-list { gap: 1.25rem; }
}

/* Hero */

.hero {
  background-color: #dbe9f4;
  background-image: url('/assets/hero-beach-small.jpg');
  background-size: cover;
  background-position: center right;
  min-height: 30rem;
  display: flex;
  align-items: center;
}

@media (min-width: 800px) {
  .hero { background-image: url('/assets/hero-beach.jpg'); min-height: 34rem; }
}

.hero .shell { width: 100%; }

.hero-card {
  background: rgba(201, 222, 242, 0.94);
  border-radius: 26px;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem);
  max-width: 38rem;
  box-shadow: 0 10px 30px rgba(23, 57, 90, 0.18);
}

.hero-card h1 {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-card p {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  color: var(--heading);
  margin: 0;
}

/* Content sections */

.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }

.section-tight { padding-top: 0; }

.letter-card {
  background: var(--gray-card);
  border-radius: 26px;
  padding: clamp(2rem, 5vw, 3.5rem);
}

.letter-card .reading { margin: 0 auto; }

.signature {
  font-weight: 700;
  margin-top: 1.75rem;
}

.notice-card {
  background: var(--band-blue);
  border-radius: 26px;
  padding: clamp(2rem, 5vw, 3.5rem);
}

.notice-card > * { max-width: 46rem; margin-left: auto; margin-right: auto; }

/* Buttons */

.button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.75rem;
}

.button {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.9rem;
  transition: background-color 0.15s ease-out, color 0.15s ease-out, transform 0.15s ease-out;
}

.button:hover { transform: translateY(-1px); }

.button-primary {
  background: var(--navy);
  color: var(--white);
  border: 2px solid var(--navy);
}
.button-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); color: var(--white); }

.button-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.button-secondary:hover { background: rgba(26, 74, 120, 0.08); color: var(--navy-dark); }

/* Records notice */

.notice h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  margin-bottom: 1rem;
}

.notice h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

.notice ul {
  margin: 0 auto 1.15rem;
  padding-left: 1.4rem;
}

.notice li { margin-bottom: 0.4rem; }

.notice .cta {
  text-align: center;
  margin: 1.6rem auto 1.9rem;
}

.contact-block {
  background: var(--white);
  border: 1px solid #d3e1ee;
  border-radius: 18px;
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
}

.contact-block p { margin-bottom: 0.5rem; }

.email-note {
  font-style: italic;
  font-size: 0.95rem;
  color: #4a555f;
}

/* Footer */

.site-footer {
  background: var(--footer-blue);
  padding: clamp(2.25rem, 5vw, 3.25rem) 0;
  text-align: center;
}

.site-footer h2 {
  font-size: 1.35rem;
  margin-bottom: 0.9rem;
}

.site-footer .email-note {
  max-width: 34rem;
  margin: 0.35rem auto 1.5rem;
}

.footer-links {
  font-family: var(--sans);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-links a { margin: 0 0.75rem; }

.footer-legal {
  font-size: 0.9rem;
  color: #3c4c5c;
  margin: 0;
}

/* Not found */

.not-found-body .section { text-align: center; }

/* Print */

@media print {
  .site-header, .site-footer, .hero, .skip-link { display: none; }
  body { font-size: 12pt; color: #000; }
  .page-band { background: none; padding: 0 0 1rem; }
  .button {
    border: none;
    padding: 0;
    background: none;
    color: #000;
    font-family: var(--serif);
    text-decoration: underline;
  }
  .button[href^="http"]::after { content: " (" attr(href) ")"; }
}
