@import url("https://fonts.googleapis.com/css2?family=Khiara+Script&display=swap");

:root {
  --bg: #58641D;
  --bg-strong: #58641D;
  --surface: #58641D;
  --surface-strong: #58641D;
  --panel: rgba(255, 255, 255, 0.06);
  --ink: #ffffff;
  --ink-soft: #f0f1d8;
  --muted: #dfe5b7;
  --line: rgba(255, 111, 111, 0.22);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --accent: #b3132b;
  --accent-soft: rgba(179, 19, 43, 0.2);
  --highlight: #fff0b3;
  --success: #8bc5a0;
  --warning: #e63946;
  --header-height: 92px;
  --container: min(1200px, calc(100% - 2.4rem));
  --radius: 28px;
  --radius-sm: 16px;
  --serif: "Khiara Script", "Segoe Print", "Bradley Hand", cursive;
  --display-font: "Khiara Script", "Segoe Print", "Bradley Hand", cursive;
  --sans: "Khiara Script", "Segoe Print", "Bradley Hand", cursive;
  --transition: 220ms ease;
}

[data-theme="light"] {
  --bg: #58641D;
  --bg-strong: #58641D;
  --surface: #58641D;
  --surface-strong: #58641D;
  --panel: rgba(255, 255, 255, 0.72);
  --ink: #ffffff;
  --ink-soft: #f0f1d8;
  --muted: #dfe5b7;
  --line: rgba(111, 24, 36, 0.18);
  --shadow: 0 24px 60px rgba(77, 23, 29, 0.14);
  --accent: #a91029;
  --accent-soft: rgba(169, 16, 41, 0.1);
  --highlight: #fff0b3;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: -18% -10% auto auto;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 90, 79, 0.16), rgba(255, 90, 79, 0));
  pointer-events: none;
  filter: blur(30px);
  z-index: 0;
  animation: floatGlow 18s ease-in-out infinite alternate;
}

main,
footer,
header {
  position: relative;
  z-index: 1;
}

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

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

button,
input,
select,
textarea {
  font-family: var(--sans);
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  position: relative;
  z-index: 1;
  padding: clamp(4.5rem, 8vw, 8rem) 0;
  overflow: hidden;
}

.section::before {
  content: "";
  position: absolute;
  inset: 1rem 5% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 90, 79, 0.7), transparent);
  opacity: 0.8;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
}

.section-head h2 {
  margin: 0;
}

.eyebrow {
  display: inline-block;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--accent);
  margin-bottom: 0.8rem;
  transition: color var(--transition), text-shadow var(--transition), transform var(--transition);
}

.eyebrow:hover {
  color: var(--highlight);
  text-shadow: 0 0 16px rgba(255, 90, 79, 0.35);
}

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