/* =========================================================
   HollarBranch
   History Flows Through Us
   ========================================================= */

:root {
  --ink: #1c211c;
  --ink-soft: #4e564d;
  --forest: #26362c;
  --forest-deep: #17231c;
  --moss: #66745e;
  --earth: #8b6848;
  --stone: #d8d2c5;
  --paper: #f4f1e9;
  --paper-deep: #ebe6da;
  --white: #fffdf8;

  --line: rgba(28, 33, 28, 0.15);

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

  --shell: 1240px;
}


/* =========================================================
   Reset
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.site-shell {
  width: min(calc(100% - 48px), var(--shell));
  margin-inline: auto;
}


/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(244, 241, 233, 0.96);
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.brand-tagline {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--earth);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}


/* =========================================================
   Hero
   ========================================================= */

.hero {
  padding: 42px 0 110px;
}

.hero-image {
  width: 100%;
  border-radius: 3px;
  box-shadow:
    0 25px 70px rgba(25, 31, 25, 0.14),
    0 4px 14px rgba(25, 31, 25, 0.08);
}

.hero-intro {
  max-width: 820px;
  margin: 76px auto 0;
  text-align: center;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--earth);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.story-content h2,
.memories-inner h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero h1 {
  font-size: clamp(3.4rem, 8vw, 7.2rem);
}

.hero-lead {
  max-width: 690px;
  margin: 36px auto 28px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.6;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  color: var(--forest);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}


/* =========================================================
   Story Sections
   ========================================================= */

.story-section {
  padding: 130px 0;
  border-top: 1px solid var(--line);
}

.story-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 780px);
  justify-content: center;
  gap: 80px;
}

.section-marker {
  padding-top: 6px;
}

.section-marker span {
  display: block;
  color: var(--earth);
  font-family: var(--serif);
  font-size: 2rem;
}

.section-marker p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.story-content h2,
.memories-inner h2 {
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.story-content > p:not(.eyebrow):not(.pull-quote),
.memories-inner > p:not(.eyebrow) {
  max-width: 700px;
}

.large-copy {
  margin-top: 42px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  line-height: 1.55;
}

.pull-quote {
  margin: 58px 0 0;
  padding: 34px 0 34px 30px;
  border-left: 2px solid var(--earth);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.45;
}


/* =========================================================
   Hollar / Dark Section
   ========================================================= */

.section-dark {
  background: var(--forest-deep);
  color: var(--paper);
  border-top: none;
}

.section-dark .section-marker p,
.section-dark .story-content > p:not(.eyebrow):not(.pull-quote) {
  color: #c8cec6;
}

.section-dark .large-copy {
  color: var(--paper);
}

.section-dark .pull-quote {
  color: var(--white);
}

.flow-line {
  margin: 50px 0;
  padding: 26px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  border-top: 1px solid rgba(255,255,255,0.14);
  border-bottom: 1px solid rgba(255,255,255,0.14);
  color: #d8ddd6;
  font-family: var(--serif);
  font-size: 1.05rem;
}

.flow-line span:nth-child(even) {
  color: var(--earth);
}


/* =========================================================
   Evidence
   ========================================================= */

.evidence-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.evidence-grid article {
  min-height: 190px;
  padding: 32px;
  background: var(--paper);
}

.evidence-grid article:last-child {
  grid-column: 1 / -1;
}

.evidence-grid h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 1.25rem;
}

.evidence-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}


/* =========================================================
   Family Memories
   ========================================================= */

