/* ============================================================
   The Diamond Jenny -- stylesheet v2
   Warm ivory, blush and antique gold. Arch motif throughout.
   Display: Cormorant Garamond (matches the wordmark)
   Body: Jost
   ============================================================ */

:root {
  /* Warm palette */
  --ivory:      #FDFAF6;
  --ivory-deep: #F9F3EC;
  --shell:      #F5EBE1;
  --blush:      #F3E4DD;
  --blush-deep: #EAD3C9;
  --rose:       #C99C8D;
  --gold:       #B08D57;
  --gold-pale:  #E7D3B3;
  --ink:        #3D332C;
  --ink-soft:   #6E6058;
  --muted:      #9C8B7E;
  --rule:       #EADFD3;
  --rule-soft:  #F1E8DE;

  /* Type */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body:    "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Space */
  --s1: .5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2.5rem;
  --s5: 4rem;
  --s6: 6rem;

  --maxw: 1160px;
  --measure: 34rem;

  --arch: 999px 999px 10px 10px;
  --soft: 2.75rem;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- Base ---------- */
body {
  font-family: var(--body);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.78;
  color: var(--ink-soft);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--ink); text-decoration-color: var(--blush-deep); text-underline-offset: .3em; }
a:hover { text-decoration-color: var(--rose); }

:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; }

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--ivory);
  padding: .75rem 1.25rem; z-index: 100; border-radius: 2rem;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Soft label (replaces the old mono spec line) ---------- */
.label {
  font-family: var(--body);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--rose);
  line-height: 1.8;
}
.label--muted { color: var(--muted); }
.label--gold  { color: var(--gold); }
.label--light { color: rgba(255,255,255,.6); }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: .005em;
}

h1 { font-size: clamp(2.35rem, 5.2vw, 3.95rem); font-style: italic; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.3; }
h4 { font-size: 1.15rem; line-height: 1.4; font-weight: 400; }

p + p { margin-top: 1.15em; }
.lede {
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  line-height: 1.75;
  color: var(--ink-soft);
  font-weight: 300;
}
.measure { max-width: var(--measure); }
.measure-wide { max-width: 46rem; }

em { font-style: italic; }
strong { font-weight: 500; color: var(--ink); }

/* ---------- Layout ---------- */
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3.5rem);
}

.section { padding-block: clamp(3.25rem, 7vw, 5.5rem); }

/* Soft tinted panel -- the organic replacement for hard-edged bands */
.panel {
  background: var(--shell);
  border-radius: var(--soft);
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  margin-block: clamp(2rem, 5vw, 3.5rem);
}
.panel--blush { background: var(--blush); }
.panel--ivory { background: var(--ivory-deep); }

.divider {
  border: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule), transparent);
  margin-block: clamp(2.5rem, 6vw, 4rem);
}

/* Gentle two-column: label above content on mobile, beside on desktop */
.marg { display: grid; grid-template-columns: 1fr; gap: var(--s2); }
@media (min-width: 900px) {
  .marg { grid-template-columns: 10rem 1fr; gap: var(--s4); }
  .marg > .label { padding-top: .7rem; }
}

/* ---------- Header ---------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253,250,246,.9);
  backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--rule-soft);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s3); padding-block: 1.05rem;
}

/* The wordmark -- matches the supplied logo: light, wide-tracked caps */
.wordmark {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(.95rem, 2vw, 1.18rem);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  padding-right: .34em; /* balances the trailing letterspace */
}

