@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  --ink: #1a1912;
  --muted: #68624f;
  --line: #ded6c8;
  --bg: #f4efe4;
  --paper: #fffdf8;
  --olive: #4a4a30;
  --olive-deep: #343421;
  --moss: #68705a;
  --clay: #9b5f40;
  --blue: #5e7180;
  --cream: #fbf2e4;
  --shadow: 0 18px 50px rgba(52, 52, 33, 0.10);
  --shadow-hover: 0 22px 66px rgba(52, 52, 33, 0.16);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-ready {
  animation: page-in 600ms var(--ease-soft) both;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(74, 74, 48, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 74, 48, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

@keyframes page-in {
  from {
    opacity: 0;
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes soft-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(74, 74, 48, 0);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(74, 74, 48, 0.10);
  }
}

body.has-motion [data-animate] {
  opacity: 0;
  transform: translateY(18px);
}

body.has-motion [data-animate].is-visible {
  animation: float-in 760ms var(--ease-soft) both;
  animation-delay: var(--stagger, 0ms);
}

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

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(74, 74, 48, 0.16);
  background: rgba(244, 239, 228, 0.92);
  backdrop-filter: blur(18px);
}

.nav-inner,
.container {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--olive-deep);
  transition: transform 240ms var(--ease-soft), opacity 240ms ease;
}

.brand:hover {
  transform: translateY(-1px);
  opacity: 0.82;
}

.brand img {
  width: 78px;
  height: auto;
}

.brand span {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--olive-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding: 12px 0;
  border-bottom: 1px solid transparent;
  transition: color 220ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease-soft);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: currentColor;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.hero {
  padding: 70px 0 46px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 54px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3,
.display {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: 0;
}

h1 {
  max-width: 940px;
  color: var(--olive-deep);
  font-size: 5.7rem;
  font-style: italic;
  line-height: 0.94;
}

h2 {
  color: var(--olive-deep);
  font-size: 2.45rem;
  font-style: italic;
  line-height: 1.04;
}

h3 {
  color: var(--olive-deep);
  font-size: 1.55rem;
  line-height: 1.12;
}

.lede {
  max-width: 700px;
  margin: 26px 0 0;
  color: var(--muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
  font-style: italic;
  line-height: 1.35;
}

.hero-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transition: transform 520ms var(--ease-soft), box-shadow 520ms var(--ease-soft);
}

.hero-media:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 700ms var(--ease-soft);
}

.hero-media:hover img {
  transform: scale(1.025);
}

.hero-media figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
}

.stat {
  min-height: 118px;
  padding: 20px;
  border: 1px solid rgba(74, 74, 48, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.72);
  transition: transform 280ms var(--ease-soft), background 280ms ease, border-color 280ms ease;
}

.stat:hover {
  transform: translateY(-3px);
  border-color: rgba(74, 74, 48, 0.32);
  background: rgba(255, 253, 248, 0.95);
}

.stat strong {
  display: block;
  color: var(--olive-deep);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  padding: 56px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}

.section-head p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  gap: 18px;
}

.meeting-card,
.requirement-card,
.panel,
.repeat-item {
  border: 1px solid rgba(74, 74, 48, 0.16);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transition: transform 300ms var(--ease-soft), box-shadow 300ms var(--ease-soft), border-color 300ms ease;
}

.meeting-card:hover,
.requirement-card:hover,
.repeat-item:hover,
.setup-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(74, 74, 48, 0.24);
  box-shadow: var(--shadow-hover);
}

.meeting-card {
  overflow: hidden;
}

.meeting-card summary {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 28px;
  list-style: none;
  cursor: pointer;
  transition: background 240ms ease;
}

.meeting-card summary:hover {
  background: rgba(244, 239, 228, 0.44);
}

.meeting-card summary::-webkit-details-marker {
  display: none;
}

