/* Still Devon — Bootstrap 5.3.8 + a small layer of brand styling */

:root {
  --paper: #f3efe5;
  --paper-deep: #e8e1d2;
  --ink: #29342e;
  --muted: #667069;
  --sage: #566555;
  --slate: #313d47;
  --blue: #748ca1;
  --line: rgba(41, 52, 46, .16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

.navbar-brand {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
}
.navbar-brand:hover { color: var(--ink); }
.brand-mark { width: 38px; height: 38px; }

.small-nav .nav-link {
  color: var(--ink);
  letter-spacing: .12em;
  font-size: 10px;
  font-weight: 600;
  opacity: .78;
}
.small-nav .nav-link:hover { color: var(--ink); opacity: 1; }

.navbar-toggler-icon {
  filter: brightness(0) saturate(100%);
}

.hero {
  overflow: hidden;
  min-height: 760px;
}

.hero-copy {
  background: var(--paper);
  padding: 170px clamp(28px, 7vw, 110px) 110px;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 10px;
  font-weight: 600;
}

.display-title,
.section-title,
.large-copy,
.card h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: .98;
}

.display-title {
  font-size: clamp(58px, 7.3vw, 110px);
}

.display-title em {
  color: var(--sage);
  font-weight: 500;
}

.lead-copy {
  max-width: 520px;
  color: var(--muted);
  font-size: 16px;
}

.hero-art {
  min-height: 480px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(#dfe4df 0%, #d5ddd9 46%, #bac8c7 46%, #a9bcc0 100%);
}

.sun {
  position: absolute;
  width: 17vw;
  height: 17vw;
  max-width: 240px;
  max-height: 240px;
  min-width: 120px;
  min-height: 120px;
  border-radius: 50%;
  background: #ebe5d7;
  left: 52%;
  top: 21%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 70px rgba(235,229,215,.65);
}

.hill {
  position: absolute;
  left: -10%;
  width: 120%;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hill-back { height: 38%; bottom: 26%; background: #8ea09a; transform: rotate(-3deg); }
.hill-mid { height: 34%; bottom: 13%; background: var(--sage); transform: rotate(4deg); }
.hill-front { height: 27%; bottom: -5%; background: var(--slate); transform: rotate(-2deg); }

.water {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 18%;
  background: var(--blue);
  opacity: .8;
}

.py-6 { padding-top: 6rem !important; padding-bottom: 6rem !important; }

.quiet-note {
  background: var(--paper-deep);
}

.quiet-note-inner {
  max-width: 980px;
}

.rule {
  width: 42px;
  height: 1px;
  background: var(--ink);
  opacity: .45;
}

.large-copy {
  font-size: clamp(35px, 4.4vw, 62px);
}

.small-copy {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
}

.section-pad {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.public-copy {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.section-title {
  font-size: clamp(42px, 5.5vw, 76px);
}

.cards {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.cards .card {
  min-height: 310px;
  padding: 34px;
  background: var(--paper);
  border-right: 1px solid var(--line) !important;
  border-bottom: 1px solid var(--line) !important;
}

.number {
  display: block;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .16em;
  margin-bottom: 75px;
}

.card h3 {
  font-size: 32px;
  margin-bottom: 15px;
}

.card p {
  color: var(--muted);
  max-width: 330px;
  margin-bottom: 0;
}

.places .eyebrow,
.places-copy {
  color: rgba(243,239,229,.68);
}

.places-copy {
  max-width: 500px;
}

.place-list {
  border-top: 1px solid rgba(243,239,229,.22);
}

.place-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--ink);
  font-family: var(--serif);
  font-size: 21px;
}

.closing-logo {
  width: 92px;
  height: 92px;
}

.site-footer {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .06em;
  border-color: var(--line) !important;
}

@media (max-width: 575.98px) {
  .navbar {
    background: rgba(243,239,229,.96);
  }

  .hero-copy {
    min-height: 0;
    padding: 120px 24px 70px;
  }

  .hero-art {
    min-height: 320px;
  }

  .section-pad {
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
  }

  .cards .card {
    min-height: 0;
  }

  .number {
    margin-bottom: 40px;
  }
}


.social-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease;
}

.social-links a:hover {
  color: var(--ink);
}

@media (max-width: 767.98px) {
  .footer-tagline {
    display: none;
  }
}


.story {
  background: var(--paper-deep);
}

.story-copy {
  max-width: 700px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.faq {
  background: var(--paper);
}

.accordion {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: var(--line);
  --bs-accordion-btn-color: var(--ink);
  --bs-accordion-active-color: var(--ink);
  --bs-accordion-active-bg: transparent;
  --bs-accordion-btn-focus-box-shadow: none;
}

.accordion-button {
  padding: 1.35rem 0;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
}

.accordion-button::after {
  opacity: .55;
}

.accordion-body {
  padding: 0 3rem 1.5rem 0;
  max-width: 760px;
  color: var(--muted);
}


/* Alternating section rhythm */
.section-light {
  background: var(--paper);
}

.section-dark {
  background: var(--paper-deep);
}

.section-dark.story {
  color: var(--ink);
}

.section-dark.faq {
  color: var(--ink);
}

.section-dark .accordion {
  --bs-accordion-bg: transparent;
}

/* Keep the FAQ comfortably centred and readable */
.faq .accordion {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.faq .section-title {
  margin-left: auto;
  margin-right: auto;
}

/* A little more space between the public-facing intro and its cards */
#recordings .cards {
  margin-top: 4.5rem !important;
}

@media (max-width: 767.98px) {
  #recordings .cards {
    margin-top: 3rem !important;
  }
}


/* Dark closing section */
.closing.section-dark {
  background: var(--slate);
  color: var(--paper);
}

.closing.section-dark .eyebrow {
  color: rgba(243,239,229,.68);
}

.closing.section-dark .text-muted {
  color: rgba(243,239,229,.68) !important;
}

/* Keep the Devon places panel dark even though it participates in the alternating layout */
.places.section-light {
  background: var(--slate);
  color: var(--paper);
}

.places.section-light .eyebrow,
.places.section-light .places-copy {
  color: rgba(243,239,229,.68);
}

.places.section-light .place-list {
  border-top-color: rgba(243,239,229,.22);
}

.places.section-light .place-item {
  border-bottom-color: rgba(243,239,229,.22);
}


.intro-note {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.35;
  max-width: 760px;
}

@media (max-width: 767.98px) {
  .intro-note {
    font-size: 23px;
  }
}
