@charset "UTF-8";

:root {
  --color-bg: #f8f4ec;
  --color-bg-soft: #f3ebdf;
  --color-bg-contrast: #0c2433;
  --color-sand: #e2c9a3;
  --color-terracotta-light: #e89a6f;
  --color-terracotta: #c7623b;
  --color-burnt-orange: #b5441c;
  --color-navy: #102433;
  --color-brass: #b18a4b;
  --color-text: #2a2927;
  --color-text-soft: #554f47;
  --color-border-soft: rgba(12, 36, 51, 0.08);
  --color-border-strong: rgba(12, 36, 51, 0.25);
  --color-primary: #c7623b;
  --color-primary-soft: rgba(199, 98, 59, 0.12);
  --color-primary-strong: #9c3e1f;
  --color-success: #2d7a4b;
  --color-warning: #c97b1e;
  --color-danger: #b1393a;
  --gray-50: #faf6ee;
  --gray-100: #f0e6d8;
  --gray-200: #e0d4c2;
  --gray-300: #cec1ad;
  --gray-400: #ac9e88;
  --gray-500: #8b7e6a;
  --gray-600: #6b6152;
  --gray-700: #544a3d;
  --gray-800: #3b342b;
  --gray-900: #26211b;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Fraunces", "Cormorant Garamond", "Playfair Display", "Times New Roman", serif;
  --font-display: "Fraunces", "Cormorant Garamond", "Playfair Display", serif;
  --font-hand: "Caveat", "Patrick Hand", "Bradley Hand", system-ui, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-md: 1.0625rem;
  --font-size-lg: 1.25rem;
  --font-size-xl: 1.5rem;
  --font-size-2xl: 1.875rem;
  --font-size-3xl: 2.25rem;
  --font-size-4xl: 2.75rem;
  --font-size-5xl: 3.25rem;
  --line-height-tight: 1.1;
  --line-height-snug: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;
  --space-0: 0;
  --space-1: 2px;
  --space-2: 4px;
  --space-3: 6px;
  --space-4: 8px;
  --space-5: 10px;
  --space-6: 12px;
  --space-7: 14px;
  --space-8: 16px;
  --space-10: 20px;
  --space-12: 24px;
  --space-16: 32px;
  --space-20: 40px;
  --space-24: 48px;
  --space-28: 56px;
  --space-32: 64px;
  --space-40: 80px;
  --space-48: 96px;
  --radius-none: 0;
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 22px;
  --radius-arch: 999px;
  --shadow-soft: 0 10px 30px rgba(12, 36, 51, 0.12);
  --shadow-soft-high: 0 18px 60px rgba(12, 36, 51, 0.2);
  --shadow-subtle: 0 1px 3px rgba(12, 36, 51, 0.15);
  --shadow-inner-tile: inset 0 0 0 1px rgba(12, 36, 51, 0.08);
  --transition-fast: 120ms ease-out;
  --transition-normal: 200ms ease-out;
  --transition-slow: 320ms ease-out;
  --container-max: 1200px;
}

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

html, body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  border: none;
  background: none;
  padding: 0;
}

p, h1, h2, h3, h4, h5, h6, figure {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

blockquote {
  margin: 0;
}

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

a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-navy);
}

h1 {
  font-size: clamp(2.5rem, 4vw, 3.25rem);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-12);
}

h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-10);
}

h3 {
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-8);
}

h4 {
  font-size: 1.3rem;
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-6);
}

h5 {
  font-size: 1.1rem;
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-4);
}

h6 {
  font-size: 0.95rem;
  line-height: var(--line-height-normal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}

p {
  margin-bottom: var(--space-6);
  color: var(--color-text-soft);
}

p.lead {
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
}

pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.section {
  padding-block: var(--space-24);
}

.section--large {
  padding-block: var(--space-32);
}

.section--navy {
  background-color: var(--color-bg-contrast);
  color: #f7f3ea;
}

.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4,
.section--navy h5,
.section--navy h6 {
  color: #f7f3ea;
}

.section--terracotta {
  background: radial-gradient(circle at top left, var(--color-terracotta-light), var(--color-terracotta));
  color: #fff9f3;
}

.section--terracotta h1,
.section--terracotta h2,
.section--terracotta h3,
.section--terracotta h4,
.section--terracotta h5,
.section--terracotta h6 {
  color: #fff9f3;
}

.section--sand {
  background-color: var(--color-sand);
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-xs {
  gap: var(--space-4);
}

.gap-sm {
  gap: var(--space-6);
}

.gap-md {
  gap: var(--space-10);
}

.gap-lg {
  gap: var(--space-16);
}

.gap-xl {
  gap: var(--space-24);
}

grid,
.grid {
  display: grid;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-16);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-16);
}

