/* ============================================================
   MAXIMUS ALEXANDER JENKINS — FIELD JOURNAL PORTFOLIO
   style.css
============================================================ */

/* ==================== CUSTOM FONTS ==================== */
@font-face {
  font-family: 'MaxFont';
  src: url('fonts/MaxFont-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ==================== CSS VARIABLES ==================== */
:root {
  --bg:        #EAE4D4;
  --ink:       #2C2416;
  --accent:    #8B6914;
  --green:     #457536;
  --rule:      #D4C9B0;
  --card-bg:   #FDFAF4;
  --red:       #B83024;

  --shadow-sm:  rgba(44, 36, 22, 0.12);
  --shadow-md:  rgba(44, 36, 22, 0.22);
  --shadow-lg:  rgba(44, 36, 22, 0.35);

  --font-hand:  'MaxFont', 'Caveat', cursive;
  --font-serif: 'Special Elite', monospace;
  --font-body:  'Caveat', cursive;
  --font-type:  'Special Elite', monospace;

  --max-w: 1100px;
  --pad-section: 90px;
  --pad-h: 28px;
}

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

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

body {
  background-color: #EAE4D4; /* fallback — canvas texture applied by JS */
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.75;
  overflow-x: hidden;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Crect x='3' y='10' width='26' height='17' rx='3' fill='%232C2416'/%3E%3Cpath d='M12 10V8a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2' fill='%232C2416'/%3E%3Ccircle cx='16' cy='18' r='5.5' fill='%23FDFAF4' opacity='0.15'/%3E%3Ccircle cx='16' cy='18' r='4' fill='%23457536'/%3E%3Ccircle cx='16' cy='18' r='2' fill='%232C2416'/%3E%3Ccircle cx='17.2' cy='16.8' r='0.7' fill='white' opacity='0.6'/%3E%3Crect x='5' y='12' width='4' height='2.5' rx='1' fill='%238B6914'/%3E%3C/svg%3E") 16 18, auto;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Crect x='3' y='10' width='26' height='17' rx='3' fill='%232C2416'/%3E%3Cpath d='M12 10V8a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2' fill='%232C2416'/%3E%3Ccircle cx='16' cy='18' r='5.5' fill='%23FDFAF4' opacity='0.15'/%3E%3Ccircle cx='16' cy='18' r='4' fill='%23457536'/%3E%3Ccircle cx='16' cy='18' r='2' fill='%232C2416'/%3E%3Ccircle cx='17.2' cy='16.8' r='0.7' fill='white' opacity='0.6'/%3E%3Crect x='5' y='12' width='4' height='2.5' rx='1' fill='%238B6914'/%3E%3C/svg%3E") 16 18, pointer; }
button { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Crect x='3' y='10' width='26' height='17' rx='3' fill='%232C2416'/%3E%3Cpath d='M12 10V8a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2' fill='%232C2416'/%3E%3Ccircle cx='16' cy='18' r='5.5' fill='%23FDFAF4' opacity='0.15'/%3E%3Ccircle cx='16' cy='18' r='4' fill='%23457536'/%3E%3Ccircle cx='16' cy='18' r='2' fill='%232C2416'/%3E%3Ccircle cx='17.2' cy='16.8' r='0.7' fill='white' opacity='0.6'/%3E%3Crect x='5' y='12' width='4' height='2.5' rx='1' fill='%238B6914'/%3E%3C/svg%3E") 16 18, pointer; }
ul { list-style: none; }

/* ==================== PAPER GRAIN OVERLAY ==================== */
/* SVG feTurbulence micro-grain sits above everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9900;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  mix-blend-mode: multiply;
}


/* ==================== LAYOUT HELPERS ==================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-h);
}

.section-pad {
  padding-top: var(--pad-section);
  padding-bottom: var(--pad-section);
}

/* ==================== RULED DIVIDERS ==================== */
.ruled-divider {
  position: relative;
  height: 3px;
  background: linear-gradient(to right, transparent 0%, var(--rule) 8%, var(--rule) 92%, transparent 100%);
  margin: 0;
}
.ruled-divider::after {
  content: '';
  display: block;
  height: 1px;
  margin-top: 5px;
  background: linear-gradient(to right, transparent 0%, var(--rule) 15%, var(--rule) 85%, transparent 100%);
  opacity: 0.45;
}

/* ==================== SECTION TITLE STYLE ==================== */
.section-title {
  font-family: var(--font-hand);
  font-size: clamp(3.3rem, 7.5vw, 5.4rem);
  font-weight: 700;
  color: var(--ink);
  display: inline-block;
  line-height: 1.2;
  margin-bottom: 0.15em;
}

.hand-underline {
  display: block;
  width: 100%;
  height: 22px;
  overflow: visible;
  margin-top: -6px;
  margin-bottom: 0.5em;
}

.section-intro {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--accent);
  margin-bottom: 2.5rem;
  display: block;
}

/* ============================================================
   NAVIGATION
============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 36px;
  transition: background 0.45s ease, backdrop-filter 0.45s ease, box-shadow 0.45s ease;
}

.nav.scrolled {
  background: rgba(228, 218, 196, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 24px var(--shadow-sm);
}

.nav-logo {
  font-family: var(--font-hand);
  font-size: 2.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #F5F0E8;
  transition: color 0.45s;
  user-select: none;
}
.nav.scrolled .nav-logo { color: var(--ink); }

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-type);
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  color: rgba(245, 240, 232, 0.88);
  transition: color 0.35s;
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav.scrolled .nav-links a { color: var(--ink); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: #F5F0E8;
  border-radius: 1px;
  transition: background 0.4s, transform 0.3s;
}
.nav.scrolled .hamburger span { background: var(--ink); }

/* Mobile menu — unfolds like a map */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  clip-path: inset(0% 0% 100% 0%);
  transition: clip-path 0.48s cubic-bezier(0.4, 0, 0.2, 1);
  /* Notebook ruled lines inside mobile menu */
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent, transparent 31px,
      rgba(212, 201, 176, 0.45) 31px, rgba(212, 201, 176, 0.45) 32px
    );
}
.mobile-menu.open {
  pointer-events: all;
  clip-path: inset(0% 0% 0% 0%);
}

