/* ============================================================
   Sweder Design Co. — static site
   Brand palette (locked rebrand): slate-blue primary + warm
   cream neutrals + sage / plum / taupe accents.
   ============================================================ */

:root {
  --slate:        #496E83;
  --slate-dark:   #3A5A6D;
  --slate-tint:   #E7EDF0;
  --sage:         #8B9D83;
  --plum:         #7E6B78;
  --taupe:        #B8A99A;
  --cream:        #FAF8F4;
  --cream-deep:   #F2EDE4;
  --ink:          #2A2A28;
  --ink-soft:     #55524C;
  --line:         #E4DDD1;
  --white:        #ffffff;

  --serif: "Fraunces", "Georgia", "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1160px;
  --radius: 14px;
  --shadow: 0 18px 50px -24px rgba(42,42,40,0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--slate); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--slate-dark); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--slate);
}

.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.section.cream-deep { background: var(--cream-deep); }
.section.slate { background: var(--slate); color: #EDF2F4; }
.section.slate h1, .section.slate h2, .section.slate h3 { color: #fff; }
.section.slate .eyebrow { color: #B9CDD7; }

.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--slate); color: #fff; }
.btn-primary:hover { background: var(--slate-dark); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--slate); color: var(--slate); }
.btn-ghost:hover { background: var(--slate); color: #fff; }
.btn-light { background: #fff; color: var(--slate); }
.btn-light:hover { background: var(--cream-deep); color: var(--slate-dark); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,244,0.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a {
  font-size: .93rem; font-weight: 500; color: var(--ink-soft);
}
.nav-links a:hover, .nav-links a.active { color: var(--slate); }
.nav-cta { font-weight: 600 !important; color: var(--slate) !important; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250,248,244,.72), rgba(250,248,244,.86)); }
.hero-inner { position: relative; text-align: center; padding: 120px 0 128px; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin: 18px 0 22px; }
.hero .lead { margin: 0 auto 32px; font-size: 1.25rem; color: var(--ink); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- generic section head ---------- */
.head { max-width: 66ch; margin-bottom: 48px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); margin: 14px 0 16px; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px; transition: transform .18s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .num { font-family: var(--serif); font-size: 1.1rem; color: var(--slate); }
.card h3 { font-size: 1.35rem; margin: 10px 0 10px; }
.card p { color: var(--ink-soft); font-size: .98rem; }
.card .more { display: inline-block; margin-top: 16px; font-weight: 600; font-size: .9rem; }

.pillar { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 340px; display: flex; align-items: flex-end; color: #fff; }
.pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pillar .pillar-body { position: relative; padding: 28px; background: linear-gradient(0deg, rgba(30,40,48,.86), rgba(30,40,48,0)); width: 100%; }
.pillar h3 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.pillar p { color: rgba(255,255,255,.9); font-size: .95rem; }

/* ---------- feature split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 18px; }
.split p { color: var(--ink-soft); margin-bottom: 16px; }

/* ---------- values list ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 48px; }
.value h3 { font-size: 1.2rem; margin-bottom: 6px; }
.value p { color: var(--ink-soft); font-size: .97rem; }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; }
.gallery.portraits { grid-template-columns: repeat(4, 1fr); }
.gallery.portraits img { aspect-ratio: 3/4; }

/* ---------- offering rows ---------- */
.offer { border-top: 1px solid var(--line); padding: 30px 0; display: grid; grid-template-columns: 220px 1fr auto; gap: 28px; align-items: start; }
.offer:last-child { border-bottom: 1px solid var(--line); }
.offer h3 { font-size: 1.4rem; }
.offer .price { color: var(--slate); font-weight: 600; font-family: var(--sans); font-size: .95rem; margin-top: 6px; }
.offer p { color: var(--ink-soft); font-size: .97rem; }

/* ---------- chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--slate-tint); color: var(--slate-dark); padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.cta-band p { max-width: 54ch; margin: 0 auto 26px; opacity: .92; }

/* ---------- contact form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { font-size: .85rem; font-weight: 600; color: var(--ink); }
input, textarea, select {
  font-family: var(--sans); font-size: 1rem; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px var(--slate-tint); }
textarea { min-height: 130px; resize: vertical; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #CFCCC4; padding: 64px 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 42px; }
.site-footer .brand { color: #fff; display: inline-block; margin-bottom: 12px; }
.site-footer p { font-size: .95rem; color: #A9A69E; max-width: 34ch; }
.footer-col h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #8B8880; margin-bottom: 14px; }
.footer-col a { display: block; color: #CFCCC4; font-size: .95rem; margin-bottom: 9px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #3A3934; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: #8B8880; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-2, .values, .form-grid { grid-template-columns: 1fr; }
  .split, .split.reverse .split-media { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery.portraits { grid-template-columns: repeat(2, 1fr); }
  .offer { grid-template-columns: 1fr; gap: 10px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background: var(--cream); padding: 18px 24px; border-bottom: 1px solid var(--line); gap: 16px; }
  .nav-toggle { display: block; }
  .section { padding: 68px 0; }
  .hero-inner { padding: 88px 0 92px; }
}
