:root {
  --paper: #f4efe5;
  --paper-deep: #e9dfce;
  --ink: #203029;
  --muted: #66736b;
  --forest: #284d3c;
  --terracotta: #c65f3d;
  --sun: #e7b85b;
  --white: #fffdf8;
  --line: rgba(32, 48, 41, 0.16);
  --shadow: 0 18px 50px rgba(58, 45, 28, 0.12);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

button, input, textarea, select { font: inherit; }

button, .button { touch-action: manipulation; }

.travel-header {
  padding: 28px clamp(22px, 5vw, 76px) clamp(34px, 5vw, 68px);
  color: var(--white);
  background: linear-gradient(135deg, #173c32, #285946);
}

.travel-header--compact {
  min-height: auto;
  padding-bottom: 28px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.12rem;
  text-decoration: none;
  letter-spacing: .015em;
}

.nav-home {
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

.journal-banner {
  width: min(1200px, 100%);
  margin: clamp(30px, 5vw, 54px) auto 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: clamp(12px, 2vw, 24px);
  background: var(--paper);
  box-shadow: 0 24px 64px rgba(5, 24, 18, .28);
}

.journal-banner img {
  display: block;
  width: 100%;
  height: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--terracotta);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.journal {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
  padding: 90px 0 120px;
}

.journal-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: .85rem;
}

.journal-heading p { margin: 0; }
.journal-heading .eyebrow { color: var(--ink); }
.journal-heading > p:last-child { justify-self: end; }

.journal-heading__gallery {
  justify-self: center;
  color: var(--forest);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration-color: rgba(40, 77, 60, .35);
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.journal-heading__gallery:hover { color: var(--terracotta); }

.journal-index { display: grid; }

.journal-card {
  min-width: 0;
  padding: 42px 0;
  border-bottom: 1px solid var(--line);
}

.journal-card--featured {
  display: grid;
  grid-template-columns: minmax(260px, 400px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(34px, 6vw, 78px);
  padding: 56px 0 54px;
}

.journal-card--featured .journal-card__cover { aspect-ratio: 16 / 9; }

.journal-card__cover {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  background: transparent;
}

.journal-card__cover:focus-visible {
  outline: 0;
}

.journal-card__cover:focus-visible img {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

.journal-card__cover img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  padding: 3px;
  border: 1px solid rgba(32, 48, 41, .25);
  border-radius: 3px;
  object-fit: contain;
  background: var(--white);
  transition: transform .5s ease;
}

.journal-card__cover:hover img { transform: scale(1.015); }

.journal-card__cover--empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  background: var(--paper-deep);
  font: italic 1.15rem var(--serif);
  text-decoration: none;
}

.journal-card__body {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 22px;
}

.journal-card__label {
  margin: 0 0 14px;
  color: var(--terracotta);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.journal-card h2 {
  margin: 0 0 20px;
  font: 400 clamp(2rem, 3.7vw, 3.65rem)/1 var(--serif);
  letter-spacing: -.04em;
  white-space: pre-line;
}

.journal-card h2 a { text-decoration: none; }
.journal-card h2 a:hover { color: var(--terracotta); }

.journal-card__excerpt {
  margin: 0;
  color: #46544d;
  font: 1.02rem/1.65 var(--serif);
}

.journal-card__read {
  display: inline-block;
  margin-top: 24px;
  color: var(--forest);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration-color: rgba(40, 77, 60, .35);
  text-underline-offset: 5px;
  text-transform: uppercase;
}

.earlier-entries-heading {
  padding: 44px 0 18px;
  border-bottom: 1px solid var(--line);
}

.earlier-entries-heading .eyebrow { margin: 0; color: var(--ink); }

.journal-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(34px, 5vw, 70px);
}

.journal-card-grid .journal-card {
  display: grid;
  grid-template-columns: clamp(130px, 14vw, 180px) minmax(0, 1fr);
  align-content: start;
  gap: 22px;
  padding: 42px 0 58px;
}

.journal-card-grid .journal-card h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.journal-card-grid .journal-card__body { grid-template-columns: 30px minmax(0, 1fr); gap: 16px; }
.journal-card-grid .entry-number { padding-top: 5px; }
.journal-card-grid .journal-card__excerpt { font-size: .95rem; line-height: 1.55; }

.journal-entry {
  display: grid;
  grid-template-columns: 58px minmax(0, .8fr) minmax(360px, 1.2fr);
  gap: clamp(26px, 5vw, 72px);
  padding: 92px 0;
  border-bottom: 1px solid var(--line);
}

.journal-entry:nth-of-type(even) .entry-content { grid-column: 3; }
.journal-entry:nth-of-type(even) .photo-grid { grid-column: 2; grid-row: 1; }
.journal-entry:nth-of-type(even) .entry-number { grid-column: 1; grid-row: 1; }

.entry-number {
  padding-top: 8px;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: .9rem;
}

.entry-meta {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.entry-content h2 {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.6vw, 4.3rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .98;
  white-space: pre-line;
}

.entry-content h2 a { text-decoration: none; }
.entry-content h2 a:hover { color: var(--terracotta); }

.entry-copy {
  color: #46544d;
  font-family: var(--serif);
  font-size: 1.08rem;
}

.entry-copy p { margin: 0 0 1.2em; }
.entry-copy p:last-child { margin-bottom: 0; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-content: start;
}

.photo-grid--1 { grid-template-columns: 1fr; }
.photo-grid--3 .photo:first-child { grid-column: 1 / -1; }
.photo-grid--4 .photo:first-child { grid-column: 1 / -1; }

.photo {
  margin: 0;
  overflow: hidden;
}

.photo a {
  display: block;
  background: var(--paper-deep);
  cursor: zoom-in;
}

.photo a:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

.photo img {
  display: block;
  width: 100%;
  height: min(420px, 42vw);
  object-fit: cover;
  transition: transform .5s ease;
}

.photo a:hover img { transform: scale(1.015); }

.photo figcaption {
  padding: 9px 3px 3px;
  color: var(--muted);
  font-size: .78rem;
}

.photo-grid--1 .photo img { height: auto; max-height: 720px; }

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  color: white;
  background: rgba(7, 14, 11, .96);
  overflow: hidden;
}

.lightbox::backdrop { background: rgba(7, 14, 11, .96); }
.lightbox[open] { display: grid; place-items: center; }

.lightbox__panel {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  width: 100%;
  max-width: 1800px;
  height: 100%;
  min-height: 0;
  gap: clamp(8px, 2vw, 24px);
  padding: clamp(18px, 3vw, 44px);
  touch-action: pan-y;
}

.lightbox__figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-self: stretch;
  min-width: 0;
  min-height: 0;
  margin: 0;
}

.lightbox__image-wrap {
  display: grid;
  min-width: 0;
  min-height: 0;
  place-items: center;
}

.lightbox__image-wrap img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 118px);
  max-height: calc(100dvh - 118px);
  object-fit: contain;
  box-shadow: 0 18px 70px rgba(0, 0, 0, .35);
}

