:root {
  --coal: #1b1a18;
  --coal-soft: #2a2825;
  --paper: #f4ecdc;
  --paper-deep: #e9dec7;
  --ink: #26221d;
  --muted: #6a6256;
  --signal: #b8322a;
  --gold: #e3a82b;
  --radius: 6px;
  --font-head: Rockwell, "Roboto Slab", "Bitter", "Courier New", Georgia, serif;
  --font-body: "Segoe UI", system-ui, -apple-system, Helvetica, Arial, sans-serif;
  --font-label: "Courier New", Courier, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 1.05rem;
}
img { max-width: 100%; display: block; }
a { color: var(--signal); }
a:hover { color: var(--coal); }

.wrap { width: min(1080px, 92%); margin: 0 auto; }

.label {
  font-family: var(--font-label);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--signal);
  margin: 0 0 0.6rem;
  font-weight: 700;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 0.6em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--coal);
  border-bottom: 3px solid var(--gold);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.75rem 0; flex-wrap: wrap;
}
.brand {
  font-family: var(--font-head);
  color: var(--paper); text-decoration: none;
  font-weight: 700; font-size: 1.15rem; letter-spacing: 0.02em;
}
.brand span { color: var(--gold); }
.site-nav { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.site-nav a {
  font-family: var(--font-label); text-transform: uppercase;
  letter-spacing: 0.12em; font-size: 0.82rem;
  color: var(--paper); text-decoration: none;
  padding: 0.25rem 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--gold); border-bottom-color: var(--gold); }

/* Hero */
.hero { background: var(--coal); color: var(--paper); padding: 4rem 0 4.5rem; position: relative; }
.hero .wrap { display: grid; gap: 2.5rem; align-items: center; }
.hero .label { color: var(--gold); }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); margin-bottom: 0.3em; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p.lead { font-size: 1.2rem; max-width: 34ch; color: #ddd3bf; }
.hero-photo { border: 8px solid var(--paper); box-shadow: 10px 10px 0 var(--signal); transform: rotate(1deg); background: var(--paper); }
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-photo figcaption {
  font-family: var(--font-label); font-size: 0.78rem; color: var(--muted);
  padding: 0.5rem 0.2rem 0.1rem; letter-spacing: 0.05em;
}
.btn {
  display: inline-block; background: var(--gold); color: var(--coal);
  padding: 0.8rem 1.5rem; border-radius: var(--radius);
  font-weight: 700; text-decoration: none; border: 2px solid var(--gold);
  font-family: inherit; font-size: 1rem; cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.btn:hover { background: transparent; color: var(--gold); }
.btn.ghost { background: transparent; color: var(--paper); border-color: var(--paper); margin-left: 0.6rem; }
.btn.ghost:hover { background: var(--paper); color: var(--coal); }

/* Track divider */
.track {
  height: 22px;
  background:
    linear-gradient(var(--coal), var(--coal)) 0 5px / 100% 3px no-repeat,
    linear-gradient(var(--coal), var(--coal)) 0 14px / 100% 3px no-repeat,
    repeating-linear-gradient(90deg, #7a5a3a 0 10px, transparent 10px 26px);
  background-color: var(--paper-deep);
}

/* Sections */
section { padding: 4.5rem 0; }
.about .wrap { display: grid; gap: 2.5rem; align-items: center; }
.about-photo img {
  width: 100%; max-height: 520px; object-fit: cover; object-position: center 40%;
  border-radius: var(--radius); border: 6px solid #fff; box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}
.about p { max-width: 58ch; }

.interests { background: var(--paper-deep); }
.cards { display: grid; gap: 1.2rem; margin-top: 2rem; }
.card {
  background: var(--paper); border: 2px solid var(--coal);
  border-top: 8px solid var(--signal);
  padding: 1.5rem; border-radius: var(--radius);
}
.card h3 { font-size: 1.3rem; }
.card p { margin: 0; color: var(--muted); }
.card svg { width: 38px; height: 38px; margin-bottom: 0.8rem; color: var(--coal); }

/* Gallery */
.gallery-grid { display: grid; gap: 1.4rem; margin-top: 2rem; }
.gallery-grid figure {
  margin: 0; background: #fff; padding: 0.7rem 0.7rem 0.5rem;
  border-radius: 4px; box-shadow: 0 4px 14px rgba(0,0,0,0.16);
  transition: transform 0.2s;
}
.gallery-grid figure:hover { transform: translateY(-4px) rotate(-0.4deg); }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-grid img.tall { aspect-ratio: 3 / 4; object-position: center 30%; }
.gallery-grid figcaption { font-size: 0.92rem; color: var(--muted); padding: 0.6rem 0.2rem 0.2rem; }

/* Contact */
.contact { background: var(--coal); color: var(--paper); }
.contact .label { color: var(--gold); }
.contact .wrap { display: grid; gap: 2.5rem; }
.contact p { color: #ddd3bf; max-width: 40ch; }
form { display: grid; gap: 1rem; }
label { font-family: var(--font-label); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.8rem; display: grid; gap: 0.35rem; }
input, textarea {
  font: inherit; font-size: 1rem; text-transform: none; letter-spacing: normal;
  padding: 0.75rem; border-radius: var(--radius); border: 2px solid #55504a;
  background: var(--coal-soft); color: var(--paper);
}
input:focus, textarea:focus { outline: none; border-color: var(--gold); }
textarea { min-height: 150px; resize: vertical; }
form .btn { justify-self: start; }

.site-footer { background: #100f0e; color: #a89f8e; text-align: center; padding: 1.6rem 0; font-size: 0.9rem; border-top: 3px solid var(--gold); }
.site-footer p { margin: 0; }

@media (min-width: 760px) {
  .hero .wrap { grid-template-columns: 1.05fr 1fr; }
  .about .wrap { grid-template-columns: 0.8fr 1.2fr; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .contact .wrap { grid-template-columns: 1fr 1.2fr; }
}
@media (max-width: 480px) {
  .btn.ghost { margin-left: 0; margin-top: 0.6rem; }
}
