/* ============================================================
   Provenance Estate Transitions — Stylesheet
   Austere, type-only, serif throughout.
   ============================================================ */

:root {
  --cream: #F8F4ED;
  --cream-deep: #F1ECE0;
  --navy: #0A1F44;
  --navy-soft: #122752;
  --ink: #1A1F2E;
  --ink-soft: #4A4F5C;
  --gold: #B08A3E;          /* darkened from spec #C9A961 for AA on cream */
  --gold-rule: #C9A961;     /* lighter, used only for thin rules */
  --display: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --text: "Lora", "Georgia", "Times New Roman", serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, color 200ms ease;
}
a:hover { border-bottom-color: var(--navy); }

::selection { background: var(--navy); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--gold-rule);
  background: var(--cream);
  padding: 28px 40px 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 32px;
}

.wordmark {
  border-bottom: none;
  display: inline-block;
  line-height: 1;
}
.wordmark .wm-name {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0.06em;
  color: var(--navy);
}
.wordmark .wm-sub {
  display: block;
  margin-top: 6px;
  font-family: var(--text);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 400;
}

.primary-nav {
  display: flex;
  gap: 36px;
  justify-self: end;
  align-items: baseline;
}
.primary-nav a {
  font-family: var(--text);
  font-size: 15px;
  color: var(--navy);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.primary-nav a:hover,
.primary-nav a.is-active { border-bottom-color: var(--navy); }

.tel {
  justify-self: end;
  grid-column: 3;
  grid-row: 2;
  margin-top: 6px;
  font-family: var(--text);
  font-style: italic;
  font-size: 13px;
  color: var(--navy);
  border-bottom: none;
}
.tel:hover { border-bottom: 1px solid var(--navy); }

.mobile-toggle { display: none; }

/* ---------- Layout ---------- */
main { display: block; }

.section { padding: 96px 40px; }
.section.compact { padding: 64px 40px; }
.section.tight { padding: 48px 40px; }

.container {
  max-width: 680px;
  margin: 0 auto;
}
.container-wide {
  max-width: 1040px;
  margin: 0 auto;
}

.prose p {
  margin: 0 0 24px;
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
}
.prose p:last-child { margin-bottom: 0; }

/* ---------- Hero (homepage) ---------- */
.hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 40px 64px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 68px;
  line-height: 1.12;
  letter-spacing: 0.005em;
  color: var(--navy);
  max-width: 920px;
  margin: 0 0 36px;
  text-wrap: balance;
}
.hero .subhead {
  font-family: var(--text);
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 560px;
  margin: 0 0 56px;
}
.hero .cta-wrap { margin-top: 8px; display: flex; flex-direction: column; align-items: center; gap: 24px; }

.btn-quiet {
  font-family: var(--text);
  font-style: italic;
  font-size: 16px;
  color: var(--navy);
  border-bottom: 1px solid rgba(10,31,68,0.25);
  padding-bottom: 2px;
  transition: border-bottom-color 200ms ease;
}
.btn-quiet:hover { border-bottom-color: var(--navy); }
.btn-quiet span { margin-left: 4px; font-style: normal; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--text);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--navy);
  padding: 16px 40px;
  border-radius: 0;
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease;
}
.btn:hover {
  background: var(--navy);
  color: var(--cream);
  border-bottom-color: var(--navy);
}
.btn-wrap { text-align: center; }

/* ---------- Closing italic line ---------- */
.closing-line {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--text);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: var(--navy);
}

/* ---------- Gold rules ---------- */
hr.gold-rule {
  border: 0;
  height: 1px;
  background: var(--gold-rule);
  width: 60px;
  margin: 0 auto;
}
hr.gold-rule.short { width: 40px; }
hr.gold-rule.left  { margin: 36px 0 0; }
.page-header hr.gold-rule.left { margin: 32px 0 40px; }

.rule {
  width: 40px;
  height: 1px;
  background: var(--gold-rule);
  margin: 24px 0 32px;
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  padding: 96px 40px 0;
  max-width: 760px;
  margin: 0 auto;
}
.page-header.with-cover {
  padding-top: 56px;
}
.page-header .page-eyebrow {
  display: block;
  font-family: var(--text);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.page-header h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 64px;
  line-height: 1.08;
  letter-spacing: 0.005em;
  color: var(--navy);
  margin: 0;
}
.page-header .rule {
  margin: 36px 0 56px;
}

/* Page cover (band above interior page titles) */
.page-cover {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  height: 280px;
  overflow: hidden;
  background: var(--navy);
  position: relative;
}
.page-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) brightness(0.88);
  animation: strip-drift 24s ease-in-out infinite alternate;
}
@media (prefers-reduced-motion: reduce) {
  .page-cover img { animation: none; transform: scale(1.02); }
}
@media (max-width: 880px) {
  .page-cover { height: 200px; }
}

/* ---------- Subsection headings ---------- */
.subsection { margin-top: 64px; }
.subsection:first-of-type { margin-top: 8px; }

