@import url('https://fonts.googleapis.com/css2?family=Abel&family=Inter:wght@400;500;600;700&family=Fraunces:ital,opsz,wght@1,9..144,400;1,9..144,500&display=swap');
@font-face {
  font-family: "Delight";
  src: url("assets/fonts/delight-vf.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {

  --sky-50: #EEF4FB; --sky-100: #D8E6F5; --sky-200: #B4CDEA; --sky-300: #86ABD9;
  --sky-400: #5586C4; --sky-500: #336AAE; --sky-600: #275491; --sky-700: #204275;
  --sky-800: #1D3860; --sky-900: #1B2F4F; --sky-950: #111E34;

  --champagne-50: #FBF7EF; --champagne-100: #F5ECD8; --champagne-200: #EAD7AE;
  --champagne-300: #DDBE7E; --champagne-400: #D0A455; --champagne-500: #C08A39;
  --champagne-600: #A66F2E; --champagne-700: #855628; --champagne-800: #6E4726;
  --champagne-900: #5C3C24; --champagne-950: #341F11;

  --stone-0: #FFFFFF; --stone-50: #FAF9F7; --stone-100: #F3F1ED; --stone-200: #E7E3DC;
  --stone-300: #D3CDC2; --stone-400: #B0A899; --stone-500: #8C8474; --stone-600: #6E675A;
  --stone-700: #565045; --stone-800: #3A362F; --stone-900: #201E1A; --stone-950: #141310;

  --success-50: #ECF6F0; --success-100: #D2EBDC; --success-200: #A6D7BA;
  --success-300: #71BE93; --success-400: #45A06E; --success-500: #2E8256;
  --success-600: #246845; --success-700: #1F5238; --success-800: #1B422E; --success-900: #163626;

  --warning-50: #FDF6EA; --warning-100: #FAE9C7; --warning-200: #F4D089;
  --warning-300: #ECB44C; --warning-400: #E29A24; --warning-500: #C67F16;
  --warning-600: #A26514; --warning-700: #7F4F15; --warning-800: #684115; --warning-900: #573717;

  --error-50: #FCEFEF; --error-100: #F9D9D9; --error-200: #F1B4B4;
  --error-300: #E68585; --error-400: #D85757; --error-500: #C13B3B;
  --error-600: #A22C2C; --error-700: #832626; --error-800: #6D2424; --error-900: #5C2222;
}

:root, [data-theme="light"] {
  --color-bg-canvas: #FAF9F7;
  --color-bg-surface: #FFFFFF;
  --color-bg-subtle: #F3F1ED;
  --color-bg-muted: #E7E3DC;
  --color-text-primary: #201E1A;
  --color-text-secondary: #565045;
  --color-text-muted: #8C8474;
  --color-text-inverted: #FFFFFF;
  --color-border-subtle: #E7E3DC;
  --color-border-default: #D3CDC2;
  --color-border-strong: #B0A899;
  --color-primary: #275491;
  --color-primary-hover: #204275;
  --color-primary-active: #1D3860;
  --color-on-primary: #FFFFFF;
  --color-secondary: #A66F2E;
  --color-on-secondary: #FFFFFF;
  --color-success: #246845;
  --color-warning: #A26514;
  --color-error: #A22C2C;
  --color-on-status: #FFFFFF;
  --color-ring: #336AAE;
  --color-overlay: rgba(20,19,16,0.48);
}

[data-theme="dark"], .dark {
  --color-bg-canvas: #141310;
  --color-bg-surface: #201E1A;
  --color-bg-subtle: #2A2823;
  --color-bg-muted: #3A362F;
  --color-text-primary: #F3F1ED;
  --color-text-secondary: #D3CDC2;
  --color-text-muted: #B0A899;
  --color-text-inverted: #141310;
  --color-border-subtle: #2F2C27;
  --color-border-default: #3A362F;
  --color-border-strong: #565045;
  --color-primary: #5586C4;
  --color-primary-hover: #86ABD9;
  --color-primary-active: #B4CDEA;
  --color-on-primary: #111E34;
  --color-secondary: #DDBE7E;
  --color-on-secondary: #341F11;
  --color-success: #71BE93;
  --color-warning: #ECB44C;
  --color-error: #E68585;
  --color-on-status: #141310;
  --color-ring: #86ABD9;
  --color-overlay: rgba(0,0,0,0.64);
}

:root {

  --font-sans: "Delight", "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-display: "Abel", "Delight", "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-serif: "Fraunces", "PP Editorial New", Georgia, "Times New Roman", serif;

  --fw-regular: 400; 
  --fw-medium: 500; 
  --fw-semibold: 600; 
  --fw-bold: 700; 

  --text-display-size: clamp(2.5rem, 6vw, 4.5rem); --text-display-lh: 1.02; --text-display-ls: -0.03em;
  --text-h1-size: clamp(2rem, 4vw, 3rem);          --text-h1-lh: 1.08;     --text-h1-ls: -0.02em;
  --text-h2-size: 2.25rem;                          --text-h2-lh: 1.12;     --text-h2-ls: -0.02em;
  --text-h3-size: 1.75rem;                          --text-h3-lh: 1.2;      --text-h3-ls: -0.015em;
  --text-h4-size: 1.375rem;                         --text-h4-lh: 1.3;      --text-h4-ls: -0.01em;
  --text-lg-size: 1.125rem;                         --text-lg-lh: 1.5;      --text-lg-ls: 0;
  --text-base-size: 1rem;                           --text-base-lh: 1.6;    --text-base-ls: 0;
  --text-sm-size: 0.875rem;                         --text-sm-lh: 1.5;      --text-sm-ls: 0;
  --text-xs-size: 0.75rem;                          --text-xs-lh: 1.4;      --text-xs-ls: 0.01em;
  --text-overline-size: 0.75rem;                    --text-overline-lh: 1.3; --text-overline-ls: 0.14em;

  --text-display: var(--text-display-size);
  --text-h1: var(--text-h1-size);
  --text-h2: var(--text-h2-size);
  --text-h3: var(--text-h3-size);
  --text-h4: var(--text-h4-size);
  --text-lg: var(--text-lg-size);
  --text-base: var(--text-base-size);
  --text-sm: var(--text-sm-size);
  --text-xs: var(--text-xs-size);
}

.ds-display { font-family: var(--font-display); font-weight: var(--fw-regular);
  font-size: var(--text-display-size); line-height: var(--text-display-lh); letter-spacing: var(--text-display-ls); }
.ds-h1 { font-family: var(--font-sans); font-weight: var(--fw-bold);
  font-size: var(--text-h1-size); line-height: var(--text-h1-lh); letter-spacing: var(--text-h1-ls); }
.ds-h2 { font-family: var(--font-sans); font-weight: var(--fw-semibold);
  font-size: var(--text-h2-size); line-height: var(--text-h2-lh); letter-spacing: var(--text-h2-ls); }
.ds-h3 { font-family: var(--font-sans); font-weight: var(--fw-semibold);
  font-size: var(--text-h3-size); line-height: var(--text-h3-lh); letter-spacing: var(--text-h3-ls); }
.ds-h4 { font-family: var(--font-sans); font-weight: var(--fw-semibold);
  font-size: var(--text-h4-size); line-height: var(--text-h4-lh); letter-spacing: var(--text-h4-ls); }

.ds-accent { font-family: inherit; font-style: normal; font-weight: inherit; letter-spacing: inherit; }
.ds-overline { font-family: var(--font-sans); font-weight: var(--fw-medium); text-transform: uppercase;
  font-size: var(--text-overline-size); line-height: var(--text-overline-lh); letter-spacing: var(--text-overline-ls); }

:root {

  --space-0: 0; --space-px: 1px; --space-0-5: 0.125rem;
  --space-1: 0.25rem;  --space-2: 0.5rem;   --space-3: 0.75rem;
  --space-4: 1rem;     --space-5: 1.25rem;  --space-6: 1.5rem;
  --space-8: 2rem;     --space-10: 2.5rem;  --space-12: 3rem;
  --space-16: 4rem;    --space-20: 5rem;    --space-24: 6rem;
  --space-32: 8rem;    --space-40: 10rem;

  --radius-none: 0;     --radius-sm: 2px;   --radius-md: 6px;
  --radius-lg: 10px;    --radius-xl: 16px;  --radius-2xl: 24px;
  --radius-full: 9999px;

  --z-hide: -1; 
  --z-base: 0; 
  --z-raised: 10; 
  --z-dropdown: 1000; 
  --z-sticky: 1100; 
  --z-overlay: 1200; 
  --z-modal: 1300; 
  --z-popover: 1400; 
  --z-toast: 1500; 
  --z-tooltip: 1600; 

  --container-prose: 680px;
  --container-sm: 768px;
  --container-md: 1024px;
  --container-lg: 1280px;
  --container-xl: 1440px;
}

.container {
  width: 100%; margin-inline: auto;
  padding-inline: var(--space-4);
  max-width: var(--container-lg);
}
@media (min-width: 768px)  { .container { padding-inline: var(--space-6); } }
@media (min-width: 1280px) { .container { padding-inline: var(--space-8); } }

:root {

  --shadow-xs: 0 1px 2px rgba(20,19,16,0.06);
  --shadow-sm: 0 2px 4px rgba(20,19,16,0.06);
  --shadow-md: 0 6px 16px rgba(20,19,16,0.08);
  --shadow-lg: 0 16px 40px rgba(20,19,16,0.12);
  --shadow-focus: 0 0 0 3px var(--color-ring);

  --duration-instant: 75ms; 
  --duration-fast: 150ms; 
  --duration-base: 250ms; 
  --duration-slow: 400ms; 
  --ease-standard: cubic-bezier(0.2, 0, 0, 1); 
  --ease-emphasized: cubic-bezier(0.3, 0, 0, 1); 
  --ease-exit: cubic-bezier(0.4, 0, 1, 1); 
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-sans); font-size: var(--text-base-size);
  line-height: var(--text-base-lh); color: var(--color-text-primary);
  background: var(--color-bg-canvas);
}
img, picture, svg, video { display: block; max-width: 100%; }
:target { scroll-margin-top: var(--space-20); }

