/* Maddie Creative — maddiecreative.com */
:root {
  --charcoal: #1a1a1a;
  --ink: #2a2a2a;
  --stone: #3d3d3d;
  --ivory: #ede8df;
  --ivory-dim: #c9c2b6;
  --ochre: #c4782a;
  --ochre-deep: #a05f1f;
  --paper: #f3efe8;
  --line: rgba(237, 232, 223, 0.14);
  --max: 1120px;
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ivory);
  background: var(--charcoal);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ochre); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--ivory); }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--ivory);
}
p { margin: 0 0 1em; color: var(--ivory-dim); }
.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Nav */
.site-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding: 1rem 0;
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-brand {
  display: flex;
  align-items: center;
  line-height: 0;
}
.nav-brand img,
.nav-mark {
  height: 72px;
  width: auto;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
}
@media (min-width: 800px) {
  .nav-mark { height: 88px; }
}
.nav-links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ivory-dim);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--ivory); }
.nav-links .nav-cta {
  color: var(--charcoal);
  background: var(--ochre);
  padding: 0.55rem 0.95rem;
  border-radius: 2px;
}
.nav-links .nav-cta:hover { background: var(--ivory); color: var(--charcoal); }

/* Hero — one composition */
.hero {
  position: relative;
  min-height: auto;
  display: grid;
  align-items: center;
  padding: 6.5rem 0 3.25rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(196, 120, 42, 0.22), transparent 55%),
    linear-gradient(165deg, #121212 0%, #1f1c18 45%, #141414 100%);
}
.hero-compact {
  padding-top: 6.25rem;
  padding-bottom: 2.75rem;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.08'/%3E%3C/svg%3E");
  opacity: 0.35;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }
}
.byline {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  letter-spacing: -0.02em;
  max-width: 11ch;
  color: var(--ivory);
}
.hero .lede {
  font-size: 1.15rem;
  max-width: 34ch;
  color: var(--ivory-dim);
  margin-bottom: 1.75rem;
}
.hero-visual {
  justify-self: center;
  width: min(100%, 380px);
  animation: rise 1.1s ease-out both;
}
.hero-visual-wide {
  width: min(100%, 520px);
}
.hero-visual img {
  width: 100%;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.45));
}
.hero-mark {
  width: min(100%, 280px);
  opacity: 0.92;
}
.hero-mark img {
  filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.4));
}
.cc-blurb {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 800px) {
  .cc-blurb {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
  }
}
.cc-blurb-art {
  width: min(100%, 240px);
  justify-self: center;
}
.cc-blurb-art img {
  width: 100%;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.18));
}
.section-light .btn-primary {
  color: var(--charcoal);
}
.hero-story {
  margin: 0;
}
.hero-story img {
  border-radius: 4px;
  border: 1px solid var(--line);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}
.hero-story figcaption {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.hero-story figcaption span:last-child {
  color: var(--ochre);
  text-align: right;
}
@media (min-width: 900px) {
  .page-hero .hero-grid {
    align-items: center;
  }
  .page-hero .hero-visual-wide {
    width: min(100%, 560px);
  }
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.35rem;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--ochre);
  color: var(--charcoal);
}
.btn-primary:hover { background: var(--ivory); color: var(--charcoal); }
.btn-ghost {
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ivory-dim); color: var(--ivory); }

/* Sections */
.section {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
}
.section-light {
  background: var(--paper);
  color: var(--charcoal);
}
.section-light h2,
.section-light h3 { color: var(--charcoal); }
.section-light p { color: var(--stone); }
.section-light a { color: var(--ochre-deep); }
.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 0.75rem;
}
.section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  max-width: 18ch;
}
.section .intro {
  max-width: 42ch;
  margin-bottom: 2rem;
}

.steps {
  display: grid;
  gap: 1.75rem;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.step { position: relative; padding-top: 0.5rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ochre);
  margin-bottom: 0.5rem;
}
.step h3 { font-size: 1.25rem; margin-bottom: 0.4rem; }

.facts {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 700px) {
  .facts { grid-template-columns: 1fr 1fr; }
}
.fact {
  border-top: 1px solid var(--line);
  padding: 1rem 0 0.25rem;
}
.section-light .fact { border-color: rgba(26, 26, 26, 0.12); }
.fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--ivory);
  margin-bottom: 0.25rem;
}
.section-light .fact strong { color: var(--charcoal); }

.faq details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ivory);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: 0.6rem 0 0; }

.site-footer {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ivory-dim);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: end;
}
.site-footer a { color: var(--ivory-dim); text-decoration: none; }
.site-footer a:hover { color: var(--ochre); }

.page-hero {
  padding: 8rem 0 3rem;
  background:
    radial-gradient(ellipse 70% 50% at 90% 0%, rgba(196, 120, 42, 0.18), transparent 50%),
    linear-gradient(180deg, #141414, #1a1a1a);
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 14ch;
}
.wordmark-cc {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: 0.02em;
  color: var(--ivory);
  margin: 0 0 0.4em;
}
.wordmark-cc .c { color: var(--ochre); }
.product-credit {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  margin-bottom: 1.25rem;
}

.contact-panel {
  max-width: 36rem;
}
.contact-panel a.mail {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ochre);
  text-decoration: none;
}
.contact-panel a.mail:hover { color: var(--ivory); }

.page-hero-form {
  padding-bottom: 4rem;
}
.contact-layout {
  display: grid;
  gap: 2rem;
  max-width: 40rem;
}
.contact-form {
  display: grid;
  gap: 1rem;
}
.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.contact-form .opt {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--stone);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ivory);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 0.75rem 0.85rem;
  width: 100%;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--ochre);
  border-color: var(--ochre);
}
.contact-form textarea { resize: vertical; min-height: 8rem; }
.contact-form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.contact-form .btn { justify-self: start; margin-top: 0.35rem; }
.form-status {
  padding: 0.85rem 1rem;
  border-radius: 2px;
  font-size: 0.95rem;
}
.form-status.ok {
  background: rgba(76, 175, 125, 0.15);
  color: #b6e0c8;
  border: 1px solid rgba(76, 175, 125, 0.35);
}
.form-status.err {
  background: rgba(200, 80, 60, 0.15);
  color: #f0b4a8;
  border: 1px solid rgba(200, 80, 60, 0.35);
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-copy { animation: rise 0.9s ease-out both; }
.hero-copy .lede { animation: rise 1s ease-out 0.1s both; }
.hero-copy .cta-row { animation: rise 1s ease-out 0.2s both; }

@media (max-width: 700px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-mark { height: 64px; }
  .hero { align-items: center; padding-top: 5.5rem; }
  .hero h1 { max-width: none; }
}