.mobile-menu-inner {
  text-align: center;
  position: relative;
  padding: 40px 60px;
}

.mobile-close {
  position: absolute;
  top: -20px; right: -10px;
  font-family: var(--font-hand);
  font-size: 3.3rem;
  background: none;
  border: none;
  color: var(--ink);
  opacity: 0.6;
  transition: opacity 0.2s;
}
.mobile-close:hover { opacity: 1; }

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}
.mobile-menu a {
  font-family: var(--font-type);
  font-size: 1.5rem;
  letter-spacing: 4px;
  color: var(--ink);
  display: block;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--accent); }

.mobile-menu-footer {
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 2.5rem;
  opacity: 0.7;
}

/* ============================================================
   HERO / COVER
============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -25%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(0.65) brightness(0.9);
  will-change: transform;
  transform-origin: center center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(170deg,
      rgba(15, 10, 3, 0.55) 0%,
      rgba(25, 18, 6, 0.38) 45%,
      rgba(12, 8, 2, 0.62) 100%
    );
  /* Ink-wash feel */
  mix-blend-mode: multiply;
  opacity: 0.95;
}
/* Extra dark strip at very bottom for readability */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to top, rgba(10, 7, 2, 0.5), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 24px;
  animation: hero-fade-in 1.2s ease 0.2s both;
}

@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-type);
  font-size: 0.72rem;
  letter-spacing: 5px;
  color: rgba(245, 240, 232, 0.55);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-hand);
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  font-weight: 700;
  color: #F5F0E8;
  line-height: 1.05;
  text-shadow: 2px 6px 30px rgba(0,0,0,0.45);
  margin-bottom: 0.4em;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2.5vw, 1.6rem);
  color: rgba(245, 240, 232, 0.82);
  letter-spacing: 1px;
}

/* Hand-drawn scroll arrow */
.scroll-arrow {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  color: rgba(245, 240, 232, 0.7);
  animation: arrow-bounce 2.2s ease-in-out infinite;
  transition: color 0.2s;
}
.scroll-arrow:hover { color: rgba(245, 240, 232, 1); }
.scroll-arrow svg { width: 36px; height: 50px; }
.scroll-arrow span {
  font-family: var(--font-hand);
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  55%       { transform: translateX(-50%) translateY(9px); }
}

/* ============================================================
   ABOUT SECTION
============================================================ */
.about-section { }

.about-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
  align-items: stretch;
  margin-top: 2rem;
}

