:root {
  --bg: #17120d;
  --bg-2: #211910;
  --panel: #2a2118;
  --panel-2: #332719;
  --text: #f3ede3;
  --muted: #cdbfae;
  --soft: #9d8b74;
  --line: rgba(243, 237, 227, 0.14);
  --accent: #d89a46;
  --accent-2: #8f4d2d;
  --green: #5f6f4b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius: 24px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 5%, rgba(216, 154, 70, 0.18), transparent 28rem),
    radial-gradient(circle at 85% 0%, rgba(95, 111, 75, 0.16), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.4) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255,255,255,.4) 25%, transparent 25%);
  background-size: 9px 9px;
  mix-blend-mode: screen;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--accent);
  color: #120d09;
  padding: .7rem 1rem;
  border-radius: 999px;
  z-index: 100;
}
.skip-link:focus { left: 10px; }

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 88px 0; }
.muted { background: rgba(255,255,255,0.035); border-block: 1px solid var(--line); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(23, 18, 13, 0.78);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .04em;
  font-size: 1.05rem;
}
.site-nav { display: flex; align-items: center; gap: 1.25rem; color: var(--muted); font-size: .95rem; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--text); }
.nav-toggle { display: none; }

.hero { padding-top: 70px; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: clamp(32px, 6vw, 76px); align-items: center; }
.eyebrow {
  margin: 0 0 .8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .15em;
  font-weight: 800;
  font-size: .78rem;
}
h1, h2, h3 { line-height: 1.05; margin: 0; }
h1 { font-size: clamp(3.15rem, 7vw, 6.9rem); letter-spacing: -0.07em; }
h2 { font-size: clamp(2.1rem, 4vw, 4.1rem); letter-spacing: -0.045em; }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
p { color: var(--muted); margin: 1rem 0 0; }
.lead { font-size: clamp(1.15rem, 2vw, 1.42rem); color: var(--text); }
.through-line { color: var(--text); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .78rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
}
.button.primary { background: var(--accent); color: #150f09; }
.button.primary:hover { background: #efb76c; }
.button.secondary { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.04); }
.button.secondary:hover { border-color: rgba(216,154,70,.55); }

.hero-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 32px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
  transform: rotate(1deg);
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.72), transparent 42%);
  pointer-events: none;
}
.hero-card img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; }
.hero-card-caption {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 2;
  display: grid;
  gap: .15rem;
  background: rgba(23, 18, 13, 0.78);
  border: 1px solid rgba(255,255,255,.16);
  padding: 1rem;
  border-radius: 20px;
}
.hero-card-caption span { color: var(--muted); }

.identity-strip { border-block: 1px solid var(--line); background: rgba(255,255,255,.035); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid div { padding: 1.1rem 1rem; border-right: 1px solid var(--line); }
.strip-grid div:last-child { border-right: 0; }
.strip-grid span { color: var(--muted); font-weight: 800; }

.section-intro { max-width: 820px; margin-bottom: 2rem; }
.card-grid { display: grid; gap: 1rem; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.info-card, .experience-card, .contact-card {
  background: linear-gradient(145deg, rgba(255,255,255,.058), rgba(255,255,255,.025));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 14px 40px rgba(0,0,0,.16);
}
.info-card h3, .experience-card h3 { color: var(--text); }

.experience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.experience-card { min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; }
.tag { color: var(--accent); font-weight: 900; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; }

.split-grid { display: grid; grid-template-columns: 1fr .82fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.image-stack { display: grid; grid-template-columns: .92fr 1fr; gap: 1rem; align-items: center; }
.image-stack img { border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; }
.image-stack img:first-child { transform: translateY(30px) rotate(-2deg); }
.image-stack img:last-child { transform: rotate(2deg); }

.personal-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.personal-image-card img { border-radius: 32px; border: 1px solid var(--line); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.gallery-grid figure { margin: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--panel); }
.gallery-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery-grid figcaption { padding: .85rem 1rem 1rem; color: var(--muted); font-weight: 800; }
.maker-gallery { grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.maker-gallery figure { min-height: 100%; }
.maker-gallery img { aspect-ratio: 4 / 3; }

.contact-section { background: linear-gradient(135deg, rgba(216,154,70,.18), rgba(95,111,75,.09)); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr .5fr; gap: 2rem; align-items: center; }
.contact-card { display: grid; gap: .75rem; }
.contact-card a { color: var(--text); text-decoration: none; font-weight: 800; }
.contact-card a:hover { color: var(--accent); }
.contact-card span { color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); padding: 1.4rem 0; color: var(--soft); }
.footer-grid { display: flex; justify-content: space-between; gap: 1rem; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--text); }

@media (max-width: 980px) {
  .hero-grid, .split-grid, .personal-grid, .contact-grid { grid-template-columns: 1fr; }
  .card-grid.four, .gallery-grid, .maker-gallery { grid-template-columns: repeat(2, 1fr); }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .strip-grid div:nth-child(2) { border-right: 0; }
  .hero-card { transform: none; }
}

@media (max-width: 720px) {
  .section-pad { padding: 64px 0; }
  .nav-toggle {
    display: inline-flex;
    background: rgba(255,255,255,.06);
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .55rem .8rem;
    font-weight: 800;
  }
  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: rgba(23,18,13,.98);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .75rem; }
  h1 { font-size: clamp(2.65rem, 14vw, 4.1rem); }
  .experience-grid, .card-grid.four, .gallery-grid, .maker-gallery, .strip-grid { grid-template-columns: 1fr; }
  .strip-grid div { border-right: 0; border-bottom: 1px solid var(--line); }
  .strip-grid div:last-child { border-bottom: 0; }
  .image-stack { grid-template-columns: 1fr; }
  .image-stack img:first-child, .image-stack img:last-child { transform: none; }
  .footer-grid { flex-direction: column; }
}
