:root {
  --color-bg-base: #f9f8f0;
  --color-bg-green: #8fa68e;
  --color-highlight: #f5c13d;
  --color-text-base: #6f8273;
  --color-text-green: #f9f8f0;
  --color-text-logo: #545454;
  --color-separator: #e7efe6;
  --color-border-subtle: rgba(0,0,0,0.08);
  --page-gutter: 5%;
  --layout-max-width: 1200px;
  --grid-gap: 3rem 4rem;
  --button-stroke: 2px;
  --radius-lg: 2.5rem;
  --radius-md: 1rem;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorant-garamond-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/fonts/cormorant-garamond-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lora';
  src: url('/fonts/lora-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html {
  scrollbar-gutter: stable;
  box-sizing: border-box;
}

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

body {
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: .5px;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  overflow-x: hidden;
}

p {
  margin: 0 0 1em;
  line-height: 1.6;
}

h1, h2, h3 {
  font-weight: 400;
}

h1,
h2 {
  line-height: 1.2;
  margin: 0 0 1rem;
}

h1:not(.section-heading):not(.intro-title) {
  font-size: 1.5em;
}

h2 {
  color: var(--color-highlight);
}

.section-heading {
  font-size: clamp(2rem, 3.6vw, 2.4rem);
  line-height: 1.15;
}

.band--green .section-heading {
  color: var(--color-highlight);
}

.section-subtitle {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  color: inherit;
  opacity: 0.6;
}

.band--green .section-subtitle {
  color: var(--color-highlight);
  opacity: 1;
}

/* ── Animated underline ── */
.animated-underline {
  position: relative;
  display: inline-block;
  font-style: italic;
}

.animated-underline::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-highlight);
  transform-origin: left;
  pointer-events: none;
  animation: underline-draw 0.6s ease 0.4s both;
}

@keyframes underline-draw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.btn {
  display: inline-block;
  text-transform: uppercase;
  color: inherit;
  background: transparent;
  border: var(--button-stroke) solid var(--color-highlight);
  border-radius: 999px;
  padding: 0.85rem 1.8rem;
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0.05em;
  font-family: 'Lora', serif;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  background: var(--color-highlight);
  color: var(--color-bg-green);
}

.btn-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn-row--reverse {
  flex-direction: row-reverse;
}

.btn-line {
  display: inline-block;
  width: 40px;
  height: var(--button-stroke);
  background: var(--color-highlight);
  flex-shrink: 0;
}
