:root {
  color-scheme: light;
  --ink: #2b2023;
  --muted: #76686a;
  --paper: #fffaf5;
  --pearl: #f8eee6;
  --blush: #faefec;
  --rose: #ead0ca;
  --olive: #7d8561;
  --moss: #4c6657;
  --wine: #68405a;
  --plum: #846177;
  --berry: #9d5a72;
  --coral: #bd6d60;
  --brass: #aa7d3d;
  --line: rgba(43, 32, 35, 0.11);
  --shadow: 0 22px 58px rgba(93, 66, 73, 0.12);
  --hero-image: url("assets/hero-editorial.jpg");
  --header-height: 76px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: calc(var(--header-height) + 1rem);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  min-height: 100svh;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid rgba(170, 125, 61, 0.72);
  outline-offset: 4px;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.45rem, 11vw, 8.75rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.92;
  max-width: 12ch;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

h3 {
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.3;
}

svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid rgba(104, 64, 90, 0.1);
  background: rgba(255, 249, 243, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, 1180px);
  min-height: var(--header-height);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  min-width: 0;
  font-weight: 800;
}

.brand-name {
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.25rem;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose), #fff 54%, #d8d6b2);
}

.brand-mark svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: var(--wine);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.25;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
  color: rgba(43, 32, 35, 0.68);
  font-size: 0.92rem;
  font-weight: 700;
}

.desktop-nav a:not(.button) {
  position: relative;
  padding: 0.6rem 0;
}

.desktop-nav a:not(.button)::after {
  position: absolute;
  left: 0;
  bottom: 0.35rem;
  width: 100%;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--berry);
  transition: transform 180ms ease;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.9rem;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.8rem 1.05rem;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 rgba(43, 32, 35, 0);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  box-shadow: 0 12px 26px rgba(93, 66, 73, 0.16);
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0);
}

.button-small {
  min-height: 2.45rem;
  padding: 0.62rem 0.9rem;
  font-size: 0.86rem;
}

.button-dark {
  background: var(--wine);
  color: #fff;
}

.button-light {
  background: #fff;
  color: var(--ink);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.button-accent {
  background: var(--berry);
  color: #fff;
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 2.75rem;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.mobile-nav {
  display: none;
}

.hero {
  min-height: calc(100svh - var(--header-height) - 58px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(48, 34, 39, 0.74) 0%, rgba(104, 64, 90, 0.5) 42%, rgba(104, 64, 90, 0.08) 82%),
    linear-gradient(180deg, rgba(43, 32, 35, 0.03), rgba(43, 32, 35, 0.18)),
    var(--hero-image);
  background-position: center 52%;
  background-size: cover;
  color: #fff;
}

.hero-inner {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
  padding: clamp(3.3rem, 8vh, 6.7rem) 0;
}

.eyebrow,
.section-kicker {
  color: var(--berry);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow {
  max-width: 42rem;
  color: #f3d7a8;
}

.hero-copy {
  width: min(100%, 42rem);
  margin-top: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.65;
}

.hero-tagline {
  margin-top: 1rem;
  color: #f3d7a8;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.12;
}

.section-pad {
  padding: clamp(4.4rem, 8vw, 7.5rem) 0;
}

.content-grid,
.section-heading,
.pillar-grid,
.events-inner,
.footer-inner {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.85fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}

.community-section h2:not(.section-kicker),
.contact-section h2 {
  margin-top: 0.8rem;
}

.community-section p:not(.section-kicker),
.contact-section p:not(.section-kicker) {
  max-width: 43rem;
  margin-top: 1.25rem;
}

.pillars-section {
  background: #fffdf9;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  margin-top: 0.8rem;
}

.section-heading p:not(.section-kicker) {
  margin-top: 1.1rem;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  gap: 1rem;
  margin-top: 2.5rem;
}

.pillar-card {
  min-height: 15rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.25rem;
  background: linear-gradient(180deg, #fff, var(--paper));
  box-shadow: 0 14px 38px rgba(93, 66, 73, 0.06);
}

.card-icon,
.contact-icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  aspect-ratio: 1;
  border-radius: 8px;
  background: #e1e4c9;
  color: var(--moss);
}

.pillar-card:nth-child(2) .card-icon,
.pillar-card:nth-child(5) .card-icon {
  background: #efd3df;
  color: var(--wine);
}

.pillar-card:nth-child(3) .card-icon,
.pillar-card:nth-child(4) .card-icon {
  background: #f5d7cf;
  color: var(--coral);
}

.pillar-card h3 {
  margin-top: 1.45rem;
}

.pillar-card p {
  margin-top: 0.72rem;
  font-size: 0.95rem;
}

.community-section {
  background: var(--moss);
  color: #fff;
}

.community-section p {
  color: rgba(255, 255, 255, 0.74);
}

.community-section .section-kicker {
  color: #f3d7a8;
}

.offer-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.7rem;
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.65rem;
}

.offer-list span {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 760;
  line-height: 1.45;
}

.process-panel {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: rgba(255, 255, 255, 0.08);
}

.process-panel h3 {
  margin-top: 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 500;
}

.step-list {
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 1.6rem 0 0;
  list-style: none;
}

.step-list li {
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
}

.step-list span {
  display: grid;
  place-items: center;
  width: 2.35rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  color: var(--wine);
  font-size: 0.78rem;
  font-weight: 900;
}

.step-list p {
  margin: 0;
  line-height: 1.45;
}

.step-list a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.events-section {
  background: linear-gradient(112deg, #4b3840 0%, #68405a 55%, #846177 100%);
  color: #fff;
}

.events-inner {
  display: grid;
  gap: 2rem;
}

.events-copy {
  max-width: 820px;
}

.events-copy .section-kicker {
  color: #f3d7a8;
}

.events-copy h2 {
  margin-top: 0.8rem;
}

.events-copy p {
  margin-top: 1.1rem;
  color: rgba(255, 255, 255, 0.73);
}

.event-feature {
  display: grid;
  gap: 1rem;
  max-width: 900px;
  border-left: 3px solid #f3d7a8;
  padding: 0.35rem 0 0.35rem 1.25rem;
}

.event-feature p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.event-meta span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 850;
  line-height: 1.2;
}

.event-feature .event-intro,
.event-feature .event-invite {
  color: #fff;
  font-size: 1.08rem;
  font-weight: 750;
  line-height: 1.55;
}

.event-types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.event-types article {
  display: grid;
  align-content: start;
  min-height: 14rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.08);
}

.event-types span {
  color: #f3d7a8;
  font-size: 0.78rem;
  font-weight: 900;
}

.event-types h3 {
  margin-top: 1.1rem;
  color: #fff;
  font-size: 1.24rem;
}

.event-types p {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.55;
}

.contact-section {
  background: linear-gradient(180deg, var(--paper), #fffdf9);
}

.contact-grid {
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: #fff;
  box-shadow: var(--shadow);
  font-style: normal;
}

.contact-card a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
  min-height: 4.6rem;
  border-radius: 8px;
  padding: 0.8rem;
  color: var(--muted);
  overflow-wrap: anywhere;
  transition: background-color 180ms ease, color 180ms ease;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  background: var(--blush);
  color: var(--ink);
}

.contact-card strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fffdf9;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
}