.lightbox__meta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  min-height: 42px;
  padding-top: 14px;
  color: rgba(255, 255, 255, .82);
  font-size: .82rem;
}

.lightbox__counter {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .58);
  font-variant-numeric: tabular-nums;
}

.lightbox__close,
.lightbox__previous,
.lightbox__next {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  place-items: center;
  color: white;
  background: rgba(255, 255, 255, .1);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.lightbox__close:hover,
.lightbox__previous:hover,
.lightbox__next:hover,
.lightbox__close:focus-visible,
.lightbox__previous:focus-visible,
.lightbox__next:focus-visible {
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .2);
  outline: 0;
}

.lightbox__close {
  position: absolute;
  z-index: 2;
  top: clamp(12px, 2vw, 26px);
  right: clamp(12px, 2vw, 26px);
}

.empty-journal {
  max-width: 680px;
  margin: 120px auto 60px;
  padding: 70px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 50% 50% 8px 8px;
  background: rgba(255,255,255,.3);
}

.empty-journal h2,
.not-found h1 {
  margin: 0 0 18px;
  font: 400 clamp(2.4rem, 6vw, 4.8rem)/.98 var(--serif);
  letter-spacing: -.04em;
}

.empty-journal p:last-child { color: var(--muted); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(22px, 5vw, 76px);
  color: rgba(255,255,255,.7);
  background: var(--ink);
  font-size: .75rem;
}

