/* Kenny Bae — light custom site */
:root {
  --canvas: #0d1524;
  --gold: #c4a35a;
  --brown-gold: #b8956c;
  --brown-muted: #9a7d5a;
  --cream: #e6d3a8;
  --line: rgba(196, 163, 90, 0.16);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Source Serif 4", Georgia, serif;
  --max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(110% 70% at 50% -10%, rgba(196, 163, 90, 0.05), transparent 45%),
    linear-gradient(180deg, #0b1220 0%, var(--canvas) 40%, #0a101c 100%);
  background-color: var(--canvas);
  color: var(--brown-gold);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--gold);
  text-decoration: none;
}

a:hover {
  color: var(--cream);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0 0 0.75rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 2rem);
  background: rgba(11, 18, 32, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1rem + 1.2vw, 1.85rem);
  background: linear-gradient(
    115deg,
    #7a5424 0%,
    #a67c3d 16%,
    #c4a35a 32%,
    #e6d3a8 48%,
    #b8923f 64%,
    #c4a35a 80%,
    #8a6a2b 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gold-reflect 5.5s ease-in-out infinite;
}

@keyframes gold-reflect {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.nav {
  display: flex;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  align-items: center;
}

.nav a {
  color: var(--brown-gold);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.nav a[aria-current="page"],
.nav a:hover {
  color: var(--cream);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--gold);
  padding: 0.4rem 0.65rem;
  font: inherit;
  cursor: pointer;
}

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

  .nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(11, 18, 32, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }
}

main {
  overflow-x: hidden;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.hero-brand {
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2rem, 6vw, 4rem);
  text-align: center;
}

.hero-brand__name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 2rem + 8vw, 7.5rem);
  line-height: 0.92;
  margin: 0 0 1rem;
  background: linear-gradient(115deg, #7a5424 0%, #c4a35a 35%, #e6d3a8 50%, #c4a35a 70%, #8a6a2b 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gold-reflect 6s ease-in-out infinite;
}

.hero-brand__tag {
  color: var(--brown-muted);
  font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem);
  max-width: 34rem;
  margin: 0 auto;
}

.portrait {
  margin: 0 auto 1.25rem;
  width: min(820px, 92vw);
  overflow: hidden;
}

.portrait img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(1) contrast(1.05) brightness(0.92);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.split--reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.split img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0.94) contrast(1.03) saturate(0.92);
}

.split__copy h1,
.split__copy h2 {
  font-size: clamp(2.4rem, 1.4rem + 3vw, 4rem);
}

.split__copy p {
  color: var(--brown-muted);
  margin: 0;
  max-width: 36rem;
}

@media (max-width: 800px) {
  .split,
  .split--reverse {
    grid-template-columns: 1fr;
  }

  .split__photo {
    max-width: 28rem;
    margin: 0 auto;
  }
}

.bleed-hero {
  position: relative;
}

.bleed-hero img {
  width: 100%;
  min-height: clamp(24rem, 68vh, 48rem);
  aspect-ratio: 2.2 / 1;
  object-fit: cover;
  object-position: center 45%;
  filter: brightness(0.88) contrast(1.05) saturate(0.9);
}

.bleed-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(13, 21, 36, 0.55) 55%, var(--canvas));
  pointer-events: none;
}

.bleed-hero__caption {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0.75rem 1.25rem 2rem;
}

.eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.4rem;
}

.bleed-hero__caption h1 {
  font-size: clamp(2rem, 1.3rem + 2vw, 3rem);
  margin: 0;
}

.section {
  padding: clamp(2.5rem, 7vw, 5rem) 0;
}

.section__title {
  font-size: clamp(2rem, 1.3rem + 2.2vw, 3rem);
  text-align: center;
  margin-bottom: 1.5rem;
}

.section__lead {
  text-align: center;
  color: var(--brown-muted);
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

@media (min-width: 900px) {
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
  }
}

.grid figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 1;
  background: #080e18;
}

.grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.92) contrast(1.03) saturate(0.88);
  transition: filter 0.35s ease, transform 0.45s ease;
}

.grid figure:hover img {
  filter: brightness(1) contrast(1.05) saturate(1);
  transform: scale(1.03);
}

/* Cooking: full-width hero + two equal tiles (no empty third column) */
.grid--feature {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--feature > figure:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 10;
}

.section--gallery {
  padding-top: 0.75rem;
}

.prose h1,
.prose h2 {
  font-size: clamp(2rem, 1.2rem + 2vw, 3rem);
  margin-top: 0;
}

.prose p {
  color: var(--brown-muted);
}

.prose + .prose {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.media-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.media-row img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0.92) contrast(1.03) saturate(0.9);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem clamp(1rem, 4vw, 2rem) 3rem;
  text-align: center;
}

.site-footer__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  background: linear-gradient(115deg, #7a5424, #c4a35a, #e6d3a8, #c4a35a, #8a6a2b);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: gold-reflect 5.5s ease-in-out infinite;
  margin: 0 0 0.5rem;
}

.site-footer p {
  margin: 0;
  color: var(--brown-muted);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.8s ease forwards;
}

.reveal-delay {
  animation-delay: 0.15s;
}

.reveal-delay-2 {
  animation-delay: 0.3s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}
