/* Ostrovov.net: a travel journal, with a complete static reading interface. */
:root {
  --paper: #f7f5ee;
  --white: #fffefa;
  --ink: #163e42;
  --text: #293c3d;
  --muted: #536461;
  --line: #ced6ce;
  --sea: #e7eee8;
  --sand: #e9dfc9;
  --accent: #91472f;
  --radius: 6px;
  --width: 1280px;
  color-scheme: light;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: var(--ink); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; }
button, a, input, summary { -webkit-tap-highlight-color: transparent; }
:where(a, button, input, summary, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
::selection { color: var(--ink); background: var(--sand); }
[hidden] { display: none !important; }
p, ul, ol { margin: 0 0 1.25em; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; overflow-wrap: break-word; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1, h2 { text-wrap: balance; }
h1 { margin: .15em 0 .45em; font-size: clamp(2.3rem, 4.5vw, 3.7rem); letter-spacing: -.035em; }
h2 { margin: 0 0 .65em; font-size: clamp(1.65rem, 2.6vw, 2.35rem); letter-spacing: -.025em; }
h3 { margin: 0 0 .6em; font-size: 1.45rem; letter-spacing: -.015em; }
h4 { font-size: 1.1rem; }
hr { margin: 2.5rem 0; border: 0; border-top: 1px solid var(--line); }

.header-inner, .site-main, .footer-inner {
  width: min(var(--width), calc(100% - 96px));
  margin-inline: auto;
}
.site-main { min-height: 55vh; padding-block: 36px 84px; }
.site-main:focus { outline: none; }
.skip-link {
  position: fixed; z-index: 1000; top: 12px; left: 16px;
  padding: 12px 18px; background: var(--ink); color: var(--white);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; color: var(--white); }

/* The same visible navigation works on a phone without an application menu. */
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; text-decoration: none; min-height: 44px; }
.brand img { width: 40px; height: 40px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-name { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.7rem; font-weight: 700; letter-spacing: -.055em; line-height: 1.15; }
.brand-name span { font-weight: 400; }
.brand-caption { font-size: .7rem; letter-spacing: .04em; line-height: 1.4; color: var(--muted); }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 30px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 2px solid transparent; font-size: .88rem; font-weight: 650; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* Cover: one leading feature, supported by two smaller stories. */
.journal-intro { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin: 3px 0 32px; }
.journal-intro > :first-child { min-width: 0; }
.journal-intro h1 { margin: 0; max-width: 29ch; font-size: clamp(1.75rem, 2.8vw, 2.6rem); letter-spacing: -.03em; }
.eyebrow, .kicker, .card-label { color: var(--accent); font-size: .72rem; font-weight: 700; letter-spacing: .09em; line-height: 1.5; text-transform: uppercase; }
.eyebrow, .kicker { margin: 0 0 11px; }
.catalog-total { display: flex; align-items: baseline; gap: 10px; margin: 0; color: var(--muted); }
.catalog-total strong { font-family: Georgia, "Times New Roman", serif; font-size: 2.35rem; line-height: 1; font-weight: 400; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.catalog-total span { max-width: 15ch; font-size: .79rem; line-height: 1.4; }
.cover-grid { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(0, 1fr); align-items: start; gap: 36px; }
.cover-grid > *, .cover-aside > *, .story-body { min-width: 0; }
.cover-lead { display: block; color: var(--text); text-decoration: none; }
.cover-lead > a, .story-small > a { display: block; color: inherit; text-decoration: none; }
.cover-photo, .story-photo { display: block; overflow: hidden; background: var(--sea); }
.cover-photo { aspect-ratio: 8 / 5; border-radius: var(--radius); }
img.cover-photo { width: 100%; height: auto; object-fit: cover; }
.cover-photo img { width: 100%; height: 100%; object-fit: cover; }
.cover-photo picture, .story-photo picture { width: 100%; height: 100%; }
.cover-title { margin: 19px 0 12px; font-size: clamp(2rem, 3.1vw, 3rem); line-height: 1.1; letter-spacing: -.035em; }
.cover-title a, .story-body h2 a, .story-body h3 a { color: inherit; text-decoration: none; }
.cover-title a:hover, .story-body h2 a:hover, .story-body h3 a:hover { color: var(--accent); text-decoration: underline; }
.cover-description { max-width: 62ch; margin: 0; font-size: 1rem; line-height: 1.65; color: var(--muted); }
.cover-aside { display: grid; gap: 26px; padding-left: 32px; border-left: 1px solid var(--line); }
.story-small { display: block; margin: 0; text-decoration: none; color: var(--text); }
.story-small + .story-small { padding-top: 25px; border-top: 1px solid var(--line); }
.story-photo { aspect-ratio: 16 / 8; border-radius: var(--radius); margin-bottom: 13px; }
img.story-photo { width: 100%; height: auto; object-fit: cover; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-body h2, .story-body h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); line-height: 1.16; margin: 0 0 8px; }
.story-body p { color: var(--muted); font-size: .87rem; line-height: 1.6; margin: 0; }
.story-body .eyebrow, .story-body .kicker { margin-bottom: 7px; color: var(--accent); font-size: .69rem; }
.photo-credit { margin: 8px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.5; overflow-wrap: anywhere; }
.photo-credit a { color: inherit; }

/* Search is a useful part of the cover, rather than a second promotional block. */
.discover-bar { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 28px 42px; align-items: center; margin: 46px 0 56px; padding: 30px 34px; background: var(--sea); border-block: 1px solid #c7d3ca; }
.discover-copy { min-width: 0; }
.discover-copy h2 { margin: 0 0 8px; font-size: 1.8rem; }
.discover-copy p { margin: 0; font-size: .9rem; color: var(--muted); }
.discover-bar .search-form { margin: 0; max-width: none; }
.discover-bar .search-form label { font-size: .8rem; }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 28px; margin: 58px 0 25px; }
.section-heading > div { min-width: 0; }
.section-heading h1, .section-heading h2 { margin: 0 0 9px; }
.section-heading .eyebrow { margin-bottom: 10px; color: var(--accent); }
.section-heading p { margin: 0; color: var(--muted); }
.section-heading .lede { flex-basis: 100%; }
.section-heading > .eyebrow { flex-basis: 100%; color: var(--accent); }
.section-link, .section-heading > a { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; font-weight: 650; text-decoration: none; }
.section-link:hover, .section-heading > a:hover { text-decoration: underline; }
.lede { max-width: 60ch; font-size: 1.1rem; line-height: 1.7; color: var(--muted); }
.island-highlights { display: block; }
.island-highlights .catalog-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px; }
.island-highlights > * { min-width: 0; }
.island-highlights .card { border-top: 2px solid var(--ink); }
.island-highlights .card-body { padding-inline: 0; }
.island-highlights .catalog-item { min-height: 0; }
.beach-feature { position: relative; margin-top: 58px; padding: 38px 42px; background: var(--sand); border-top: 2px solid var(--accent); }
.beach-feature h2 { max-width: 22ch; margin-top: 0; font-size: clamp(1.85rem, 3vw, 2.8rem); }
.beach-feature p { max-width: 65ch; }
.beach-feature > p:last-child { margin-bottom: 0; }
.beach-feature .button { margin-top: 6px; }
.beach-feature img { border-radius: var(--radius); object-fit: cover; }
.beach-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 28px; }
.beach-links a { display: grid; grid-template-columns: minmax(0, 1fr) 22px; column-gap: 12px; padding: 18px 0; border-top: 1px solid #b9ab8d; text-decoration: none; }
.beach-links a > span:first-child { grid-column: 1; font-size: .75rem; line-height: 1.5; color: var(--muted); }
.beach-links a > strong { grid-column: 1; margin-top: 4px; font-family: Georgia, "Times New Roman", serif; font-size: 1.3rem; line-height: 1.25; font-weight: 400; }
.beach-links a > span:last-child { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--accent); }
.beach-links a:hover > strong { text-decoration: underline; text-underline-offset: .18em; }