/* Polaroid */
.polaroid-wrap {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.polaroid {
  background: #FDFAF4;
  padding: 11px 11px 46px;
  box-shadow:
    4px 6px 18px var(--shadow-md),
    0 0 0 1px rgba(139, 105, 20, 0.08);
  transform: rotate(-4.5deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.polaroid:hover {
  transform: rotate(-1.5deg) translateY(-5px);
  box-shadow: 8px 14px 32px var(--shadow-lg);
}

.polaroid-img {
  overflow: hidden;
  position: relative;
  background: #b8ad98;
  flex: 1;
  /* torn paper feel on polaroid */
  clip-path: polygon(0% 1%,2% 0%,98% 0%,100% 1%,100% 99%,98% 100%,2% 100%,0% 99%);
}
.polaroid-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: rotate(-90deg) scale(3.0) translateX(20px);
}
.polaroid-img::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(25,15,4,0.28) 100%);
  pointer-events: none;
}

.polaroid-caption {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  color: rgba(44, 36, 22, 0.65);
  text-align: center;
  margin-top: 10px;
}

/* Bio */
.about-text { padding-top: 0.5rem; }

.bio-text {
  font-size: 2.06rem;
  line-height: 1.82;
  color: var(--ink);
  margin-bottom: 1.15rem;
}
.location-line { color: var(--accent); }

/* Activity stamp tags */
.activity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.8rem;
}

.activities-kit-section {
  padding: 40px 0 0;
}

.activities-kit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding-bottom: 40px;
}

.activities-kit-col {
  display: flex;
  flex-direction: column;
}

.tags-label {
  font-family: var(--font-hand);
  font-size: 2.4rem;
  color: var(--ink);
  opacity: 0.6;
  margin-top: 0;
  margin-bottom: 0;
}

.gear-tags {
  margin-top: 0.9rem;
}

.tag {
  font-family: var(--font-type);
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  padding: 5px 12px;
  border: 1.5px solid var(--accent);
  background: var(--accent);
  color: var(--bg);
  border-radius: 1px;
  transform: rotate(var(--tag-rot, 0deg));
  cursor: default;
  user-select: none;
}

/* About grid fade in */
.about-grid {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.about-grid.visible { opacity: 1; }

/* ============================================================
   PORTFOLIO GRID
============================================================ */
.work-section { }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.4rem;
}

.portfolio-card {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin-bottom: 1.6rem;
  position: relative;
  transform: rotate(var(--rotation, 0deg));
  transition: transform 0.35s ease, filter 0.35s ease, opacity 0.55s ease;
  cursor: pointer;
  /* fade in via JS */
  opacity: 0;
}
.portfolio-card.visible { opacity: 1; }

.portfolio-card:hover,
.portfolio-card:focus {
  outline: none;
  transform: rotate(0deg) translateY(-7px) scale(1.025);
  z-index: 20;
  filter: drop-shadow(0 12px 28px rgba(44,36,22,0.35));
}

/* Tape strips */
.card-tape,
.card-tape--right {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 64px; height: 18px;
  background: rgba(212, 201, 176, 0.62);
  z-index: 5;
  border-radius: 1px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  pointer-events: none;
}
.card-tape--right {
  left: auto; right: 18px;
  transform: rotate(8deg);
}

/* Image wrapper with torn/burned paper edge */
.card-img-wrap {
  position: relative;
  overflow: hidden;
  background: #b8ad98;
  display: block;
}

/* Three clip-path variants for visual variety */
.variant-a {
  clip-path: polygon(
    0% 2%, 1.5% 0%, 3% 1%, 18% 0.5%, 38% 0%, 58% 1%, 78% 0.5%, 96% 0%, 100% 2%,
    99% 18%, 100% 38%, 99% 58%, 100% 78%, 99% 97%, 97% 100%,
    80% 99%, 60% 100%, 40% 99%, 20% 100%, 4% 99%, 0% 97%,
    1% 80%, 0% 60%, 1% 40%, 0% 20%
  );
}
.variant-b {
  clip-path: polygon(
    0% 3%, 2% 0%, 4% 1.5%, 22% 0%, 44% 1%, 66% 0%, 88% 1%, 98% 0%, 100% 3%,
    99% 22%, 100% 44%, 99% 66%, 100% 88%, 98% 100%,
    78% 99%, 56% 100%, 34% 99%, 12% 100%, 2% 98%, 0% 96%,
    1% 76%, 0% 54%, 1% 32%, 0% 12%
  );
}
.variant-c {
  clip-path: polygon(
    1% 1%, 3% 0%, 5% 1.5%, 25% 0%, 50% 1%, 75% 0%, 95% 1%, 100% 2%,
    99% 25%, 100% 50%, 99% 75%, 100% 98%, 98% 100%,
    75% 99%, 50% 100%, 25% 99%, 5% 100%, 1% 98%, 0% 75%,
    1% 50%, 0% 25%, 1% 5%
  );
}