.site-footer a { color: rgba(255,255,255,.45); }

.journal--detail { max-width: 1080px; padding-top: 56px; }

.journal-entry--detail {
  grid-template-columns: 40px 1fr;
  padding-top: 60px;
  border-bottom: 0;
}

.journal-entry--detail .entry-content { max-width: 720px; }
.journal-entry--detail .photo-grid { grid-column: 2; margin-top: 12px; }

.back-link {
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
  text-decoration: none;
}

.gallery-page { padding-top: 56px; }

.gallery-heading {
  max-width: 760px;
  margin: 58px 0 48px;
}

.gallery-heading h1 {
  margin: 0 0 20px;
  font: 400 clamp(2.8rem, 6vw, 5rem)/.96 var(--serif);
  letter-spacing: -.045em;
}

.gallery-heading > p:last-child {
  margin: 0;
  color: var(--muted);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: clamp(28px, 4vw, 48px) clamp(14px, 2vw, 24px);
}

.gallery-photo {
  min-width: 0;
  margin: 0;
}

.gallery-photo__image {
  display: grid;
  aspect-ratio: 4 / 3;
  padding: 4px;
  border: 1px solid rgba(32, 48, 41, .25);
  border-radius: 3px;
  place-items: center;
  background: var(--white);
  cursor: zoom-in;
  overflow: hidden;
}

.gallery-photo__image:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
}

.gallery-photo__image img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  transition: transform .35s ease;
}

.gallery-photo__image:hover img { transform: scale(1.02); }

.gallery-photo figcaption {
  display: grid;
  gap: 3px;
  padding-top: 9px;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.4;
}

.gallery-photo figcaption span { color: var(--ink); }
.gallery-photo figcaption a { text-decoration-color: rgba(40, 77, 60, .28); }
.gallery-empty { padding: 60px 0; color: var(--muted); border-top: 1px solid var(--line); }

.not-found {
  min-height: 70vh;
  display: grid;
  place-content: center;
  justify-items: center;
  padding: 50px 24px;
  text-align: center;
}

/* Editor */
.admin-page { min-height: 100vh; background: #f6f4ee; }

.admin-header {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 52px);
  color: var(--white);
  background: var(--forest);
}

.admin-brand {
  font: 400 1.25rem var(--serif);
  text-decoration: none;
}

.admin-brand span { color: #f3c66d; font-style: italic; }

.admin-header nav { display: flex; align-items: center; gap: 22px; font-size: .84rem; }
.admin-header nav a { color: rgba(255,255,255,.76); text-decoration: none; }
.admin-header form { margin: 0; }

.admin-main {
  width: min(980px, calc(100% - 36px));
  margin: 0 auto;
  padding: 62px 0 100px;
}

.admin-title-row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 32px;
}

.admin-title-row h1,
.editor-heading h1,
.login-card h1 {
  margin: 0;
  font: 400 clamp(2.5rem, 7vw, 4.5rem)/.95 var(--serif);
  letter-spacing: -.045em;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 800;
  text-decoration: none;
}