.memories-section {
  padding: 150px 0;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.memories-inner {
  max-width: 850px;
  text-align: center;
}

.memories-inner > p {
  margin-left: auto;
  margin-right: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 58px;
  margin-top: 34px;
  padding: 0 28px;
  background: var(--forest);
  color: var(--white);
  border: 1px solid var(--forest);
  text-decoration: none;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: transparent;
  color: var(--forest);
}


/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  padding: 56px 0;
  background: var(--ink);
  color: var(--paper);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.footer-inner strong {
  font-family: var(--serif);
  font-size: 1.55rem;
}

.footer-inner p {
  margin: 6px 0 0;
  color: #bfc5bc;
  font-size: 0.78rem;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 850px) {

  .site-shell {
    width: min(calc(100% - 32px), var(--shell));
  }

  .header-inner {
    min-height: 78px;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .brand-tagline {
    font-size: 0.57rem;
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding: 22px 0 80px;
  }

  .hero-intro {
    margin-top: 54px;
  }

  .story-section {
    padding: 90px 0;
  }

  .story-grid {
    display: block;
  }

  .section-marker {
    margin-bottom: 54px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }

  .section-dark .section-marker {
    border-color: rgba(255,255,255,0.15);
  }

  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .evidence-grid article:last-child {
    grid-column: auto;
  }

  .flow-line {
    gap: 9px;
    font-size: 0.92rem;
  }

  .memories-section {
    padding: 100px 0;
  }

  .footer-inner {
    display: block;
  }

  .footer-inner > p {
    margin-top: 26px;
  }
}


@media (max-width: 520px) {

  body {
    font-size: 16px;
  }

  .hero h1 {
    font-size: 3.1rem;
  }

  .story-content h2,
  .memories-inner h2 {
    font-size: 2.8rem;
  }

  .hero-image {
    border-radius: 0;
  }

  .pull-quote {
    padding-left: 22px;
  }

  .flow-line {
    line-height: 2;
  }

}
/* =========================================================
   Family Memories
   ========================================================= */

.memory-welcome {
  min-height: calc(100vh - 92px);
  display: grid;
  place-items: center;
  padding: 110px 24px;
  text-align: center;
}

.memory-welcome-inner {
  max-width: 1000px;
}

.memory-welcome h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

.memory-intro {
  max-width: 700px;
  margin: 46px auto 0;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.55;
}

.memory-reassurance {
  margin: 42px auto 0;
  color: var(--ink-soft);
}

.memory-reassurance p {
  margin: 4px 0;
}

.memory-invitation {
  margin: 40px 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}


/* Purpose */

.memory-purpose {
  padding: 140px 0;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.memory-purpose-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 100px;
}

.memory-purpose h2,
.memory-honesty h2,
.choices-heading h2,
.memory-promise h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1;
}

.memory-purpose-copy {
  padding-top: 38px;
}

.memory-purpose-copy p {
  margin: 0 0 28px;
}


/* Honesty */

.memory-honesty {
  padding: 150px 0;
  background: var(--forest-deep);
  color: var(--paper);
}

.honesty-inner {
  max-width: 900px;
}

.memory-honesty .large-copy {
  color: var(--paper);
}

.memory-honesty > .site-shell > p:not(.eyebrow) {
  color: #c8cec6;
}

.memory-honesty blockquote {
  margin: 70px 0 0;
  padding: 34px 0 34px 34px;
  border-left: 2px solid var(--earth);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.35rem);
  line-height: 1.45;
}


/* Choices */

.memory-choices {
  padding: 150px 0;
}

.choices-heading {
  max-width: 760px;
  margin-bottom: 80px;
}

.choices-heading > p:last-child {
  max-width: 550px;
  color: var(--ink-soft);
}

.memory-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.memory-choice {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  padding: 42px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.memory-choice:hover,
.memory-choice:focus-visible {
  background: var(--forest);
  color: var(--paper);
}

.choice-number {
  color: var(--earth);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.memory-choice h3 {
  margin: auto 0 14px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
}

.memory-choice p {
  max-width: 480px;
  margin: 0;
  color: var(--ink-soft);
}

.memory-choice:hover p,
.memory-choice:focus-visible p {
  color: #c8cec6;
}

.choice-action {
  margin-top: 30px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}


/* Promise */

.memory-promise {
  padding: 150px 0;
  background: var(--paper-deep);
  border-top: 1px solid var(--line);
}

.promise-inner {
  max-width: 850px;
}

.promise-inner > p:not(.eyebrow) {
  max-width: 700px;
}


/* Memories Responsive */

@media (max-width: 850px) {

  .memory-welcome {
    min-height: auto;
    padding: 100px 24px;
  }

  .memory-purpose,
  .memory-honesty,
  .memory-choices,
  .memory-promise {
    padding: 100px 0;
  }

  .memory-purpose-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .memory-purpose-copy {
    padding-top: 0;
  }

  .memory-choice-grid {
    grid-template-columns: 1fr;
  }

  .memory-choice {
    min-height: 290px;
  }

}


@media (max-width: 520px) {

  .memory-welcome h1 {
    font-size: 3.5rem;
  }

  .memory-purpose h2,
  .memory-honesty h2,
  .choices-heading h2,
  .memory-promise h2 {
    font-size: 2.8rem;
  }

  .memory-choice {
    min-height: 260px;
    padding: 30px;
  }

}