* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

main {
  animation: fadeIn 0.4s ease;
}

body {
  font-family: "Victor Mono", monospace;
  font-weight: 200;
  font-size: 14px;
  background: #fff;
  color: #111;
  line-height: 1.6;
  padding: 0 1.5rem 1.5rem;
  max-width: 960px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

a {
  color: #111;
  text-decoration: none;
}

a:hover {
  color: #d4a017;
}

/* ─── Sticky Navigation ─── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  background: #fff;
  border-bottom: 1px solid rgba(122, 139, 90, 0.3);
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

nav .nav-logo-img {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: cover;
  flex-shrink: 0;
}

nav .nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav .nav-links a {
  font-family: "Ojuju", monospace;
  font-weight: 250;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

nav .nav-links a[aria-current="page"] {
  color: #d4a017;
}

/* ─── Main ─── */

main {
  flex: 1;
  padding-bottom: 2rem;
}

/* ─── Home Page ─── */

.home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1;
  padding-bottom: 0;
}

.home .logo-area {
  margin-bottom: 2rem;
}

.home .logo-img {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto;
}

.home .landing-title {
  font-family: "Ojuju", monospace;
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.landing-subheader {
  font-family: "Victor Mono", monospace;
  font-weight: 100;
  font-size: clamp(0.85rem, 2vw, 1rem);
  color: #7a8b5a;
  margin-bottom: 1.25rem;
  text-transform: none;
  letter-spacing: 0.1em;
}

.home .landing-tagline {
  font-family: "Victor Mono", monospace;
  font-weight: 300;
  font-size: clamp(0.8rem, 2vw, 1rem);
  color: #7a8b5a;
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0 0.5rem;
}

.page-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.page-links a {
  font-family: "Ojuju", monospace;
  font-weight: 350;
  font-size: clamp(0.8rem, 3vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0;
}

.page-links .sep {
  color: #7a8b5a;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* ─── Typography ─── */

h1 {
  font-family: "Ojuju", monospace;
  font-size: clamp(3rem, 6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 2rem;
  color: #7a8b5a;
}

h3 {
  font-family: "Ojuju", monospace;
  font-weight: 400;
  font-size: 1.7rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

p {
  margin-bottom: 1.25rem;
  max-width: 65ch;
}

b, strong { font-weight: 700; }

.page-title {
  font-family: "Ojuju", monospace;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  font-family: "Victor Mono", monospace;
  font-weight: 300;
  font-size: clamp(0.8rem, 1.8vw, 0.9rem);
  color: #7a8b5a;
  margin-bottom: 2.5rem;
  letter-spacing: 0;
}

/* ─── Grid / Cards ─── */

/* ─── Gallery ─── */

.gallery {
  column-count: 3;
  column-gap: 1.25rem;
  margin: 0.5rem 0 2rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.25rem;
  position: relative;
}

.gallery-card {
  display: block;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-placeholder {
  display: block;
  width: 100%;
  height: auto;
  transition: filter 0.3s;
  border-radius: 1px;
}

.gallery-card:hover .gallery-placeholder {
  filter: brightness(0.55);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 1;
  text-align: center;
  pointer-events: none;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  color: #fff;
  margin-bottom: 0.25rem;
}

.gallery-overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  margin-bottom: 0;
  max-width: none;
}

/* ─── Gallery Modal ─── */

.modal-toggle:checked ~ .modal-overlay {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  padding: 2rem;
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

.modal-card {
  background: #fff;
  max-width: 640px;
  width: 100%;
  padding: 2rem;
  border-radius: 2px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 1.8rem;
  line-height: 1;
  color: #999;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #111;
}

.modal-placeholder {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 1.25rem;
  border-radius: 1px;
}

.modal-card h3 {
  margin-bottom: 0.25rem;
}

.modal-meta {
  font-size: 0.85rem;
  color: #7a8b5a;
  margin-bottom: 1rem;
}

.modal-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ─── About ─── */

.about-layout {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.about-photo {
  flex: 1;
  min-width: 0;
}

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

.about-body {
  flex: 2;
  line-height: 1.75;
}

.about-body p {
  margin-bottom: 1.5rem;
}

/* ─── Accordion ─── */

.accordion {
  margin-top: 2.5rem;
}

.accordion details {
  border-bottom: 1px solid rgba(122, 139, 90, 0.3);
  padding: 0.75rem 0;
}

.accordion details:first-child {
  border-top: 1px solid rgba(122, 139, 90, 0.3);
}

.accordion details:last-child {
  border-bottom: none;
}

.accordion summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: "Ojuju", monospace;
  font-weight: 400;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 0;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  font-size: 1.2rem;
  font-weight: 300;
  color: #7a8b5a;
  transition: transform 0.2s;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 0.75rem;
}

.accordion details[open] summary::after {
  content: "\2212";
  color: #d4a017;
}

.accordion details[open] summary {
  color: #d4a017;
}

.accordion .accordion-content {
  padding: 0.25rem 0 1.25rem;
  font-size: clamp(0.9rem, 2vw, 0.95rem);
  line-height: 1.8;
}

.accordion .accordion-content p {
  margin-bottom: 0.5rem;
}

.accordion .accordion-content a {
  border-bottom: 1px solid #d4a017;
  word-break: break-word;
}

.accordion .accordion-content a:hover {
  color: #d4a017;
}

.accordion .year {
  color: #7a8b5a;
  font-size: 0.85rem;
  display: block;
  margin-top: 2rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.accordion .entry {
  font-size: 0.85rem;
  display: block;
  margin-bottom: 0.15rem;
}

.accordion .entry-detail {
  color: #7a8b5a;
  font-size: 0.85rem;
  display: block;
  margin-bottom: 1rem;
  font-style: italic;
}

/* ─── Contact ─── */

.contact-info {
  margin: 2rem 0;
}

.contact-info a {
  border-bottom: 2px solid #d4a017;
  word-break: break-word;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-page {
  display: flex;
  justify-content: center;
}

.contact-container {
  width: 100%;
  max-width: 450px;
}

.contact-form {
  max-width: 100%;
}

.contact-form label {
  display: block;
  font-family: "Victor Mono", monospace;
  font-weight: 300;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(122, 139, 90, 0.3);
  border-radius: 2px;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  background: #fff;
  color: #111;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #d4a017;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form button {
  background: #d4a017;
  color: #fff;
  border: none;
  padding: 0.7rem 2rem;
  font-size: 1rem;
  font-weight: 300;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s;
  font-family: "Victor Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: 100%;
}

.contact-form button:hover {
  background: #111;
}

/* ─── Footer ─── */

footer {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(122, 139, 90, 0.3);
  font-size: 0.7rem;
  color: #7a8b5a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  flex-shrink: 0;
}

footer .footer-left {
  color: #7a8b5a;
}

footer .footer-right {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

footer .footer-right a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(122, 139, 90, 0.3);
  border-radius: 50%;
  transition: border-color 0.2s, background 0.2s;
  color: #7a8b5a;
}

footer .footer-right a:hover {
  border-color: #d4a017;
  background: #fdf6e3;
  color: #d4a017;
}

footer .footer-right svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ─── Inline Subscribe ─── */

.inline-subscribe {
  margin-top: 2.5rem;
  max-width: 360px;
  width: 100%;
}

.inline-subscribe-heading {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.inline-subscribe-text {
  font-size: 0.85rem;
  color: #7a8b5a;
  margin-bottom: 1.25rem;
}

.inline-subscribe-form input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(122, 139, 90, 0.3);
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  background: #fff;
  color: #111;
  -webkit-appearance: none;
  appearance: none;
  text-align: center;
}

.inline-subscribe-form input:focus {
  outline: none;
  border-color: #d4a017;
}

.inline-subscribe-form input::placeholder {
  color: #7a8b5a;
}

.inline-subscribe-form button {
  width: 100%;
  background: #d4a017;
  color: #fff;
  border: none;
  padding: 0.7rem;
  font-size: 0.9rem;
  font-weight: 300;
  cursor: pointer;
  border-radius: 2px;
  font-family: "Victor Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.2s;
}

.inline-subscribe-form button:hover {
  background: #111;
}

/* ─── Tablet ─── */

@media (max-width: 768px) {
  nav .nav-links {
    gap: 1rem;
  }

  .gallery {
    column-count: 2;
  }

  .contact-form button {
    width: auto;
  }
}

/* ─── Mobile ─── */

@media (max-width: 480px) {
  body {
    padding: 0 1.25rem 1rem;
  }

  nav {
    padding: 1rem 0;
    margin-bottom: 2rem;
  }

  nav .nav-links {
    gap: 0.6rem;
  }

  nav .nav-links a {
    font-size: 0.75rem;
  }

  .home .logo-img {
    width: 80px;
  }

  .home .landing-tagline {
    margin-bottom: 2rem;
  }

  .page-links {
    gap: 0.5rem;
  }

  .page-links a {
    font-size: 0.75rem;
  }

  .gallery {
    column-count: 1;
  }

  .modal-overlay {
    padding: 1rem;
  }

  .modal-card {
    padding: 1.5rem;
  }

  .about-layout {
    flex-direction: column;
    gap: 1.5rem;
  }

  .about-photo {
    flex: unset;
    width: 100%;
  }

  .contact-info {
    margin: 1.5rem 0;
  }

  footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
  }
}

/* ─── Scrollbar ─── */

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-button {
  display: none;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #7a8b5a;
  border-radius: 3px;
}

html,
.modal-overlay,
.modal-card {
  scrollbar-width: thin;
  scrollbar-color: #7a8b5a transparent;
}