.subsection h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0.005em;
  color: var(--navy);
  margin: 0 0 0;
}
.subsection .rule {
  margin: 18px 0 28px;
}
.subsection p {
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 22px;
}
.subsection p:last-child { margin-bottom: 0; }

/* ---------- Manifesto (homepage credo) ---------- */
.manifesto {
  padding: 96px 40px 88px;
  text-align: center;
}
.manifesto-eyebrow {
  display: inline-block;
  font-family: var(--text);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 36px;
}
.manifesto-eyebrow::before,
.manifesto-eyebrow::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold-rule);
  vertical-align: middle;
  margin: 0 14px;
  transform: translateY(-3px);
}
.manifesto-lede {
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  font-size: 38px;
  line-height: 1.25;
  letter-spacing: 0.005em;
  color: var(--navy);
  max-width: 760px;
  margin: 0 auto 28px;
}
.manifesto-tenets {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 760px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  color: var(--navy);
  display: flex; justify-content: center; align-items: baseline; gap: 18px; flex-wrap: wrap;
}
.manifesto-tenets > span { display: inline-flex; align-items: baseline; }
.manifesto-tenets > span + span::before {
  content: "\2022";
  color: var(--gold);
  font-style: normal;
  margin-right: 18px;
  font-size: 0.7em;
  opacity: 0.9;
}
.manifesto-tenets li { display: inline; }

/* ---------- Strip imagery (short cinematic band) ---------- */
.strip {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  height: 320px;
  overflow: hidden;
  background: var(--navy);
}
.strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.82) brightness(0.86);
  animation: strip-drift 24s ease-in-out infinite alternate;
}
.strip.tall { height: 380px; }
.strip.short { height: 240px; }
@keyframes strip-drift {
  0%   { transform: scale(1.04) translate3d(-1%, 0, 0); }
  100% { transform: scale(1.08) translate3d( 1%, -1%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .strip img { animation: none; transform: scale(1.02); }
}
@media (max-width: 880px) {
  .strip { height: 220px; }
  .strip.tall { height: 260px; }
  .strip.short { height: 180px; }
}

/* ---------- Pricing tiers ---------- */
.tier { margin: 0 0 56px; }
.tier:last-of-type { margin-bottom: 0; }

.tier-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}
.tier-name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 28px;
  color: var(--navy);
  letter-spacing: 0.005em;
}
.tier-dash {
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
}
.tier-price {
  font-family: var(--display);
  font-weight: 500;
  font-size: 24px;
  color: var(--navy);
  font-style: italic;
}
.tier .rule { margin: 12px 0 18px; }
.tier-body {
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
}

/* ---------- Contact ---------- */
.contact-lede {
  text-align: left;
  font-family: var(--text);
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink);
  max-width: 680px;
  margin: 0 0 56px;
}
.contact-details {
  text-align: left;
  margin: 0 0 80px;
  max-width: 680px;
  font-family: var(--text);
  font-size: 17px;
  line-height: 2;
  color: var(--ink);
}
.contact-details .label {
  display: block;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-top: 18px;
  line-height: 1.4;
}
.contact-details .label:first-child { margin-top: 0; }
.contact-details a { color: var(--navy); }
.contact-details a:hover { border-bottom-color: var(--navy); }

.form-heading {
  text-align: left;
  font-family: var(--display);
  font-weight: 600;
  font-size: 28px;
  color: var(--navy);
  margin: 0 0 36px;
  max-width: 680px;
}

.contact-form {
  max-width: 680px;
  margin: 0;
}
.field { margin-bottom: 32px; }
.field label {
  display: block;
  font-family: var(--text);
  font-style: italic;
  font-size: 13px;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.field input,
.field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--navy);
  background: transparent;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  padding: 8px 0;
  border-radius: 0;
  outline: none;
  resize: vertical;
}
.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--gold);
}
.field textarea {
  min-height: 110px;
}
.field textarea::placeholder,
.field input::placeholder {
  color: var(--ink-soft);
  font-style: italic;
  opacity: 0.85;
}
.form-submit { text-align: left; margin-top: 16px; }
.form-reassure {
  font-family: var(--text);
  font-style: italic;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 18px 0 0;
  max-width: 520px;
}
.optional {
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: 0;
}
.form-confidence {
  text-align: left;
  font-family: var(--text);
  font-style: italic;
  font-size: 15px;
  color: var(--navy);
  max-width: 680px;
  margin: 64px 0 0;
}
.form-thanks {
  text-align: center;
  font-family: var(--text);
  font-style: italic;
  font-size: 18px;
  color: var(--navy);
  padding: 40px 0;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--gold-rule);
  background: var(--cream);
  padding: 80px 40px 60px;
  text-align: center;
  margin-top: 80px;
}
.site-footer .wordmark {
  display: inline-block;
  margin-bottom: 28px;
}
.site-footer .wordmark .wm-name { font-size: 22px; }
.site-footer .wordmark .wm-sub  { font-size: 9px; }