.card-img-wrap img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  filter: saturate(0.82) contrast(1.06);
}
.portfolio-card:hover .card-img-wrap img { transform: scale(1.06); }

/* Burned corner effect overlay */
.card-burn {
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    radial-gradient(ellipse at 0%   0%,   rgba(28,14,3,0.55) 0%, transparent 48%),
    radial-gradient(ellipse at 100% 0%,   rgba(28,14,3,0.5)  0%, transparent 48%),
    radial-gradient(ellipse at 0%   100%, rgba(28,14,3,0.6)  0%, transparent 48%),
    radial-gradient(ellipse at 100% 100%, rgba(28,14,3,0.6)  0%, transparent 48%),
    radial-gradient(ellipse at 50%  50%,  transparent 55%, rgba(28,14,3,0.15) 100%);
}

/* Badge (YouTube / Instagram) */
.card-badge {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 3;
  font-family: var(--font-type);
  font-size: 0.62rem;
  letter-spacing: 1px;
  padding: 3px 7px;
  background: rgba(245, 240, 232, 0.88);
  color: var(--ink);
  border-radius: 1px;
}

/* Card info strip */
.card-info {
  padding: 9px 4px 4px;
}
.card-title {
  font-family: var(--font-hand);
  font-size: 2.18rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.card-location {
  display: block;
  font-family: var(--font-type);
  font-size: 0.62rem;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-top: 2px;
}

/* ============================================================
   LIGHTBOX
============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }

.lb-overlay {
  position: absolute; inset: 0;
  background: rgba(15, 10, 3, 0.92);
  cursor: pointer;
}

.lb-box {
  position: relative;
  z-index: 1;
  background: var(--bg);
  max-width: 820px;
  width: 92%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 24px 28px 28px;
  clip-path: polygon(
    0% 1%, 1% 0%, 99% 0%, 100% 1%,
    100% 99%, 99% 100%, 1% 100%, 0% 99%
  );
  animation: lb-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transition: max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.lb-box--portrait  { max-width: 480px; }
.lb-box--landscape { max-width: 820px; }
@keyframes lb-pop {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.lb-close {
  position: absolute;
  top: 10px; right: 14px;
  font-family: var(--font-hand);
  font-size: 3.3rem;
  background: none;
  border: none;
  color: var(--ink);
  opacity: 0.55;
  transition: opacity 0.2s;
  line-height: 1;
  z-index: 2;
}
.lb-close:hover { opacity: 1; }

.lb-media {
  margin-bottom: 1.4rem;
  background: var(--ink);
  overflow: hidden;
}
.lb-media img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* Embed placeholder inside lightbox */
.lb-embed {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  color: rgba(245,240,232,0.55);
  text-align: center;
  gap: 12px;
  padding: 40px;
}
.lb-embed-icon  { font-size: 3rem; opacity: 0.35; }
.lb-embed-type  { font-family: var(--font-type); font-size: 0.75rem; letter-spacing: 3px; }
.lb-embed-title { font-family: var(--font-hand); font-size: 2.25rem; color: rgba(245,240,232,0.75); }
.lb-embed-hint  { font-family: var(--font-type); font-size: 0.62rem; letter-spacing: 2px; opacity: 0.35; }

/* Native hosted video in lightbox */
.lb-video {
  display: block;
  width: 100%;
  max-height: 72vh;
  background: #000;
  outline: none;
}

/* ── Carousel ───────────────────────────────── */
.lb-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d0a06;
  user-select: none;
}
.lb-carousel-img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
}
.lb-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(245, 240, 232, 0.15);
  border: 1.5px solid rgba(245, 240, 232, 0.3);
  color: #F5F0E8;
  font-size: 1.4rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.lb-carousel-btn:hover { background: rgba(245, 240, 232, 0.3); }
