﻿:root {
  --ink: #f4f1ea;
  --muted: #b9b2a8;
  --paper: #111316;
  --panel: #181b20;
  --panel-strong: #20242a;
  --line: rgba(255, 255, 255, 0.11);
  --gold: #d6a34d;
  --coral: #d36f55;
  --teal: #49a59e;
  --blue: #5c78a8;
  --green: #7d9f67;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 980px;
  font-size: clamp(2.15rem, 4vw, 4.25rem);
  line-height: 1.04;
  white-space: nowrap;
}

h1 span {
  display: inline;
}

h2 {
  max-width: 880px;
  font-size: clamp(2.1rem, 4vw, 4.6rem);
  line-height: 1.02;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.2;
}

p {
  margin: 0;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #fff;
  background: rgba(13, 15, 18, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  font-weight: 850;
  text-decoration: none;
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: clamp(12px, 2vw, 26px);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: #fff;
}

.hero {
  position: relative;
  min-height: auto;
  display: grid;
  align-items: start;
  color: #fff;
  background: #0d0f12;
}

.hero__content {
  position: relative;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 108px 0 44px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__profile {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding: 7px 12px 7px 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  font-size: 0.95rem;
  font-weight: 850;
}

.hero__profile img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}


.hero__lead {
  max-width: 760px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.04rem, 1.7vw, 1.28rem);
}

.hero__note {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.66);
}

.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #111316;
  background: #fff;
}

.button--ghost,
.button--light {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.button--light:hover,
.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.13);
}

.tag-list span,
.ai-list span,
.project-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  font-size: 0.9rem;
  font-weight: 750;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 10vw, 122px) 0;
}

.section--wide {
  width: 100%;
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: max(18px, calc((100vw - 1180px) / 2));
}

.compact {
  padding-top: 0;
}


/* Alternating page bands: deep black, then soft gray, repeated. */
.hero,
.section--wide,
.ai-section,
.contact,
.footer {
  background-color: #0d0f12;
}

.compact,
#experience,
.process,
.skills {
  background-color: var(--paper);
}

.compact,
#experience,
.process,
.skills,
.ai-section {
  width: 100%;
  padding-left: max(18px, calc((100vw - 1180px) / 2));
  padding-right: max(18px, calc((100vw - 1180px) / 2));
}
.section__intro {
  max-width: 860px;
}

.section__intro p:not(.eyebrow) {
  max-width: 740px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 1.05rem;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 34px;
}

.about__grid p,
.player .section__intro p:not(.eyebrow) {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: rgba(244, 241, 234, 0.78);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035));
}

.strength-grid,
.skills-grid,
.process-grid,
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
}

.strength-grid article,
.skills-grid article,
.process-grid article,
.quote-grid figure {
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.1);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.strength-grid article:hover,
.skills-grid article:hover,
.process-grid article:hover,
.project-card:hover,
.quote-grid figure:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 163, 77, 0.42);
  background: var(--panel-strong);
}

.strength-grid p,
.skills-grid p,
.process-grid p {
  margin-top: 12px;
  color: var(--muted);
}

.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.project-card {
  display: grid;
  grid-template-rows: 240px minmax(0, 1fr);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.project-card--featured {
  grid-column: 1 / -1;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  grid-template-rows: auto;
}

.project-card__visual {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 240px;
  padding: 22px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 900;
  font-size: 1.45rem;
  background: #222;
  isolation: isolate;
  overflow: hidden;
}

.project-card--featured .project-card__visual {
  min-height: 360px;
}

.project-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.4), transparent 70%);
}

.project-card__visual > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.project-card__visual span {
  position: relative;
  z-index: 1;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.68);
}

.visual-icons {
  align-items: center;
  justify-content: center;
  gap: 20px;
  background:
    radial-gradient(circle at 24% 22%, rgba(214, 163, 77, 0.26), transparent 28%),
    linear-gradient(145deg, #252936, #5c78a8 55%, #49a59e);
}

.visual-icons > img {
  position: static;
  z-index: 1;
  width: min(34%, 132px);
  height: auto;
  aspect-ratio: 1;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
  transform: rotate(-5deg);
}

.visual-icons > img:nth-of-type(2) {
  transform: rotate(6deg) translateY(18px);
}

.visual-icons span {
  position: absolute;
  left: 22px;
  bottom: 22px;
}

.visual-duo {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  padding: 0;
  background:
    linear-gradient(145deg, #273033, #7d9f67 48%, #d6a34d);
}

.visual-duo > img {
  position: static;
  z-index: -2;
  width: 100%;
  height: 50%;
  min-height: 0;
  object-fit: cover;
  transform: none;
}

.visual-duo span {
  position: absolute;
  left: 22px;
  bottom: 22px;
}

.project-card__body {
  padding: 26px;
}

.project-card__meta {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 850;
}

.project-card__summary {
  margin-top: 12px;
  color: rgba(244, 241, 234, 0.78);
}

.project-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.tag-list span {
  min-height: 30px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.78rem;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.project-links a {
  min-height: 36px;
  border-radius: 8px;
  color: #111316;
  background: #fff;
  font-size: 0.82rem;
  text-decoration: none;
  transition:
    transform 160ms ease,
    background 160ms ease;
}

.project-links a:hover {
  transform: translateY(-1px);
  background: #f0d7a0;
}

.timeline {
  display: grid;
  gap: 0;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.timeline li {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.timeline__date {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.timeline p {
  margin-top: 8px;
  color: var(--muted);
}

.quotes {
  background: var(--paper);
}

.quote-grid {
  grid-template-columns: repeat(5, minmax(210px, 1fr));
  overflow-x: auto;
  padding-bottom: 8px;
}

.quote-grid figure {
  margin: 0;
}

blockquote {
  margin: 0;
  color: rgba(244, 241, 234, 0.82);
}

figcaption {
  margin-top: 18px;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 800;
}

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

.process-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
}

.ai-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.ai-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ai-list span {
  border-radius: 8px;
}

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

.player {
  padding-top: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: clamp(52px, 8vw, 76px) max(18px, calc((100vw - 1180px) / 2));
  color: #fff;
  background: #0d0f12;
  border-top: 1px solid var(--line);
}

.contact h2 {
  font-size: clamp(2.6rem, 5vw, 5rem);
}

.contact p:not(.eyebrow) {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.contact h2 + p {
  margin-top: 34px;
}

.contact__actions {
  justify-content: flex-end;
  margin-top: 0;
}

.footer {
  padding: 24px max(18px, calc((100vw - 1180px) / 2));
  color: var(--muted);
  background: #090a0c;
}

@media (max-width: 1100px) {
  .project-list,
  .strength-grid,
  .skills-grid,
  .process-grid,
  .about__grid,
  .ai-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card--featured {
    grid-template-columns: 1fr;
  }

  .project-card__visual {
    min-height: 190px;
  }

  .contact__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
  }

  .nav {
    display: none;
  }

  .quote-grid {
    grid-template-columns: 1fr;
    overflow: visible;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
  }

  .hero__content {
    padding-top: 104px;
  }

  h1 {
    font-size: clamp(1.85rem, 9vw, 2.65rem);
    white-space: normal;
  }

  .hero__content {
    padding-bottom: 38px;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .button {
    width: 100%;
  }

  .strength-grid article,
  .skills-grid article,
  .process-grid article,
  .quote-grid figure,
  .about__grid p,
  .project-card__body {
    padding: 20px;
  }
}














