:root {
    --bg: #E2B842;
    --red: #BE3A24;
    --blue: #1B2D4E;
    --text: #1B2D4E;
    --font-display: 'Syne', sans-serif;
    --font-body: 'Outfit', sans-serif;
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
  }

  ::selection {
    background: var(--red);
    color: #E2B842;
  }

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

  /* ── CONTAINER ── */
  .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 64px;
  }

  @media (max-width: 600px) {
    .container { padding: 0 24px; }
  }

  /* ── NAV ── */
  nav {
    border-top: 2.5px solid var(--blue);
    padding-top: 16px;
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  nav a {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--blue);
    transition: color 0.25s;
  }

  nav a:hover { color: var(--red); }

  /* ── HERO NAME ── */
  .hero-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3.8rem, 12vw, 7.5rem);
    color: var(--red);
    line-height: 0.95;
    letter-spacing: -0.025em;
    margin: 24px 0 36px;
    opacity: 0;
    animation: fadeIn 0.7s ease 0.1s forwards;
  }

  /* ── HERO IMAGE ── */
  .hero-image {
    position: relative;
    margin-bottom: 64px;
    height: clamp(400px, 50vw, 600px);
    opacity: 0;
    animation: fadeIn 0.7s ease 0.2s forwards;
  }

  .hero-image .img-primary {
    position: absolute;
    left: 0;
    top: 0;
    width: 55%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 2;
  }

  .hero-image .img-secondary {
    position: absolute;
    right: 0;
    top: 32px;
    width: 52%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    z-index: 1;
  }

  /* ── INTRO ── */
  .intro {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 40px;
    margin-bottom: 80px;
    opacity: 0;
    animation: fadeIn 0.7s ease 0.35s forwards;
  }

  .intro-subtitle {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    line-height: 1.6;
  }

  .intro-bio {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text);
  }

  .intro-bio p + p { margin-top: 14px; }

  @media (max-width: 600px) {
    .intro {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  }

  /* ── SECTION HEADER ── */
  .section-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--blue);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding-bottom: 12px;
    border-bottom: 2.5px solid var(--blue);
    margin-bottom: 0;
  }

  /* ── WORK LIST ── */
  .work-section { margin-bottom: 64px; }

  .work-item {
    border-bottom: 1px solid rgba(27, 45, 78, 0.2);
    position: relative;
  }

  .work-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.35s ease;
  }

  .work-item:hover::before { transform: scaleY(1); }
  .work-item.open::before { transform: scaleY(1); }

  .work-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 36px 0;
    cursor: pointer;
    transition: padding-left 0.35s ease;
  }

  .work-item:hover .work-header { padding-left: 10px; }
  .work-item:hover .work-company { color: var(--red); }
  .work-item.open .work-company { color: var(--red); }

  .work-company {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    color: var(--text);
    transition: color 0.35s ease;
    display: flex;
    align-items: baseline;
    gap: 12px;
    line-height: 1.15;
  }

  .work-company .arr {
    font-size: 1rem;
    font-weight: 500;
    color: var(--blue);
    transition: transform 0.35s ease, color 0.35s ease;
  }

  .work-item:hover .arr {
    transform: translateX(4px);
    color: var(--red);
  }

  .work-item.open .arr {
    transform: rotate(90deg);
    color: var(--red);
  }

  .work-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .work-role {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
  }

  .work-tags {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(27, 45, 78, 0.55);
  }

  /* ── EXPANDABLE DETAIL ── */
  .work-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease;
    opacity: 0;
  }

  .work-item.open .work-detail {
    opacity: 1;
  }

  .work-detail-inner {
    padding: 0 0 48px 0;
  }

  .work-detail-date {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 20px;
  }

  .work-detail-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 16px 40px;
    margin-bottom: 28px;
  }

  .work-detail-label {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--blue);
    padding-top: 2px;
  }

  .work-detail-label span {
    display: block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 300;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(27, 45, 78, 0.5);
    font-style: italic;
    margin-top: 4px;
  }

  .work-detail-content {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--text);
  }

  .work-detail-content ul {
    list-style: none;
    padding: 0;
  }

  .work-detail-content ul li {
    padding-left: 16px;
    position: relative;
    margin-bottom: 10px;
  }

  .work-detail-content ul li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 700;
  }

  @media (max-width: 600px) {
    .work-header {
      grid-template-columns: 1fr;
      gap: 8px;
      padding: 28px 0;
    }
    .work-detail-grid {
      grid-template-columns: 1fr;
      gap: 8px 0;
    }
    .work-detail-grid .work-detail-label {
      margin-top: 16px;
    }
  }

  /* ── OURA DASHBOARD ── */
  .oura-dashboard {
    background: rgba(27, 45, 78, 0.04);
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 36px;
  }

  .oura-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 28px;
  }

  .oura-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text);
  }

  .oura-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(27, 45, 78, 0.45);
    letter-spacing: 0.04em;
  }

  .oura-rings {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 32px;
  }

  .oura-ring-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }

  .oura-ring-svg {
    width: 100px;
    height: 100px;
  }

  .ring-arc {
    animation: ringFill 1.2s ease forwards;
  }

  @keyframes ringFill {
    from { stroke-dashoffset: 327; }
  }

  .oura-ring-score {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text);
  }

  .oura-ring-label {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(27, 45, 78, 0.5);
    margin-top: 8px;
  }

  .oura-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid rgba(27, 45, 78, 0.1);
    border-bottom: 1px solid rgba(27, 45, 78, 0.1);
    margin-bottom: 28px;
  }

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

  .oura-stat-value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 2px;
  }

  .oura-stat-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 400;
    color: rgba(27, 45, 78, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .oura-hrv { margin-top: 4px; }

  .oura-hrv-title {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(27, 45, 78, 0.5);
    margin-bottom: 12px;
  }

  .oura-hrv-chart {
    width: 100%;
    height: 60px;
  }

  .oura-hrv-days {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    color: rgba(27, 45, 78, 0.4);
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  @media (max-width: 600px) {
    .oura-dashboard { padding: 20px; }
    .oura-rings { gap: 24px; }
    .oura-ring-svg { width: 80px; height: 80px; }
    .oura-ring-score { font-size: 1.1rem; }
    .oura-stats { grid-template-columns: repeat(2, 1fr); }
  }

  /* ── DRAG COLLAGE ── */
  .drag-collage {
    position: relative;
    width: 100%;
    overflow: visible;
    margin-bottom: 8px;
  }

  .drag-item {
    position: absolute;
    cursor: grab;
    border-radius: 2px;
    transition: box-shadow 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
  }

  .drag-item:active {
    cursor: grabbing;
    box-shadow: 0 8px 32px rgba(27, 45, 78, 0.2);
    z-index: 10;
  }

  .drag-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    border-radius: 2px;
  }

  .drag-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(27, 45, 78, 0.25);
    pointer-events: none;
  }

  /* ── COMING SOON ── */
  .coming-soon {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--blue);
    margin-bottom: 8px;
  }

  /* ── FOOTER ── */
  footer {
    border-top: 2.5px solid var(--blue);
    padding: 18px 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  footer .copyright {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--blue);
  }

  footer .social {
    display: flex;
    gap: 16px;
  }

  footer .social a {
    color: var(--blue);
    transition: color 0.25s;
  }

  footer .social a:hover { color: var(--red); }

  footer .social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
