@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --ink: #1d2420;
  --muted: #6f766f;
  --paper: #f5f3ee;
  --paper-deep: #e9e7df;
  --line: #d4d4cb;
  --lime: #cce85d;
  --orange: #ef7554;
  --white: #fffef9;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Noto Sans SC", sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.site-header { align-items: center; display: flex; justify-content: space-between; padding: 24px 5vw; }
.brand { align-items: center; display: flex; gap: 11px; }
.brand-mark { align-items: center; background: var(--ink); color: var(--lime); display: flex; font-size: 22px; font-weight: 900; height: 38px; justify-content: center; width: 38px; }
.brand strong { display: block; font-size: 16px; line-height: 1; }
.brand small { color: var(--muted); display: block; font-family: "Space Grotesk", sans-serif; font-size: 8px; letter-spacing: .12em; margin-top: 5px; }
.site-nav { align-items: center; display: flex; font-size: 13px; gap: 28px; }
.site-nav a { color: var(--muted); position: relative; transition: color .2s ease; }
.site-nav a::after { background: var(--ink); bottom: -7px; content: ""; height: 1px; left: 0; position: absolute; transform: scaleX(0); transform-origin: right; transition: transform .28s cubic-bezier(.22, 1, .36, 1); width: 100%; }
.site-nav a:hover { color: var(--ink); }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.hero { display: grid; grid-template-columns: .96fr 1.04fr; min-height: 625px; padding: 30px 5vw 70px; }
.hero-copy { align-self: center; padding: 30px 8vw 40px 0; }
.eyebrow { color: var(--muted); font-family: "Space Grotesk", sans-serif; font-size: 11px; letter-spacing: .14em; margin: 0 0 18px; }
.hero h1 { font-size: clamp(46px, 6vw, 82px); letter-spacing: -.04em; line-height: 1.08; margin: 0; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-description { color: var(--muted); font-size: 15px; line-height: 1.9; margin: 26px 0 34px; max-width: 360px; }
.button { align-items: center; border: 0; display: inline-flex; font-size: 13px; gap: 42px; justify-content: space-between; padding: 15px 18px; transition: box-shadow .25s ease, transform .25s ease; }
.button:hover { box-shadow: 0 12px 28px rgba(29,36,32,.18); transform: translateY(-3px); }
.button-dark { background: var(--ink); color: var(--white); min-width: 164px; }
.button-dark span { color: var(--lime); font-size: 19px; line-height: 10px; transition: transform .25s ease; }
.button-dark:hover span { transform: translate(3px, 3px); }
.hero-visual { overflow: hidden; position: relative; }
.hero-photo { background-image: url("https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?auto=format&fit=crop&w=1600&q=90"); background-position: center; background-size: cover; height: 100%; min-height: 520px; }
.hero-note { bottom: 18px; color: var(--white); display: flex; font-family: "Space Grotesk", sans-serif; font-size: 10px; justify-content: space-between; left: 20px; letter-spacing: .12em; position: absolute; right: 20px; }

.visit-band { align-items: end; border-top: 1px solid var(--line); display: grid; gap: 8vw; grid-template-columns: 1fr 1fr; padding: 58px 12vw 68px; }
.visit-band h2 { font-size: clamp(28px, 3.4vw, 48px); letter-spacing: -.04em; line-height: 1.1; margin: 0; }
.visit-counter-wrap { align-items: baseline; display: flex; justify-content: flex-end; min-width: 0; }
.visit-counter-label { align-self: flex-start; color: var(--muted); font-size: 11px; margin-right: auto; padding-top: 9px; }
.visit-counter { align-items: flex-end; display: flex; font-family: "Space Grotesk", sans-serif; font-size: clamp(52px, 8vw, 112px); font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: 0; line-height: 1; min-height: 1em; }
.visit-counter-unit { color: var(--muted); font-size: 12px; margin-left: 9px; }
.visit-digit { display: inline-block; height: 1em; overflow: hidden; width: .63em; }
.visit-digit-track { display: flex; flex-direction: column; transform: translateY(calc(var(--digit, 0) * -1em)); transition: transform 1.35s cubic-bezier(.16, 1, .3, 1); }
.visit-digit-track > span { display: block; flex: 0 0 1em; height: 1em; line-height: 1; }
.visit-separator { display: inline-block; margin: 0 .05em; }

.intro-band, .closing-band { align-items: end; background: var(--ink); color: var(--white); display: grid; gap: 8vw; grid-template-columns: 1fr 1fr; padding: 82px 12vw; }
.intro-band h2, .closing-band h2 { font-size: clamp(30px, 4vw, 56px); letter-spacing: -.04em; line-height: 1.1; margin: 8px 0 0; }
.section-number { color: var(--lime); font-family: "Space Grotesk", sans-serif; font-size: 12px; }
.intro-band > p, .closing-band > p { color: #b5b9af; font-size: 14px; line-height: 2; max-width: 290px; }

.content-section, .equipment-section { padding: 100px 5vw; }
.section-heading { align-items: end; display: flex; justify-content: space-between; margin-bottom: 36px; }
.section-heading h2 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -.05em; margin: 0; }
.directory-controls { align-items: flex-end; display: flex; flex-direction: column; gap: 12px; }
.directory-search-row { display: flex; gap: 8px; }
.directory-search { background: var(--white); border: 1px solid var(--line); color: var(--ink); font-size: 12px; outline: 0; padding: 10px 12px; width: 260px; }
.directory-search:focus { border-color: var(--ink); }
.filter-row { display: flex; gap: 8px; }
.filter { align-items: center; background: transparent; border: 1px solid var(--line); color: var(--muted); display: inline-flex; font-size: 12px; justify-content: center; padding: 9px 13px; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.filter.active, .filter:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter:hover { transform: translateY(-2px); }
.photographer-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.photographer-card { background: var(--white); min-width: 0; }
.card-image { aspect-ratio: 1 / 1.08; background: var(--paper-deep); overflow: hidden; position: relative; }
.card-image img { height: 100%; object-fit: cover; width: 100%; }
.identity-tag { font-size: 11px; font-weight: 700; left: 14px; padding: 7px 9px; position: absolute; top: 14px; }
.identity-certified { background: #d8dde0; border: 1px solid #b8c0c5; color: #30363a; }
.identity-invited { background: #d8b64a; border: 1px solid #b7952f; color: #2b2208; }
.pinned-tag { background: var(--lime); color: var(--ink); font-size: 11px; font-weight: 700; padding: 7px 9px; position: absolute; right: 14px; top: 14px; }
.carousel-arrow { align-items: center; background: rgba(29,36,32,.72); border: 0; color: var(--white); display: flex; font-size: 18px; height: 38px; justify-content: center; padding: 0; position: absolute; top: 50%; transform: translateY(-50%); width: 38px; z-index: 2; }
.carousel-arrow-prev { left: 10px; }
.carousel-arrow-next { right: 10px; }
.carousel-arrow:hover, .carousel-arrow:focus-visible { background: var(--ink); }
.carousel-dots { bottom: 14px; display: flex; gap: 6px; left: 50%; position: absolute; transform: translateX(-50%); z-index: 2; }
.carousel-dot { background: rgba(255,255,255,.55); border: 0; display: block; height: 5px; padding: 0; width: 20px; }
.carousel-dot.active { background: var(--lime); }
.card-body { padding: 19px 20px 22px; }
.card-top { align-items: start; display: flex; justify-content: space-between; }
.card-body h3 { font-size: 22px; letter-spacing: -.04em; margin: 0; }
.card-region { color: var(--muted); font-size: 12px; margin: 5px 0 19px; }
.card-agent { color: var(--ink); font-size: 11px; font-weight: 700; margin: 7px 0 19px; }
.card-meta { border-top: 1px solid var(--line); display: grid; gap: 12px; grid-template-columns: 1fr 1fr; padding-top: 14px; }
.meta-label { color: var(--muted); display: block; font-size: 10px; margin-bottom: 3px; }
.meta-value { font-size: 12px; }
.empty-state { color: var(--muted); padding: 36px 0; }
.pagination { align-items: center; display: flex; gap: 7px; justify-content: center; margin-top: 38px; }
.page-button { background: transparent; border: 1px solid var(--line); color: var(--muted); font-size: 12px; min-width: 36px; padding: 9px 11px; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.page-button.active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.page-button:disabled { cursor: default; opacity: .4; }
.page-button:not(:disabled):hover { border-color: var(--ink); color: var(--ink); transform: translateY(-2px); }
.page-button.active:hover { color: var(--white); }
.hidden { display: none !important; }

.markdown-section { align-items: start; display: grid; gap: 8vw; grid-template-columns: minmax(180px, .55fr) minmax(0, 1.45fr); padding: 88px 12vw; }
.announcement-section { background: var(--white); border-top: 6px solid var(--orange); }
.about-section { background: var(--ink); color: var(--white); }
.markdown-heading { position: sticky; top: 30px; }
.markdown-heading h2 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -.05em; margin: 0; }
.about-section .eyebrow { color: var(--lime); }
.markdown-body { font-size: 14px; line-height: 1.9; max-width: 760px; min-width: 0; overflow-wrap: anywhere; }
.markdown-body > :first-child { margin-top: 0; }
.markdown-body > :last-child { margin-bottom: 0; }
.markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4 { letter-spacing: 0; line-height: 1.35; margin: 1.7em 0 .65em; }
.markdown-body h1 { font-size: 28px; }
.markdown-body h2 { font-size: 23px; }
.markdown-body h3 { font-size: 18px; }
.markdown-body h4 { font-size: 15px; }
.markdown-body p { color: var(--muted); margin: 0 0 1.15em; }
.markdown-body ul, .markdown-body ol { color: var(--muted); margin: 0 0 1.3em; padding-left: 1.5em; }
.markdown-body li { margin: .35em 0; }
.markdown-body blockquote { border-left: 3px solid var(--orange); color: var(--muted); margin: 1.4em 0; padding: .2em 0 .2em 18px; }
.markdown-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.markdown-body code { background: var(--paper-deep); font-family: Consolas, monospace; font-size: .9em; padding: 2px 5px; }
.markdown-body pre { background: #222923; color: #f5f3ee; max-width: 100%; overflow-x: auto; padding: 18px; }
.markdown-body pre code { background: transparent; color: inherit; padding: 0; }
.markdown-body a { border-bottom: 1px solid currentColor; color: var(--orange); }
.about-section .markdown-body p, .about-section .markdown-body ul, .about-section .markdown-body ol, .about-section .markdown-body blockquote { color: #c1c6bd; }
.about-section .markdown-body hr { border-color: #3d443e; }
.about-section .markdown-body code { background: #343b35; }

.unverified-main { min-height: calc(100vh - 150px); }
.unverified-directory { padding: 70px 5vw 100px; }
.unverified-heading { align-items: end; display: grid; gap: 8vw; grid-template-columns: 1fr 1fr; margin-bottom: 42px; }
.unverified-heading h1 { font-size: clamp(38px, 5vw, 66px); letter-spacing: -.05em; margin: 0; }
.unverified-heading > p { color: var(--muted); font-size: 13px; line-height: 1.9; margin: 0; max-width: 470px; }
.friendship-intro { color: var(--muted); font-size: 14px; line-height: 1.9; margin: 22px 0 0; max-width: 620px; }
.unverified-toolbar { display: flex; gap: 8px; margin-bottom: 24px; }
.unverified-toolbar input { background: var(--white); border: 1px solid var(--line); color: var(--ink); font-size: 12px; outline: 0; padding: 11px 12px; width: 300px; }
.unverified-toolbar input:focus { border-color: var(--ink); }
.unverified-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.unverified-card { background: var(--white); border-top: 4px solid var(--orange); min-height: 184px; padding: 22px; transition: box-shadow .35s ease, transform .35s cubic-bezier(.22, 1, .36, 1); }
.unverified-card:hover { box-shadow: 0 18px 38px rgba(29,36,32,.1); transform: translateY(-5px); }
.unverified-card-top { align-items: center; display: flex; justify-content: space-between; }
.unverified-status { color: var(--orange); font-size: 11px; font-weight: 700; }
.unverified-region { color: var(--muted); font-size: 11px; }
.unverified-card h2 { font-size: 24px; letter-spacing: -.04em; margin: 30px 0 20px; }
.unverified-contact { align-items: end; border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding-top: 14px; }
.unverified-contact span { color: var(--muted); font-size: 10px; }
.unverified-contact strong { font-family: "Space Grotesk", "Noto Sans SC", sans-serif; font-size: 16px; overflow-wrap: anywhere; }

.equipment-section { background: var(--paper-deep); }
.section-aside { color: var(--muted); font-size: 12px; line-height: 1.8; margin: 0; text-align: right; }
.equipment-list { border-top: 1px solid var(--line); }
.equipment-item { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 28px; grid-template-columns: 140px 1fr auto; padding: 20px 0; }
.equipment-thumb { aspect-ratio: 1.15; background: #d7d5cc; overflow: hidden; }
.equipment-thumb img { height: 100%; object-fit: cover; width: 100%; }
.equipment-item h3 { font-size: 18px; margin: 0 0 9px; }
.equipment-item p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0; max-width: 550px; }
.equipment-price { font-family: "Space Grotesk", sans-serif; font-size: 20px; text-align: right; }
.equipment-info { color: var(--muted); font-size: 11px; margin-top: 10px; }
.community-band { align-items:center; background:var(--lime); display:grid; gap:8vw; grid-template-columns:1fr 1fr; padding:72px 12vw; }
.community-band h2 { font-size:clamp(34px, 4vw, 54px); letter-spacing:-.05em; margin:0; }
.community-band .eyebrow { color:#58621e; }
.community-details { display:grid; gap:18px; grid-template-columns:1fr 1fr; }
.community-details div { border-left:1px solid rgba(29,36,32,.28); padding-left:18px; }
.community-details span { color:#58621e; display:block; font-size:11px; margin-bottom:8px; }
.community-details strong { display:block; font-family:"Space Grotesk","Noto Sans SC",sans-serif; font-size:20px; overflow-wrap:anywhere; }
.closing-band { background: var(--orange); }
.closing-band .eyebrow { color: #ffe4db; }
.closing-band > p { color: #ffe4db; }
.site-footer { background: var(--ink); border-top: 1px solid #39403a; color: #8e968b; display: flex; font-family: "Space Grotesk", sans-serif; font-size: 10px; justify-content: space-between; letter-spacing: .08em; padding: 22px 5vw; }
.lightbox-trigger { cursor: zoom-in; }
body.lightbox-open { overflow: hidden; }
.lightbox { align-items: center; animation: lightbox-enter .22s ease both; background: #f2f3f5; display: flex; inset: 0; justify-content: center; overflow: hidden; position: fixed; z-index: 1000; }
.lightbox.is-closing { animation: lightbox-exit .18s ease both; }
.lightbox > img { display: block; height: 100%; object-fit: contain; object-position: center; width: 100%; }
.lightbox > img.lightbox-image-enter { animation: lightbox-image-enter .32s cubic-bezier(.22, 1, .36, 1) both; }
.lightbox-close { background: rgba(255,255,255,.88); border: 0; border-radius: 50%; color: #30353a; font-size: 30px; height: 42px; line-height: 1; padding: 0 0 3px; position: absolute; right: 18px; top: 14px; transition: background-color .2s ease, transform .2s ease; width: 42px; z-index: 1; }
.lightbox-close:hover { background: #fff; }
.lightbox-close:hover { transform: rotate(5deg) scale(1.06); }

.reveal-section { opacity: 1; transform: none; }
.motion-item { animation: none; }

@keyframes header-enter {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-copy-enter {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-visual-enter {
  from { opacity: 0; transform: translateY(24px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes hero-photo-settle {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@keyframes hero-note-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes item-enter {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes lightbox-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes lightbox-exit {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes lightbox-image-enter {
  from { opacity: 0; transform: scale(.975); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 760px) {
  .site-header { padding: 18px 20px; }
  .site-nav { gap: 12px; }
  .site-nav a:not(.mobile-nav-link) { display: none; }
  .hero { display: flex; flex-direction: column; padding: 10px 20px 50px; }
  .hero-copy { padding: 55px 0 35px; }
  .hero-photo { min-height: 380px; }
  .visit-band { display: block; padding: 48px 20px 54px; }
  .visit-counter-wrap { justify-content: flex-start; margin-top: 34px; }
  .visit-counter-label { margin-right: 24px; }
  .intro-band, .closing-band, .community-band { display: block; padding: 58px 20px; }
  .intro-band > p, .closing-band > p { margin-top: 28px; }
  .community-details { margin-top:30px; }
  .content-section, .equipment-section { padding: 65px 20px; }
  .section-heading { align-items: start; display: block; }
  .directory-controls { align-items: stretch; margin-top: 22px; }
  .directory-search-row { flex-direction: column; }
  .directory-search { width: 100%; }
  .filter-row { flex-wrap: wrap; }
  .photographer-grid { grid-template-columns: 1fr; }
  .markdown-section { display: block; padding: 58px 20px; }
  .markdown-heading { margin-bottom: 30px; position: static; }
  .unverified-directory { padding: 50px 20px 70px; }
  .unverified-heading { display: block; }
  .unverified-heading > p { margin-top: 22px; }
  .unverified-toolbar { flex-direction: column; }
  .unverified-toolbar input { width: 100%; }
  .unverified-grid { grid-template-columns: 1fr; }
  .equipment-item { align-items: start; grid-template-columns: 90px 1fr; }
  .equipment-price { grid-column: 2; text-align: left; }
  .lightbox-close { font-size: 26px; height: 36px; right: 10px; top: 10px; width: 36px; }
  .site-footer { display: block; line-height: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .motion-enabled .reveal-section { opacity: 1; transform: none; }
}
