@font-face {
  font-family: "Jeju Myeongjo";
  src: url("./assets/fonts/JejuMyeongjo-Regular.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: "Monsieur La Doulaise";
  src: url("./assets/fonts/MonsieurLaDoulaise-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}
@font-face {
  font-family: "Lora";
  src: url("./assets/fonts/Lora-Medium.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}
:root {
  color-scheme: light;
  background: #bfe3dc;
  font-family: "Jeju Myeongjo", Georgia, serif;
  --scene-progress: 0;
  --lemon: #f2d024;
  --lemon-deep: #d9ae00;
  --leaf: #4c7a2a;
  --leaf-deep: #3f6b22;
  --aqua: #bfe3dc;
  --ink: #101506;
}
* { box-sizing: border-box; }
html { scrollbar-width: none; overscroll-behavior-y: none; }
html::-webkit-scrollbar { display: none; }
body { margin: 0; color: var(--ink); }
button { font: inherit; }
#journey { height: calc(1055svh + var(--gallery-overflow, 0px)); }
#fall-ui { position: fixed; inset: 0; z-index: 2; opacity: 0; visibility: hidden; pointer-events: none; }
.thesis-cards { position: absolute; inset: 0; perspective: 1200px; perspective-origin: 50% 70%; }
.thesis-card {
  position: absolute;
  top: 58%; left: 12%;
  width: clamp(180px, 14vw, 240px);
  margin: 0; padding: clamp(10px, .85vw, 16px) clamp(11px, .9vw, 17px);
  border: 4px solid #fffdf4; border-radius: 12px;
  background: var(--lemon); color: #000;
  box-shadow: 0 8px 22px -16px #5a6b1e55;
  transform-origin: 50% 65%; backface-visibility: hidden;
  opacity: 0; visibility: hidden;
  will-change: transform, opacity;
}
.thesis-card:nth-child(2) { top: 76%; left: 36%; }
.thesis-card:nth-child(3) { top: 74%; left: 62%; }
.thesis-card-copy h3 { margin: 0; font: 500 clamp(17px, 1.3vw, 24px)/1.1 "Lora", Georgia, serif; letter-spacing: -.02em; }
.thesis-card-copy p { margin: clamp(5px, .7vh, 9px) 0 0; font: 400 clamp(12px, .92vw, 16px)/1.25 "Jeju Myeongjo", Georgia, serif; }
.fall-card {
  position: absolute;
  top: 16%; right: 4.15%;
  width: clamp(250px, 17.5vw, 330px);
  color: var(--ink);
  opacity: 0; visibility: hidden;
  will-change: transform, opacity;
}
.fall-card-inner { padding: clamp(16px, 1.5vw, 28px) clamp(15px, 1.4vw, 26px); }
.fall-card-inner h3 {
  margin: 0 0 clamp(14px, 1.9vh, 26px);
  font: 500 clamp(16px, 1.3vw, 24px)/1.12 "Lora", Georgia, serif;
  letter-spacing: -.025em;
}
.fall-card-list { display: grid; gap: .5em; margin: 0; font-size: clamp(12px, .9vw, 16px); line-height: 1.1; }
.fall-card-list div { display: flex; align-items: baseline; justify-content: space-between; gap: 1.2em; }
.fall-card-list dt, .fall-card-list dd { margin: 0; }
.fall-card-button {
  width: 100%;
  min-height: 2.6em;
  margin-top: clamp(14px, 1.9vh, 26px);
  border: 0;
  border-radius: 0.5em;
  color: var(--ink);
  background: rgba(255,255,255,0.94);
  font-size: clamp(11px, .85vw, 15px);
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease;
}
.fall-card-button:hover { transform: translateY(-2px); background: #fffbd9; }
.fall-card-button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.fall-card-note {
  margin: clamp(12px, 1.6vh, 22px) 0 0;
  text-align: center;
  font-size: clamp(11px, .84vw, 15px);
  line-height: 1.2;
  color: var(--ink);
}
@media (max-aspect-ratio: 9/10) {
  .fall-card { top: 12%; right: 3%; width: min(250px, 46vw); }
  .fall-card-note { display: none; }
}
.gallery-layout { position: absolute; inset: 0; perspective: 1200px; perspective-origin: 50% 65%; }
.gallery-item { opacity: 0; visibility: hidden; transform-origin: 50% 65%; backface-visibility: hidden; }
.glass-card {
  border: 2px solid rgba(255,255,255,.56);
  border-radius: clamp(12px, 1vw, 20px);
  background: rgba(255,255,255,.16);
  box-shadow: 0 0 0 8px rgba(0,0,0,.16);
  -webkit-backdrop-filter: blur(80px);
  backdrop-filter: blur(80px);
}
.gallery-editorial { position: absolute; left: 4.15%; bottom: 6.4%; width: 24%; }
.gallery-feature {
  display: grid;
  grid-template-columns: 32.5% 1fr;
  grid-template-rows: 1fr auto;
  min-height: 300px;
  height: 34.5vh;
  overflow: hidden;
}
.gallery-detail-frame { grid-row: 1 / 3; overflow: hidden; min-height: 0; }
.gallery-detail { width: 100%; height: 100%; object-fit: cover; object-position: 44% 50%; transform: scale(1.85); }
.gallery-feature-copy { padding: clamp(12px, 1.25vw, 24px); }
.gallery-feature h3, .gallery-heading {
  margin: 0;
  font: 500 clamp(17px, 1.3vw, 25px)/1.1 "Lora", Georgia, serif;
  letter-spacing: -.025em;
}
.gallery-feature h3 { margin-bottom: clamp(16px, 1.9vh, 25px); }
.gallery-feature h4 { margin: clamp(12px, 1.5vh, 20px) 0 7px; font-family: "Lora", Georgia, serif; font-size: clamp(12px, .94vw, 18px); font-weight: 500; line-height: 1.15; }
.gallery-feature-copy p { margin: 0; font-size: clamp(11px, .76vw, 15px); line-height: 1.4; }
.gallery-feature-footnote { margin: 0; padding: clamp(9px, .8vw, 15px); background: var(--lemon); font-size: clamp(10px, .76vw, 15px); line-height: 1.1; }
.gallery-note { margin: clamp(22px, 2.8vh, 36px) 0 0; font-size: clamp(13px, 1.04vw, 20px); line-height: 1.3; }
.gallery-stack { position: absolute; top: calc(27.3% - 40px); bottom: 6.3%; right: 4.15%; width: 20%; display: flex; flex-direction: column; gap: clamp(25.2px, 2.1vh, 33.6px); perspective: 1200px; }
.gallery-heading { flex: 0 0 auto; margin-bottom: 0; max-width: 95%; }
.gallery-photo { flex: 1 1 0; min-height: 0; margin: 0; padding: clamp(6px, .45vw, 9px) clamp(6px, .45vw, 9px) 0; display: flex; flex-direction: column; }
.gallery-photo-image { flex: 1; min-height: 0; overflow: hidden; border-radius: clamp(7px, .55vw, 11px); background: var(--lemon); }
.gallery-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.gallery-photo figcaption { flex: 0 0 auto; padding: clamp(13px, 2vh, 26px) clamp(8px, .8vw, 16px); font-family: "Lora", Georgia, serif; font-size: clamp(12px, .94vw, 18px); font-weight: 500; line-height: 1.15; }
@media (max-width: 1100px) and (min-aspect-ratio: 9/10) {
  .gallery-editorial { left: 3%; width: 29%; bottom: 5%; }
  .gallery-stack { right: 3%; width: 23%; bottom: 5%; }
  .gallery-feature-copy { padding: 12px; }
}
@media (max-aspect-ratio: 9/10) {
  #fall-ui { clip-path: inset(65px 0 0); }
  .gallery-layout { top: 60svh; bottom: auto; padding: 0 24px; display: grid; gap: 34px; perspective: 900px; }
  .gallery-editorial, .gallery-stack { position: static; width: 100%; }
  .gallery-feature { min-height: 320px; height: auto; grid-template-columns: 29% 1fr; }
  .gallery-feature h3 { font-size: 19px; }
  .gallery-feature h4 { font-size: 14px; }
  .gallery-feature-copy { padding: 17px 14px; }
  .gallery-feature-copy p { font-size: 13px; }
  .gallery-feature-footnote { padding: 12px; font-size: 12px; }
  .gallery-note { margin-top: 22px; font-size: 16px; }
  .gallery-stack { display: grid; gap: 25.2px; }
  .gallery-heading { font-size: 24px; max-width: 290px; margin: 0; }
  .gallery-photo { padding: 7px 7px 0; }
  .gallery-photo-image { flex: none; aspect-ratio: 373 / 278; }
  .gallery-photo figcaption { padding: 20px 12px; font-size: 16px; }
}
@media (max-height: 900px) and (min-aspect-ratio: 9/10) {
  .thesis-card:nth-child(2) { top: min(76%, calc(100% - 130px)); }
  .thesis-card:nth-child(3) { top: min(74%, calc(100% - 130px)); }
}
@media (max-width: 1100px) and (min-aspect-ratio: 9/10) {
  .thesis-card { border-width: 3px; padding: 9px; }
  .thesis-card-copy h3 { font-size: 13px; }
  .thesis-card-copy p { font-size: 11px; }
}
@media (max-aspect-ratio: 9/10) {
  .thesis-cards { perspective: 900px; }
  .thesis-card { top: 60%; left: 8%; width: 76%; max-width: 390px; padding: 10px 13px; border-width: 3px; }
  .thesis-card:nth-child(2) { top: 71%; left: 8%; }
  .thesis-card:nth-child(3) { top: 82%; left: 8%; }
  .thesis-card-copy h3 { font-size: 15px; }
  .thesis-card-copy p { margin-top: 3px; font-size: 11px; }
}
#contact { position: fixed; inset: 0; z-index: 2; visibility: hidden; pointer-events: none; perspective: 1200px; text-align: center; overflow: hidden; }
.contact-reveal { position: absolute; z-index: 1; opacity: 0; visibility: hidden; backface-visibility: hidden; transform-origin: 50% 65%; }
.contact-lemons {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: auto;
  display: block;
  visibility: hidden;
  pointer-events: none;
  /* photo cutout: the lemon pile fills the bottom edge to edge; the frame
     cuts land on the viewport edges, no mask needed */
  -webkit-mask-image: none;
  mask-image: none;
}
#contact-title { top: 11%; left: 5%; width: 90%; margin: 0; font-size: clamp(34px, min(5.6vw, 9svh), 108px); font-weight: 400; line-height: .74; letter-spacing: -.04em; }
#contact-title > span { display: block; }
#contact-title .contact-connect { display: flex; justify-content: center; align-items: baseline; gap: .3em; margin-top: .38em; }
#contact-title .contact-connect .script-cap { font-size: .92em; }
.contact-email-wrap { top: 47%; left: 3%; width: 94%; }
.contact-email { display: inline-flex; align-items: baseline; justify-content: center; color: var(--ink); text-decoration: none; white-space: nowrap; font-size: clamp(30px, min(5.4vw, 8.6svh), 106px); line-height: 1; letter-spacing: -.035em; pointer-events: auto; transition: color 220ms ease; }
.email-bracket { font-family: "Monsieur La Doulaise", cursive; font-size: 1.1em; line-height: 0; padding: 0 .06em; }
.contact-email:hover, .contact-email:focus-visible { color: var(--leaf); }
.contact-email:focus-visible { outline: 2px solid currentColor; outline-offset: 12px; border-radius: 6px; }
.contact-footer { top: 80%; left: 5%; width: 90%; display: flex; align-items: center; justify-content: center; gap: clamp(20px, 2.1vw, 42px); font-size: clamp(12px, .86vw, 17px); line-height: 1.3; }
@media (max-aspect-ratio: 9/10) {
  #contact-title { top: 12%; left: 4%; width: 92%; font-size: clamp(30px, 8vw, 60px); line-height: .86; }
  .contact-email-wrap { top: 45%; left: 2%; width: 96%; }
  .contact-email { font-size: clamp(22px, 5.9vw, 46px); }
  .contact-footer { top: 78%; gap: 14px 24px; flex-wrap: wrap; font-size: 12px; }
  .contact-footer > span:first-child { flex-basis: 100%; }
  .contact-lemons { bottom: 0; width: 170%; max-width: none; left: -35%; }
}
@media (prefers-reduced-motion: reduce) { .contact-email { transition: none; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#scene { position: fixed; inset: 0; overflow: hidden; background: linear-gradient(#6fb3d6, #d8efea); }
#scene canvas {
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity 1.4s ease;
  cursor: default;
  touch-action: pan-y;
}
#scene canvas:active { cursor: default; }
#scene.ready canvas { opacity: 1; }

#hero-ui {
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 1;
  color: #fff;
  text-shadow: 0 1px 14px rgba(9, 14, 6, 0.38);
  transform: translateY(calc(var(--scene-progress) * -2.25rem));
  pointer-events: none;
}
#hero-ui.is-hidden { visibility: hidden; }
#hero-ui.is-dissolving > * { filter: url(#text-mist); }
.site-header {
  position: fixed;
  z-index: 3;
  top: clamp(1.9rem, 4.45vh, 3.5rem);
  left: clamp(2rem, 4.15vw, 5rem);
  right: clamp(2rem, 4.15vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--ink);
  pointer-events: auto;
  transform: none;
}
.site-brand { display: block; line-height: 0; color: var(--ink); }
.site-brand .site-logo {
  display: block;
  width: clamp(10.5rem, 11.35vw, 13.625rem);
  height: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.8rem, 3.15vw, 3.8rem);
  font-size: clamp(1rem, 1.08vw, 1.28rem);
}
.site-nav a {
  color: inherit;
  text-decoration: none;
  transition: opacity 160ms ease, transform 160ms ease;
}
.site-nav a:hover { opacity: 0.58; transform: translateY(-0.08rem); }
.site-brand:focus-visible,
.site-nav a:focus-visible { outline: 2px solid currentColor; outline-offset: 0.35rem; }
.hero-copy {
  position: absolute;
  left: clamp(2rem, 4.15vw, 5rem);
  bottom: clamp(3.25rem, 7.2vh, 6.5rem);
  width: min(51rem, 52vw);
  transform: translateY(calc(var(--scene-progress) * 0.8rem));
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(4.5rem, 6.55vw, 8.2rem);
  font-weight: 400;
  line-height: 0.7;
  letter-spacing: -0.055em;
  transform: translateY(-40px);
}
.hero-copy h1 > span { display: block; }
.hero-copy .golden-line {
  display: flex;
  align-items: baseline;
  gap: 0.14em;
  margin-top: 0.1em;
}
.ornament-word {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
}
.script-cap {
  display: inline-block;
  width: auto;
  margin-right: -0.04em;
  font-family: "Monsieur La Doulaise", cursive;
  font-size: 1.02em;
  line-height: 0;
  letter-spacing: 0;
  color: var(--lemon-deep);
  transform: translateY(0.09em);
}
.hero-copy p {
  width: min(27rem, 76%);
  margin: 2.45rem 0 0;
  font-size: clamp(1rem, 1.08vw, 1.3rem);
  line-height: 1.04;
}

@media (max-width: 720px) {
  .site-header {
    top: 1.15rem;
    left: 1.2rem;
    right: 1.2rem;
    gap: 0.9rem;
  }
  .site-brand .site-logo { width: 7.25rem; }
  .site-nav {
    gap: clamp(0.55rem, 2.6vw, 0.8rem);
    font-size: clamp(0.67rem, 2.9vw, 0.8rem);
  }
  .hero-copy {
    left: 1.35rem;
    right: 1.35rem;
    bottom: 8.4rem;
    width: auto;
  }
  .hero-copy h1 {
    font-size: clamp(3.25rem, 15.2vw, 4.85rem);
    line-height: 0.72;
    letter-spacing: -0.06em;
  }
  .hero-copy .golden-line { gap: 0.08em; }
  .hero-copy p {
    width: min(22rem, 88%);
    margin-top: 1.6rem;
    font-size: 1rem;
    line-height: 1.08;
  }
}
@media (max-height: 680px) and (min-width: 721px) {
  .hero-copy { bottom: 2.3rem; }
  .hero-copy h1 { font-size: clamp(3.8rem, 6vw, 6rem); }
  .hero-copy p { margin-top: 1.65rem; }
}
@media (prefers-reduced-motion: reduce) {
  #scene canvas { transition: none; }
  #hero-ui, .site-nav a { transition: none; }
  .site-header, .hero-copy { transform: none; }
}

/* Retained changes: hero typography and the final Shop section only. */
.hero-copy h1 { font-size:clamp(52px,6.2vw,104px); line-height:1.02; letter-spacing:-.045em; transform:none; }
.hero-copy .golden-line { margin:0; display:block; }
.golden-line em { font-family:Georgia,serif; font-weight:400; color:#fff4c8; }
.hero-copy p { font:14px/1.65 Arial,sans-serif; width:340px; max-width:100%; margin:28px 0 0; }
#contact,#harvest-dialog { --ink:#293d32; --paper:#faf9f3; color:var(--ink); }
#contact-title { top:21%; font-size:clamp(42px,5.2vw,82px); line-height:1.08; letter-spacing:-.045em; }
.contact-email-wrap { top:49%; display:flex; flex-direction:column; align-items:center; gap:24px; }
.contact-email { font:14px/1.5 Arial,sans-serif; letter-spacing:0; text-underline-offset:5px; }
.contact-email:hover { text-decoration:underline; }
.primary-button { display:inline-flex; align-items:center; justify-content:space-between; gap:40px; padding:17px 25px; background:var(--ink); color:var(--paper); border:0; border-radius:30px; text-decoration:none; font:13px/1.4 Arial,sans-serif; cursor:pointer; pointer-events:auto; transition:transform .2s,background .2s; }
.primary-button:hover { transform:translateY(-2px); background:#435c48; }
.primary-button span { font-size:18px; }
.contact-footer { top:auto; bottom:32px; font:10px/1.5 Arial,sans-serif; }
#harvest-dialog { width:min(440px,calc(100vw - 32px)); max-height:90svh; overflow:auto; padding:44px 30px 28px; background:var(--paper); color:var(--ink); border:1px solid #293d321c; border-radius:16px; box-shadow:0 24px 80px #172b2226; }
#harvest-dialog::backdrop { background:#22372c40; backdrop-filter:blur(7px); }
.dialog-close { position:absolute; top:12px; right:14px; width:40px; height:40px; border:0; background:transparent; color:inherit; font:28px Arial,sans-serif; cursor:pointer; }
#harvest-dialog .glass-card { border:0; padding:0; background:none; }
#harvest-dialog h3 { font:400 34px/1.15 'Jeju Myeongjo',Georgia,serif; margin-bottom:28px; }
#harvest-dialog .fall-card-list { font:14px/1.6 Arial,sans-serif; gap:16px; }
#harvest-dialog .fall-card-list div { border-bottom:1px solid #293d321c; padding-bottom:12px; }
#harvest-dialog .primary-button { margin-top:28px; width:100%; }
#harvest-dialog .fall-card-note { font:12px/1.6 Arial,sans-serif; color:#657368; margin:20px 0 0; }

#contact button:focus-visible,#contact a:focus-visible,#harvest-dialog button:focus-visible,#harvest-dialog a:focus-visible { outline:2px solid currentColor; outline-offset:5px; }
@media(max-aspect-ratio:9/10) {
 .hero-copy h1 { font-size:clamp(40px,11.5vw,70px); line-height:1.04; }
 .hero-copy p { font-size:13px; line-height:1.7; width:290px; margin-top:24px; }
 #contact-title { top:25%; font-size:clamp(38px,10vw,62px); line-height:1.08; }
 .contact-email-wrap { top:48%; gap:24px; }
 .contact-email { font-size:13px; }
 .contact-footer { top:auto; bottom:25px; font-size:9px; gap:10px 20px; }
 #harvest-dialog .fall-card-note { display:block; }
}
@media(prefers-reduced-motion:reduce) {
 .primary-button { transition:none; }
 .primary-button:hover { transform:none; }
}


/* Bright header lettering stays legible over the grove footage. */
.site-header { color:#fff; }
.site-brand { color:inherit; }
.site-nav a { text-shadow:0 1px 5px rgba(12,25,12,.55); }
.site-brand .site-logo text { filter:drop-shadow(0 1px 3px rgba(12,25,12,.45)); }
