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

:root {
  --primary: #c47868;
  --bronze: #8f5248;

  --violet: #8b5fbf;
  --magenta: #b8567f;
  --rose: #d4626a;
  --coral: #e08a5c;
  --amber: #f0b05e;
  --il-amber: #e2a04f;

  --bg: #f6f2eb;
  --text: #1a1814;
  --text-secondary: #736c64;
  --text-tertiary: rgba(26, 24, 20, 0.42);
  --border: rgba(26, 24, 20, 0.10);
  --border-glass: rgba(255, 255, 255, 0.62);
  --card-bg: rgba(255, 255, 255, 0.58);
  --glass-blur: 36px;
  --shadow-card:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 10px 30px -18px rgba(40, 30, 12, 0.28),
    0 0 0 0.5px rgba(26, 24, 20, 0.06);
  --shadow-cta:
    0 14px 36px rgba(143, 82, 72, 0.26),
    0 1px 0 rgba(255, 252, 245, 0.35) inset;
  --radius-card: 22px;
  --radius-pill: 999px;
  --brand-space: 56px;
  --shell: min(1080px, calc(100vw - 40px));
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "New York", "Iowan Old Style", "Apple Garamond", "Source Serif 4", Georgia, "Times New Roman", serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
  background: var(--bg);
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  will-change: transform;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='1' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.08897 0.00354'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
    url('images/paper-fibres.svg'),
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(255, 255, 255, 0.62), transparent 58%),
    linear-gradient(165deg, #fbf8f2 0%, #f5efe6 45%, #efe7dc 100%);
  background-size: 220px 220px, 400px 400px, auto, auto;
}

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

::selection { background: rgba(196, 120, 104, 0.22); }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.site-brand {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  padding: clamp(22px, 3.2vw, 32px) 0 0 clamp(20px, 4vw, 40px);
  transition: opacity .2s ease;
}

.site-brand:hover { opacity: 0.72; }

.site-brand img {
  display: block;
  height: 30px;
  width: auto;
}

.panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 252, 246, 0.48)),
    var(--card-bg);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.65) brightness(1.04);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.65) brightness(1.04);
  border: 0.5px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-card);
  position: relative;
  overflow: hidden;
}

.panel::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent);
  pointer-events: none;
}

.panel > * { position: relative; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border-radius: var(--radius-pill);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .2s ease;
}

.btn-primary {
  color: #fffaf6;
  background: linear-gradient(145deg, #d4a090 0%, #c47868 48%, #8f5248 100%);
  box-shadow: var(--shadow-cta);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(143, 82, 72, 0.30), 0 1px 0 rgba(255, 252, 245, 0.35) inset;
}

.btn-ghost {
  color: var(--text);
  border: 0.5px solid rgba(26, 24, 20, 0.18);
  background: rgba(255, 255, 255, 0.42);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.72);
  transform: translateY(-2px);
}

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

footer {
  border-top: 0.5px solid var(--border);
  padding: 26px 0 32px;
  margin-top: 24px;
}

.footer-inner {
  width: var(--shell);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12.5px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 12.5px;
  color: var(--text-tertiary);
  font-weight: 500;
  transition: color .2s ease;
}

.footer-links a:hover { color: #3c3732; }

@media (max-width: 599px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@keyframes floatA { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-14px) } }
@keyframes floatB { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-9px) } }
@keyframes floatC { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-20px) } }
@keyframes driftUp {
  0% { transform: translateY(14px); opacity: 0 }
  22% { opacity: 1 }
  70% { opacity: 0.15 }
  100% { transform: translateY(-40px); opacity: 0 }
}
@keyframes wave { 0%, 100% { transform: rotate(0deg) } 30% { transform: rotate(-16deg) } 60% { transform: rotate(6deg) } }
@keyframes spinSlow { to { transform: rotate(360deg) } }
@keyframes spinBack { to { transform: rotate(-360deg) } }
@keyframes pulseDot { 0%, 100% { transform: scale(1); opacity: 0.9 } 50% { transform: scale(1.35); opacity: 0.5 } }
@keyframes blinkLid { 0%, 88%, 100% { transform: scaleY(1) } 94% { transform: scaleY(0.1) } }
@keyframes sway { 0%, 100% { transform: rotate(-3deg) } 50% { transform: rotate(3deg) } }

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