.nav { display: flex; align-items: center; gap: clamp(.8rem, 1.7vw, 1.5rem); }
.nav a {
  font-size: .655rem;
  font-weight: 400;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--rose); }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--rule);
  border-radius: 2rem;
  padding: .5rem 1rem; cursor: pointer;
  font-size: .65rem; font-weight: 400;
  letter-spacing: .19em; text-transform: uppercase;
  color: var(--ink-soft);
}

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--rule);
    padding: var(--s2) clamp(1.25rem, 5vw, 3.5rem) var(--s3);
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding-block: .75rem; font-size: .78rem; width: 100%; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: .68rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
  padding: 1rem 2rem;
  border: 1px solid var(--ink);
  border-radius: 2.5rem;
  background: var(--ink);
  color: var(--ivory);
  text-decoration: none;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  cursor: pointer;
}
.btn:hover { background: transparent; color: var(--ink); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--blush-deep); }
.btn--ghost:hover { background: var(--blush); border-color: var(--blush); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: var(--s3); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.75rem, 8vw, 6rem) clamp(2rem, 5vw, 3.5rem); }
.hero__label { margin-bottom: var(--s3); }
.hero h1 { max-width: 19ch; }
.hero__lede { margin-top: var(--s3); max-width: 38rem; }

.hero__grid { display: grid; gap: var(--s4); grid-template-columns: 1fr; align-items: end; }
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1.4fr .6fr; gap: var(--s5); }
}

.credential-stack {
  background: var(--blush);
  border-radius: var(--soft) var(--soft) 1.25rem 1.25rem;
  padding: clamp(1.5rem, 3vw, 2rem);
}
.credential-stack dl { display: grid; gap: .7rem; margin: 0; }
.credential-stack div {
  display: flex; justify-content: space-between; gap: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.7);
  padding-bottom: .6rem;
}
.credential-stack div:last-child { border-bottom: 0; padding-bottom: 0; }
.credential-stack dt {
  font-size: .63rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.credential-stack dd {
  margin: 0; font-size: .88rem; color: var(--ink);
  text-align: right; font-weight: 400;
}

/* ---------- Independence points (soft replacement for the ledger) ---------- */
.points { display: grid; gap: var(--s3); grid-template-columns: 1fr; margin-top: var(--s4); }
@media (min-width: 760px) { .points { grid-template-columns: 1fr 1fr; gap: var(--s4); } }
.point { display: grid; gap: .5rem; }
.point h4 { color: var(--ink); }
.point p { font-size: .96rem; }
.point__mark {
  width: 2rem; height: 2rem; border-radius: 999px;
  background: var(--ivory); display: grid; place-items: center;
  font-family: var(--display); font-size: .95rem; font-style: italic;
  color: var(--gold); margin-bottom: .3rem;
}

/* ---------- Service index ---------- */
.services { display: grid; gap: 0; margin-top: var(--s4); }
.service-row {
  display: grid; grid-template-columns: 1fr; gap: .5rem var(--s4);
  padding-block: clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  transition: background .25s ease;
  border-radius: 1.25rem;
}
.services .service-row:first-child { border-top: 1px solid var(--rule); }
@media (min-width: 860px) {
  .service-row { grid-template-columns: 10rem 1fr auto; align-items: baseline; }
}
a.service-row:hover { background: var(--ivory-deep); }
.service-row h3 { transition: color .2s ease; }
a.service-row:hover h3 { color: var(--rose); }
.service-row p { font-size: .95rem; margin-top: .4rem; max-width: 46ch; }
.service-row__go {
  font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); white-space: nowrap;
}
.service-row:not(a) { cursor: default; }

/* ---------- Work grid -- arched, organic ---------- */
.work-grid {
  display: grid; gap: clamp(1.25rem, 3vw, 2.25rem);
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  margin-top: var(--s4);
}
.work-item { display: flex; flex-direction: column; gap: .85rem; }
.work-item figure {
  margin: 0; background: var(--blush);
  border-radius: var(--arch);
  overflow: hidden;
}
.work-item img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  transition: transform .8s cubic-bezier(.22,.68,.3,1);
}
.work-item:hover img { transform: scale(1.04); }
.work-item figcaption { display: grid; gap: .25rem; text-align: center; }
.work-item__title {
  font-family: var(--display); font-size: 1.12rem; color: var(--ink);
  font-style: italic; font-weight: 400;
}

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: var(--s4); grid-template-columns: 1fr; margin-top: var(--s4); }
@media (min-width: 820px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: var(--s3); } }
.quote {
  background: var(--ivory);
  border-radius: 1.5rem 1.5rem 1.5rem 1.5rem;
  padding: clamp(1.4rem, 3vw, 1.9rem);
  display: grid; gap: 1rem;
}
.quote::before {
  content: "\201C";
  font-family: var(--display); font-size: 2.6rem; line-height: .6;
  color: var(--blush-deep);
}
.quote blockquote {
  font-family: var(--display); font-weight: 400; font-style: italic;
  font-size: 1.12rem; line-height: 1.5; color: var(--ink);
}

