/* ── Design: warm clinical swiss ── */
:root {
  --bg: #f7f4f0;
  --paper: #ffffff;
  --ink: #1a1814;
  --muted: #7a7266;
  --rule: #e2dbd0;
  --accent: #2b6f6c;
  --accent-hover: #235a57;
  --accent-light: #e8f3f2;
  --alt-bg: #efeae2;
  --radius: 12px;
  --space: 1.5rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141210;
    --paper: #1c1a16;
    --ink: #e2dbd0;
    --muted: #8a8174;
    --rule: #2f2a24;
    --accent: #4fa8a4;
    --accent-hover: #5dbdb8;
    --accent-light: #1f2e2d;
    --alt-bg: #1a1814;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3 {
  font-family: "Iowan Old Style", "Charter", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 65ch; }
a { color: var(--accent); text-underline-offset: 0.15em; }
a:hover { color: var(--accent-hover); }
.muted { color: var(--muted); }
.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.centered-label { display: block; text-align: center; }
.centered { text-align: center; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.8rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-1px);
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── Navigation ── */
.site-header {
  padding: 1.2rem 1.5rem 0;
  max-width: 1200px;
  margin: 0 auto;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
}
.logo {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 1.5rem;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ink); }

/* ── Hero ── */
.hero {
  padding: 4rem 0 5rem;
  max-width: 800px;
}
.hero h1 {
  margin-bottom: 0.6rem;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* ── Sections ── */
.section {
  padding: 4.5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.alt-bg {
  background: var(--alt-bg);
  max-width: none;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.alt-bg .section { max-width: 1200px; margin: 0 auto; }

/* ── Studio ── */
.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.section-text h2 { margin-bottom: 1rem; }
.section-text p { color: var(--muted); }

.placeholder-img {
  background: var(--rule);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  overflow: hidden;
}
.placeholder-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 2.5rem auto 0;
}
.service-card {
  background: var(--paper);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.service-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.service-card h3 { margin-bottom: 0.4rem; }
.service-card p { font-size: 0.95rem; color: var(--muted); margin: 0; }

/* ── Team ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 2.5rem auto 0;
}
.team-card {
  text-align: center;
}
.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  min-height: unset;
  margin: 0 auto 1rem;
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.team-role {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.team-bio {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* ── Contact ── */
.contact-inner {
  max-width: 600px;
  margin: 0 auto;
}
.contact-intro {
  color: var(--muted);
  margin-bottom: 2rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.contact-form input,
.contact-form textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--rule);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-light);
}
.form-status {
  font-size: 0.9rem;
  color: var(--accent);
  margin: 0;
}
.contact-details {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--muted);
}
.contact-details p { margin-bottom: 0.3rem; }
.contact-details a { color: var(--ink); text-decoration: none; }
.contact-details a:hover { color: var(--accent); }

/* ── Footer ── */
.site-footer {
  padding: 2.5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
}
.footer-brand strong {
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 1rem;
}
.footer-brand p { margin: 0.15rem 0 0; font-size: 0.8rem; }
.footer-links {
  display: flex;
  gap: 1.2rem;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
}
.footer-links a:hover { color: var(--ink); }
.attribution { font-size: 0.75rem; opacity: 0.7; margin: 0; }
.attribution a { color: var(--muted); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .section-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .nav-links {
    gap: 1rem;
  }
  .hero {
    padding: 2.5rem 0 3rem;
  }
  .section {
    padding: 3rem 1.5rem;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav {
    flex-direction: column;
    gap: 0.75rem;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .service-card:hover { transform: none; }
  .btn:hover { transform: none; }
}
