/* ============================================================
   VARIABLES
   ============================================================ */
:root {
  --color-bg:        #0f0f0f;
  --color-bg-2:      #181818;
  --color-text:      #e8e4df;
  --color-text-muted:#9a9490;
  --color-accent:    #b8986a;
  --color-border:    #2a2a2a;
  --color-link:      #e8e4df;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --max-width: 1100px;
  --gutter: 1.5rem;
  --header-height: 64px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-link);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.2s;
}
a:hover { text-decoration-color: var(--color-accent); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { max-width: 68ch; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

main { min-height: calc(100vh - var(--header-height) - 120px); }

/* ============================================================
   HEADER & NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--color-text);
}
.logo-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.site-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}
.site-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-text-muted);
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--color-text); }
.site-nav .nav-contact {
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
  padding: 0.35em 0.9em;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.site-nav .nav-contact:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-text);
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-bg-2);
    border-bottom: 1px solid var(--color-border);
    padding: 1.5rem var(--gutter);
  }
  .site-nav[aria-expanded="true"] { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
  }
  .site-nav a { font-size: 1rem; }
}

/* ============================================================
   HERO (HOME)
   ============================================================ */
.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
}

.hero__image {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.55;
}

.hero__text {
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 4rem var(--gutter);
  max-width: var(--max-width);
  margin-inline: auto;
  width: 100%;
}

.hero__text h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}

.hero__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--color-accent);
  letter-spacing: 0.12em;
  margin-top: 0.5rem;
}

/* ============================================================
   INTRO (HOME)
   ============================================================ */
.intro {
  padding: 5rem var(--gutter);
  text-align: center;
}
.intro__text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.8;
  color: var(--color-text);
  max-width: 70ch;
  margin-inline: auto;
}

/* ============================================================
   HOME PHOTO GRID
   ============================================================ */
.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 3px;
  padding-bottom: 3px;
}
.home-grid__item {
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.home-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.home-grid__item:hover img { transform: scale(1.03); }
.home-grid__item figcaption {
  display: none;
}

/* ============================================================
   PAGE HEADER
   ============================================================ */
.page-header {
  padding: 4rem var(--gutter) 2rem;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.page-header h1 {
  letter-spacing: 0.04em;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  padding: 4rem var(--gutter);
  align-items: start;
}
.about__image img {
  width: 100%;
  object-fit: cover;
}
.about__bio {
  font-size: 1rem;
  line-height: 1.9;
}
.about__bio p { margin-bottom: 1.2rem; }
.about__bio p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .about {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about__image { max-width: 280px; }
}

/* ============================================================
   RESUME
   ============================================================ */
.resume {
  padding: 3rem var(--gutter) 5rem;
}
.resume-section {
  margin-bottom: 3.5rem;
}
.resume-section h2 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.credits {
  width: 100%;
  border-collapse: collapse;
}
.credits thead {
  display: none;
}
.credits tr {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--color-border);
}
.credits tr:last-child { border-bottom: none; }
.credit-title {
  font-style: italic;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.credit-role { color: var(--color-text); }
.credit-company { color: var(--color-text-muted); font-size: 0.9rem; }

.skills-list { list-style: none; }
.skill-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
}
.skill-row:last-child { border-bottom: none; }
.skill-row dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.skill-row dd { color: var(--color-text); }

@media (max-width: 600px) {
  .credits tr {
    grid-template-columns: 1fr 1fr;
  }
  .credit-company { grid-column: 1 / -1; }
  .skill-row { grid-template-columns: 1fr; gap: 0.2rem; }
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 4px;
  padding: 4px var(--gutter) 5rem;
}
.gallery__item {
  overflow: hidden;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery__item:hover img { transform: scale(1.02); }
.gallery__item figcaption {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  padding: 0.4rem 0;
}

/* ============================================================
   REELS & AUDIO
   ============================================================ */
.reels {
  padding: 3rem var(--gutter) 5rem;
}
.reels-section {
  margin-bottom: 4rem;
}
.reels-section h2 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.reel-item {
  margin-bottom: 3rem;
}
.reel-item h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  margin-bottom: 0.5rem;
}
.reel-description {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.embed-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--color-bg-2);
  border: 1px solid var(--color-border);
}
.embed-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.embed-wrapper--audio {
  padding-bottom: 166px;
  max-width: 700px;
}
.embed-wrapper--audio iframe {
  height: 166px;
}

/* ============================================================
   NEWS LIST
   ============================================================ */
.news-list {
  padding: 3rem var(--gutter) 5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.news-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--color-border);
  align-items: start;
}
.news-card:first-child { border-top: 1px solid var(--color-border); }
.news-card__image-link { display: block; overflow: hidden; }
.news-card__image-link img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.3s;
}
.news-card__image-link:hover img { transform: scale(1.03); }
.news-card__date {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}
.news-card__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 0.7rem;
}
.news-card__title a { text-decoration: none; }
.news-card__title a:hover { color: var(--color-accent); }
.news-card__excerpt {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  max-width: 60ch;
}
.read-more {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  text-decoration: none;
}
.read-more:hover { text-decoration: underline; text-decoration-color: var(--color-accent); }

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

/* ============================================================
   NEWS POST
   ============================================================ */
.post {
  padding: 4rem var(--gutter) 6rem;
  max-width: 780px;
}
.post-header {
  margin-bottom: 2.5rem;
}
.post-date {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.7rem;
}
.post-image {
  margin-bottom: 2.5rem;
}
.post-image img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}
.post-body {
  font-size: 1rem;
  line-height: 1.9;
}
.post-body p { margin-bottom: 1.4rem; max-width: 68ch; }
.post-body h2, .post-body h3 { margin: 2rem 0 0.7rem; }
.post-body em { font-style: italic; }
.post-body strong { font-weight: 400; }
.post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}
.back-link {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 2rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
}
.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-nav a:hover { color: var(--color-text); }
.footer-contact {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-contact a {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}
.footer-contact a:hover { color: var(--color-accent); }
.footer-copy {
  font-size: 0.75rem;
  color: var(--color-border);
  margin-top: 0.5rem;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.5em 1.2em;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  border-radius: 2px;
}
.btn:hover {
  background: var(--color-accent);
  color: var(--color-bg);
  text-decoration: none;
}

.empty-state {
  color: var(--color-text-muted);
  font-style: italic;
  padding: 3rem 0;
}