.lb-carousel-prev { left: 12px; }
.lb-carousel-next { right: 12px; }
.lb-carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}
.lb-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(245, 240, 232, 0.35);
  transition: background 0.2s;
}
.lb-dot--active { background: #F5F0E8; }
.lb-carousel-count {
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: var(--font-type);
  font-size: 0.65rem;
  letter-spacing: 2px;
  color: rgba(245, 240, 232, 0.5);
  z-index: 2;
}

.lb-title {
  font-family: var(--font-hand);
  font-size: 3.15rem;
  color: var(--ink);
  margin-bottom: 0.25em;
}
.lb-location {
  display: block;
  font-family: var(--font-type);
  font-size: 0.7rem;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 0.9em;
}
.lb-desc {
  font-family: var(--font-body);
  font-size: 2rem;
  line-height: 1.75;
  color: var(--ink);
  opacity: 0.82;
}

/* ============================================================
   FIELD NOTES
============================================================ */
.field-notes-section { }

.journal-entry {
  position: relative;
  max-width: 730px;
  margin: 0 auto 1.5rem;
  padding: 28px 36px 24px;
  background: var(--card-bg);
  /* Notebook ruled lines */
  background-image:
    repeating-linear-gradient(
      to bottom,
      transparent, transparent 29px,
      rgba(212, 201, 176, 0.55) 29px, rgba(212, 201, 176, 0.55) 30px
    );
  box-shadow: 3px 5px 18px var(--shadow-md);
  border-left: 3.5px solid var(--accent);
  /* fade in */
  opacity: 0;
  transition: opacity 0.6s ease;
}
.journal-entry.visible { opacity: 1; }

.entry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--rule);
}
.entry-date {
  font-family: var(--font-type);
  font-size: 0.78rem;
  letter-spacing: 2px;
  color: var(--accent);
}
.entry-no {
  font-family: var(--font-type);
  font-size: 0.68rem;
  letter-spacing: 2px;
  color: var(--rule);
}

.entry-title {
  font-family: var(--font-hand);
  font-size: 2.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.9rem;
  line-height: 1.2;
}

.entry-preview p,
.entry-full p {
  font-size: 2rem;
  line-height: 1.82;
  color: var(--ink);
  margin-bottom: 0.9rem;
}
.entry-preview p { opacity: 0.78; }

.read-more-btn {
  font-family: var(--font-type);
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  color: var(--green);
  background: none;
  border: none;
  padding: 2px 0;
  margin-top: 0.4rem;
  position: relative;
  transition: opacity 0.2s;
}
.read-more-btn::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--green);
  transition: width 0.3s ease;
}
.read-more-btn:hover::after { width: 100%; }

/* Smooth expand */
.entry-full {
  overflow: hidden;
  transition: opacity 0.4s ease;
}

/* Journal entry wavy divider */
.journal-divider {
  max-width: 730px;
  margin: 0 auto 1.5rem;
}
.journal-divider svg {
  width: 100%; height: 30px;
  display: block;
}

/* ============================================================
   DISPATCH / SOCIAL PROOF
============================================================ */
.dispatch-section { }

.comments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.comment-card {
  padding: 16px 16px 14px;
  background: #FFF9E6;
  box-shadow: 2px 4px 12px var(--shadow-sm);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
  position: relative;
  border-top: 3px solid var(--accent);
  /* fade in */
  opacity: 0;
}
.comment-card.visible { opacity: 1; }

/* Tape mark at top */
.comment-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 8px;
  background: rgba(139, 105, 20, 0.25);
  border-radius: 0 0 3px 3px;
}

.comment-card:hover {
  transform: rotate(0deg) translateY(-5px);
  box-shadow: 6px 9px 22px var(--shadow-md);
  z-index: 5;
}

.comment-card--wide { grid-column: span 2; }

.comment-text {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.86rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.comment-handle {
  font-family: var(--font-type);
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  color: var(--accent);
}

/* Stats bar */
.stats-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 22px 32px;
  border: 2px solid var(--rule);
  background: var(--card-bg);
  position: relative;
  border-radius: 1px;
}
.stats-bar::before {
  content: 'FIELD REPORT';
  position: absolute;
  top: -10px; left: 22px;
  font-family: var(--font-type);
  font-size: 0.6rem;
  letter-spacing: 4px;
  color: var(--accent);
  background: var(--bg);
  padding: 0 8px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}
.stat-label {
  font-family: var(--font-type);
  font-size: 0.6rem;
  letter-spacing: 3px;
  color: var(--ink);
}
.stat-val {
  font-family: var(--font-hand);
  font-size: 1.88rem;
  font-weight: 700;
  color: var(--ink);
}
.stat-pipe {
  font-size: 1.6rem;
  color: var(--rule);
  font-weight: 100;
  line-height: 1;
}

