@import url("https://fonts.googleapis.com/css2?family=Gowun+Batang:wght@400;700&display=swap");

:root {
  color-scheme: light;
  --text: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background: #1b1c1f;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2rem;
  color: #fff;
}

.site-brand,
.site-nav a {
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.35);
}

.site-brand {
  font-family: "Gowun Batang", serif;
  font-size: 1rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.site-header-light {
  color: #6c6c6c;
}

.site-header-light .site-brand,
.site-header-light .site-nav a {
  text-shadow: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #1b1c1f;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("assets/home-hero.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.14) 0%, rgba(10, 10, 10, 0.28) 45%, rgba(10, 10, 10, 0.42) 100%);
}

.hero-caption {
  position: absolute;
  left: 50%;
  top: 73%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: min(560px, calc(100% - 3rem));
  text-align: center;
}

.hero-caption p {
  margin: 0;
  color: #ffffff;
  font-family: "Gowun Batang", serif;
  font-size: 1.05rem;
  line-height: 1.7;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.35);
}

@media (max-width: 720px) {
  .site-header {
    padding: 1.1rem 1rem;
  }

  .site-nav {
    gap: 0.8rem;
    font-size: 0.88rem;
  }

  .hero-caption {
    width: calc(100% - 2rem);
  }
}

.contact-page,
.geographer-page,
.categories-page,
.woodworking-page {
  background: #ffffff;
  color: #111111;
}

.contact-layout {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(320px, 1.4fr);
  gap: 4rem;
  align-items: center;
  width: min(980px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 5rem 0 3rem;
}

.contact-title-column h1 {
  font-family: "Gowun Batang", serif;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 0.95;
}

.contact-details-column {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
  align-content: start;
}

.contact-details-column p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
  text-align: left;
}

.geographer-layout {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(420px, 1.3fr) minmax(280px, 0.9fr);
  gap: 3rem;
  align-items: center;
  width: min(1100px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 6rem 0 3rem;
}

.geographer-image-column {
  display: flex;
  justify-content: center;
}

.geographer-image {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.geographer-copy-column h1 {
  font-family: "Gowun Batang", serif;
  margin: 0 0 1.5rem;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.95;
}

.geographer-copy-column p {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.geographer-copy-column a {
  color: #6c6c6c;
  font-weight: 700;
}

.geographer-resume {
  width: min(1100px, calc(100% - 3rem));
  margin: 0 auto 3rem;
  padding-top: 1rem;
}

.geographer-resume-header {
  margin-bottom: 2rem;
}

.geographer-resume-header h2 {
  font-family: "Gowun Batang", serif;
  margin: 0 0 1.5rem;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1;
}

.geographer-resume-header p {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  line-height: 1.6;
}

.resume-name {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resume-subtitle {
  margin-bottom: 0;
}

.geographer-resume-content {
  display: grid;
  gap: 2rem;
}

.resume-group h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.resume-item + .resume-item {
  margin-top: 1.25rem;
}

.resume-item p {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.7;
}

.resume-item ul {
  margin: 0.25rem 0 0 1.25rem;
  padding: 0;
}

.resume-item li {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  line-height: 1.7;
}

.categories-layout {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 6rem 0 3rem;
}

.category-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.category-card {
  display: grid;
  grid-template-columns: minmax(260px, 420px) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
  background: #ffffff;
}

.category-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.category-card:first-child .category-card-image {
  object-position: top center;
}

.category-card-body {
  padding-top: 0;
}

.category-card-body h2 {
  font-family: "Gowun Batang", serif;
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
}

.category-details {
  border-top: 1px solid #d9d9d9;
  padding-top: 0.85rem;
}

.category-details p {
  margin: 0.95rem 0 0;
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.75;
}

.category-card a,
.pseudo-link {
  color: #111111;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.woodworking-layout {
  width: min(1780px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 6rem 0 3rem;
}

.woodworking-hero h1 {
  font-family: "Gowun Batang", serif;
  margin: 0 0 2rem;
  text-align: center;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.woodworking-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.woodworking-gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.woodworking-copy {
  max-width: 760px;
  margin: 2.5rem auto 0;
  text-align: center;
}

.woodworking-copy p {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

.woodworking-copy a {
  color: #6c6c6c;
  text-decoration: none;
}

@media (max-width: 720px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: calc(100% - 2.5rem);
    padding: 6rem 0 3rem;
  }

  .geographer-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    width: calc(100% - 2.5rem);
    padding: 6rem 0 3rem;
  }

  .geographer-resume {
    width: calc(100% - 2.5rem);
  }

  .categories-layout {
    width: calc(100% - 2.5rem);
    padding: 6rem 0 3rem;
  }

  .category-grid {
    gap: 2rem;
  }

  .category-card {
    grid-template-columns: 1fr;
  }

  .woodworking-layout {
    width: calc(100% - 2.5rem);
    padding: 6rem 0 3rem;
  }

  .woodworking-gallery {
    grid-template-columns: 1fr;
  }
}