.grid-auto-fit-min-240 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-12);
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-serif {
  font-family: var(--font-serif);
}

.text-hand {
  font-family: var(--font-hand);
}

.text-xs {
  font-size: var(--font-size-xs);
}

.text-sm {
  font-size: var(--font-size-sm);
}

.text-lg {
  font-size: var(--font-size-lg);
}

.text-xl {
  font-size: var(--font-size-xl);
}

.text-2xl {
  font-size: var(--font-size-2xl);
}

.text-3xl {
  font-size: var(--font-size-3xl);
}

.font-light {
  font-weight: 300;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.m-0 {
  margin: 0;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-xs {
  margin-top: var(--space-4);
}

.mt-sm {
  margin-top: var(--space-6);
}

.mt-md {
  margin-top: var(--space-10);
}

.mt-lg {
  margin-top: var(--space-16);
}

.mt-xl {
  margin-top: var(--space-24);
}

.mb-xs {
  margin-bottom: var(--space-4);
}

.mb-sm {
  margin-bottom: var(--space-6);
}

.mb-md {
  margin-bottom: var(--space-10);
}

.mb-lg {
  margin-bottom: var(--space-16);
}

.mb-xl {
  margin-bottom: var(--space-24);
}

.pt-section {
  padding-top: var(--space-24);
}

.pb-section {
  padding-bottom: var(--space-24);
}

.rounded-xs {
  border-radius: var(--radius-xs);
}

.rounded-sm {
  border-radius: var(--radius-sm);
}

.rounded-md {
  border-radius: var(--radius-md);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.rounded-full {
  border-radius: 999px;
}

.bg-cream {
  background-color: var(--color-bg);
}

.bg-soft {
  background-color: var(--color-bg-soft);
}

.bg-navy {
  background-color: var(--color-navy);
}

.bg-terracotta {
  background-color: var(--color-terracotta);
}

.bg-sand {
  background-color: var(--color-sand);
}

.bg-tile {
  background-image: radial-gradient(circle at 1px 1px, rgba(12, 36, 51, 0.16) 1px, transparent 0);
  background-size: 18px 18px;
}

.border-soft {
  border: 1px solid var(--color-border-soft);
}

.border-strong {
  border: 1px solid var(--color-border-strong);
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.shadow-subtle {
  box-shadow: var(--shadow-subtle);
}

.tile-divider {
  border: 0;
  border-top: 1px solid rgba(12, 36, 51, 0.18);
  margin-block: var(--space-16);
}

.tile-divider--pattern {
  border: 0;
  height: 14px;
  background-image: linear-gradient(90deg, rgba(12, 36, 51, 0.6) 33%, transparent 0, transparent 66%, rgba(199, 98, 59, 0.7) 0);
  background-size: 36px 100%;
  opacity: 0.7;
}

.arch-frame {
  position: relative;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background-color: #fdf9f2;
}

.arch-frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(177, 138, 75, 0.16);
  pointer-events: none;
}

.arch-frame img,
.arch-frame picture,
.arch-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poker-table-outline {
  border-radius: 999px;
  border: 2px solid rgba(177, 138, 75, 0.7);
  box-shadow: 0 0 0 1px rgba(12, 36, 51, 0.25), 0 16px 45px rgba(12, 36, 51, 0.45);
  background: radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.14), transparent 55%), linear-gradient(145deg, #173b41, #0c2433 55%, #15293c 100%);
}

.poker-chip-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 2px solid rgba(248, 244, 236, 0.85);
  box-shadow: 0 0 0 2px rgba(199, 98, 59, 0.7), 0 6px 18px rgba(12, 36, 51, 0.35);
  padding: var(--space-4) var(--space-8);
  background: conic-gradient(from 90deg, #c7623b 0 12%, #f3ebdf 12% 25%, #102433 25% 37%, #f3ebdf 37% 50%, #b18a4b 50% 62%, #f3ebdf 62% 75%, #0c2433 75% 87%, #f3ebdf 87% 100%);
}

.timeline-ceramic {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-16);
  padding: var(--space-16) 0;
  overflow-x: auto;
}

.timeline-ceramic::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background-image: repeating-linear-gradient(90deg, rgba(12, 36, 51, 0.18) 0 16px, transparent 16px 24px, rgba(199, 98, 59, 0.25) 24px 40px, transparent 40px 48px);
  opacity: 0.8;
}

