/* Black and white with big type. Gold lives only in the header; color comes from each page's photo. */
:root { --midnight: #000; --gold: #e3b341; --gold-light: #f6d98a; --ink: #000; --white: #fff; --radius: 20px; --subhead-h: clamp(440px, 36vw, 520px); }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 18px/1.7 "Mulish", system-ui, sans-serif; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: "DM Serif Display", Georgia, serif; font-weight: 400; line-height: 1.05; margin: 0 0 .45em; text-wrap: balance; }
h3 { font-size: 2rem; line-height: 1.12; }
p { margin: 0 0 1.1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(1040px, 100% - 48px); }
.center { text-align: center; }
.mega { font-size: clamp(2.6rem, 13vw, 3.4rem); }
@media (min-width: 560px) { .mega { font-size: clamp(3.4rem, 7.6vw, 7rem); } }
.display { font-size: clamp(2.7rem, 5.6vw, 5rem); }
.display-small { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
.lead { font-size: clamp(1.2rem, 1.8vw, 1.55rem); line-height: 1.5; font-weight: 600; }
.eyebrow { font: 600 clamp(.95rem, 1.3vw, 1.15rem)/1.3 "Cinzel", Georgia, serif; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1em; }
.foot { margin-top: 48px; }

/* Language line above the logo */
.lang-bar { background: var(--midnight); color: #fff; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 14px; padding: 7px 16px 0; font-size: .86rem; line-height: 1.4; }
.lang-link { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.lang-link:hover { color: var(--gold-light); }
.lang-note { margin: 0 0 28px; font-weight: 600; }

/* Masthead: the logo large at the top of every page */
.masthead { background: var(--midnight); display: flex; justify-content: center; padding: 26px 24px 22px; }
.masthead-logo { display: block; width: min(860px, 100%); }
.masthead-logo img { width: 100%; }
/* Gold palm fronds in the empty sides of the header, mirrored; only where there's room beside the logo.
   palm2 = drooping fronds (chosen); palm = fanned fronds, kept as option A in case Nicole prefers it. */
.masthead { position: relative; overflow: hidden; --palm-l: url("img/palm2-left.webp"); --palm-r: url("img/palm2-right.webp"); }
@media (min-width: 1200px) {
  .masthead::before, .masthead::after { content: ""; position: absolute; top: 10px; bottom: 6px; width: calc((100% - 860px) / 2 - 24px); max-width: 300px; background: no-repeat; background-size: contain; pointer-events: none; }
  .masthead::before { left: 18px; background-image: var(--palm-l); background-position: left top; }
  .masthead::after { right: 18px; background-image: var(--palm-r); background-position: right top; }
}

/* Links stay on screen, and the small logo appears once the large one scrolls away */
.navbar { position: sticky; top: 0; z-index: 20; background: var(--midnight); border-block: 1px solid rgba(227, 179, 65, .55); }
.navbar-inner { width: min(1240px, 100% - 40px); margin-inline: auto; min-height: 66px; display: flex; align-items: center; justify-content: center; position: relative; }
.bar-logo { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; visibility: hidden; transition: opacity .2s; }
.bar-logo img { height: 42px; width: auto; }
.navbar.stuck .bar-logo { opacity: 1; visibility: visible; }
.site-nav { display: flex; align-items: center; gap: clamp(22px, 3.2vw, 48px); }
.navbar.stuck .site-nav { margin-left: auto; }
.site-nav a { font: 600 1.02rem/1.2 "Cinzel", Georgia, serif; letter-spacing: .06em; color: #fff; text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--gold-light); border-color: var(--gold); }
/* Prophetic Words drop down: Recent Words and The Archive */
.nav-group { position: relative; display: flex; }
.nav-group > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.nav-sub { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); min-width: 210px; padding: 10px 0; margin-top: 12px; background: #000; border: 1px solid rgba(227, 179, 65, .55); border-top: 2px solid var(--gold); display: none; flex-direction: column; box-shadow: 0 12px 30px rgba(0, 0, 0, .4); }
.nav-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { display: flex; }
.site-nav .nav-sub a { padding: 10px 22px; border: 0; font-size: .95rem; text-align: center; }
.site-nav .nav-sub a:hover { color: var(--gold-light); background: rgba(227, 179, 65, .08); }
.nav-toggle { display: none; width: 46px; height: 46px; background: none; border: 0; cursor: pointer; padding: 0; }
.bars, .bars::before, .bars::after { display: block; width: 26px; height: 2px; background: var(--gold-light); margin-inline: auto; position: relative; transition: transform .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -8px; }
.bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-8px) rotate(-45deg); }

/* Sub header: big white text on the page's photo, with no tint over the color */
.subhead { color: #fff; min-height: var(--subhead-h); display: grid; align-items: center; padding: 22px 0 30px; background-color: #123; background-image: var(--ph); background-size: cover; background-position: var(--ph-pos, center); background-repeat: no-repeat; }
.subhead h1, .subhead .lead, .subhead .eyebrow { text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.subhead h1 { margin-bottom: .22em; }
.subhead .eyebrow { margin-bottom: .6em; }
/* Deep green glow so the white letters hold up against the bright gaps in the palm */
.ph-p12 h1, .ph-p12 .eyebrow { text-shadow: 0 0 6px rgba(2, 30, 14, .95), 0 0 18px rgba(2, 30, 14, .85), 0 0 40px rgba(2, 30, 14, .65); }
.subhead .lead { margin-inline: auto; max-width: 34em; margin-bottom: 1em; }
/* Gold seam between photo and page (with the emblem as a seal) and above the footer (plain) */
.seam { position: relative; z-index: 3; height: 8px; background: linear-gradient(90deg, #8a6420, #c9972f 14%, #f6d98a 32%, #e3b341 50%, #f6d98a 68%, #c9972f 86%, #8a6420); box-shadow: inset 0 1px 0 rgba(255, 248, 220, .7), inset 0 -1px 0 rgba(90, 60, 10, .6), 0 2px 6px rgba(0, 0, 0, .25); }
.seal { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; transform: translate(-50%, -50%); border-radius: 50%; box-shadow: 0 0 0 3px #000, 0 0 0 5px #e3b341, 0 4px 14px rgba(0, 0, 0, .45); }
@media (max-width: 640px) { .seal { width: 66px; height: 66px; } }
.ph-o1 { --ph: url("img/photos/o1.jpg"); --ph-pos: center top; }
.ph-o6 { --ph: url("img/photos/o6.jpg"); --ph-pos: center bottom; }
.ph-b11 { --ph: url("img/photos/b11.jpg"); }
.ph-f7 { --ph: url("img/photos/f7.jpg"); }
.ph-p12 { --ph: url("img/photos/p12.jpg"); }
@media (max-width: 900px) {
  /* Zoomed in on the upper water, so the foam at the bottom of the photo stays off the text */
  .ph-o1 { background-size: auto 150%; }
  .ph-o6 { --ph: url("img/photos/o6-m.jpg"); }
  .ph-b11 { --ph: url("img/photos/b11-m.jpg"); }
  .ph-f7 { --ph: url("img/photos/f7-m.jpg"); }
  .ph-p12 { --ph: url("img/photos/p12-m.jpg"); }
}

/* Plain sections */
.band { padding: clamp(64px, 8vw, 110px) 0; }
.band-tight { padding-top: 0; }
.band-flush { padding-top: 0; }
.rule { border: 0; border-top: 2px solid var(--ink); margin: 0; }

/* Home: thin strip of three paths under the sub header */
.intro-strip { padding: 72px 0 64px; }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) minmax(0, 1fr); gap: clamp(22px, 2.6vw, 40px); align-items: center; }
.intro-me { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 22px); }
.intro-me img { flex: none; width: clamp(110px, 10.5vw, 150px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.intro-me h2 { margin: 0 0 12px; font-size: clamp(1.3rem, 1.75vw, 1.65rem); line-height: 1.14; }
.intro-me h2 span { display: block; }
.intro-me h2 span + span { margin-top: .2em; }
.intro-yes { text-align: center; }
.intro-yes h2 { margin: 0 0 14px; font-size: clamp(1.3rem, 1.75vw, 1.65rem); line-height: 1.14; }
.yes-circle { display: inline-grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: #000; color: #fff; border: 4px solid #000; font: 400 2.5rem/1 "DM Serif Display", Georgia, serif; text-decoration: none; transition: background .2s, color .2s; }
.yes-circle:hover { background: #fff; color: #000; }
.intro-quote { text-align: center; }
.intro-quote .quote { margin: 0 0 12px; padding: 16px 20px; border-width: 4px; }
.intro-quote .quote blockquote { font-size: 1rem; line-height: 1.42; margin-bottom: .45em; }
.btn-small { padding: 12px 24px; font-size: .92rem; }

.next-step { margin-top: clamp(44px, 5vw, 64px); text-align: center; }
.next-step .lead { margin-bottom: .7em; }

/* Buttons */
.btn { display: inline-block; padding: 18px 36px; border-radius: 999px; background: #fff; color: #000; border: 2px solid #fff; font-weight: 700; font-size: 1rem; letter-spacing: .04em; line-height: 1.25; text-align: center; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: #000; border-color: #000; color: #fff; }
.btn-solid { background: #000; color: #fff; border-color: #000; }
.btn-solid:hover { background: #fff; color: #000; border-color: #000; }
.btn-outline { background: #fff; color: #000; border-color: #000; }
.btn-outline:hover { background: #000; color: #fff; border-color: #000; }
.foot-stack { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.foot-stack .btn { min-width: min(340px, 100%); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.give-list { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin: 0 0 22px; }
.give-list .btn { min-width: 260px; }
.plain-link { color: inherit; font-weight: 700; overflow-wrap: anywhere; }

/* Social icon buttons */
.icons { display: flex; justify-content: center; gap: 14px; margin-top: 14px; }
.icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; color: #000; transition: background .2s, color .2s; }
.icon:hover { background: #000; color: #fff; }

/* Page content */
.two-up { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.two-up-top { align-items: start; }
.two-up > :last-child > :last-child { margin-bottom: 0; }
.portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 60px); margin-top: clamp(30px, 4vw, 56px); }
.trio > div { border-top: 3px solid var(--ink); padding-top: 22px; }
.trio p { margin: 0; font-size: 1.15rem; }
.list-intro { font: 400 clamp(1.7rem, 2.6vw, 2.3rem)/1.15 "DM Serif Display", Georgia, serif; margin-bottom: .5em; }
.check-list { list-style: none; padding: 0; margin: 0 0 1.3em; font-size: 1.3rem; font-weight: 600; }
.check-list li { padding: .6em 0; border-bottom: 2px solid var(--ink); }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); margin: clamp(30px, 4vw, 56px) 0; padding: 0; }
.steps li { counter-increment: s; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; width: min(100%, 360px); aspect-ratio: 1; margin-inline: auto; padding: 88px 30px 0; border: 4px solid var(--ink); border-radius: 50%; }
.steps li::before { content: counter(s); font: 400 3.6rem/1 "DM Serif Display", Georgia, serif; margin-bottom: 6px; }
.steps h3 { font-size: 1.75rem; margin-bottom: .25em; }
.steps p { margin: 0; font-size: 1.05rem; line-height: 1.4; }
@media (max-width: 1250px) and (min-width: 1101px), (max-width: 420px) { .steps li { padding-top: 70px; } }
@media (max-width: 360px) { .steps li { padding-top: 30px; } .steps li::before { font-size: 3rem; } }
@media (max-width: 1100px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.faq { border-bottom: 2px solid var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 700; font-size: 1.25rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 2rem; font-weight: 400; }
.faq[open] summary::after { content: "\2013"; }
.faq p { padding-right: 40px; }

/* Video */
.player-wrap { max-width: 1000px; margin: 0 auto clamp(44px, 6vw, 72px); }
.player { aspect-ratio: 16 / 9; background: #000; overflow: hidden; border-radius: var(--radius); }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
.word-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; margin-top: 36px; }
.word-card { display: block; color: inherit; text-decoration: none; }
.word-thumb { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border-radius: var(--radius); }
.word-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.word-card:hover .word-thumb img { transform: scale(1.04); }
.word-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: #fff; }
.word-play::after { content: ""; position: absolute; left: 25px; top: 19px; border-left: 20px solid #000; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
.word-title { display: block; font: 400 1.5rem/1.15 "DM Serif Display", Georgia, serif; margin-top: 14px; }
.word-date { display: block; font-size: .9rem; margin-top: 4px; }
.video-intro { margin-bottom: .8em; }
.video-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); justify-content: center; gap: 36px 28px; }
.video-review { margin: 0; }
.video-review .player { aspect-ratio: 9 / 16; position: relative; }
/* A video lifts and glows gold when it is about to be chosen */
.video-review .player { transition: transform .22s ease, box-shadow .22s ease; }
.video-review .player:hover, .video-review .player:active, .video-review .player:focus-visible, .video-review .player:has(:focus-visible) { transform: scale(1.06); box-shadow: 0 0 0 4px var(--gold), 0 10px 40px 6px rgba(227, 179, 65, .75); z-index: 2; outline: 0; }
.video-review video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.review-play { position: absolute; inset: 0; width: 100%; height: 100%; background: none; border: 0; padding: 0; cursor: pointer; }
.video-review figcaption { position: relative; z-index: 3; margin-top: 22px; text-align: center; font: 400 1.6rem/1.2 "DM Serif Display", Georgia, serif; }
.review-facade { display: block; position: relative; }
.review-facade img { width: 100%; height: 100%; object-fit: cover; }

/* Spanish translation under a video, closed until pressed */
.translation { margin-top: 14px; }
.translation summary { display: inline-block; list-style: none; cursor: pointer; padding: 7px 16px; border: 2px solid #000; border-radius: 999px; font-weight: 800; font-size: .85rem; letter-spacing: .02em; }
.translation summary::-webkit-details-marker { display: none; }
.translation summary::after { content: " +"; }
.translation[open] summary::after { content: " \2013"; }
.translation summary:hover, .translation summary:focus-visible, .translation[open] summary { background: #000; color: #fff; outline: 0; }
.translation-text { margin-top: 12px; max-height: 420px; overflow-y: auto; padding: 18px 20px; border: 2px solid #000; border-radius: var(--radius); text-align: left; font-size: .95rem; line-height: 1.6; }
.translation-text p { margin: 0 0 1em; }
.translation-text p:last-child { margin-bottom: 0; }
.translation-note { font-size: .85rem; font-style: italic; }
.video-review .translation { text-align: center; }

/* The archive: a searchable list by year, and one quiet page per word */
.arc-wrap { max-width: 920px; }
.arc-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 18px; }
.arc-search { flex: 1 1 320px; font: inherit; font-size: 1.05rem; padding: 15px 22px; border: 2px solid #000; border-radius: 999px; background: #fff; color: #000; }
.arc-search:focus { outline: 0; box-shadow: 0 0 0 3px var(--gold); }
.arc-count { margin: 0; font-weight: 700; font-size: .95rem; }
.arc-year { margin-top: 44px; }
.arc-year-title { font: 600 1.5rem/1 "Cinzel", Georgia, serif; letter-spacing: .14em; padding-bottom: 12px; border-bottom: 2px solid #000; margin: 0 0 6px; }
.arc-list { display: flex; flex-direction: column; }
.arc-row { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 20px; align-items: center; padding: 14px 0; border-bottom: 1px solid #d9d9d9; color: inherit; text-decoration: none; }
.arc-row[hidden], .arc-year[hidden] { display: none; }
.arc-thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #000; }
.arc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.arc-thumb-short img { object-fit: cover; object-position: center 30%; }
.arc-row:hover .arc-thumb img { transform: scale(1.06); }
.arc-title { display: block; font: 400 1.35rem/1.2 "DM Serif Display", Georgia, serif; }
.arc-row:hover .arc-title { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.arc-meta { display: block; font-size: .88rem; margin-top: 4px; color: #444; }
.arc-head { padding: clamp(48px, 6vw, 80px) 0 clamp(28px, 4vw, 44px); }
.arc-back { display: inline-block; font: 600 .9rem/1 "Cinzel", Georgia, serif; letter-spacing: .14em; text-transform: uppercase; color: #000; text-decoration: none; margin-bottom: 26px; }
.arc-back::before { content: "\2190  "; }
.arc-back:hover { text-decoration: underline; text-underline-offset: 5px; }
.arc-h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); max-width: 18em; margin-inline: auto; }
.arc-series { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.arc-pill { padding: 8px 18px; border: 2px solid #000; border-radius: 999px; font-weight: 800; font-size: .88rem; color: #000; text-decoration: none; }
a.arc-pill:hover, span.arc-pill { background: #000; color: #fff; }
.arc-body .narrow { max-width: 820px; }
.arc-body .player { position: relative; margin-bottom: 44px; }
.arc-body .player-short { aspect-ratio: 9 / 16; max-width: 380px; margin-inline: auto; }
.arc-text-block { font-size: 1.12rem; line-height: 1.75; }
.arc-text-block h2 { margin-bottom: .5em; }
.arc-full { margin-top: 34px; border-top: 2px solid #000; border-bottom: 2px solid #000; }
.arc-full summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 800; font-size: 1.15rem; position: relative; }
.arc-full summary::-webkit-details-marker { display: none; }
.arc-full summary::after { content: "+"; position: absolute; right: 4px; top: 10px; font-size: 2rem; font-weight: 400; }
.arc-full[open] summary::after { content: "\2013"; }
.arc-full-text { padding-bottom: 20px; font-size: 1.05rem; line-height: 1.75; }
.arc-body .translation { margin-top: 26px; }
.arc-body .translation-text { max-height: none; }
.arc-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; }
.arc-step { display: block; padding: 18px 22px; border: 2px solid #000; border-radius: var(--radius); color: #000; text-decoration: none; font: 400 1.15rem/1.25 "DM Serif Display", Georgia, serif; }
.arc-step span { display: block; font: 700 .78rem/1 "Mulish", sans-serif; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.arc-step:hover { background: #000; color: #fff; }
.arc-older { text-align: right; }
@media (max-width: 560px) {
  .arc-row { grid-template-columns: 104px minmax(0, 1fr); gap: 14px; }
  .arc-title { font-size: 1.12rem; }
  .arc-steps { grid-template-columns: 1fr; }
  .arc-older { text-align: left; }
}

/* Written reviews */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.quote { margin: 0 0 32px; background: #fff; color: #000; border: 5px solid #000; border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); text-align: left; }
.quotes .quote { margin: 0; height: 100%; }
.quote blockquote { margin: 0 0 .8em; font-size: 1.15rem; line-height: 1.55; font-weight: 600; }
.quote figcaption { font-weight: 800; text-align: right; }
.quote figcaption::before { content: "— "; }
.quotes .quote:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* Footer */
.site-footer { background: #000; color: #fff; padding: 30px 0 14px; font-size: .95rem; line-height: 1.5; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px 40px; }
.footer-logo { width: min(420px, 100%); margin-bottom: 12px; }
.site-footer a { display: block; color: #fff; text-decoration: none; padding: 1px 0; }
.site-footer p { margin: 0; }
.footer-socials summary { cursor: pointer; list-style: none; padding: 1px 0; display: inline-flex; align-items: center; gap: 7px; }
.footer-socials summary::-webkit-details-marker { display: none; }
.footer-socials summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.footer-socials[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.footer-socials summary:hover { text-decoration: underline; }
.footer-socials a { padding-left: 12px; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .copyright { text-align: center; margin: 16px 0 0; font-size: .82rem; opacity: .75; }

/* The large logo drops away on phones and tablets; the bar logo carries the brand */
@media (max-width: 900px) {
  body { font-size: 17px; }
  html { scroll-padding-top: 76px; }
  .masthead { display: none; }
  .navbar-inner { min-height: 66px; justify-content: space-between; }
  .bar-logo { position: static; transform: none; opacity: 1; visibility: visible; }
  .bar-logo img { height: auto; width: min(300px, 100vw - 96px); }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: -20px; right: -20px; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; background: var(--midnight); border-bottom: 1px solid var(--gold); }
  .site-nav.open { display: flex; }
  .navbar.stuck .site-nav { margin-left: 0; }
  .site-nav a { padding: 15px 0; font-size: 1.1rem; border-bottom: 1px solid rgba(227, 179, 65, .35); }
  .nav-group { display: block; }
  .nav-group > a { display: block; }
  .nav-group > a::after { display: none; }
  .nav-sub, .nav-group:hover .nav-sub, .nav-group:focus-within .nav-sub { display: flex; position: static; transform: none; margin: 0; padding: 0; min-width: 0; background: none; border: 0; box-shadow: none; }
  .site-nav .nav-sub a { text-align: left; padding: 12px 0 12px 22px; font-size: 1rem; border-bottom: 1px solid rgba(227, 179, 65, .2); }
  .intro-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .intro-me { max-width: 480px; margin-inline: auto; }
  .two-up { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: 460px; margin-inline: auto; }
  .btn-row .btn { width: 100%; }
  .trio, .quotes { grid-template-columns: minmax(0, 1fr); }
  .word-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  /* Zoomed toward the deep blue on the right, away from the white foam behind the text */
  .ph-o6 { --ph: url("img/photos/o6.jpg"); --ph-pos: 99% 57%; background-size: auto 130%; }
  :root { --subhead-h: 500px; }
  .word-grid { grid-template-columns: minmax(0, 1fr); }
  .btn { padding: 16px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
