/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
@import url('https://fonts.bunny.net/css?family=instrument-serif:400,400i|inter:400,500,600,700&display=swap');
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-neutral-50: oklch(98.5% 0 0);
    --color-neutral-300: oklch(87% 0 0);
    --color-neutral-500: oklch(55.6% 0 0);
    --color-neutral-700: oklch(37.1% 0 0);
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities;
:root {
  --color-primary: #E8643C;
  --color-primary-hover: #CF4F28;
  --color-primary-light: #FCE6DD;
  --color-on-primary: #111111;
  --color-secondary: #111111;
  --color-secondary-hover: #2B2B2B;
  --color-on-secondary: #F7F4EC;
  --color-tertiary: #C6E94B;
  --color-tertiary-light: #EEF8C8;
  --color-on-tertiary: #1B2200;
  --color-accent-plum: #4A2C5A;
  --color-neutral-50: #FBF9F4;
  --color-neutral-100: #F7F4EC;
  --color-neutral-200: #EDE6D6;
  --color-neutral-300: #DDD4BF;
  --color-neutral-500: #8A8272;
  --color-neutral-700: #4F4A40;
  --color-neutral-900: #111111;
  --color-success: #2F8F5B;
  --color-success-light: #DCF2E5;
  --color-warning: #B7791F;
  --color-warning-light: #FBEBCB;
  --color-error: #C73A3A;
  --color-error-light: #FADCDC;
  --color-info: #2F6FA8;
  --color-info-light: #DCEAF7;
  --color-bg: #F7F4EC;
  --color-bg-alt: #EDE6D6;
  --color-surface: #FFFFFF;
  --color-text: #111111;
  --color-text-muted: #5E584B;
  --color-text-subtle: #6F695B;
  --color-text-inverse: #F7F4EC;
  --color-border: #DDD4BF;
  --color-border-strong: #111111;
  --color-focus: #E8643C;
  --bg-navbar: rgba(247,244,236,0.88);
  --text-navbar: #4F4A40;
  --text-navbar-active: #111111;
  --bg-navbar-cta: #111111;
  --text-navbar-cta: #F7F4EC;
  --bg-footer: #111111;
  --text-footer: #E9E3D3;
  --text-footer-muted: #A59F8F;
  --bg-subnav: #FFFFFF;
  --text-subnav: #4F4A40;
  --bg-subnav-active: #111111;
  --text-subnav-active: #F7F4EC;
  --bg-modal: #FFFFFF;
  --bg-modal-overlay: rgba(17,17,17,0.6);
  --bg-toast: #111111;
  --text-toast: #F7F4EC;
  --bg-card: #FFFFFF;
  --bg-card-dark: #111111;
  --text-card-dark: #F7F4EC;
  --font-heading: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --space-page-x: clamp(20px, 5vw, 80px);
  --space-page-x-mobile: 20px;
  --space-section: 96px;
  --space-section-mobile: 56px;
  --gap-sm: 8px;
  --gap-md: 16px;
  --gap-lg: 32px;
  --max-width-content: 1600px;
  --height-navbar: 72px;
  --height-subnav: 56px;
  --width-sidebar: 260px;
  --height-footer-min: 320px;
  --width-modal: 640px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(17,17,17,0.06);
  --shadow-md: 0 8px 24px rgba(17,17,17,0.10);
  --shadow-lg: 0 24px 56px rgba(17,17,17,0.18);
  --transition-fast: 120ms ease;
  --transition-normal: 240ms ease;
  --transition-slow: 480ms cubic-bezier(0.2,0.8,0.2,1);
  --chart-1: #E8643C;
  --chart-2: #111111;
  --chart-3: #C6E94B;
  --chart-4: #4A2C5A;
  --chart-5: #2F6FA8;
  --chart-6: #B7791F;
}
@layer base {
  html {
    scroll-behavior: smooth;
  }
  body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-text);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.02em;
  }
  h1 {
    font-size: clamp(3rem, 7vw, 6rem);
  }
  h2 {
    font-size: clamp(2.25rem, 4.5vw, 4rem);
  }
  h3 {
    font-size: 1.75rem;
  }
  h4 {
    font-size: 1.25rem;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  ::selection {
    background: var(--color-primary);
    color: var(--color-on-primary);
  }
  :focus-visible {
    outline: 2px solid var(--color-focus);
    outline-offset: 2px;
  }
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  ::-webkit-scrollbar-track {
    background: var(--color-bg);
  }
  ::-webkit-scrollbar-thumb {
    background: var(--color-neutral-300);
    border-radius: var(--radius-pill);
  }
  ::-webkit-scrollbar-thumb:hover {
    background: var(--color-neutral-500);
  }
  * {
    scrollbar-color: var(--color-neutral-300) var(--color-bg);
  }
}
@layer components {
  .eyebrow {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-subtle);
  }
  .heading-display {
    font-family: var(--font-heading);
    letter-spacing: -0.025em;
    line-height: 0.98;
  }
  .em-serif {
    font-family: var(--font-heading);
    font-style: italic;
    color: inherit;
  }
  .text-muted {
    color: var(--color-text-muted);
  }
  .stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    line-height: 1;
    color: var(--color-text);
  }
  .btn {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  }
  .btn:active {
    transform: scale(0.97);
  }
  .btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
  }
  .btn-primary {
    background: var(--color-secondary);
    color: var(--color-on-secondary);
  }
  .btn-primary:hover:not(:disabled) {
    background: var(--color-primary);
    color: var(--color-on-primary);
  }
  .btn-accent {
    background: var(--color-primary);
    color: var(--color-on-primary);
  }
  .btn-accent:hover:not(:disabled) {
    background: var(--color-primary-hover);
    color: var(--color-surface);
  }
  .btn-secondary {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-border);
  }
  .btn-secondary:hover:not(:disabled) {
    border-color: var(--color-border-strong);
    background: var(--color-surface);
  }
  .btn-light {
    background: var(--color-bg);
    color: var(--color-text);
  }
  .btn-light:hover:not(:disabled) {
    background: var(--color-tertiary);
  }
  .btn-ghost {
    background: transparent;
    color: var(--color-text);
  }
  .btn-ghost:hover:not(:disabled) {
    background: var(--color-bg-alt);
  }
  .btn-danger {
    background: var(--color-error);
    color: var(--color-surface);
  }
  .btn-danger:hover:not(:disabled) {
    background: #A82E2E;
  }
  .btn-icon {
    background: var(--color-bg);
    color: var(--color-text);
    border-radius: var(--radius-pill);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: background var(--transition-fast);
  }
  .btn-icon:hover {
    background: var(--color-tertiary);
  }
  .label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
  }
  .input, .textarea, .select {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  }
  .input::placeholder, .textarea::placeholder {
    color: var(--color-neutral-500);
  }
  .input:focus, .textarea:focus, .select:focus {
    outline: none;
    border-color: var(--color-text);
    box-shadow: 0 0 0 3px var(--color-primary-light);
  }
  .input:disabled, .textarea:disabled, .select:disabled {
    background: var(--color-bg-alt);
    color: var(--color-neutral-500);
  }
  .input-error {
    border-color: var(--color-error);
  }
  .select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23111111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
  }
  .checkbox {
    accent-color: var(--color-primary);
    cursor: pointer;
  }
  .switch {
    appearance: none;
    -webkit-appearance: none;
    background: var(--color-neutral-300);
    border-radius: var(--radius-pill);
    position: relative;
    cursor: pointer;
    transition: background var(--transition-fast);
  }
  .switch:checked {
    background: var(--color-primary);
  }
  .field-error {
    font-size: 13px;
    color: var(--color-error);
  }
  .field-hint {
    font-size: 13px;
    color: var(--color-text-subtle);
  }
  .card {
    background: var(--bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-normal), transform var(--transition-normal);
  }
  .card-hover:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
  }
  .card-dark {
    background: var(--bg-card-dark);
    color: var(--text-card-dark);
    border-radius: var(--radius-lg);
  }
  .card-dark h1, .card-dark h2, .card-dark h3, .card-dark h4 {
    color: var(--text-card-dark);
  }
  .card-tint {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
  }
  .media-frame {
    border-radius: var(--radius-lg);
    background: var(--color-bg-alt);
  }
  .badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
  }
  .badge-neutral {
    background: var(--color-bg-alt);
    color: var(--color-neutral-700);
  }
  .badge-dark {
    background: var(--color-secondary);
    color: var(--color-on-secondary);
  }
  .badge-primary {
    background: var(--color-primary-light);
    color: #8A2C0F;
  }
  .badge-accent {
    background: var(--color-tertiary);
    color: var(--color-on-tertiary);
  }
  .badge-outline {
    background: transparent;
    border-color: var(--color-border);
    color: var(--color-text);
  }
  .badge-success {
    background: var(--color-success-light);
    color: #1E6B40;
  }
  .badge-warning {
    background: var(--color-warning-light);
    color: #7A4F0D;
  }
  .badge-error {
    background: var(--color-error-light);
    color: #8F2424;
  }
  .badge-info {
    background: var(--color-info-light);
    color: #1D4E7A;
  }
  .chip {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: all var(--transition-fast);
  }
  .chip:hover {
    border-color: var(--color-border-strong);
    color: var(--color-text);
  }
  .chip-active, .chip[aria-pressed='true'] {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-on-secondary);
  }
  .tabs {
    border-bottom: 1px solid var(--color-border);
  }
  .tab {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-subtle);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color var(--transition-fast), border-color var(--transition-fast);
  }
  .tab:hover {
    color: var(--color-text);
  }
  .tab-active, .tab[aria-selected='true'] {
    color: var(--color-text);
    border-bottom-color: var(--color-primary);
  }
  .table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-surface);
    border-radius: var(--radius-md);
  }
  .table th {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-subtle);
    text-align: left;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
  }
  .table td {
    font-size: 14px;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
  }
  .table tbody tr:hover {
    background: var(--color-neutral-50);
  }
  .divider {
    border: none;
    border-top: 1px solid var(--color-border);
  }
  .avatar {
    border-radius: var(--radius-pill);
    object-fit: cover;
    background: var(--color-primary-light);
    color: var(--color-text);
    border: 2px solid var(--color-surface);
    font-weight: 600;
  }
  .progress {
    background: var(--color-bg-alt);
    border-radius: var(--radius-pill);
    overflow: hidden;
  }
  .progress-bar {
    background: var(--color-primary);
    border-radius: var(--radius-pill);
    transition: width var(--transition-slow);
  }
  .link {
    color: var(--color-text);
    text-decoration: underline;
    text-decoration-color: var(--color-primary);
    text-underline-offset: 4px;
    transition: color var(--transition-fast);
  }
  .link:hover {
    color: var(--color-primary-hover);
  }
  .alert {
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    font-size: 14px;
  }
  .alert-success {
    background: var(--color-success-light);
    border-color: var(--color-success);
    color: #1E6B40;
  }
  .alert-warning {
    background: var(--color-warning-light);
    border-color: var(--color-warning);
    color: #7A4F0D;
  }
  .alert-error {
    background: var(--color-error-light);
    border-color: var(--color-error);
    color: #8F2424;
  }
  .alert-info {
    background: var(--color-info-light);
    border-color: var(--color-info);
    color: #1D4E7A;
  }
  .skeleton {
    background: linear-gradient(90deg, var(--color-bg-alt) 25%, var(--color-neutral-50) 50%, var(--color-bg-alt) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s infinite linear;
    border-radius: var(--radius-sm);
  }
  .modal-surface {
    background: var(--bg-modal);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }
  .modal-overlay {
    background: var(--bg-modal-overlay);
    backdrop-filter: blur(6px);
  }
  .toast-surface {
    background: var(--bg-toast);
    color: var(--text-toast);
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-lg);
  }
  .marquee-track {
    animation: marquee-scroll 30s linear infinite;
  }
  .marquee-track:hover {
    animation-play-state: paused;
  }
  .pulse-dot {
    background: var(--color-primary);
    border-radius: var(--radius-pill);
    animation: pulse-ring 1.6s infinite;
  }
  .gradient-scrim {
    background: linear-gradient(to top, rgba(17,17,17,0.82), rgba(17,17,17,0));
  }
  @keyframes skeleton-shimmer {
    0% {
      background-position: 200% 0;
    }
    100% {
      background-position: -200% 0;
    }
  }
  @keyframes marquee-scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  @keyframes pulse-ring {
    0% {
      box-shadow: 0 0 0 0 rgba(232,100,60,0.5);
    }
    70% {
      box-shadow: 0 0 0 10px rgba(232,100,60,0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(232,100,60,0);
    }
  }
}