/* ============================================================
   CONTACT
============================================================ */
.contact-inner {
  max-width: 600px;
  padding-top: var(--pad-section);
  padding-bottom: var(--pad-section);
  text-align: center;
}

.contact-title {
  font-size: clamp(3.9rem, 9.75vw, 6.3rem);
  display: block;
  margin-bottom: 0.2em;
}

.contact-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 2.1rem;
  color: var(--accent);
  margin-bottom: 2.8rem;
}

.contact-form { text-align: left; }

.form-field { margin-bottom: 2rem; }

.form-field label {
  display: block;
  font-family: var(--font-type);
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(44, 36, 22, 0.45);
  padding: 8px 3px;
  font-family: var(--font-body);
  font-size: 2rem;
  color: var(--ink);
  outline: none;
  resize: vertical;
  border-radius: 0;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field textarea:focus { border-bottom-color: var(--accent); }
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(44, 36, 22, 0.3);
  font-style: italic;
}

/* Red stamp submit button */
.stamp-btn {
  display: block;
  margin: 2.2rem auto 0;
  padding: 13px 38px;
  background: transparent;
  border: 2.5px solid var(--red);
  color: var(--red);
  font-family: var(--font-type);
  font-size: 1rem;
  letter-spacing: 5px;
  transform: rotate(-2deg);
  border-radius: 2px;
  transition: all 0.22s ease;
  position: relative;
}
.stamp-btn::before {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid var(--red);
  opacity: 0.25;
  border-radius: 1px;
}
.stamp-btn:hover {
  background: var(--red);
  color: #F5F0E8;
  transform: rotate(0deg);
}
.stamp-btn:active { transform: rotate(-1deg) scale(0.96); }

/* Sent confirmation */
.sent-wrap {
  text-align: center;
  margin-top: 1.8rem;
}
.sent-wrap[hidden] { display: none; }

.sent-stamp {
  display: inline-block;
  font-family: var(--font-type);
  font-size: 1.4rem;
  letter-spacing: 4px;
  color: var(--green);
  border: 2.5px solid var(--green);
  padding: 8px 20px;
  border-radius: 2px;
  transform: rotate(-2.5deg);
  margin-bottom: 0.5rem;
}
.sent-wrap p {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--accent);
  font-size: 1.9rem;
}

/* Social link */
.contact-social {
  margin-top: 2.8rem;
  text-align: center;
}
.contact-social p {
  font-family: var(--font-body);
  font-style: italic;
  color: rgba(44, 36, 22, 0.5);
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}
.ig-link {
  font-family: var(--font-type);
  letter-spacing: 2px;
  font-size: 0.9rem;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.ig-link:hover {
  color: var(--green);
  border-color: var(--green);
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  text-align: center;
  padding: 44px 24px;
  border-top: 1px solid var(--rule);
}
.footer-name {
  font-family: var(--font-hand);
  font-size: 1.95rem;
  color: var(--ink);
  opacity: 0.7;
}
.footer-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent);
  opacity: 0.8;
  margin-top: 3px;
}
.footer-small {
  font-family: var(--font-type);
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  color: var(--rule);
  margin-top: 8px;
}

/* ============================================================
   RESPONSIVE — TABLET
============================================================ */
@media (max-width: 960px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .polaroid-wrap { justify-content: flex-start; }
}

/* ============================================================
   RESPONSIVE — MOBILE
============================================================ */
@media (max-width: 640px) {
  :root {
    --pad-section: 56px;
    --pad-h: 18px;
  }

  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-title { font-size: clamp(2.6rem, 12vw, 4rem); }

  .portfolio-grid { grid-template-columns: 1fr; }

  .comments-grid { grid-template-columns: 1fr 1fr; }
  .comment-card--wide { grid-column: span 2; }

  .stats-bar { gap: 1.5rem; }
  .stat-pipe { display: none; }

  .about-grid { grid-template-columns: 1fr; }
  .polaroid { width: 200px; }

  .contact-inner { text-align: left; }
  .contact-sub   { text-align: left; }

  .lb-box { padding: 18px 18px 22px; }
}

@media (max-width: 420px) {
  .comments-grid { grid-template-columns: 1fr; }
  .comment-card--wide { grid-column: span 1; }
}