/* Compact discovery lists do not require an image for every island. */
.catalog-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 38px; margin-top: 25px; }
.catalog-item { display: grid; grid-template-columns: minmax(0, 1fr) 24px; column-gap: 20px; align-content: start; min-width: 0; padding: 23px 0 25px; border-top: 1px solid var(--line); text-decoration: none; color: var(--text); }
.catalog-item :is(.name, .catalog-name, .catalog-item-name), .catalog-item > h2, .catalog-item > h3 { display: block; grid-column: 1; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; font-weight: 400; line-height: 1.2; color: var(--ink); margin: 0 0 9px; overflow-wrap: anywhere; }
.catalog-item :is(.description, .catalog-description, .catalog-item-description), .catalog-item > p { display: block; grid-column: 1; font-size: .88rem; line-height: 1.65; color: var(--muted); margin: 0; overflow-wrap: anywhere; }
.catalog-item :is(.arrow, .catalog-arrow, .catalog-item-arrow) { grid-column: 2; grid-row: 1 / span 2; align-self: start; font-size: 1.3rem; line-height: 1.4; color: var(--accent); }
.catalog-item:hover :is(.name, .catalog-name, .catalog-item-name, h2, h3) { color: var(--accent); text-decoration: underline; text-underline-offset: .18em; }
.catalog-item > div { min-width: 0; }
.alphabet-nav { display: flex; flex-wrap: wrap; gap: 7px; margin: 25px 0 36px; padding-block: 20px; border-block: 1px solid var(--line); }
.alphabet-nav a, .alphabet-nav > span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 6px 10px; color: var(--ink); font-size: .94rem; text-decoration: none; }
.alphabet-nav a:hover, .alphabet-nav a[aria-current] { color: var(--white); background: var(--ink); }
.alphabet-nav > span { color: var(--muted); }
.alphabet-group { display: grid; grid-template-columns: 65px minmax(0, 1fr); gap: 25px; margin-top: 25px; padding-top: 25px; border-top: 1px solid var(--line); scroll-margin-top: 24px; content-visibility: auto; contain-intrinsic-size: auto 500px; }
.alphabet-group h2 { margin: 0; font-size: 2.4rem; color: var(--accent); }
.directory-list { columns: 3; column-gap: 30px; list-style: none; padding: 0; margin: 0; }
.directory-list li { break-inside: avoid; min-width: 0; margin: 0; }
.directory-list a { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; padding-block: 7px; font-size: .91rem; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
.directory-list a:hover { text-decoration: underline; }
.sitemap-list { columns: 3; column-gap: 32px; padding-left: 20px; }
.sitemap-list li { break-inside: avoid; font-size: .9rem; margin-bottom: 9px; }
.sitemap-list a { display: inline-flex; align-items: center; min-height: 44px; }

/* Legacy cards remain available for beaches, recommendations and search. */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.grid > * { min-width: 0; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; }
.card:hover { color: var(--text); }
.card:hover .card-title { color: var(--accent); }
.card-image { aspect-ratio: 8 / 5; overflow: hidden; background: var(--sea); border-radius: var(--radius); }
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-body { position: relative; flex: 1; min-width: 0; padding: 22px 0 27px; }
.card-label { margin: 0 0 9px; }
.card-title { margin: 0 0 10px; font-size: 1.55rem; letter-spacing: -.02em; }
.card-description { margin: 0; padding-right: 12px; color: var(--muted); font-size: .89rem; line-height: 1.65; overflow-wrap: anywhere; }
.card-arrow { display: inline-block; margin-top: 14px; color: var(--accent); font-size: 1.2rem; line-height: 1; }
.card-text .card-body { min-height: 0; }
.beach-grid { margin: 30px 0; }
.article-body .beach-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article-body .card-title { margin: 0 0 10px; font-size: 1.45rem; }

/* Forms and results have a stable layout even before JavaScript loads. */
.search-form { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 12px; max-width: 850px; margin: 28px 0 18px; }
.search-form label { flex-basis: 100%; color: var(--ink); font-size: .85rem; font-weight: 650; }
.search-controls { display: flex; gap: 10px; min-width: 0; width: 100%; }
.search-form input { flex: 1; width: 100%; min-width: 0; min-height: 52px; padding: 11px 15px; color: var(--ink); background: var(--white); border: 1px solid #788c83; border-radius: 4px; }
.search-form input::placeholder { color: var(--muted); opacity: 1; }
.button, button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 21px; border: 1px solid var(--ink); border-radius: 4px; background: var(--ink); color: var(--white); font-size: .88rem; line-height: 1.5; font-weight: 650; text-align: center; text-decoration: none; }
.button:hover, button[type="submit"]:hover { border-color: var(--accent); background: var(--accent); color: var(--white); }
.button-secondary { background: transparent; color: var(--ink); }
.button-secondary:hover { background: var(--sea); border-color: var(--ink); color: var(--ink); }
.search-form button { flex-shrink: 0; min-height: 52px; }
#search-status { min-height: 1.7em; margin: 18px 0 25px; color: var(--muted); font-size: .9rem; }
#search-results { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 920px; }
#search-results:empty { display: none; }
#search-results .card { border-top: 1px solid var(--line); }
#search-results .card-body { padding: 23px 36px 24px 0; }
#search-results .card-title { font-size: 1.5rem; }
#search-results .card-description { padding: 0; max-width: 78ch; }
#search-results .card-arrow { position: absolute; top: 27px; right: 2px; margin: 0; }
.search-more { margin-top: 28px; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }
.pagination a, .pagination span { display: inline-flex; justify-content: center; align-items: center; min-width: 44px; min-height: 44px; padding: 8px 13px; color: var(--ink); border: 1px solid var(--line); border-radius: 3px; text-decoration: none; font-size: .87rem; }
.pagination a:hover { border-color: var(--ink); }
.pagination [aria-current] { border-color: var(--ink); color: var(--white); background: var(--ink); }

/* Articles: generous line spacing, restrained width and usable contents. */
.breadcrumbs { margin: 0 0 24px; color: var(--muted); font-size: .8rem; line-height: 1.7; overflow-wrap: anywhere; }
.breadcrumbs ol, .breadcrumbs ul { display: flex; flex-wrap: wrap; gap: 5px 10px; list-style: none; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 10px; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.article-header { max-width: 1000px; margin-bottom: 32px; }
.article-header h1 { max-width: 28ch; font-size: clamp(2.2rem, 4.2vw, 3.55rem); }
.article-photo { max-width: 1000px; margin: 0 0 40px; }
.article-photo img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.article-photo figcaption { margin-top: 10px; color: var(--muted); font-size: .78rem; line-height: 1.6; overflow-wrap: anywhere; }
.article-photo figcaption a { color: inherit; }
.meta { display: block; margin: 18px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.8; }
.article-layout { display: grid; grid-template-columns: minmax(0, 68ch) minmax(220px, 1fr); align-items: start; gap: 58px; font-size: 18px; }
.article-body { min-width: 0; max-width: 68ch; font-size: 1em; line-height: 1.8; overflow-wrap: break-word; }
.article-body > p:first-child { margin-top: 0; font-size: 1.08em; line-height: 1.75; }
.article-body h2 { margin: 2em 0 .7em; font-size: clamp(1.65rem, 2.3vw, 2.1rem); scroll-margin-top: 24px; }
.article-body h3 { margin: 1.65em 0 .65em; font-size: 1.5rem; scroll-margin-top: 24px; }
.article-body li { margin-bottom: .45em; }
.article-body ul, .article-body ol { padding-left: 1.35em; }
.article-body img { margin: 1.8rem auto; border-radius: var(--radius); }
.article-body figure { margin: 2rem 0; }
.article-body figure img { margin: 0 auto; }
.article-body figcaption { margin-top: 9px; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.article-body a { overflow-wrap: anywhere; }
.article-body blockquote { margin: 1.8rem 0; padding: 4px 0 4px 23px; border-left: 3px solid var(--accent); color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.08em; }
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body pre { max-width: 100%; overflow-x: auto; margin: 1.7rem 0; padding: 18px; background: var(--sea); font-size: .84em; }
.article-body iframe { max-width: 100%; }
.table-scroll { width: 100%; max-width: 100%; overflow-x: auto; margin: 1.8rem 0; overscroll-behavior-x: contain; }
.article-body table { display: table; width: 100%; max-width: none; margin: 0; border-collapse: collapse; font-size: .88rem; line-height: 1.6; }
.article-body td, .article-body th { padding: 12px 15px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { color: var(--ink); background: var(--sea); font-weight: 650; }
.toc { position: sticky; top: 26px; min-width: 0; max-width: 300px; border-top: 2px solid var(--ink); padding-top: 17px; font-size: .82rem; line-height: 1.55; }
.toc-desktop { display: block; max-height: calc(100vh - 65px); overflow-y: auto; padding: 2px 6px 6px 2px; }
.toc-mobile { display: none; }
.toc h2, .toc h3, .toc-title { margin: 0 0 9px; color: var(--ink); font-family: inherit; font-size: .88rem; font-weight: 700; line-height: 1.5; letter-spacing: 0; }
.toc summary { min-height: 44px; padding-block: 9px; color: var(--ink); font-size: .9rem; font-weight: 700; cursor: pointer; }
.toc nav { margin-top: 4px; }
.toc ol, .toc ul { list-style: none; margin: 0; padding: 0; }
.toc li { margin: 0; }
.toc li ol, .toc li ul { padding-left: 14px; }
.toc a { display: flex; align-items: center; min-height: 44px; padding: 9px 0; color: var(--muted); text-decoration: none; overflow-wrap: anywhere; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
.article-body .sources { margin-top: 36px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .88rem; line-height: 1.75; }
.article-body .sources h2 { font-size: 1.55rem; margin-top: 20px; }
.article-body .sources li { margin-bottom: .5em; }
.article-body .related { margin-top: 40px; padding-top: 4px; border-top: 2px solid var(--ink); }
.article-body .related h2 { margin-top: 22px; font-size: 1.65rem; }
.article-body .related a { display: inline-flex; align-items: center; min-height: 44px; }
.photo-sources { margin-top: 38px; padding-top: 16px; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.photo-sources h2 { margin-top: 14px; }
.photo-sources p, .photo-sources li { font-size: .92em; line-height: 1.75; overflow-wrap: anywhere; }
.photo-sources li { margin-bottom: 16px; }

/* Compatibility with existing static pages. No archive labels are inserted. */
.hero { margin: 15px 0 48px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 48px; }
.hero-copy h1 { max-width: 17ch; }
.hero-art { padding: 8px; }
.hero-art img, .hero-art svg { width: 100%; max-height: 430px; object-fit: contain; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.stat-strip { display: flex; flex-wrap: wrap; gap: 22px 45px; margin: 30px 0 42px; padding-block: 24px; border-block: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; gap: 3px; }
.stat strong, .stat-value { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 400; line-height: 1.2; }
.stat span, .stat-label { color: var(--muted); font-size: .8rem; }
.feature-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.feature-list li { max-width: 80ch; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feature-list h3 { margin-bottom: 7px; }
.feature-list p { margin: 0; color: var(--muted); }
.feature-panel { margin-top: 48px; padding: 34px; background: var(--sea); border-top: 2px solid var(--ink); }
.feature-panel h2 { margin-top: 0; }
.notice { margin: 25px 0; padding: 19px 22px; background: var(--sea); border-left: 3px solid var(--ink); font-size: .9rem; line-height: 1.7; }
.notice p:last-child { margin-bottom: 0; }
.empty-state { max-width: 850px; padding-block: 55px; }
.empty-state .button { margin: 8px 8px 0 0; }
.site-footer { padding-block: 35px 40px; border-top: 1px solid var(--line); background: #eeeee5; }
.footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 25px 45px; }
.footer-copy { max-width: 55ch; }
.footer-brand { display: inline-flex; align-items: center; min-height: 44px; font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; font-weight: 700; text-decoration: none; letter-spacing: -.035em; }
.site-footer p { color: var(--muted); font-size: .8rem; margin: 6px 0 0; }
.site-footer nav, .footer-navigation { display: flex; flex-wrap: wrap; gap: 8px 25px; }
.site-footer nav a, .footer-navigation a { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; }
.metrika-pixel { position: absolute; left: -9999px; width: 1px; height: 1px; }

@media (min-width: 1500px) {
  .article-layout { font-size: 19px; }
}

@media (max-width: 1050px) {
  .header-inner, .site-main, .footer-inner { width: calc(100% - 64px); }
  .cover-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 25px; }
  .cover-aside { padding-left: 24px; }
  .cover-title { font-size: 2.25rem; }
  .story-body h2, .story-body h3 { font-size: 1.4rem; }
  .story-body p { font-size: .83rem; }
  .discover-bar { gap: 25px; padding: 27px; }
  .article-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 35px; }
  .island-highlights .catalog-list, .grid { gap: 23px; }
  .directory-list { columns: 2; }
}

@media (max-width: 800px) {
  .header-inner, .site-main, .footer-inner { width: calc(100% - 40px); }
  .site-main { padding-block: 27px 58px; }
  .header-inner { min-height: 82px; gap: 14px; }
  .brand { gap: 9px; }
  .brand-name { font-size: 1.5rem; }
  .brand img { width: 35px; height: 35px; }
  .brand-caption { font-size: .65rem; }
  .site-nav { gap: 5px 19px; }
  .site-nav a { font-size: .83rem; }
  .journal-intro { margin-bottom: 24px; gap: 18px; }
  .journal-intro h1 { font-size: 1.85rem; }
  .catalog-total strong { font-size: 1.9rem; }
  .cover-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cover-photo { aspect-ratio: 16 / 10; }
  .cover-title { max-width: 28ch; font-size: clamp(1.95rem, 5vw, 2.5rem); margin-top: 17px; }
  .cover-description { max-width: 65ch; }
  .cover-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 27px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .story-small + .story-small { border-top: 0; padding-top: 0; }
  .story-photo { aspect-ratio: 16 / 9; }
  .story-body p { font-size: .87rem; }
  .discover-bar { grid-template-columns: minmax(0, 1fr); gap: 19px; margin: 35px 0 42px; padding: 25px; }
  .discover-copy h2 { font-size: 1.65rem; }
  .section-heading { margin-top: 43px; }
  .island-highlights .catalog-list, .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-list { gap: 0 25px; }
  .catalog-item { column-gap: 12px; }
  .catalog-item :is(.name, .catalog-name, .catalog-item-name), .catalog-item > h2, .catalog-item > h3 { font-size: 1.4rem; }
  .beach-feature { margin-top: 43px; padding: 29px; }
  .article-layout { display: flex; flex-direction: column; gap: 24px; font-size: 18px; }
  .article-header { margin-bottom: 25px; }
  .article-photo { margin-bottom: 30px; }
  .article-header h1 { max-width: 28ch; font-size: clamp(2rem, 5.5vw, 2.8rem); }
  .article-body { width: 100%; max-width: 68ch; }
  .toc { position: static; order: -1; width: 100%; max-width: none; padding: 7px 17px; border: 1px solid var(--line); background: var(--sea); }
  .toc-desktop { display: none; }
  .toc-mobile { display: block; }
  .toc-mobile[open] { padding-bottom: 7px; }
  .toc nav { margin-top: 3px; }
  .toc a { padding-block: 10px; }
  .article-body h2 { font-size: 1.75rem; }
  .article-body .beach-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-art { max-width: 410px; margin-inline: auto; }
  .hero-art img { max-height: 300px; }
  .feature-panel { padding: 26px; }
  .sitemap-list { columns: 2; }
  .footer-inner { flex-direction: column; gap: 18px; }
}

@media (max-width: 560px) {
  :root { font-size: 16px; }
  .header-inner { flex-wrap: wrap; padding-block: 17px 8px; gap: 10px; }
  .brand { flex: 1; }
  .brand-name { font-size: 1.65rem; }
  .brand-caption { font-size: .69rem; }
  .site-nav { justify-content: flex-start; gap: 5px 28px; flex-basis: 100%; }
  .site-nav a { font-size: .9rem; min-height: 44px; }
  .journal-intro { display: block; }
  .journal-intro h1 { font-size: 1.85rem; }
  .catalog-total { margin-top: 16px; gap: 9px; }
  .catalog-total strong { font-size: 1.75rem; }
  .catalog-total span { max-width: none; font-size: .82rem; }
  .cover-title { font-size: 2.1rem; max-width: 25ch; }
  .cover-description { font-size: 1rem; line-height: 1.65; }
  .cover-aside { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .story-small { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 15px; align-items: start; }
  .story-small + .story-small { padding-top: 21px; border-top: 1px solid var(--line); }
  .story-small > a { min-width: 0; }
  .story-small > a:only-child { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 15px; grid-column: 1 / -1; }
  .story-photo { aspect-ratio: 1 / 1; margin-bottom: 0; }
  .story-body h2, .story-body h3 { font-size: 1.35rem; }
  .story-body p { font-size: .88rem; line-height: 1.55; }
  .story-small > .photo-credit { grid-column: 1 / -1; margin-top: -7px; }
  .photo-credit { font-size: .78rem; }
  .discover-bar { padding: 23px 20px; }
  .discover-copy h2 { font-size: 1.7rem; }
  .search-controls { flex-wrap: wrap; }
  .search-controls input { flex-basis: 100%; }
  .search-controls button { width: 100%; }
  .section-heading { gap: 7px 18px; margin-bottom: 19px; }
  .section-heading h2 { font-size: 1.9rem; }
  .section-heading > a, .section-link { font-size: .9rem; }
  .island-highlights .catalog-list, .grid, .catalog-list { grid-template-columns: minmax(0, 1fr); }
  .island-highlights .catalog-list, .grid { gap: 23px; }
  .catalog-list { gap: 0; }
  .catalog-item { padding-block: 21px 23px; }
  .catalog-item :is(.name, .catalog-name, .catalog-item-name), .catalog-item > h2, .catalog-item > h3 { font-size: 1.55rem; }
  .catalog-item :is(.description, .catalog-description, .catalog-item-description), .catalog-item > p { font-size: .95rem; }
  .card-title { font-size: 1.6rem; }
  .card-description { font-size: .95rem; }
  .card-body { padding-block: 20px 22px; }
  .beach-feature { padding: 27px 24px; }
  .beach-feature h2 { font-size: 2rem; }
  .beach-links { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .alphabet-nav { gap: 4px; padding-block: 15px; }
  .alphabet-group { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 22px; }
  .alphabet-group h2 { font-size: 2rem; }
  .directory-list, .sitemap-list { columns: 1; }
  .directory-list a { font-size: 1rem; }
  .article-header h1 { font-size: clamp(2rem, 7.7vw, 2.35rem); }
  .article-layout { font-size: 17px; }
  .article-body { line-height: 1.8; }
  .article-body > p:first-child { font-size: 1.05em; }
  .article-body h2 { font-size: 1.75rem; }
  .article-body h3 { font-size: 1.45rem; }
  .article-body td, .article-body th { padding: 10px 12px; }
  .article-body blockquote { padding-left: 17px; }
  .breadcrumbs { font-size: .82rem; margin-bottom: 18px; }
  .meta { font-size: .85rem; }
  .toc { padding-inline: 15px; font-size: .9rem; }
  .toc summary { font-size: .95rem; }
  #search-results .card-title { font-size: 1.55rem; }
  #search-results .card-description { font-size: .95rem; }
  .search-more { width: 100%; }
  .hero-copy h1 { font-size: 2.6rem; }
  .hero-art { max-width: 310px; }
  .stat-strip { gap: 20px 30px; }
  .feature-panel { padding: 23px; }
  .notice { padding: 17px 19px; }
  .site-footer { padding-block: 28px 32px; }
  .site-footer nav, .footer-navigation { gap: 6px 22px; }
}

@media (max-width: 360px) {
  .header-inner, .site-main, .footer-inner { width: calc(100% - 32px); }
  .story-small { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
  .story-small > a:only-child { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
  .cover-title { font-size: 1.95rem; }
  .site-nav { gap: 6px 22px; }
}

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

@media print {
  :root { color: #111; background: #fff; font-size: 11pt; }
  body { background: #fff; color: #111; }
  .site-header, .site-footer, .skip-link, .toc, .hero-art, .pagination,
  .discover-bar, .search-form, .search-more, .alphabet-nav, .metrika-pixel { display: none !important; }
  .site-main { width: 100%; min-height: 0; padding: 0; }
  .article-layout { display: block; font-size: 11pt; }
  .article-body { max-width: none; line-height: 1.6; }
  .article-header h1 { font-size: 25pt; }
  .article-body h2, .article-body h3 { break-after: avoid; }
  .article-body a { color: inherit; }
  .table-scroll { overflow: visible; }
  .article-body table { font-size: 9pt; }
  .alphabet-group { content-visibility: visible; contain: none; }
  .card, .catalog-item, .story-small, figure { break-inside: avoid; }
  .cover-grid, .island-highlights, .grid { display: block; }
  .cover-aside { padding-left: 0; border-left: 0; }
  .beach-feature, .notice { background: none; border: 1px solid #777; }
}

/* Align reading and keyboard order; keep the contents before the article. */
.article-body{grid-column:1;grid-row:1}
.toc{grid-column:2;grid-row:1}
.section-link{gap:.4em}
.breadcrumbs + .section-heading{margin-top:24px}
#search-results .card-description,.catalog-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
