/* =====================================================
   Albert Park Shiatsu — Main Stylesheet
   ===================================================== */

/* --- Tokens --- */
:root {
  --bg: #f8f6f2;
  --fg: #1c1c1a;
  --muted: #6e6b65;
  --line: #dedad4;
  --accent: #3a5d4b;
  --accent-ink: #f7f6f3;
  --radius-card: 16px;
  --radius-btn: 8px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
img { max-width: 100%; height: auto; display: block; }

/* --- Base --- */
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
}

/* --- Typography --- */
h1, h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: 0;
}
h3, h4 {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.3;
  margin: 0 0 0.75rem;
}
h1 { font-size: clamp(28px, 5vw, 46px); }
h2 { font-size: clamp(22px, 3.5vw, 34px); }
h3 { font-size: 1.05rem; }
h4 { font-size: 1rem; }
p  { margin: 0 0 1rem; }

/* --- Layout --- */
.wrap {
  max-width: 1040px;
  margin: auto;
  padding: 0 28px;
}

/* --- Navigation --- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--fg);
}
nav a {
  text-decoration: none;
  color: var(--muted);
  margin-left: 24px;
  font-size: 13px;
  letter-spacing: 0.03em;
  transition: color 0.15s ease;
}
nav a:hover { color: var(--fg); }
nav a[aria-current="page"] {
  color: var(--fg);
  font-weight: 500;
  border-bottom: 1.5px solid var(--fg);
  padding-bottom: 1px;
}

/* --- Hero --- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}
.eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  margin-bottom: 12px;
}
.lead {
  color: var(--muted);
  max-width: 60ch;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
}
.hero-images { display: flex; gap: 16px; align-items: center; }

/* --- Grids --- */
.grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

/* --- Cards --- */
.card {
  border: 0.5px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  background: #f3f0ea;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #c0b8ae;
  }
}

/* --- Images --- */
.heroimg {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

/* --- Buttons & Actions --- */
.button {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  padding: 9px 20px;
  border-radius: var(--radius-btn);
  border: 1.5px solid var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, color 0.15s ease;
}
.button:hover {
  background: var(--accent);
  color: var(--accent-ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 24px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0.5px solid var(--line);
  border-radius: var(--radius-btn);
  padding: 8px 12px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 300;
}

/* --- Utility --- */
.muted      { color: var(--muted); }
.divider    { height: 1px; background: var(--line); margin: 40px 0; }
.list       { margin: 0; padding-left: 18px; }
.prose p    { margin: 0 0 12px; }
.stack      { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.ack        { font-size: 14px; color: var(--muted); }
.pill       { display: inline-block; padding: 6px 12px; border-radius: 999px; border: 0.5px solid var(--line); font-size: 14px; margin: 0 8px 8px 0; }
.link-reset { color: inherit; text-decoration: none; }
.contact-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

/* --- Footer --- */
.footer {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding: 24px 0 32px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 300;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer .right a { color: var(--muted); text-decoration: none; }
.footer .right a:hover { color: var(--fg); }

/* --- Map --- */
.mapwrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 0.5px solid var(--line);
}
.map {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
  border-radius: 12px;
}

/* --- About page --- */
.about-grid      { align-items: start; }
.portrait img    { width: 100%; max-width: 260px; border-radius: 12px; border: 0.5px solid var(--line); display: block; margin-left: auto; }
.figure          { margin: 14px 0 0; }
.figure img      { width: 100%; border-radius: 12px; border: 0.5px solid var(--line); display: block; }
.figure figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; font-weight: 300; }

/* --- Shiatsu page extras --- */
.expect-layout   { display: flow-root; }
.expect-photo    { float: right; width: min(340px, 40%); margin: 4px 0 12px 20px; border-radius: 12px; }
.howfeels-photo-wrap { margin: 16px 0 24px; display: flex; justify-content: center; }
.howfeels-photo  { width: 100%; max-width: 780px; border-radius: 14px; display: block; }

/* --- Features section --- */
.features { margin-top: 40px; }

/* --- Fade-in: hero elements only --- */
@media (prefers-reduced-motion: no-preference) {
  .hero .eyebrow,
  .hero h1,
  .hero .lead,
  .hero .actions,
  .hero-images {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeUp 0.7s ease forwards;
  }
  .hero .eyebrow   { animation-delay: 0ms; }
  .hero h1         { animation-delay: 60ms; }
  .hero .lead      { animation-delay: 130ms; }
  .hero .actions   { animation-delay: 200ms; }
  .hero-images     { animation-delay: 100ms; }

  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }
}

/* --- Responsive --- */
@media (max-width: 860px) {
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .hero          { grid-template-columns: 1fr; padding-top: 32px; gap: 28px; }
  .portrait img  { margin: 0 auto; }
  .expect-photo  { float: none; display: block; width: 100%; max-width: 100%; margin: 12px 0; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero-images .card { width: 100%; }
  section { margin-top: 32px !important; padding-top: 28px !important; }
  h1 { margin-bottom: 0.5rem; }
  .lead { font-size: 0.95rem; }
}