.footer-inner p {
  font-size: 0.9rem;
}

@media (max-width: 920px) {
  :root {
    --header-height: 70px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mobile-nav {
    display: grid;
    gap: 0.35rem;
    width: min(100% - 2rem, 1180px);
    max-height: 0;
    margin: 0 auto;
    overflow: hidden;
    transition: max-height 220ms ease, padding 220ms ease;
  }

  .mobile-nav.is-open {
    display: grid;
    max-height: 26rem;
    padding: 0.4rem 0 1rem;
  }

  .mobile-nav a:not(.button) {
    border-radius: 8px;
    padding: 0.9rem;
    color: var(--ink);
    font-weight: 800;
  }

  .mobile-nav a:not(.button):hover,
  .mobile-nav a:not(.button):focus-visible {
    background: var(--pearl);
  }

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

  h1 {
    max-width: 12ch;
  }

  .pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 680px) {
  .brand-name {
    max-width: 11rem;
    line-height: 1.1;
  }

  .hero {
    min-height: calc(100svh - var(--header-height) - 48px);
    align-items: start;
    background:
      linear-gradient(180deg, rgba(48, 34, 39, 0.44) 0%, rgba(104, 64, 90, 0.58) 48%, rgba(48, 34, 39, 0.5) 100%),
      url("assets/hero-mobile-editorial.jpg");
    background-position: center 100%;
  }

  .hero-inner {
    padding: clamp(4.3rem, 12vh, 5.5rem) 0 2.8rem;
  }

  h1 {
    font-size: clamp(2.75rem, 16vw, 4.35rem);
    max-width: 11.5ch;
  }

  .hero-copy {
    font-size: 1rem;
    margin-top: 0.8rem;
  }

  .hero-tagline {
    margin-top: 0.85rem;
    font-size: clamp(1.18rem, 7vw, 1.8rem);
  }

  .section-pad {
    padding: 3.8rem 0;
  }

  .content-grid {
    gap: 1.8rem;
  }

  .community-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .pillar-grid,
  .event-types {
    grid-template-columns: 1fr;
  }

  .pillar-card {
    min-height: auto;
  }

  .footer-inner {
    display: grid;
  }
}

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