a { color: var(--color-primary); text-decoration-color: color-mix(in srgb, var(--color-primary) 40%, transparent); }
a:hover { color: var(--color-primary-hover); text-decoration-color: currentColor; }

:where(a, button, input, select, textarea, [tabindex], [role="button"], summary):focus-visible {
  outline: 2px solid var(--color-ring);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
:focus:not(:focus-visible) { outline: none; }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}
.container-md { max-width: 880px; }
.container-sm { max-width: 640px; }

@media (min-width: 768px) {
  .container { padding: 0 var(--space-8); }
}

body {
  background: #14100A;
}

.scene-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
}
.sky {
  position: absolute;
  inset: 0;
}
.sky-high {
  background: linear-gradient(to bottom, #14100A 0%, #211A10 55%, #332817 100%);
}
.sky-low {
  background: linear-gradient(to bottom, #2E2415 0%, #57422A 55%, #8A6B44 100%);
  opacity: 0;
}
#scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.site-nav,
.hero,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: var(--text-sm-size);
  border-radius: 6px;
  border: 1px solid transparent;
  padding: 10px 18px;
  min-height: 44px;
  cursor: pointer;
  background: none;
  color: #F2E8D8;
  text-decoration: none;
  transition: background 150ms cubic-bezier(0.2, 0, 0, 1),
    color 150ms cubic-bezier(0.2, 0, 0, 1),
    border-color 150ms cubic-bezier(0.2, 0, 0, 1);
}
.btn:active { transform: translateY(0.5px); }
.btn-sm { padding: 6px 14px; min-height: 36px; }
.btn-lg { padding: 12px 24px; min-height: 48px; font-size: var(--text-base-size); }
.btn-primary {
  background: var(--champagne-500, #C8A664);
  color: #1C160D;
}
.btn-primary:hover { background: var(--champagne-400, #D6BA80); color: #1C160D; }

a { color: var(--champagne-300, #E2CD9E); }
a:hover { color: var(--champagne-200, #EDDFC0); }

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  color: #F2E8D8;
  transition: background 200ms cubic-bezier(0.2, 0, 0, 1), border-color 200ms cubic-bezier(0.2, 0, 0, 1);
  border-bottom: 1px solid transparent;
}
.site-nav.is-solid {
  background: rgba(20, 16, 10, 0.72);
  backdrop-filter: blur(6px);
  border-bottom-color: rgba(226, 205, 158, 0.14);
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: var(--space-4) var(--space-5);
}
@media (min-width: 768px) {
  .nav-inner { padding: var(--space-5) var(--space-8); }
}
.nav-links {
  display: none;
  gap: var(--space-8);
  justify-self: start;
}
@media (min-width: 768px) {
  .nav-links { display: flex; }
}
.nav-links a {
  color: inherit;
  text-decoration: none;
  font-size: var(--text-sm-size);
  font-weight: var(--fw-medium);
}
.nav-links a:hover { color: var(--champagne-300, #E2CD9E); }
.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  justify-self: center;
  color: inherit;
  text-decoration: none;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  font-size: 15px;
}
.nav-brand:hover { color: inherit; }
.nav-cta { justify-self: end; }
.btn-nav {
  border-color: rgba(242, 232, 216, 0.4);
  color: inherit;
}
.btn-nav:hover { background: rgba(242, 232, 216, 0.12); color: #fff; }

.hero {
  min-height: 165vh;
  display: block;
  position: relative;
}
.hero-copy {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--space-5);
}
.hero-mark {
  width: 72px;
  height: 72px;
  margin-bottom: var(--space-6);
}
@media (min-width: 768px) {
  .hero-mark { width: 96px; height: 96px; }
}
.hero-copy h1 {
  color: #F7F1E5;
  text-wrap: balance;
  text-shadow: 0 2px 40px rgba(10, 8, 4, 0.5);
}
.hero-copy p {
  margin-top: var(--space-5);
  font-size: var(--text-lg-size);
  color: rgba(240, 226, 199, 0.85);
  letter-spacing: 0.04em;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(240, 226, 199, 0.8);
  font-size: var(--text-xs-size);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: var(--fw-medium);
}

.page-section {
  padding: var(--space-24, 96px) 0;
}
@media (min-width: 768px) {
  .page-section { padding: var(--space-32, 128px) 0; }
}
.page-header {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-10);
}
.page-mark {
  width: 56px;
  height: 56px;
}
.page-section h2 { color: #F7F1E5; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
}
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 380px minmax(0, 1fr);
    gap: var(--space-16, 64px);
  }
  .about-media {
    position: sticky;
    top: 110px;
    margin-top: var(--space-2);
  }
}
@media (min-width: 1100px) {
  .about-grid { grid-template-columns: 440px minmax(0, 1fr); }
}
.about-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-3);
  min-width: 0;
}
.about-grid .prose { min-width: 0; }
.about-media image-slot,
.about-photo {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
@media (min-width: 900px) {
  .about-media image-slot,
  .about-photo { height: 460px; }
}
.about-media figcaption {
  font-size: var(--text-xs-size);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(236, 224, 202, 0.5);
}
.page-lead {
  color: rgba(240, 226, 199, 0.75);
  font-size: var(--text-lg-size);
  max-width: var(--container-prose, 680px);
  text-wrap: pretty;
}
.prose {
  max-width: var(--container-prose, 680px);
  display: grid;
  gap: var(--space-5);
}
.prose p {
  color: rgba(236, 224, 202, 0.78);
  text-wrap: pretty;
}

.contact-form {
  display: grid;
  gap: var(--space-5);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
.field {
  display: grid;
  gap: var(--space-2);
}
.field label {
  font-size: var(--text-sm-size);
  font-weight: var(--fw-medium);
  color: rgba(240, 226, 199, 0.9);
}
.field input,
.field textarea {
  font-family: var(--font-sans);
  font-size: var(--text-base-size);
  color: #F7F1E5;
  background: rgba(247, 241, 229, 0.06);
  border: 1px solid rgba(226, 205, 158, 0.28);
  border-radius: 6px;
  padding: 10px 12px;
}
.field input { min-height: 44px; }
.field textarea { resize: vertical; }
.field input:hover,
.field textarea:hover { border-color: rgba(226, 205, 158, 0.5); }
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--champagne-400, #D6BA80);
  outline-offset: 1px;
}
.form-note {
  font-size: var(--text-sm-size);
  color: rgba(236, 224, 202, 0.55);
}
.form-error {
  font-size: var(--text-sm-size);
  color: var(--crimson-300, #E89B8F);
}
.contact-sent p { color: rgba(236, 224, 202, 0.85); }

.site-footer {
  border-top: 1px solid rgba(226, 205, 158, 0.14);
  padding: var(--space-12) 0;
}
.footer-links a {
  font-size: var(--text-xs-size);
  color: rgba(236, 224, 202, 0.6);
}
.footer-links a:hover { color: var(--champagne-300, #E2CD9E); }
.static-page {
  background: #14100A;
}
.static-page .page-header h1 { color: #F7F1E5; }
.page-main {
  position: relative;
  z-index: 1;
  padding: calc(64px + var(--space-16, 64px)) 0 var(--space-24, 96px);
}
.prose-legal { max-width: var(--container-prose, 680px); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: #F2E8D8;
  text-decoration: none;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  font-size: 15px;
}
.footer-logo:hover { color: #F2E8D8; }
.footer-brand {
  color: #F2E8D8;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  font-size: 14px;
}
.footer-note {
  font-size: var(--text-xs-size);
  color: rgba(236, 224, 202, 0.5);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms cubic-bezier(0.2, 0, 0, 1), transform 600ms cubic-bezier(0.2, 0, 0, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

.scene-preview {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(20, 16, 10, 0.82);
  border: 1px solid rgba(226, 205, 158, 0.22);
  border-radius: 8px;
  backdrop-filter: blur(6px);
}
.scene-preview span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(236, 224, 202, 0.55);
  margin-right: 4px;
}
.scene-preview button {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(240, 226, 199, 0.8);
  background: none;
  border: 1px solid rgba(226, 205, 158, 0.25);
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
}
.scene-preview button:hover { background: rgba(242, 232, 216, 0.1); }
.scene-preview button.is-active {
  background: var(--champagne-500, #C8A664);
  border-color: transparent;
  color: #1C160D;
}

.notfound {
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.notfound .container { display: grid; gap: var(--space-5); justify-items: start; }
.notfound-code {
  font-family: var(--font-display, inherit);
  font-size: var(--text-h3-size);
  letter-spacing: 0.2em;
  color: var(--champagne-400, #D6BA80);
}
.notfound h1 { color: #F7F1E5; }

.cookie-bar {
  position: fixed;
  z-index: 300;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: rgba(20, 16, 10, 0.92);
  border: 1px solid rgba(226, 205, 158, 0.22);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 350ms cubic-bezier(0.2, 0, 0, 1), transform 350ms cubic-bezier(0.2, 0, 0, 1);
}
@media (min-width: 640px) {
  .cookie-bar {
    left: auto;
    right: 24px;
    bottom: 24px;
    max-width: 420px;
  }
}
.cookie-bar.is-visible { opacity: 1; transform: none; }
.cookie-bar.is-leaving { opacity: 0; transform: translateY(12px); }
.cookie-bar p {
  font-size: var(--text-sm-size);
  color: rgba(236, 224, 202, 0.85);
  flex: 1 1 220px;
}
.cookie-actions {
  display: flex;
  gap: var(--space-2);
}
.cookie-decline {
  border-color: rgba(226, 205, 158, 0.3);
  color: rgba(240, 226, 199, 0.85);
}
.cookie-decline:hover { background: rgba(242, 232, 216, 0.1); }

html {
  scroll-behavior: smooth;
}