.meeting-date {
  color: var(--clay);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.meeting-title {
  display: grid;
  gap: 8px;
}

.meeting-title h2 {
  font-size: 2.2rem;
}

.meeting-title p {
  margin: 0;
  color: var(--muted);
}

.meeting-status {
  justify-self: end;
  border: 1px solid rgba(104, 112, 90, 0.28);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--moss);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.meeting-body {
  border-top: 1px solid var(--line);
  padding: 0 28px 32px;
}

.notes-grid,
.copy-grid,
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.note-block {
  padding-top: 28px;
}

.note-block ul,
.note-block ol {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.note-block li + li {
  margin-top: 10px;
}

.callout-band {
  margin-top: 18px;
  padding: 24px;
  border-left: 4px solid var(--clay);
  background: #efe4d3;
  color: var(--olive-deep);
}

.callout-band p {
  margin: 0;
  max-width: 920px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border: 1px solid rgba(74, 74, 48, 0.2);
  border-radius: 999px;
  padding: 6px 11px;
  color: var(--olive-deep);
  background: rgba(244, 239, 228, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 220ms var(--ease-soft), background 220ms ease, border-color 220ms ease;
}

.pill:hover {
  transform: translateY(-1px);
  border-color: rgba(74, 74, 48, 0.34);
  background: rgba(255, 253, 248, 0.96);
}

.cta-row,
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.cta-row {
  margin-top: 28px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--olive-deep);
  border-radius: 4px;
  padding: 0 18px;
  background: var(--olive-deep);
  color: var(--cream);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 220ms var(--ease-soft), background 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--tap-x, 50%) var(--tap-y, 50%), rgba(255, 253, 248, 0.35), transparent 34%);
  opacity: 0;
  transform: scale(1.8);
  transition: opacity 420ms ease, transform 420ms var(--ease-soft);
  pointer-events: none;
}

.button.secondary {
  background: transparent;
  color: var(--olive-deep);
}

.button.ghost {
  border-color: rgba(74, 74, 48, 0.28);
  background: rgba(255, 253, 248, 0.78);
  color: var(--olive-deep);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(52, 52, 33, 0.14);
}

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

.button.is-tapping::after {
  opacity: 1;
  transform: scale(1);
}

.requirement-card {
  margin-bottom: 22px;
  padding: 32px;
}