.footer-meta {
  font-family: var(--text);
  font-size: 14px;
  line-height: 2;
  color: var(--ink);
  margin: 0 0 32px;
}
.footer-nav {
  font-family: var(--text);
  font-size: 13px;
  letter-spacing: 0.02em;
  margin: 0 0 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-nav a { color: var(--navy); }
.footer-nav .dot {
  color: var(--gold);
  font-size: 14px;
  line-height: 1;
}
.fineprint {
  font-family: var(--text);
  font-size: 11px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 580px;
  margin: 0 auto;
}

/* ---------- Fade-ins ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 880px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 18px 24px 16px;
    gap: 16px;
    align-items: center;
  }
  .wordmark .wm-name { font-size: 22px; letter-spacing: 0.05em; }
  .wordmark .wm-sub  { font-size: 9px; letter-spacing: 0.28em; margin-top: 4px; }

  .primary-nav { display: none; }
  .tel { display: none; }
  .mobile-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 8px 4px;
    cursor: pointer;
  }
  .mobile-toggle span {
    display: block;
    width: 26px;
    height: 1px;
    background: var(--navy);
  }

  .mobile-menu { display: none !important; }
  .mobile-menu.open {
    display: flex !important;
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 100;
    flex-direction: column;
    padding: 24px;
  }
  .mobile-menu .close {
    align-self: flex-end;
    background: transparent;
    border: none;
    font-family: var(--display);
    font-size: 36px;
    line-height: 1;
    color: var(--navy);
    padding: 4px 12px;
    cursor: pointer;
  }
  .mobile-menu nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
  }
  .mobile-menu nav a {
    font-family: var(--display);
    font-size: 28px;
    color: var(--navy);
    font-weight: 500;
  }
  .mobile-menu .tel-mobile {
    text-align: center;
    font-family: var(--text);
    font-style: italic;
    font-size: 16px;
    color: var(--navy);
    padding-bottom: 24px;
  }

  .section { padding: 64px 24px; }
  .section.compact { padding: 48px 24px; }
  .section.tight { padding: 32px 24px; }

  /* Hero — tighter, less imposing on small screens */
  .hero {
    padding: 48px 24px 56px;
    min-height: auto;
  }
  .hero h1 { font-size: 38px; line-height: 1.15; margin-bottom: 28px; }
  .hero .subhead { font-size: 17px; margin-bottom: 40px; }
  .hero .cta-wrap { gap: 20px; }
  .btn { padding: 14px 32px; font-size: 14px; }

  /* Page header */
  .page-header { padding: 48px 24px 0; }
  .page-header.with-cover { padding-top: 36px; }
  .page-header h1 { font-size: 38px; line-height: 1.1; }
  .page-header .page-eyebrow { margin-bottom: 14px; }
  .page-header hr.gold-rule.left { margin: 24px 0 32px; }

  /* Subsections */
  .subsection { margin-top: 48px; }
  .subsection h2 { font-size: 24px; }
  .subsection p { font-size: 17px; }

  /* Prose */
  .prose p { font-size: 17px; line-height: 1.75; }

  /* Manifesto — stack on mobile */
  .manifesto { padding: 64px 24px 56px; }
  .manifesto-eyebrow { font-size: 11px; letter-spacing: 0.3em; margin-bottom: 28px; }
  .manifesto-eyebrow::before,
  .manifesto-eyebrow::after { width: 18px; margin: 0 10px; }
  .manifesto-lede { font-size: 26px; line-height: 1.3; margin-bottom: 24px; }
  .manifesto-tenets {
    font-size: 19px;
    line-height: 1.7;
    flex-direction: column;
    gap: 4px;
  }
  .manifesto-tenets > span + span::before {
    content: none;
  }

  /* Tiers — stack price below name on mobile */
  .tier-head { gap: 6px; flex-direction: column; align-items: flex-start; }
  .tier-dash { display: none; }
  .tier-name { font-size: 22px; }
  .tier-price { font-size: 18px; }
  .tier-body { font-size: 16px; }
  .tier { margin-bottom: 44px; }

  /* Contact */
  .contact-lede { font-size: 17px; margin-bottom: 40px; }
  .contact-details { font-size: 16px; line-height: 1.9; margin-bottom: 56px; }
  .form-heading { font-size: 24px; margin-bottom: 28px; }
  .field { margin-bottom: 28px; }
  .field input, .field textarea { font-size: 16px; }
  .form-confidence { margin-top: 48px; font-size: 14px; }
  .form-reassure { font-size: 13px; }

  /* Footer */
  .site-footer { padding: 56px 24px 48px; margin-top: 56px; }
  .footer-meta { font-size: 13px; line-height: 1.9; }
  .footer-nav { gap: 10px; font-size: 12px; }
  .fineprint { font-size: 11px; }

  /* Closing line */
  .closing-line { font-size: 17px; }
}

/* Extra small screens */
@media (max-width: 380px) {
  .hero h1 { font-size: 34px; }
  .page-header h1 { font-size: 34px; }
  .manifesto-lede { font-size: 22px; }
}
