/* Direction: Warm Sand Studio — oat paper, one terracotta accent, slab-serif headings */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #f2ebdf;
  --surface: #faf5ec;
  --surface-2: #e8ddcc;
  --border: #ddcfbb;
  --border-strong: #b1a89e;
  --ink: #241b14;
  --muted: #655a4e;
  --accent: #ac4c28;
  --accent-hover: #924122;
  --accent-ink: #ffffff;
  --accent-text: #96401f;
  --accent-strong: #7f3519;
  --accent-soft: #f1ddd0;
  --accent-border: #d3a38d;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #d7decc;
  --success-strong: #116d34;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #ebd9c5;
  --warning-strong: #994607;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #ebd2c8;
  --danger-strong: #aa1a1a;
  --chart-1: #ac4c28;
  --chart-2: #998814;
  --chart-3: #0f6743;
  --chart-4: #1790ad;
  --chart-5: #48469c;
  --chart-6: #b9619e;

  --font-display: "Zilla Slab", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --display-weight: 600;
  --display-tracking: -0.02em;
  --radius-card: 18px;
  --radius-btn: 999px;
  --radius-input: 12px;
  --shadow-card: 0 20px 44px -30px rgba(36, 27, 20, 0.5);
  --card-pad: 1.75rem;
  --x-on-photo: #ffffff;
  --x-band: #2b211a;
  --x-band-soft: #3a2d23;
  --font-mono: "JetBrains Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-sans: "Inter", system-ui, sans-serif;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #140905;
  --surface: #2c221e;
  --surface-2: #201512;
  --border: #352b28;
  --border-strong: #5b5350;
  --ink: #f2ebdf;
  --muted: #999188;
  --accent: #ac4c28;
  --accent-hover: #b86748;
  --accent-ink: #ffffff;
  --accent-text: #c47e65;
  --accent-strong: #bf7358;
  --accent-soft: #35180d;
  --accent-border: #582715;
  --success: #15803d;
  --success-ink: #ffffff;
  --success-soft: #142311;
  --success-strong: #499c68;
  --warning: #b45309;
  --warning-ink: #ffffff;
  --warning-soft: #371906;
  --warning-strong: #c57a40;
  --danger: #b91c1c;
  --danger-ink: #ffffff;
  --danger-soft: #380d0a;
  --danger-strong: #d16969;
  --chart-1: #b3522e;
  --chart-2: #9f8f1e;
  --chart-3: #229666;
  --chart-4: #0e91cf;
  --chart-5: #8b6cc6;
  --chart-6: #ca648a;
}

/* Warm Sand Studio — paper texture, career timeline, skill meters, borderless cards */

body {
  background-image:
    radial-gradient(rgba(36, 27, 20, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(36, 27, 20, 0.03) 1px, transparent 1px);
  background-position: 0 0, 11px 11px;
  background-size: 22px 22px, 22px 22px;
}

/* Borderless cards that lift on hover */
.card-soft {
  background: var(--surface);
  border: 0;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.card-soft:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 60px -30px rgba(36, 27, 20, 0.45);
}
html.reduced-motion .card-soft:hover { transform: none; }

/* Career timeline */
.timeline { position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 1rem;
  bottom: 1rem;
  width: 2px;
  background: var(--surface-2);
}
.role { position: relative; padding-left: 2.75rem; }
.role::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--canvas);
}
.role > summary { cursor: pointer; list-style: none; display: block; }
.role > summary::-webkit-details-marker { display: none; }
.role > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; border-radius: 10px; }
.role .chev { transition: transform 0.25s ease; }
.role[open] .chev { transform: rotate(180deg); }

/* Skill meters */
.skill-track {
  height: 9px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}
.skill-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  transform-origin: left center;
}

/* Project filter chips */
[data-filter] { transition: background 0.2s ease, color 0.2s ease; }
[data-filter].is-active {
  background: var(--accent);
  color: var(--accent-ink);
}

.modal { max-height: 88vh; }

.monogram {
  font-family: var(--font-display);
  letter-spacing: -0.04em;
  line-height: 0.85;
}
