﻿:root {
  --paper: #fbf8f0;
  --ink: #294a42;
  --muted: #71837c;
  --coral: #df9b8a;
  --aqua: #91c4bf;
  --green: #5d9180;
  --line: #d7e1d9;
  --white: #fffefa;
  --dark: #406c60;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  letter-spacing: 0;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 76px);
  color: var(--ink);
  border-bottom: 1px solid rgba(41,74,66,.16);
  background: linear-gradient(180deg, rgba(255,254,250,.56), rgba(255,254,250,0));
}
.brand { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 700; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 19px;
}
.nav { display: flex; gap: clamp(18px, 3vw, 42px); font-size: 13px; }
.nav a { padding: 10px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-color: currentColor; }
.menu-button { display: none; border: 0; background: transparent; color: var(--ink); font-size: 22px; padding: 8px; }

.hero {
  position: relative;
  min-height: min(820px, 89vh);
  color: var(--ink);
  overflow: hidden;
  background-color: #e8f2ef;
  background-image: url("images/generated/summer-journal-hero.jpg");
  background-size: cover;
  background-position: center;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,253,247,.8) 0%, rgba(255,253,247,.56) 35%, rgba(255,253,247,.08) 68%, rgba(255,253,247,.02) 100%); }
.hero-content { position: absolute; left: clamp(24px, 8vw, 124px); bottom: clamp(92px, 15vh, 150px); max-width: 690px; }
.hero-content::before { content: ""; display: block; width: 38px; height: 4px; margin-bottom: 22px; border-radius: 999px; background: var(--coral); }
.eyebrow, .kicker { margin: 0 0 17px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.hero h1 {
  margin: 0;
  max-width: 700px;
  font-family: Georgia, "Songti SC", serif;
  font-size: clamp(64px, 10vw, 138px);
  line-height: .88;
  font-weight: 400;
}
.hero-copy { margin: 30px 0 27px; max-width: 510px; font-size: clamp(16px, 2vw, 20px); line-height: 1.8; }
.hero-link { display: inline-flex; align-items: center; gap: 18px; padding-bottom: 7px; border-bottom: 1px solid currentColor; font-size: 14px; }
.hero-note { position: absolute; right: clamp(24px, 5vw, 76px); bottom: 31px; margin: 0; font-size: 12px; }
.intro-band { display: flex; justify-content: space-between; gap: 30px; padding: 31px clamp(24px, 7vw, 110px); border-bottom: 1px solid var(--line); background: #f2f7f1; font-family: Georgia, "Songti SC", serif; font-size: 18px; }
.intro-band p { margin: 0; }

.section { max-width: 1380px; margin: 0 auto; padding: 112px clamp(24px, 6vw, 92px); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 48px; }
.section-heading h2 { margin: 0; font-family: Georgia, "Songti SC", serif; font-weight: 400; font-size: clamp(38px, 5vw, 68px); line-height: 1.08; }
.section-heading > p { max-width: 470px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.kicker { color: var(--coral); }

.grade-tabs { display: flex; gap: 8px; margin-bottom: 20px; padding-bottom: 5px; overflow-x: scroll; overflow-y: hidden; border-bottom: 1px solid var(--line); overscroll-behavior-x: contain; scrollbar-gutter: stable; scrollbar-width: thin; scrollbar-color: var(--coral) #dfe5e0; }
.grade-tabs::-webkit-scrollbar { height: 8px; }
.grade-tabs::-webkit-scrollbar-track { background: #dfe5e0; border-radius: 4px; }
.grade-tabs::-webkit-scrollbar-thumb { background: var(--coral); border-radius: 4px; }
.grade-tab, .filter { border: 0; background: transparent; cursor: pointer; }
.grade-tab { flex: 0 0 112px; min-height: 62px; padding: 12px 10px 14px; color: var(--muted); border-bottom: 2px solid transparent; text-align: left; }
.grade-tab.active { color: var(--ink); border-color: var(--coral); }
.grade-layout { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, .75fr); min-height: 590px; background: var(--white); }
.recipe-media { display: flex; flex-direction: column; min-width: 0; }
.recipe-media .compare { flex: 1; }
.compare { position: relative; min-height: 0; overflow: hidden; background: #d9d8d2; }
.compare img { position: absolute; inset: 0; height: 100%; object-fit: contain; }
.compare-base { filter: saturate(.62) contrast(.88) brightness(.88) hue-rotate(-5deg); }
.compare-after { position: absolute; inset: 0 auto 0 0; width: 56%; overflow: hidden; border-right: 1px solid white; }
.compare-after img { max-width: none; object-fit: contain; filter: saturate(1.12) contrast(.96) brightness(1.05) sepia(.08) hue-rotate(-8deg); }
.compare-handle { position: absolute; z-index: 4; top: 50%; left: 56%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid white; border-radius: 50%; background: rgba(16,45,40,.72); color: white; }
.compare input { position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-label { position: absolute; z-index: 3; top: 18px; padding: 7px 10px; color: white; background: rgba(16,45,40,.72); font-size: 12px; }
.before-label { right: 18px; }
.after-label { left: 18px; }
.recipe { padding: 34px; }
.recipe-topline { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.recipe h3 { margin: 36px 0 14px; font-family: Georgia, "Songti SC", serif; font-size: 28px; font-weight: 400; }
.recipe > p { color: var(--muted); line-height: 1.8; font-size: 14px; }
.settings { margin: 28px 0; }
.settings div { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid #e2e4df; font-size: 13px; }
.settings strong { color: var(--coral); }
.recipe .tip { margin-top: 26px; padding-left: 14px; border-left: 3px solid var(--aqua); }
.tip span { display: block; margin-bottom: 5px; color: var(--ink); font-weight: 700; }
.recipe-preset-download { display: inline-flex; align-items: center; gap: 8px; padding: 15px 18px; border-top: 1px solid var(--line); color: var(--green); font-size: 13px; font-weight: 700; text-decoration: none; }
.recipe-preset-download:hover { color: var(--coral); }

.preset-band { padding: 100px max(24px, calc((100vw - 1196px)/2)); background: #5f8e80; color: var(--white); }
.light-heading > p { color: #e1eee5; }
.preset-list { border-top: 1px solid rgba(255,255,255,.35); }
.preset-item { display: grid; grid-template-columns: 78px 1fr auto; align-items: center; gap: 28px; padding: 30px 0; border-bottom: 1px solid #47615b; }
.preset-swatch { width: 78px; height: 78px; border-radius: 4px; }
.coast-swatch { background: #7ab9b5; box-shadow: inset 0 -26px #e7d7b7; }
.film-swatch { background: #d88972; box-shadow: inset 0 -26px #899c79; }
.preset-index { margin: 0 0 6px; color: var(--aqua); font-size: 10px; }
.preset-item h3 { margin: 0 0 6px; font-family: Georgia, serif; font-size: 27px; font-weight: 400; }
.preset-item p:last-child { margin: 0; color: #bdcbc5; font-size: 13px; line-height: 1.7; }
.download { padding: 13px 16px; border: 1px solid #718a83; font-size: 13px; }
.download:hover { background: var(--coral); border-color: var(--coral); }
.license-note { margin: 22px 0 0; color: #93a69f; font-size: 11px; }

.filters { display: flex; gap: 4px; }
.filter { padding: 9px 13px; color: var(--muted); border-bottom: 1px solid transparent; }
.filter.active { color: var(--ink); border-color: var(--coral); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 368px; gap: 22px; }
.gallery::-webkit-scrollbar { width: 8px; }
.gallery::-webkit-scrollbar-track { background: #e2e6e1; border-radius: 4px; }
.gallery::-webkit-scrollbar-thumb { background: var(--green); border-radius: 4px; }
.work, .work-wide { display: grid; grid-column: auto; grid-row: auto; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; margin: 0; transition: opacity .25s, transform .25s; }
.work-tall { grid-row: auto; }
.work img, .work-tall img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.work figcaption { display: flex; min-height: 20px; justify-content: space-between; gap: 15px; padding-top: 10px; font-family: Georgia, "Songti SC", serif; }
.work small { color: var(--muted); font-family: Arial, sans-serif; font-size: 10px; }
.work.hidden { display: none; }

.inspiration { padding: 105px max(24px, calc((100vw - 1196px)/2)); background: #e8f2eb; }
.photographer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.photographer-grid::-webkit-scrollbar { width: 8px; }
.photographer-grid::-webkit-scrollbar-track { background: #cbd8d1; border-radius: 4px; }
.photographer-grid::-webkit-scrollbar-thumb { background: var(--green); border-radius: 4px; }
.photographer { display: block; color: inherit; text-decoration: none; }
.photographer:hover img { opacity: .88; }
.photographer img { aspect-ratio: 4/5; object-fit: cover; }
.photographer p { margin: 15px 0 7px; color: var(--muted); font-size: 11px; }
.photographer h3 { display: flex; justify-content: space-between; gap: 12px; margin: 0; font-family: Georgia, "Songti SC", serif; font-size: 20px; font-weight: 400; }
.photographer h3 span { color: var(--muted); font-family: Arial, sans-serif; font-size: 10px; font-weight: 400; }
.inspiration-detail { min-height: 100vh; padding: 112px max(24px, calc((100vw - 1196px)/2)); background: #e8f2eb; }
.inspiration-detail-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 44px; }
.inspiration-detail-heading h1 { max-width: 720px; margin: 0; font-family: Georgia, "Songti SC", serif; font-size: clamp(38px, 5vw, 68px); font-weight: 400; line-height: 1.08; }
.inspiration-detail-heading .subtle { max-width: 620px; margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.inspiration-detail-heading .back-link { color: var(--green); font-size: 13px; text-decoration: none; }
.inspiration-detail-heading .back-link:hover { border-bottom: 1px solid currentColor; }
.photographer-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.photographer-detail-item { margin: 0; }
.photographer-detail-item img { display: block; width: 100%; aspect-ratio: 4/5; object-fit: cover; background: #cbd8d1; }
.photographer-detail-item figcaption { margin-top: 10px; color: var(--muted); font-size: 11px; }
.photographer-detail-empty { padding: 70px 0; color: var(--muted); font-family: Georgia, "Songti SC", serif; font-size: 22px; }
.closing { padding: 120px 24px; text-align: center; background: #dca192; color: #fffaf1; }
.closing .kicker { color: #fff9ee; }
.closing h2 { margin: 0 auto 35px; font-family: Georgia, "Songti SC", serif; font-size: clamp(42px, 6vw, 78px); font-weight: 400; line-height: 1.25; }
.closing a { border-bottom: 1px solid currentColor; padding-bottom: 5px; font-size: 13px; }
footer { display: flex; justify-content: space-between; gap: 25px; padding: 25px clamp(24px, 6vw, 90px); background: var(--dark); color: #a9bbb5; font-size: 11px; }

@media (max-width: 900px) {
  .menu-button { display: block; }
  .nav { position: absolute; top: 78px; left: 0; right: 0; display: none; flex-direction: column; gap: 0; padding: 12px 24px 22px; background: rgba(255,254,250,.97); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 20px; }
  .grade-layout { grid-template-columns: 1fr; }
  .compare { min-height: 0; }
  .compare-after img { width: 100vw; }
  .preset-item { grid-template-columns: 64px 1fr; }
  .preset-swatch { width: 64px; height: 64px; }
  .download { grid-column: 2; justify-self: start; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .work, .work-wide { grid-column: auto; }
  .work-tall { grid-row: auto; }
  .work-tall img { height: 100%; }
}

@media (max-width: 620px) {
  .site-header { height: 66px; }
  .brand { font-size: 13px; }
  .nav { top: 66px; }
  .hero { min-height: 82vh; }
  .hero-content { bottom: 98px; }
  .hero h1 { font-size: 57px; }
  .hero-note { left: 24px; right: auto; }
  .intro-band { flex-direction: column; gap: 8px; font-size: 15px; }
  .section, .preset-band, .inspiration { padding-top: 78px; padding-bottom: 78px; }
  .grade-tabs { overflow-x: scroll; }
  .grade-tab { flex-basis: 112px; padding-left: 11px; padding-right: 11px; font-size: 13px; }
  .recipe-media .compare { height: min(90vw, 560px); min-height: 340px; }
  .compare { min-height: 0; }
  .recipe { padding: 25px 20px; }
  .preset-item { grid-template-columns: 52px 1fr; gap: 18px; }
  .preset-swatch { width: 52px; height: 52px; }
  .filters { width: 100%; overflow-x: auto; }
  .gallery { display: grid; grid-template-columns: 1fr; grid-auto-rows: 368px; }
  .work, .work-wide { margin: 0; }
  .work img, .work-tall img, .work-wide img { height: 100%; aspect-ratio: auto; }
  .photographer-grid { grid-template-columns: 1fr; gap: 42px; }
  .photographer img { aspect-ratio: 5/6; }
  .inspiration-detail { padding-top: 88px; padding-bottom: 88px; }
  .inspiration-detail-heading { align-items: start; flex-direction: column; gap: 18px; margin-bottom: 32px; }
  .photographer-detail-grid { grid-template-columns: 1fr; gap: 30px; }
  .photographer-detail-item img { aspect-ratio: 5/6; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