.button--primary { color: white; background: var(--terracotta); }
.button--primary:hover { background: #aa492e; }
.button--quiet { border-color: var(--line); background: transparent; }
.button--quiet:hover { background: var(--paper); }

.admin-post-list { display: grid; gap: 12px; }

.admin-post {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.admin-post img,
.image-placeholder {
  width: 110px;
  height: 92px;
  object-fit: cover;
  border-radius: 9px;
  background: var(--paper-deep);
}

.image-placeholder { display: grid; place-items: center; color: var(--terracotta); font-size: 1.5rem; }
.admin-post h2 { margin: 4px 0 3px; font: 400 1.5rem var(--serif); }
.admin-post p { margin: 0; color: var(--muted); font-size: .78rem; }

.status {
  color: var(--forest);
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.status--draft { color: #88755b; }
.status--scheduled { color: #7552a5; }

.admin-empty {
  padding: 70px 24px;
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
}

.admin-empty h2 { color: var(--ink); font: 400 2rem var(--serif); }

.notice,
.form-error {
  width: min(980px, calc(100% - 36px));
  margin: 18px auto -30px;
  padding: 13px 18px;
  border-radius: 10px;
  color: #215438;
  background: #dff0e3;
}

.form-error {
  width: 100%;
  margin: 22px 0;
  color: #752f24;
  background: #f8e1dc;
}

.login-card {
  width: min(470px, 100%);
  margin: 7vh auto;
  padding: clamp(28px, 6vw, 54px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}

.login-card > p:not(.eyebrow) { color: var(--muted); }
.stacked-form { display: grid; gap: 20px; margin-top: 30px; }

label,
.field-title {
  display: grid;
  gap: 8px;
  margin: 0;
  color: #39473f;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .025em;
}

label span { color: var(--muted); font-weight: 500; }

input,
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfcfc7;
  border-radius: 9px;
  color: var(--ink);
  background: white;
  outline: none;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
}

textarea { min-height: 230px; resize: vertical; line-height: 1.55; }
.title-input { min-height: 96px; line-height: 1.25; }
input:focus, textarea:focus, select:focus { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(198,95,61,.13); }

.editor-heading { margin-bottom: 34px; }
.editor-heading .back-link { display: inline-block; margin-bottom: 50px; }
.admin-post h2,
.editor-heading h1 { white-space: pre-line; }

.post-form { display: grid; gap: 28px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.form-grid .wide { grid-column: 1 / -1; }

.upload-panel,
.publish-panel,
.image-editor-item {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.upload-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; }
.upload-panel p { margin: 5px 0 0; color: var(--muted); font-size: .8rem; }
.field-title { color: var(--ink) !important; font-size: .85rem !important; }

.native-upload {
  display: grid;
  gap: 8px;
  width: min(360px, 100%);
  color: var(--forest);
  font-size: .84rem;
  font-weight: 800;
}

.native-upload input[type="file"] {
  width: 100%;
  min-height: 48px;
  padding: 6px;
  border: 1px solid var(--forest);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-size: .82rem;
}

.native-upload input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 10px 14px;
  border: 0;
  border-radius: 999px;
  background: var(--forest);
  color: white;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.photo-previews {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
}

.preview-card { min-width: 0; }
.preview-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.preview-card input { min-height: 40px; margin-top: 5px; padding: 8px; font-size: .8rem; }

.publish-panel { display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 20px; }
.publish-panel small { color: var(--muted); font-size: .7rem; font-weight: 400; }

.image-editor-list { display: grid; gap: 12px; }

.image-editor-item {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 18px;
  padding: 14px;
}

.image-editor-item > img { width: 150px; height: 135px; object-fit: cover; border-radius: 9px; }
.image-fields { display: grid; gap: 12px; }
.image-fields input { min-height: 42px; padding: 8px 10px; font-size: .88rem; }
.remove-check { display: flex; align-items: center; gap: 8px; color: #983e30; }
.remove-check input { width: 18px; min-height: 18px; }

.order-buttons { display: flex; flex-direction: column; gap: 7px; }
.order-buttons button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); cursor: pointer; }

.danger-zone { margin-top: 50px; padding-top: 22px; border-top: 1px solid var(--line); }
.link-button { padding: 0; border: 0; color: rgba(255,255,255,.76); background: transparent; cursor: pointer; }
.link-button--danger { color: #a44132; text-decoration: underline; }
.trap { position: absolute; left: -9999px; }

@media (max-width: 820px) {
  .journal-card--featured {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    gap: 30px;
  }
  .journal-card-grid { grid-template-columns: 1fr; }
  .journal-entry,
  .journal-entry:nth-of-type(even) {
    grid-template-columns: 34px 1fr;
    gap: 12px 20px;
  }
  .entry-content,
  .journal-entry:nth-of-type(even) .entry-content { grid-column: 2; grid-row: 1; }
  .photo-grid,
  .journal-entry:nth-of-type(even) .photo-grid { grid-column: 2; grid-row: 2; }
  .publish-panel { grid-template-columns: 1fr 1fr; }
  .publish-panel .button { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .travel-header { padding: 20px 15px 26px; }
  .travel-header--compact { padding: 20px 18px; }
  .journal-banner { margin-top: 24px; border-radius: 11px; }
  .journal { width: min(100% - 30px, 1180px); padding-top: 58px; }
  .journal-heading { grid-template-columns: 1fr auto; align-items: start; }
  .journal-heading__gallery { grid-column: 2; grid-row: 1; }
  .journal-heading > p:last-child { grid-column: 1 / -1; justify-self: start; margin-top: 8px; }
  .journal-card--featured { grid-template-columns: 1fr; gap: 28px; padding: 38px 0 44px; }
  .journal-card__body,
  .journal-card-grid .journal-card__body { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; }
  .journal-card .entry-number { display: block; font-size: .8rem; }
  .journal-card h2,
  .journal-card-grid .journal-card h2 { font-size: 2.35rem; }
  .earlier-entries-heading { padding-top: 38px; }
  .journal-card-grid .journal-card { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding: 34px 0 48px; }
  .journal-entry,
  .journal-entry:nth-of-type(even) { grid-template-columns: 1fr; padding: 64px 0; }
  .entry-number { display: none; }
  .entry-content,
  .photo-grid,
  .journal-entry:nth-of-type(even) .entry-content,
  .journal-entry:nth-of-type(even) .photo-grid { grid-column: 1; grid-row: auto; }
  .entry-content h2 { font-size: 2.8rem; }
  .photo img { height: 48vw; }
  .photo-grid--1 .photo img { height: auto; }
  .empty-journal { margin-top: 75px; padding: 45px 24px; }
  .site-footer { flex-direction: column; }
  .journal-entry--detail { display: block; }
  .journal-entry--detail .photo-grid { margin-top: 32px; }
  .gallery-page { padding-top: 42px; }
  .gallery-heading { margin: 42px 0 36px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
  .admin-header { align-items: flex-start; }
  .admin-header nav { align-items: flex-end; flex-direction: column; gap: 6px; }
  .admin-main { padding-top: 42px; }
  .admin-title-row { align-items: stretch; flex-direction: column; }
  .admin-post { grid-template-columns: 78px 1fr; }
  .admin-post img, .image-placeholder { width: 78px; height: 78px; }
  .admin-post .button { grid-column: 1 / -1; min-height: 42px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .upload-panel, .publish-panel { grid-template-columns: 1fr; }
  .upload-panel .native-upload, .publish-panel .button { grid-column: auto; }
  .image-editor-item { grid-template-columns: 90px 1fr; }
  .image-editor-item > img { width: 90px; height: 90px; }
  .order-buttons { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; }
  .lightbox__panel {
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 4px;
    padding: 58px 8px 14px;
  }
  .lightbox__close,
  .lightbox__previous,
  .lightbox__next { width: 40px; height: 40px; }
  .lightbox__image-wrap img {
    max-height: calc(100vh - 140px);
    max-height: calc(100dvh - 140px);
  }
  .lightbox__meta { align-items: flex-start; flex-direction: column; gap: 4px; padding: 10px 4px 0; }
}

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