:root {
  --ink: #11191d;
  --muted: #5c686d;
  --forest: #0b5367;
  --forest-dark: #092d3a;
  --moss: #f3d548;
  --snow: #f3f2ed;
  --paper: #fff;
  --line: #cfd3d2;
  --stone: #e2e5e3;
  --warm: #ef643f;
  --shadow: 0 18px 42px rgba(5,31,40,.13);
  --display: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--snow); font-family: Arial, Helvetica, ui-sans-serif, system-ui, sans-serif; line-height: 1.55; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: .98; letter-spacing: -.025em; }
h1 { font-size: clamp(2.8rem, 7vw, 6.4rem); text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3.8rem); text-transform: uppercase; }
button, input, select, textarea { font: inherit; }

.site-header { position: relative; z-index: 10; max-width: none; min-height: 88px; margin: 0; padding: 1rem max(2rem, calc((100vw - 1240px) / 2)); color: white; background: var(--forest-dark); display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 48px; height: 48px; padding-top: 11px; color: var(--forest-dark); background: var(--moss); clip-path: polygon(50% 0,100% 100%,0 100%); font-size: .8rem; }
.brand strong, .brand small { display: block; }
.brand strong { font-family: var(--display); font-size: 1.35rem; font-weight: 900; letter-spacing: .02em; text-transform: uppercase; }
.brand small { color: #b8c8cc; font-size: .66rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 1.35rem; }
nav a, .link-button { position: relative; border: 0; background: none; text-decoration: none; color: inherit; font-weight: 800; font-size: .82rem; letter-spacing: .055em; text-transform: uppercase; cursor: pointer; }
.site-header nav > a:not(.button)::after, .site-header .link-button::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -.35rem; height: 3px; background: var(--moss); transition: right .2s; }
.site-header nav > a:hover::after, .site-header .link-button:hover::after { right: 0; }
nav form { margin: 0; }
.language-switch { display: inline-flex; align-items: center; gap: .35rem; padding-left: .55rem; color: #aebfc4; font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.language-switch a { color: #aebfc4; }
.language-switch a[aria-current="true"] { color: var(--moss); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .28rem; }

main { max-width: 1240px; min-height: calc(100vh - 180px); margin: 0 auto; padding: 2rem 2rem 6rem; }
.intro { position: relative; isolation: isolate; aspect-ratio: 3580 / 1661; min-height: 0; margin-top: .5rem; padding: clamp(2rem,5vw,4.6rem); overflow: hidden; color: white; background-color: var(--forest-dark); background-image: linear-gradient(90deg,rgba(5,29,38,.72) 0%,rgba(5,29,38,.38) 48%,rgba(5,29,38,.08) 78%),url("hero-flowers-20260722.jpg"); background-position: center; background-size: cover; background-repeat: no-repeat; display: flex; align-items: end; justify-content: space-between; gap: 3rem; box-shadow: var(--shadow); }
.intro::before { content: ''; position: absolute; z-index: -1; left: 0; top: 0; width: 11px; height: 100%; background: var(--moss); }
.intro::after { content: ''; position: absolute; z-index: -1; right: 0; bottom: 0; width: clamp(90px,14vw,175px); height: clamp(90px,14vw,175px); border-right: 18px solid var(--warm); border-bottom: 18px solid var(--warm); opacity: .92; }
.intro > div { max-width: 790px; }
.intro h1 { max-width: 780px; margin-bottom: 1.1rem; font-size: clamp(2.65rem,5.1vw,5.1rem); text-shadow: 0 3px 18px rgba(0,0,0,.32); }
.intro h1 span { display: block; }
.intro p:not(.eyebrow) { max-width: 630px; margin-bottom: 0; color: #f2f4f2; font-size: 1.05rem; font-weight: 600; }
.eyebrow { margin-bottom: .7rem; color: var(--warm); font-size: .72rem; font-weight: 900; letter-spacing: .19em; text-transform: uppercase; }
.intro .eyebrow { display: inline-block; margin-bottom: 1rem; padding: .35rem .55rem; color: var(--forest-dark); background: var(--moss); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .8rem; min-height: 50px; padding: .8rem 1.25rem; border: 2px solid var(--forest-dark); border-radius: 0; color: white; background: var(--forest-dark); font-weight: 900; letter-spacing: .035em; text-decoration: none; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: color .18s,background .18s,transform .18s; }
.intro .button { position: relative; z-index: 1; color: var(--forest-dark); background: var(--moss); border-color: var(--moss); box-shadow: 8px 8px 0 var(--warm); }
.button.small { min-height: 40px; padding: .55rem 1rem; font-size: .78rem; }
.button:hover { color: var(--forest-dark); background: var(--moss); border-color: var(--moss); transform: translate(-2px,-2px); }
.intro .button:hover { color: white; background: var(--forest-dark); border-color: var(--forest-dark); }

.notice { position: sticky; top: 1rem; z-index: 20; margin-bottom: 1rem; padding: 1rem 1.2rem; border-left: 8px solid var(--warm); background: white; box-shadow: var(--shadow); font-weight: 700; }
.section-heading { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin: 5.5rem 0 1.6rem; padding: 0 0 1rem 1.2rem; border-bottom: 2px solid var(--ink); }
.section-heading::before { content: ''; position: absolute; left: 0; top: 0; bottom: 1rem; width: 7px; background: var(--warm); }
.section-heading h2, .section-heading p { margin-bottom: 0; }
.section-heading > p { font-family: var(--display); font-size: 1.1rem; font-weight: 900; text-transform: uppercase; }
.tour-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.tour-card { min-height: 270px; padding: 1.6rem; background: var(--paper); border: 0; border-top: 6px solid var(--forest); display: flex; flex-direction: column; box-shadow: 0 1px 0 var(--line); transition: transform .2s,box-shadow .2s; }
.tour-card:nth-child(even) { border-top-color: var(--warm); }
.tour-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.empty-community { display: flex; align-items: center; gap: 1rem; padding: 2rem; border: 2px solid var(--line); border-left: 8px solid var(--moss); background: var(--paper); }
.empty-community > span { color: var(--warm); font-size: 2rem; }
.empty-community h3, .empty-community p { margin: 0; }
.empty-community p { color: var(--muted); }
.card-top, .card-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .8rem; }
.card-top { text-transform: uppercase; letter-spacing: .04em; }
.tour-card h3 { margin: 1.25rem 0 .45rem; font-size: clamp(1.65rem,3vw,2.25rem); text-transform: uppercase; }
.tour-card h3 a, .card-footer a { text-decoration: none; }
.card-footer a { color: var(--forest); font-weight: 900; text-transform: uppercase; }
.card-footer-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .45rem 1rem; }
.card-footer-actions a:first-child { color: var(--warm); }
.tour-year { margin-bottom: 3.5rem; }
.year-summary { display: flex; align-items: stretch; justify-content: space-between; gap: 2rem; margin: 0 0 1.25rem; padding: 1.1rem 1.35rem; color: white; background: var(--forest-dark); border-left: 10px solid var(--moss); }
.year-summary h3 { align-self: center; margin: 0; color: var(--moss); font-size: 2.2rem; }
.year-summary dl { display: grid; grid-template-columns: repeat(4,minmax(100px,1fr)); gap: 1.5rem; margin: 0; }
.year-summary dt { color: #bcd0d5; }
.year-summary dd { font-size: 1rem; }
.tourbook-card { min-height: 0; padding: 0; overflow: hidden; }
.tour-card-body { display: flex; flex: 1; flex-direction: column; padding: 1.35rem 1.5rem 1.5rem; }
.tour-card-media { display: grid; height: 190px; max-height: 190px; overflow: hidden; background: var(--stone); border-bottom: 8px solid var(--moss); }
.tour-card:nth-child(even) .tour-card-media { border-bottom-color: var(--warm); }
.tour-card-media.split { grid-template-columns: 1fr 1fr; }
.tour-card-media > img { width: 100%; height: 100%; min-width: 0; object-fit: cover; }
.tour-card-map { width: 100%; height: 100%; min-width: 0; background: var(--stone); font-size: .8rem; }
.tourbook-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: .65rem; margin: .75rem 0 1.1rem; padding: .85rem 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.tourbook-metrics dd { font-size: .9rem; }
.difficulty { padding: .25rem .65rem; color: var(--forest-dark); background: var(--moss); font-size: .75rem; font-weight: 900; }
.difficulty.large { font-size: 1rem; padding: .55rem 1rem; }
.privacy-badge { padding: .45rem .7rem; border: 2px solid var(--warm); color: #7f2c18; background: #fff1ec; font-size: .75rem; font-weight: 900; }
.private-text { color: #8f351f; font-size: .7rem; text-transform: uppercase; }
.title-badges { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.region { color: var(--muted); }
.metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: .5rem; margin: auto 0 1.2rem; padding: 1rem 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
dt { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
dd { margin: .2rem 0 0; font-weight: 900; }

.friendship-panel, .friend-requests { margin: 1.5rem 0 2rem; padding: 1.25rem 1.4rem; border: 2px solid var(--line); border-left: 8px solid var(--moss); background: var(--paper); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.friendship-panel p, .friend-requests p { margin: .25rem 0; }
.friend-requests { display: block; }
.friend-request { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-top: 1px solid var(--line); }
.friend-actions { display: flex; align-items: center; gap: .6rem; }
.friend-actions form { margin: 0; }
.friends-overview, .legacy-import { margin: 2rem 0; padding: 1.5rem; border: 0; border-top: 7px solid var(--forest); background: var(--paper); }
.friends-heading { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.friends-heading h2, .legacy-import h2 { margin: .15rem 0 .5rem; font-size: 2rem; }
.friends-heading > p { font-family: var(--display); font-size: 1.8rem; font-weight: 900; }
.friend-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; margin-top: 1rem; }
.friend-card { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: .8rem; padding: .8rem; border: 2px solid var(--line); }
.friend-avatar { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; color: white; background: var(--forest); font-family: var(--display); font-size: 1.4rem; font-weight: 900; text-decoration: none; }
.friend-avatar img, .avatar img { display: block; width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.friend-card h3, .friend-card p, .friends-empty { margin: 0; }
.friend-card h3 { font-size: 1.05rem; text-transform: uppercase; }
.friend-card p, .friends-empty, .legacy-import p { color: var(--muted); }
.legacy-import { display: grid; grid-template-columns: 1fr minmax(280px,.7fr); gap: 2rem; align-items: end; }
.legacy-import form { display: grid; gap: .7rem; }
.legacy-import label { font-weight: 800; }
.legacy-import-disclosure { margin: 1rem 0 2rem; }
.legacy-import-disclosure > summary { width: max-content; padding: .65rem .9rem; border: 2px solid var(--forest); color: var(--forest); background: transparent; font-size: .82rem; font-weight: 900; letter-spacing: .035em; text-transform: uppercase; cursor: pointer; list-style: none; }
.legacy-import-disclosure > summary::-webkit-details-marker { display: none; }
.legacy-import-disclosure[open] > summary { color: white; background: var(--forest); }
.legacy-import-disclosure .legacy-import { margin-top: .8rem; }

.back { display: inline-block; margin: 1rem 0 3rem; color: var(--forest); font-weight: 900; text-decoration: none; text-transform: uppercase; }
.detail-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1rem 0 3rem; }
.detail-actions .back { margin: 0; }
.edit-link { display: inline-flex; text-decoration: none; }
.tour-title { display: flex; align-items: start; justify-content: space-between; gap: 2rem; }
.tour-title h1 { font-size: clamp(2.8rem,7vw,6rem); }
.detail-metrics { display: grid; grid-template-columns: repeat(6,1fr); margin: 1rem 0 4rem; padding: 1.5rem; background: var(--forest-dark); color: white; border-left: 10px solid var(--moss); }
.detail-metrics div { padding: .3rem 1rem; border-right: 1px solid rgba(255,255,255,.2); }
.detail-metrics div:last-child { border: 0; }
.detail-metrics dt { color: var(--moss); }
.journey-summary { display: grid; grid-template-columns: 1fr auto 1fr 1.2fr; gap: 1.25rem; align-items: center; margin: -2.5rem 0 4rem; padding: 1.5rem; border: 2px solid var(--line); border-top: 0; background: var(--paper); }
.journey-summary div { display: flex; flex-direction: column; }
.journey-summary span, .journey-summary small { color: var(--muted); font-size: .78rem; }
.journey-summary strong { margin: .2rem 0; }
.journey-line { color: var(--warm) !important; font-size: 1.4rem !important; }
.journey-partners { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.photo-gallery { display: grid; grid-template-columns: repeat(4,1fr); gap: .8rem; margin: 0 0 4rem; }
.tour-photo { display: flex; flex-direction: column; min-width: 0; margin: 0; }
.photo-gallery .tour-photo > a { display: block; min-height: 180px; overflow: hidden; background: var(--stone); border-bottom: 7px solid var(--moss); }
.photo-gallery .tour-photo:nth-child(even) > a { border-bottom-color: var(--warm); }
.tour-photo figcaption { display: flex; flex-direction: column; gap: .25rem; padding: .5rem .1rem 0; color: var(--muted); font-size: .74rem; }
.tour-photo figcaption a { color: var(--muted); text-decoration: underline; }
.tour-photo.is-reported { padding: .5rem; background: #fff2ed; outline: 2px solid var(--warm); }
.photo-gallery img { display: block; width: 100%; height: 100%; min-height: 180px; max-height: 320px; object-fit: cover; transition: transform .25s; }
.photo-gallery a:hover img { transform: scale(1.025); }
.photo-lightbox { width: min(94vw,1200px); height: min(92vh,900px); padding: 0; border: 0; color: white; background: #07161de8; }
.photo-lightbox::backdrop { background: rgba(3,12,16,.88); }
.photo-lightbox figure { display: grid; place-items: center; width: 100%; height: 100%; margin: 0; padding: 3.5rem 5rem 2.5rem; }
.photo-lightbox img { max-width: 100%; max-height: calc(92vh - 6rem); object-fit: contain; }
.photo-lightbox figcaption { position: absolute; bottom: .65rem; left: 0; right: 0; text-align: center; font-weight: 800; }
.photo-lightbox button { position: absolute; z-index: 2; display: grid; place-items: center; border: 0; color: white; background: rgba(9,45,58,.8); cursor: pointer; }
.lightbox-close { top: .8rem; right: .8rem; width: 44px; height: 44px; font-size: 2rem; }
.lightbox-previous, .lightbox-next { top: 50%; width: 50px; height: 70px; margin-top: -35px; font-size: 3rem; }
.lightbox-previous { left: .8rem; }
.lightbox-next { right: .8rem; }
.map-section { margin: 0 0 4rem; }
.map-section > div:first-child { display: flex; justify-content: space-between; align-items: end; }
.tour-map { width: 100%; height: 430px; overflow: hidden; border: 0; border-bottom: 9px solid var(--moss); background: var(--stone); box-shadow: var(--shadow); }
.tour-map.compact { height: 320px; margin-top: 1rem; box-shadow: none; }
.leaflet-control-attribution { font-size: 10px; }
.detail-columns { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(2rem,6vw,6rem); }
.detail-columns h2 { font-size: clamp(1.55rem,2.4vw,2.25rem); }
.timeline { list-style: none; margin: 2rem 0 0; padding: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 1rem; padding-bottom: 1.7rem; }
.timeline li:not(:last-child)::before { content: ''; position: absolute; left: 7px; top: 14px; bottom: 0; width: 2px; background: var(--line); }
.timeline-dot { position: relative; z-index: 1; width: 15px; height: 15px; margin-top: 5px; border: 4px solid var(--snow); border-radius: 50%; background: var(--warm); box-shadow: 0 0 0 2px var(--warm); }
.timeline p, .timeline small { margin: .15rem 0 0; color: var(--muted); }
.report { padding: 2rem; background: var(--paper); border-top: 8px solid var(--moss); }
.report > p:not(.eyebrow) { font-size: 1.08rem; line-height: 1.75; }
.weather-note { margin-top: 1.5rem; padding: 1rem 1.1rem; border-left: 6px solid var(--warm); background: var(--snow); }
.weather-note span { display: block; color: var(--muted); font-size: .75rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.weather-note p { margin: .35rem 0 0; }
.author-box { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.author-box span, .author-box strong { display: block; }
.author-box span { color: var(--muted); font-size: .8rem; }
.tour-contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin: -2rem 0 4rem; padding: 1.5rem; border: 0; border-left: 9px solid var(--warm); background: #fff2ed; }
.tour-contact-panel h2, .tour-contact-panel p { margin: .25rem 0; }
.tour-contact-panel form { margin: 0; }
.photo-rights-confirmation { display: flex; align-items: flex-start; gap: .75rem; padding: 1rem; border-left: 6px solid var(--warm); background: #fff8e5; font-size: .76rem; line-height: 1.5; text-transform: none; }
.photo-rights-confirmation input { flex: 0 0 auto; width: auto; margin-top: .18rem; }
.photo-rights-hint { margin: -.2rem 0 .4rem; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.photo-sort-card.is-reported { outline: 3px solid var(--warm); background: #fff2ed; }
.reported-photo-summary { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; padding: 1rem; background: var(--paper); border-left: 7px solid var(--warm); }
.reported-photo-summary img { width: 140px; height: 95px; object-fit: cover; }
.reported-photo-summary strong, .reported-photo-summary span { display: block; }
.reported-photo-summary span { margin-top: .25rem; color: var(--muted); font-size: .8rem; }

.form-page { max-width: 650px; margin: 3rem auto; }
.form-page.wide { max-width: 980px; }
.form-page h1 { margin-bottom: 1rem; font-size: clamp(2.8rem,6vw,5.2rem); }
.form-page > p:not(.eyebrow) { color: var(--muted); }
.form-card { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 2rem; padding: clamp(1.4rem,4vw,2.5rem); background: var(--paper); border: 0; border-top: 9px solid var(--forest); box-shadow: var(--shadow); }
.form-card.single { display: flex; flex-direction: column; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full, fieldset.full, .form-actions { grid-column: 1 / -1; }
label, legend { color: var(--ink); font-size: .78rem; font-weight: 900; letter-spacing: .035em; text-transform: uppercase; }
input, select, textarea { width: 100%; padding: .78rem .85rem; border: 2px solid #b9c0c1; border-radius: 0; background: white; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 4px solid rgba(243,213,72,.48); border-color: var(--forest); }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
textarea { resize: vertical; }
fieldset { margin: .7rem 0; padding: 1.2rem; border: 2px solid var(--line); }
.journey-fields { display: grid; grid-template-columns: 2fr 1fr 1fr 2fr 1fr 1fr; gap: 1rem; }
.journey-fields label { font-size: .67rem; letter-spacing: .015em; white-space: nowrap; }
.paired-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.track-import { padding: 1.4rem; background: #eef5f5; border-color: #9fbec5; }
.track-import > .field { max-width: 520px; }
.field small, .track-status, .photo-status { color: var(--muted); font-size: .78rem; }
.publication-warning { padding: .7rem .8rem; border-left: 5px solid var(--warm); background: #fff2ed; color: #713321 !important; line-height: 1.45; }
.track-status, .photo-status { margin-top: .7rem; font-weight: 700; }
.photo-status.error { color: #963d2e; }
.photo-upload { background: #fffdf1; }
.file-picker-row { display: flex; align-items: center; gap: .8rem; min-height: 52px; padding: .55rem .7rem; border: 2px solid #b9c0c1; background: white; }
.file-picker-row button { flex: 0 0 auto; }
.file-picker-row span { overflow: hidden; color: var(--ink); font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.partner-search-field { display: flex; align-items: flex-start; gap: .9rem; padding: 1rem 1.1rem; border: 2px solid #efaa95; background: #fff2ed; cursor: pointer; }
.partner-search-field input { width: auto; margin-top: .2rem; }
.partner-search-field strong, .partner-search-field small { display: block; }
.partner-search-field small { margin-top: .25rem; color: var(--muted); font-weight: 400; line-height: 1.4; text-transform: none; letter-spacing: 0; }
.google-photos-import { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.google-photos-import small { max-width: 560px; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.google-photos-import button:disabled { cursor: not-allowed; opacity: .55; }
.existing-photos { display: grid; grid-template-columns: repeat(4,1fr); gap: .8rem; margin-bottom: 1.2rem; }
.existing-photos:empty { display: none; }
.photo-sort-card { position: relative; overflow: hidden; border: 2px solid var(--line); background: white; }
.photo-sort-card.is-preview { border-color: var(--forest); box-shadow: 0 0 0 2px var(--moss); }
.existing-photos img { display: block; width: 100%; height: 125px; object-fit: cover; }
.existing-photos label { display: flex; flex-direction: column; align-items: stretch; gap: .35rem; padding: .55rem; font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.existing-photos label input { width: 100%; padding: .5rem; font-size: .82rem; font-weight: 400; text-transform: none; }
.photo-delete-button { width: calc(100% - 1.1rem); margin: 0 .55rem .55rem; padding: .5rem; border: 1px solid var(--warm); color: var(--warm); background: white; font-weight: 800; cursor: pointer; }
.photo-delete-button:hover { color: white; background: var(--warm); }
.photo-delete-button:disabled { cursor: wait; opacity: .55; }
.preview-photo-badge { display: none; position: absolute; top: .45rem; left: .45rem; padding: .25rem .45rem; color: var(--forest-dark); background: var(--moss); font-size: .68rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.photo-sort-card.is-preview .preview-photo-badge { display: block; }
.photo-order-controls { display: grid; grid-template-columns: 1fr 1fr; }
.photo-order-controls button { min-height: 36px; border: 0; border-right: 1px solid var(--line); color: white; background: var(--forest); font-weight: 900; cursor: pointer; }
.photo-order-controls button:last-child { border-right: 0; }
.photo-order-controls button:disabled { color: #8b999e; background: var(--stone); cursor: default; }
.waypoint-row { display: grid; grid-template-columns: 32px 2fr .75fr .8fr 2fr 32px; gap: .65rem; align-items: end; margin-bottom: .8rem; }
.waypoint-row label { display: block; }
.waypoint-row input, .waypoint-row textarea { height: 48px; min-height: 48px; }
.waypoint-row textarea { padding: .55rem .65rem; overflow-wrap: anywhere; font-size: .875rem; line-height: 1.2; }
.waypoint-number { align-self: center; display: grid; place-items: center; width: 28px; height: 28px; color: var(--forest-dark); background: var(--moss); font-weight: 900; }
.remove-waypoint { align-self: center; width: 30px; height: 30px; border: 0; color: white; background: var(--warm); cursor: pointer; }
.secondary { display: inline-flex; justify-content: center; align-items: center; padding: .6rem .8rem; border: 2px solid var(--forest); color: var(--forest); background: transparent; border-radius: 0; font-weight: 900; text-decoration: none; text-transform: uppercase; cursor: pointer; }
.secondary:hover { color: white; background: var(--forest); }
.form-actions { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; margin-top: .5rem; }
.form-actions > a { color: var(--muted); }
.form-switch { margin: .4rem 0 0; color: var(--muted); text-align: center; }
.verification-form { display: flex; flex-direction: column; gap: 1rem; }
.form-switch a { color: var(--forest); font-weight: 900; }

.profile-head { display: flex; align-items: center; gap: 1.5rem; margin: 3rem 0; padding: 2rem; color: white; background: var(--forest-dark); border-bottom: 9px solid var(--moss); }
.personal-page-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin: 3rem 0; padding: 2rem 0; border-bottom: 3px solid var(--ink); }
.personal-page-head h1 { margin: 0; font-size: clamp(3rem,7vw,6rem); }
.personal-page-head p:not(.eyebrow) { margin: .6rem 0 0; color: var(--muted); }
.board-head { max-width: none; border-bottom-color: var(--warm); }
.profile-actions { display: flex; justify-content: flex-end; margin: -2rem 0 2rem; }
.board-compose { margin: 0 0 2.5rem; }
.board-compose > summary { width: max-content; list-style: none; }
.board-compose > summary::-webkit-details-marker { display: none; }
.board-form { max-width: 800px; margin-top: 1rem; padding: 1.5rem; border: 0; border-top: 8px solid var(--moss); background: var(--paper); box-shadow: var(--shadow); }
.board-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.board-login { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; padding: 1.2rem 1.4rem; border: 2px solid var(--line); border-left: 8px solid var(--moss); background: var(--paper); }
.board-login p { margin: 0; }
.board-section-heading { margin-top: 3rem; }
.board-post-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.25rem; }
.board-post { display: flex; flex-direction: column; min-height: 310px; padding: 1.5rem; border: 0; border-top: 7px solid var(--warm); background: var(--paper); }
.board-post:nth-child(even) { border-top-color: var(--moss); }
.board-post h3 { margin: 1.2rem 0 .7rem; font-size: 1.7rem; text-transform: uppercase; }
.board-post > p { flex: 1; color: var(--muted); line-height: 1.6; }
.board-author { display: flex; align-items: center; gap: .75rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.board-author strong, .board-author small { display: block; }
.board-author small { margin-top: .15rem; color: var(--muted); }
.small-avatar { width: 42px; height: 42px; font-size: 1.2rem; }
.board-post-actions { display: flex; align-items: center; justify-content: flex-end; min-height: 42px; margin-top: 1rem; }
.board-post-actions form { margin: 0; }
.request-status { color: var(--forest); font-weight: 900; }
.profile-head h1 { margin: 0; font-size: clamp(3rem,7vw,5.7rem); }
.profile-head p { margin: .3rem 0 0; color: #bcd0d5; }
.profile-head .eyebrow { color: var(--moss); }
.avatar { display: grid; flex: 0 0 auto; place-items: center; width: 110px; height: 110px; border-radius: 50%; color: var(--forest-dark); background: var(--moss); font-family: var(--display); font-size: 3.5rem; font-weight: 900; }
.profile-image-field { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; align-items: center; }
.profile-image-field legend { margin-bottom: .7rem; }
.profile-image-preview { grid-row: 1 / 3; width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.remove-avatar { grid-column: 2; display: flex; align-items: center; gap: .5rem; }
.remove-avatar input { width: auto; }
.profile-bio { max-width: 680px; padding: 1.2rem; border-left: 8px solid var(--moss); background: var(--paper); font-size: 1.1rem; }
.legal-page { max-width: 820px; margin: 3rem auto; }
.legal-page h1 { margin-bottom: .5rem; font-size: clamp(3rem,7vw,5.7rem); }
.legal-page section { margin-top: 2.5rem; padding: 1.5rem; border-top: 7px solid var(--forest); background: var(--paper); }
.legal-page section:nth-of-type(even) { border-top-color: var(--warm); }
.legal-page h2 { font-size: 1.65rem; }
.legal-page p, .legal-page address { line-height: 1.7; }
.legal-page address { font-style: normal; }
.legal-contact-image { display: block; width: min(100%,520px); height: auto; margin-top: .7rem; }
.legal-updated { color: var(--muted); }
.legal-nav { display: flex; gap: 1rem; }
.legal-nav a { color: inherit; font-size: .78rem; }
.empty-state { max-width: 600px; margin: 8rem auto; text-align: center; }
.empty-state > span { font-size: 4rem; color: var(--warm); }
.empty-state h1 { font-size: 3rem; }
footer { max-width: none; margin: 0; padding: 2rem max(2rem,calc((100vw - 1240px) / 2)); border-top: 0; color: #c6d3d6; background: var(--forest-dark); display: flex; justify-content: space-between; gap: 1rem; font-size: .82rem; }
footer strong { color: var(--moss); text-transform: uppercase; }

@media (max-width: 1000px) {
  .site-header { align-items: flex-start; }
  nav { flex-wrap: wrap; justify-content: flex-end; gap: .7rem 1rem; }
}

@media (max-width: 850px) {
  .brand small { display: none; }
  .intro { aspect-ratio: auto; min-height: 500px; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 1.5rem; background-image: linear-gradient(180deg,rgba(5,29,38,.18) 0%,rgba(5,29,38,.3) 38%,rgba(5,29,38,.82) 100%),url("hero-flowers-20260722.jpg"); background-position: center; }
  .detail-columns, .board-post-grid { grid-template-columns: 1fr; }
  .detail-metrics { grid-template-columns: repeat(3,1fr); }
  .detail-metrics div:nth-child(3) { border-right: 0; }
  .detail-metrics div:nth-child(-n+3) { margin-bottom: 1rem; }
  .journey-summary { grid-template-columns: 1fr auto 1fr; }
  .journey-partners { grid-column: 1 / -1; padding: 1rem 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .journey-fields { grid-template-columns: 2fr 1fr 1fr; }
  .photo-gallery, .existing-photos { grid-template-columns: repeat(2,1fr); }
  .year-summary { flex-direction: column; }
  .waypoint-row { grid-template-columns: 32px 1fr 1fr 32px; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .waypoint-row label:nth-of-type(1), .waypoint-row label:nth-of-type(4) { grid-column: 2 / 4; }
}

@media (max-width: 600px) {
  .site-header, main { padding-left: 1rem; padding-right: 1rem; }
  .site-header { min-height: 78px; gap: .7rem; }
  .brand-mark { width: 40px; height: 40px; }
  .brand strong { font-size: 1rem; }
  .site-header nav > a:first-child { display: none; }
  nav { gap: .55rem .8rem; }
  nav a, .link-button { font-size: .7rem; }
  .intro { min-height: 440px; padding: 2rem 1.3rem; }
  .intro h1 { font-size: clamp(2.45rem,12vw,3.6rem); }
  .intro .button { box-shadow: 5px 5px 0 var(--warm); }
  .section-heading { margin-top: 4rem; }
  .tour-grid, .form-card { grid-template-columns: 1fr; }
  .detail-metrics { grid-template-columns: repeat(2,1fr); }
  .detail-metrics div { margin-bottom: .8rem; border-right: 0; }
  .journey-summary { grid-template-columns: 1fr; margin-top: -3rem; }
  .journey-line { transform: rotate(90deg); justify-self: start; }
  .journey-partners { grid-column: auto; }
  .journey-fields { grid-template-columns: 1fr; }
  .photo-gallery { grid-template-columns: 1fr 1fr; }
  .photo-lightbox figure { padding-left: 3.2rem; padding-right: 3.2rem; }
  .lightbox-previous, .lightbox-next { width: 42px; }
  .friend-grid, .legacy-import { grid-template-columns: 1fr; }
  .year-summary dl { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .tour-card-media { height: 170px; max-height: 170px; }
  .tour-map { height: 330px; }
  .tour-title { flex-direction: column; }
  .metrics { font-size: .85rem; }
  .waypoint-row { grid-template-columns: 28px 1fr 28px; }
  .waypoint-row label { grid-column: 2; }
  .waypoint-row label:nth-of-type(1), .waypoint-row label:nth-of-type(4) { grid-column: 2; }
  .remove-waypoint { grid-column: 3; grid-row: 1; }
  .friendship-panel, .friend-request { align-items: flex-start; flex-direction: column; }
  .tour-contact-panel, .personal-page-head { align-items: flex-start; flex-direction: column; }
  .profile-head { align-items: flex-start; flex-direction: column; padding: 1.5rem; }
  .profile-image-field { grid-template-columns: 1fr; }
  .profile-image-preview { grid-row: auto; }
  .remove-avatar { grid-column: auto; }
  .board-form-row { grid-template-columns: 1fr; }
  .board-login { align-items: flex-start; flex-direction: column; }
  footer { flex-direction: column; padding-left: 1rem; padding-right: 1rem; }
}