/* ---------- Process ---------- */
.process { display: grid; gap: 0; margin-top: var(--s4); }
.process__step {
  display: grid; grid-template-columns: 1fr; gap: .45rem var(--s4);
  padding-block: clamp(1.35rem, 2.5vw, 1.85rem);
  border-bottom: 1px solid var(--rule);
}
.process .process__step:first-child { border-top: 1px solid var(--rule); }
@media (min-width: 860px) { .process__step { grid-template-columns: 10rem 1fr; } }
.process__step p { font-size: .96rem; max-width: 54ch; }

/* ---------- FAQ ---------- */
.faq { margin-top: var(--s4); }
.faq details {
  border-bottom: 1px solid var(--rule);
  transition: background .25s ease;
  border-radius: 1rem;
}
.faq details[open] { background: var(--ivory-deep); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.35rem clamp(.75rem, 2vw, 1.25rem);
  font-family: var(--display); font-size: 1.18rem; font-weight: 400;
  color: var(--ink);
  display: flex; justify-content: space-between; gap: 1.25rem; align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "\002B"; font-family: var(--body); font-weight: 300;
  color: var(--rose); flex: none; font-size: 1.05rem;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > div {
  padding: 0 clamp(.75rem, 2vw, 1.25rem) 1.5rem;
  max-width: 60ch; font-size: .97rem;
}

/* ---------- Contact form ---------- */
.form { display: grid; gap: var(--s2); margin-top: var(--s3); max-width: 34rem; }
.field { display: grid; gap: .45rem; }
.field label {
  font-size: .63rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted);
}
.field input, .field select, .field textarea {
  border: 1px solid var(--rule);
  background: var(--ivory);
  padding: .85rem 1rem;
  font-size: .96rem; font-weight: 300;
  border-radius: 1rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--rose); outline: none;
}
.field textarea { min-height: 8rem; resize: vertical; }
.form__note { font-size: .84rem; color: var(--muted); }

.contact-lines { display: grid; gap: 1.2rem; margin-top: var(--s3); }
.contact-lines div { border-top: 1px solid var(--rule); padding-top: .8rem; }
.contact-lines a { font-size: 1.04rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--shell);
  color: var(--ink-soft);
  padding-block: var(--s5) var(--s3);
  margin-top: var(--s6);
  border-radius: var(--soft) var(--soft) 0 0;
}
.footer a { color: var(--ink); text-decoration-color: var(--blush-deep); }
.footer h4 { color: var(--ink); margin-bottom: 1rem; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; font-family: var(--body); font-weight: 400; }
.footer__grid { display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s5); } }
.footer ul { display: grid; gap: .6rem; }
.footer li a { font-size: .92rem; text-decoration: none; }
.footer li a:hover { text-decoration: underline; }
.footer__wordmark {
  font-family: var(--display); font-weight: 300;
  font-size: 1.05rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 1rem;
}
.footer__base {
  margin-top: var(--s4); padding-top: var(--s2);
  border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .9s ease, transform .9s cubic-bezier(.22,.68,.3,1);
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Utility ---------- */
.stack-sm > * + * { margin-top: var(--s2); }
.center-narrow { max-width: 44rem; }
.page-hero__inner { max-width: 48rem; }
.page-hero__inner h1 { max-width: 21ch; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