.requirement-header {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.number {
  color: rgba(74, 74, 48, 0.3);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 0.86;
}

.requirement-header p {
  max-width: 700px;
  margin: 10px 0 0;
  color: var(--muted);
}

label,
.field-label {
  display: grid;
  gap: 8px;
  color: var(--olive-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(74, 74, 48, 0.22);
  border-radius: 4px;
  background: #fffaf0;
  color: var(--ink);
  padding: 12px 13px;
  outline: 0;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease, transform 200ms ease;
}

textarea {
  min-height: 112px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--clay);
  box-shadow: 0 0 0 3px rgba(155, 95, 64, 0.14);
  background: #fffdf8;
  transform: translateY(-1px);
}

.full {
  grid-column: 1 / -1;
}

.hint {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.repeat-list {
  display: grid;
  gap: 16px;
}

.setup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.setup-panel {
  border: 1px solid rgba(74, 74, 48, 0.16);
  border-radius: 8px;
  background: rgba(244, 239, 228, 0.46);
  padding: 22px;
  transition: transform 300ms var(--ease-soft), box-shadow 300ms var(--ease-soft), border-color 300ms ease;
}

.setup-head {
  margin-bottom: 18px;
}

.setup-head p:last-child {
  margin: 0;
  color: var(--muted);
}

.mini-repeat-list {
  display: grid;
  gap: 12px;
}

.repeat-item {
  padding: 22px;
  box-shadow: none;
}

.repeat-item.is-new,
.config-item.is-new {
  animation: float-in 520ms var(--ease-soft) both;
}

.repeat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.repeat-top h3 {
  font-size: 1.4rem;
}

.remove-item {
  border: 1px solid rgba(74, 74, 48, 0.22);
  border-radius: 4px;
  background: transparent;
  color: var(--clay);
  padding: 8px 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform 200ms var(--ease-soft), background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.remove-item:hover {
  transform: translateY(-1px);
  border-color: rgba(155, 95, 64, 0.34);
  background: rgba(155, 95, 64, 0.08);
}

.config-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  border: 1px solid rgba(74, 74, 48, 0.16);
  border-radius: 8px;
  background: var(--paper);
  padding: 14px;
  transition: transform 260ms var(--ease-soft), border-color 260ms ease, box-shadow 260ms var(--ease-soft);
}

.config-item:hover {
  transform: translateY(-1px);
  border-color: rgba(74, 74, 48, 0.26);
  box-shadow: 0 10px 26px rgba(52, 52, 33, 0.08);
}

.config-item-stacked {
  display: block;
}

.field-group {
  display: grid;
  gap: 10px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.check-option {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  border: 1px solid rgba(74, 74, 48, 0.18);
  border-radius: 4px;
  background: #fffaf0;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  transition: transform 200ms var(--ease-soft), background 200ms ease, border-color 200ms ease;
}

.check-option:hover,
.check-option:has(input:checked) {
  transform: translateY(-1px);
  border-color: rgba(74, 74, 48, 0.34);
  background: rgba(244, 239, 228, 0.72);
}

.check-option input {
  width: auto;
  margin: 0;
  accent-color: var(--olive-deep);
}

.save-strip {
  position: sticky;
  bottom: 16px;
  z-index: 15;
  margin: 34px auto 0;
  width: min(100% - 40px, var(--max));
  border: 1px solid rgba(74, 74, 48, 0.18);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transition: transform 260ms var(--ease-soft), border-color 260ms ease, box-shadow 260ms var(--ease-soft);
}

.save-strip.is-saving {
  border-color: rgba(155, 95, 64, 0.40);
  animation: soft-pulse 1.2s ease-in-out infinite;
}

.save-strip.is-saved {
  border-color: rgba(104, 112, 90, 0.38);
}

.save-strip.is-error {
  border-color: rgba(155, 95, 64, 0.46);
  box-shadow: 0 18px 50px rgba(155, 95, 64, 0.12);
}

.save-strip:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.save-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
}

.save-status {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.footer {
  padding: 38px 0 44px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

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

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

@media (max-width: 920px) {
  .hero-grid,
  .notes-grid,
  .copy-grid,
  .form-grid,
  .setup-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-media {
    max-width: 520px;
  }

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

  .meeting-card summary {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .meeting-status {
    justify-self: start;
  }

  .section-head,
  .footer-inner,
  .save-strip-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  body {
    overflow-x: hidden;
  }

  .nav-inner,
  .container {
    width: min(100% - 28px, var(--max));
  }

  .nav-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  h1 {
    max-width: 8.5ch;
    font-size: 3rem;
  }

  h2 {
    font-size: 2.1rem;
  }

  .lede {
    max-width: 27ch;
    font-size: 1.32rem;
  }

  .hero {
    padding-top: 46px;
  }

  .hero-media {
    width: min(100%, 360px);
    max-width: 100%;
    margin-left: 0;
    margin-right: auto;
  }

  .button {
    min-height: 42px;
    padding: 0 14px;
    letter-spacing: 0.1em;
  }

  .quick-stats {
    grid-template-columns: 1fr;
  }

  .requirement-card {
    padding: 22px;
  }

  .requirement-header {
    grid-template-columns: 1fr;
  }

  .number {
    font-size: 2.8rem;
  }

  .save-strip {
    width: min(100% - 24px, var(--max));
    bottom: 10px;
  }

  .config-item,
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  h1 {
    max-width: 8.5ch;
    font-size: 2.65rem;
    line-height: 1;
  }

  .lede {
    max-width: 27ch;
  }

}

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

  body.has-motion [data-animate] {
    opacity: 1;
    transform: none;
  }
}
