:root {
  --cream: #f6f0e6;
  --cream-deep: #ede4d4;
  --maple: #c4a574;
  --maple-deep: #8b5e3c;
  --charcoal: #2c2a26;
  --ink: #1a1816;
  --muted: #6b645c;
  --line: rgba(44, 42, 38, 0.14);
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  font-size: 1.0625rem;
}

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

a { color: inherit; }

.wrap { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 240, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

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

.wordmark { width: min(320px, 58vw); height: auto; }

.nav {
  display: flex;
  gap: 1.4rem;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--charcoal); }

/* Verse */
.verse {
  text-align: center;
  padding: 1.6rem 1.25rem 0.4rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-style: italic;
  max-width: 42rem;
  margin: 0 auto;
}

.verse cite {
  display: block;
  margin-top: 0.35rem;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: "Source Sans 3", system-ui, sans-serif;
}

/* Hero */
.hero { padding: 1.75rem 0 3.5rem; }

.hero-image {
  width: min(1120px, 100%);
  max-height: 62vh;
  margin-inline: auto;
  object-fit: cover;
  object-position: center 70%;
}

.hero-copy {
  width: min(720px, calc(100% - 2.5rem));
  margin: 2rem auto 0;
  text-align: center;
}

.hero-copy h1 {
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.hero-copy p {
  margin-top: 1rem;
  color: var(--muted);
}

/* Sections */
section { padding: 4rem 0; }

.section-kicker {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--maple-deep);
  margin-bottom: 0.6rem;
}

h2 {
  font-weight: 500;
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 1.25rem;
}

/* How I work */
.how { background: var(--cream-deep); }

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.how-grid article p { color: var(--muted); }

.how-grid h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

/* Dedication */
.dedication-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1.5rem 1.75rem;
  align-items: center;
  max-width: 720px;
}

.portrait {
  width: 160px;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--line);
}

#dedication { padding: 2.5rem 0; }
#dedication h2 { font-size: 1.35rem; margin-bottom: 0.35rem; }
#dedication p { font-size: 0.98rem; }

.dates {
  font-family: "Source Sans 3", system-ui, sans-serif;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0.25rem 0 1rem;
}

.link-btn {
  display: inline-block;
  margin-top: 1rem;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--maple-deep);
  padding-bottom: 0.15rem;
  color: var(--maple-deep);
}

/* Gallery */
.gallery-list {
  display: flex;
  flex-direction: column;
  gap: 3.25rem;
  max-width: 820px;
  margin-inline: auto;
}

.piece img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: var(--cream-deep);
}

.piece figcaption {
  margin-top: 0.9rem;
}

.piece h3 {
  font-size: 1.15rem;
  font-weight: 600;
}

.piece .meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery-note {
  margin-top: 3rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-style: italic;
}

/* Contact */
.contact { background: var(--cream-deep); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
}

form { display: grid; gap: 0.85rem; }

label {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

label .optional {
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 0.85em;
}

input, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--charcoal);
  font: inherit;
  padding: 0.7rem 0.8rem;
}

textarea { min-height: 9rem; resize: vertical; }

input:focus, textarea:focus {
  outline: 1px solid var(--maple-deep);
  border-color: var(--maple-deep);
}

button[type="submit"] {
  justify-self: start;
  background: var(--charcoal);
  color: var(--cream);
  border: 0;
  padding: 0.8rem 1.4rem;
  font-family: "Source Sans 3", system-ui, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  cursor: pointer;
}

button[type="submit"]:hover { background: var(--ink); }

.form-status { min-height: 1.3rem; font-size: 0.95rem; }

.aside p + p { margin-top: 0.85rem; }
.aside .phone {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.modal-card img { margin: 0.75rem 0 1.25rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.82rem;
}

.fb {
  width: 18px;
  height: 18px;
  display: inline-block;
  opacity: 0.7;
}

.fb:hover { opacity: 1; }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(26, 24, 22, 0.62);
  display: none;
  place-items: center;
  padding: 1.5rem;
  z-index: 40;
}

.modal.open { display: grid; }

.modal-card {
  background: var(--cream);
  width: min(680px, 100%);
  max-height: 86vh;
  overflow: auto;
  padding: 2rem 2rem 1.6rem;
}

.modal-card h3 { margin-bottom: 0.75rem; }
.modal-card p + p { margin-top: 0.85rem; }

.close {
  margin-top: 1.2rem;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
  color: var(--maple-deep);
  font-family: "Source Sans 3", system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

@media (max-width: 860px) {
  .nav { display: none; }
  .how-grid,
  .dedication-grid,
  .contact-grid { grid-template-columns: 1fr; }
  section { padding: 3rem 0; }
}