.timeline-ceramic__item {
  position: relative;
  z-index: 1;
  min-width: 140px;
  padding: var(--space-8) var(--space-10);
  border-radius: var(--radius-lg);
  background: rgba(248, 244, 236, 0.9);
  box-shadow: var(--shadow-subtle);
}

.timeline-ceramic__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-image: radial-gradient(circle, #c7623b 0 40%, #f8f4ec 41% 100%);
  box-shadow: 0 0 0 3px rgba(12, 36, 51, 0.12);
}

.badge-caption {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-6);
  border-radius: 999px;
  background: rgba(248, 244, 236, 0.8);
  border: 1px solid rgba(177, 138, 75, 0.5);
  font-size: var(--font-size-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editorial-kicker {
  font-family: var(--font-serif);
  font-size: var(--font-size-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.editorial-overline {
  font-size: var(--font-size-xs);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.editorial-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.25rem);
  line-height: 0.8;
  color: var(--color-terracotta);
}

.annotation-hand {
  font-family: var(--font-hand);
  font-size: var(--font-size-sm);
  color: var(--gray-700);
}

.annotation-hand--accent {
  color: var(--color-terracotta);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-8) var(--space-16);
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--transition-normal), color var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), transform var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-burnt-orange));
  border-color: rgba(177, 138, 75, 0.7);
  color: #fffdf7;
  box-shadow: 0 10px 25px rgba(199, 98, 59, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-burnt-orange), var(--color-terracotta));
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(199, 98, 59, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 16px rgba(199, 98, 59, 0.35);
}

.btn-ghost {
  background-color: rgba(248, 244, 236, 0.86);
  border-color: rgba(12, 36, 51, 0.15);
  color: var(--color-navy);
}

.btn-ghost:hover {
  background-color: #fdf9f2;
  border-color: rgba(12, 36, 51, 0.28);
}

.btn-outline {
  background: transparent;
  border-color: rgba(199, 98, 59, 0.7);
  color: var(--color-terracotta);
}

.btn-outline:hover {
  background: rgba(199, 98, 59, 0.08);
}

.btn-secondary {
  background: var(--color-navy);
  border-color: rgba(177, 138, 75, 0.5);
  color: #f7f3ea;
}

.btn-secondary:hover {
  background: #071723;
}

.btn[disabled],
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
  transform: none;
}

.button-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="number"],
input[type="date"],
input[type="time"],
textarea,
select {
  width: 100%;
  padding: var(--space-7) var(--space-10);
  border-radius: var(--radius-md);
  border: 1px solid rgba(12, 36, 51, 0.18);
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(12, 36, 51, 0.65) 50%), linear-gradient(135deg, rgba(12, 36, 51, 0.65) 50%, transparent 50%);
  background-position: calc(100% - 16px) 48%, calc(100% - 12px) 48%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

input::placeholder,
textarea::placeholder {
  color: rgba(85, 79, 71, 0.7);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: rgba(199, 98, 59, 0.8);
  box-shadow: 0 0 0 1px rgba(199, 98, 59, 0.7), 0 0 0 4px rgba(199, 98, 59, 0.25);
  background-color: #fffdf8;
}

input[disabled],
textarea[disabled],
select[disabled] {
  background-color: rgba(240, 230, 216, 0.6);
  color: rgba(85, 79, 71, 0.7);
  cursor: not-allowed;
}

.form-row {
  display: grid;
  gap: var(--space-10);
}

.card {
  border-radius: var(--radius-lg);
  padding: var(--space-16);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(240, 230, 216, 0.9);
}

.card--navy {
  background: radial-gradient(circle at top left, #243f55, #071723);
  color: #f7f3ea;
  border-color: rgba(177, 138, 75, 0.6);
}

.card--terracotta {
  background: radial-gradient(circle at top left, #f4b494, #c7623b);
  color: #fff9f3;
}

.card-header {
  margin-bottom: var(--space-8);
}

.card-meta {
  font-size: var(--font-size-sm);
  color: var(--gray-600);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-16);
}

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

.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

:focus-visible {
  outline: 2px solid rgba(177, 138, 75, 0.95);
  outline-offset: 3px;
}

button:focus-visible,
[role="button"]:focus-visible,
[data-focusable="true"]:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(199, 98, 59, 0.95);
  outline-offset: 3px;
}

:focus:not(:focus-visible) {
  outline: none;
}

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

@media (max-width: 960px) {
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  h1 {
    margin-bottom: var(--space-10);
  }

  .section,
  .section--large {
    padding-block: var(--space-20);
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .section,
  .section--large {
    padding-block: var(--space-16);
  }

  .timeline-ceramic {
    padding-inline: var(--space-4);
  }
}
