/*
Theme Name: Swingby
Description: 合同会社Swingbyの会社情報と人力飛行機チームの活動を紹介するテーマ。
Version: 1.4.1
Requires at least: 6.2
Requires PHP: 8.1
Text Domain: swingby
License: GPL-2.0-or-later
*/
:root {
  --ink: #0a3504;
  --lime: #d8e022;
  --soft: #d6e8bc;
  --mint: #72b599;
  --white: #fff;
  --line: rgb(10 53 4 / 22%);
  --font: "BIZ UDPGothic", "BIZ UDPゴシック", -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  --radius: 8px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font: 400 16px/1.9 var(--font);
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
h1 {
  font-size: clamp(2.3rem, 5vw, 4.6rem);
}
h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.8rem);
}
h3 {
  font-size: 1.25rem;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
summary {
  touch-action: manipulation;
}
button,
summary {
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
img[hidden] {
  display: none !important;
}
::selection {
  color: var(--ink);
  background: var(--lime);
}
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px #fff;
}
.wrap {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}
.section-space {
  padding-block: 104px;
}
.eyebrow,
.section-label {
  font-size: 0.78rem;
  line-height: 1.6;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.eyebrow {
  margin-bottom: 18px;
}
.section-label {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 17px;
  margin-bottom: 38px;
  border-bottom: 1px solid var(--line);
}
.section-label > span + span {
  letter-spacing: 0.03em;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 40px;
}
.section-heading p {
  margin-top: 15px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 1px;
}
.button {
  display: inline-flex;
  min-height: 52px;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 14px 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: center;
}
.button:hover {
  text-decoration: none;
  background: var(--lime);
  color: var(--ink);
}
.button-dark {
  background: var(--ink);
  color: #fff;
}
.button-outline {
  background: transparent;
  color: var(--ink);
}
.button-light {
  background: white;
  color: var(--ink);
  border-color: white;
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -120px;
  z-index: 1000;
  background: var(--lime);
  padding: 12px 20px;
  border: 2px solid var(--ink);
}
.skip-link:focus {
  top: 20px;
}
.site-header {
  position: relative;
  background: white;
  border-bottom: 1px solid var(--line);
  z-index: 20;
}
.header-inner {
  min-height: 96px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.wordmark:hover {
  text-decoration: none;
}
.wordmark img {
  width: 40px;
  height: 50px;
  object-fit: contain;
}
.site-brand {
  flex-shrink: 0;
}
.custom-logo-link {
  display: block;
  min-width: 100px;
}
.custom-logo {
  max-width: 180px;
  max-height: 68px;
  width: auto;
  object-fit: contain;
}
.primary-nav,
.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.79rem;
  font-weight: 700;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  white-space: nowrap;
}
.menu-toggle {
  display: none;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: white;
  min-height: 44px;
  padding: 7px 12px;
}
.home-hero {
  background: var(--ink);
  color: white;
}
.hero-gallery {
  position: relative;
  width: 100%;
  height: clamp(330px, 38vw, 580px);
  background: var(--ink);
  overflow: hidden;
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}
.photo-caption {
  position: absolute;
  left: 48px;
  right: 48px;
  top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-shadow: 0 1px 8px #000;
}
.hero-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.32),
    transparent 30%,
    transparent 70%,
    rgba(0, 0, 0, 0.3)
  );
}
.gallery-controls {
  display: none;
  position: absolute;
  bottom: 20px;
  right: 48px;
  z-index: 2;
  gap: 8px;
}
.is-interactive .gallery-controls {
  display: flex;
}
.gallery-controls button {
  color: white;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid white;
  border-radius: 50%;
  min-width: 44px;
  min-height: 44px;
  font-size: 0.8rem;
}
.gallery-controls button[aria-pressed="true"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.hero-copy {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  padding-block: 58px 64px;
  align-items: center;
}
.hero-copy .eyebrow {
  color: var(--lime);
}
.hero-copy h1 {
  font-size: clamp(2.6rem, 4.6vw, 4.4rem);
  letter-spacing: 0.015em;
  white-space: nowrap;
}
.accent-period {
  color: var(--lime);
}
.hero-discover {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  margin-top: 28px;
  font-size: 0.87rem;
  font-weight: 700;
  gap: 35px;
}
.hero-poem {
  font-size: 0.95rem;
  line-height: 2;
  letter-spacing: 0.04em;
  padding-left: 42px;
  border-left: 1px solid rgba(255, 255, 255, 0.27);
}
.front-editor-content:empty {
  display: none;
}
.front-editor-content .entry-content {
  padding-block: 42px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}
.large-quote {
  font-size: 1.25rem;
  line-height: 1.8;
}
.large-quote strong {
  display: block;
  font-size: clamp(2.1rem, 3.2vw, 3.2rem);
  line-height: 1.65;
  margin-top: 17px;
}
.about-intro {
  margin-top: 22px;
  font-size: 0.94rem;
}
.prose p + p,
.prose h3 {
  margin-top: 24px;
}
.prose h3 {
  font-size: 1.15rem;
  background: var(--soft);
  display: inline;
  padding: 2px 0;
  box-shadow:
    8px 0 var(--soft),
    -3px 0 var(--soft);
}
.prose p + h3 {
  display: block;
  margin-top: 32px;
}
.history {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.history > h3 {
  font-size: 1.05rem;
  margin-bottom: 24px;
}
.history-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 30px;
}
.history-list li {
  border-top: 3px solid var(--mint);
  padding-top: 20px;
}
.history-list span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.history-list strong {
  display: block;
  margin-top: 9px;
  font-size: 1.1rem;
}
.history-list p {
  font-size: 0.83rem;
  margin-top: 8px;
}
.activity-section {
  background: var(--soft);
}
.activity-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.activity-card {
  display: block;
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
}
.activity-card:hover {
  box-shadow: 0 0 0 2px var(--ink);
  text-decoration: none;
}
.activity-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.activity-card > span {
  padding: 15px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 8px;
}
.activity-card strong {
  font-size: 1.12rem;
  line-height: 1.4;
}
.activity-card small {
  font-size: 0.8rem;
}
.activity-card b {
  grid-row: 1/3;
  grid-column: 2;
  font-size: 1.5rem;
  font-weight: 400;
}
.aircraft-section {
  background: var(--ink);
  color: white;
}
.aircraft-section .section-label {
  border-color: rgba(255, 255, 255, 0.25);
}
.aircraft-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 90px;
}
.aircraft-grid .eyebrow {
  color: var(--lime);
}
.aircraft-grid h2 {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.15;
}
.aircraft-grid h2 span {
  display: block;
  margin-top: 12px;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--lime);
}
.aircraft-lead {
  font-size: 1.18rem;
  font-weight: 700;
  margin-block: 32px 20px;
  line-height: 1.9;
}
.aircraft-grid p + p {
  margin-top: 18px;
}
.aircraft-grid p {
  font-size: 0.96rem;
}
.aircraft-spec {
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 32px;
}
.aircraft-spec h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.aircraft-spec > p {
  font-size: 0.85rem;
}
.aircraft-spec dl {
  margin-block: 25px 0;
}
.aircraft-spec dl > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  gap: 20px;
}
.aircraft-spec dt {
  font-size: 0.82rem;
}
.aircraft-spec dd {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.5;
}
.aircraft-spec dd small {
  font-size: 0.88rem;
  font-weight: 400;
}
.aircraft-spec dd.spec-text {
  font-size: 1rem;
}
.small-note {
  font-size: 0.75rem !important;
}
.aircraft-photo {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  margin-top: 50px;
  border-radius: var(--radius);
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.story-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 800px;
}
.story-image {
  display: block;
  background: #f4f5f0;
}
.story-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}
.story-body {
  padding: 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.story-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 15px;
}
.story-meta span {
  background: var(--soft);
  padding: 3px 9px;
  border-radius: 4px;
}
.story-body h3 {
  font-size: 1.2rem;
}
.story-body > p:not(.story-meta),
.story-excerpt {
  font-size: 0.88rem;
  margin-top: 15px;
}
.story-body .text-link {
  margin-top: 18px;
  font-size: 0.87rem;
}
.story-grid > .story-card:only-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: none;
}
.story-grid > .story-card:only-child .story-image img {
  height: 100%;
  min-height: 270px;
}
.story-grid > .story-card:only-child .story-body {
  padding: 38px;
}
.join-section {
  background: var(--lime);
}
.join-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 36px;
}
.join-intro p {
  font-size: 0.95rem;
}
.roles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.roles-grid article {
  background: white;
  padding: 26px;
  border-radius: var(--radius);
}
.roles-grid article > span {
  font-size: 0.78rem;
  font-weight: 700;
  border-bottom: 2px solid var(--mint);
  padding-bottom: 5px;
}
.roles-grid h3 {
  margin: 20px 0 12px;
}
.roles-grid p {
  font-size: 0.87rem;
}
.join-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-top: 35px;
}
.join-bottom h3 {
  margin-bottom: 8px;
}
.join-bottom p {
  font-size: 0.9rem;
}
.team-origins {
  border-top: 1px solid rgb(10 53 4 / 30%);
  margin-top: 30px;
}
.team-origins summary {
  min-height: 48px;
  padding-block: 12px;
  font-weight: 700;
  font-size: 0.9rem;
}
.team-origins p {
  font-size: 0.85rem;
  padding-bottom: 15px;
}
.sponsor-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
.sponsor-grid .lead {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 25px 0;
}
.sponsor-grid .text-link {
  margin-top: 24px;
}
.support-panel {
  border: 1px solid var(--line);
  border-left: 6px solid var(--mint);
  padding: 32px;
  border-radius: var(--radius);
}
.support-panel ul {
  padding-left: 22px;
  margin-bottom: 0;
}
.support-panel li {
  margin-top: 13px;
  font-size: 0.93rem;
}
.contact-section {
  background: var(--soft);
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 65px;
  align-items: center;
}
.contact-inner p:not(.eyebrow) {
  margin-top: 22px;
  font-size: 0.93rem;
}
.contact-links {
  display: grid;
  gap: 14px;
}
.contact-links > a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  background: white;
  border: 1px solid var(--ink);
  padding: 20px 24px;
  border-radius: var(--radius);
}
.contact-links > a:hover {
  box-shadow: 0 0 0 1px var(--ink);
  text-decoration: none;
}
.contact-links span {
  font-size: 0.77rem;
}
.contact-links strong {
  grid-row: 2;
  font-size: 1.06rem;
}
.contact-links b {
  grid-row: 1/3;
  grid-column: 2;
  font-size: 1.5rem;
  margin-left: 15px;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 54px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  padding-bottom: 40px;
}
.footer-brand p {
  margin-top: 18px;
  font-size: 0.8rem;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 10px 40px;
  align-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.footer-nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-bottom {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 20px;
  font-size: 0.75rem;
}
.legal-links,
.legal-links ul {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.legal-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.page-intro {
  padding-block: 48px 60px;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.8rem;
  margin-bottom: 40px;
  line-height: 1.6;
}
.breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.page-intro > p:not(.eyebrow) {
  margin-top: 24px;
  max-width: 850px;
}
.content-page {
  padding-block: 45px 90px;
  min-height: 60vh;
}
.content-page h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.page-summary {
  margin: 20px 0 45px;
}
.existing-page-content {
  margin-top: 30px;
}
.entry-content {
  max-width: 850px;
  margin: 35px auto 0;
  line-height: 2;
  overflow-wrap: anywhere;
}
.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content figure,
.entry-content table,
.entry-content blockquote {
  margin-block: 1.3em;
}
.entry-content h1,
.entry-content h2 {
  font-size: 1.7rem;
  margin-block: 2em 1em;
}
.entry-content h3 {
  font-size: 1.25rem;
  margin-block: 1.8em 1em;
}
.entry-content h4 {
  font-size: 1.1rem;
  margin-block: 1.5em 1em;
}
.entry-content a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.entry-content img {
  height: auto;
  max-width: 100%;
  border-radius: 4px;
}
.entry-content figure {
  margin-inline: 0;
}
.entry-content blockquote {
  border-left: 4px solid var(--mint);
  padding-left: 24px;
}
.entry-content table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9rem;
}
.entry-content th,
.entry-content td {
  border: 1px solid var(--line);
  padding: 12px;
  vertical-align: top;
}
.entry-content th {
  background: var(--soft);
}
.entry-content table img {
  width: 100%;
  height: auto;
}
.entry-content pre {
  overflow: auto;
  background: var(--soft);
  padding: 20px;
}
.entry-content iframe {
  max-width: 100%;
}
.entry-content .alignwide {
  max-width: 1100px;
}
.entry-content .alignfull {
  width: 100%;
}
.entry-content input:not([type="checkbox"]):not([type="radio"]),
.entry-content textarea {
  max-width: 100%;
  min-height: 44px;
  padding: 10px;
  border: 1px solid var(--ink);
  border-radius: 4px;
}
.entry-content input[type="submit"] {
  color: white;
  background: var(--ink);
}
.team-jump {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 40px;
}
.team-jump a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 0.97rem;
  font-weight: 700;
  min-height: 60px;
}
.team-jump a:hover {
  background: var(--soft);
  text-decoration: none;
}
.team-jump span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
}
.team-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 55px;
  align-items: center;
  padding-block: 55px;
  border-top: 1px solid var(--line);
}
.team-detail:nth-child(even) {
  grid-template-columns: 1fr 1.2fr;
}
.team-detail:nth-child(even) > img {
  order: 2;
}
.team-detail > img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
}
.team-detail h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.team-detail p {
  font-size: 0.95rem;
}
.team-detail .eyebrow {
  font-size: 0.75rem;
}
.team-detail .location-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--soft);
  padding: 6px 12px;
  margin-top: 25px;
  border-radius: 4px;
}
.join-cta {
  background: var(--soft);
  border-radius: var(--radius);
  text-align: center;
  padding: 48px;
  margin-block: 35px 80px;
}
.join-cta h2 {
  font-size: 1.65rem;
}
.join-cta p {
  margin: 15px 0 22px;
}
.article-page {
  max-width: 1000px;
}
.article-header {
  margin-bottom: 36px;
}
.article-header .story-meta {
  margin-top: 20px;
}
.article-cover {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}
.archive-notice {
  border: 1px solid var(--line);
  border-left: 5px solid var(--mint);
  padding: 20px 24px;
  margin: 30px 0;
  font-size: 0.9rem;
  background: #f5f8f1;
}
.archive-notice strong {
  display: block;
  margin-bottom: 5px;
}
.blog-archive-link {
  margin-top: 32px;
}
.journal-item {
  padding-block: 35px;
  border-bottom: 1px solid var(--line);
}
.journal-item .entry-content {
  margin-left: 0;
}
.journal-item h2 {
  font-size: 1.6rem;
}
.pagination,
.post-navigation {
  margin-top: 40px;
}
.page-numbers {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  padding: 8px;
}
.page-numbers.current {
  background: var(--ink);
  color: white;
}
.nav-links {
  display: flex;
  justify-content: space-between;
  gap: 22px;
}
.not-found {
  padding-block: 100px;
}
.not-found p:not(.eyebrow) {
  margin: 25px 0;
}
.not-found .button {
  margin-top: 10px;
}
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}
@media (min-width: 1450px) {
  .primary-nav {
    gap: 25px;
    font-size: 0.83rem;
  }
}
@media (max-width: 1200px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .primary-nav,
  .primary-nav ul {
    gap: 13px;
    font-size: 0.73rem;
  }
  .about-grid,
  .aircraft-grid,
  .sponsor-grid {
    gap: 45px;
  }
  .hero-copy {
    gap: 34px;
  }
  .hero-poem {
    padding-left: 28px;
    font-size: 0.86rem;
  }
  .roles-grid article {
    padding: 22px;
  }
}
@media (max-width: 1399px) {
  .header-inner {
    min-height: 82px;
    flex-wrap: wrap;
    padding-block: 14px;
  }
  .menu-toggle {
    display: block;
  }
  .primary-nav {
    width: 100%;
    flex-wrap: wrap;
    padding-bottom: 10px;
    font-size: 0.88rem;
    gap: 8px 24px;
  }
  .primary-nav ul {
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: inherit;
  }
  .has-js .primary-nav {
    display: none;
  }
  .has-js .primary-nav.is-open {
    display: flex;
  }
  .activity-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .activity-card > span {
    padding: 15px 12px;
  }
  .activity-card strong {
    font-size: 0.95rem;
  }
  .hero-copy h1 {
    font-size: 3rem;
  }
  .hero-copy {
    grid-template-columns: 1fr 1fr;
  }
  .photo-caption {
    left: 32px;
    right: 32px;
  }
  .gallery-controls {
    right: 32px;
  }
  .contact-inner {
    gap: 35px;
  }
  .contact-links > a {
    padding: 20px;
  }
  .contact-links strong {
    font-size: 0.98rem;
  }
}
@media (max-width: 800px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .section-space {
    padding-block: 64px;
  }
  .section-label {
    font-size: 0.7rem;
    margin-bottom: 28px;
  }
  .section-label > span + span {
    display: none;
  }
  .hero-gallery {
    height: 370px;
  }
  .hero-copy {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 36px 42px;
  }
  .hero-copy h1 {
    font-size: clamp(2.3rem, 7vw, 3.7rem);
  }
  .hero-discover {
    margin-top: 15px;
  }
  .hero-poem {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 26px 0 0;
    font-size: 0.9rem;
    max-width: 640px;
  }
  .photo-caption {
    left: 20px;
    right: 20px;
    top: 20px;
    font-size: 0.55rem;
  }
  .photo-caption span + span {
    display: none;
  }
  .gallery-controls {
    right: 20px;
    bottom: 16px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 28px;
  }
  .section-heading p {
    font-size: 0.95rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .large-quote strong {
    font-size: 2.25rem;
  }
  .history {
    margin-top: 38px;
  }
  .history-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }
  .history-list strong {
    font-size: 1rem;
  }
  .activity-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .activity-card strong {
    font-size: 1.1rem;
  }
  .activity-card > span {
    padding: 17px;
  }
  .aircraft-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .aircraft-spec {
    padding: 26px;
  }
  .aircraft-photo {
    margin-top: 30px;
    min-height: 200px;
  }
  .story-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .story-grid > .story-card:only-child .story-body {
    padding: 28px;
  }
  .story-grid > .story-card:only-child .story-image img {
    min-height: 250px;
  }
  .join-intro {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .join-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
  .sponsor-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-nav {
    grid-template-columns: repeat(2, auto);
    gap: 4px 25px;
  }
  .footer-top {
    gap: 35px;
  }
  .footer-bottom {
    align-items: flex-start;
  }
  .legal-links,
  .legal-links ul {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 5px 20px;
  }
  .page-intro {
    padding-block: 28px 42px;
  }
  .breadcrumb {
    margin-bottom: 25px;
  }
  .team-jump {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .team-detail,
  .team-detail:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 35px;
  }
  .team-detail:nth-child(even) > img {
    order: 0;
  }
  .team-detail > img {
    aspect-ratio: 16/10;
    max-height: 450px;
  }
  .team-detail h2 {
    font-size: 1.8rem;
  }
  .team-detail .eyebrow {
    margin-bottom: 12px;
  }
  .join-cta {
    padding: 32px 24px;
    margin-bottom: 55px;
  }
  .join-cta h2 {
    font-size: 1.4rem;
  }
  .entry-content {
    font-size: 1rem;
    margin-top: 28px;
  }
  .entry-content h1,
  .entry-content h2 {
    font-size: 1.4rem;
  }
  .content-page {
    padding-block: 30px 60px;
  }
  .article-header h1 {
    font-size: 2rem;
  }
}
@media (max-width: 480px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .wordmark {
    font-size: 1.65rem;
    gap: 9px;
  }
  .wordmark img {
    width: 31px;
    height: 40px;
  }
  .header-inner {
    min-height: 76px;
  }
  .menu-toggle {
    font-size: 0.85rem;
  }
  .primary-nav {
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .primary-nav > a {
    width: 50%;
    min-height: 48px;
  }
  .hero-gallery {
    height: 270px;
  }
  .hero-copy {
    padding-block: 28px 35px;
    gap: 25px;
  }
  .hero-copy h1 {
    font-size: 2.2rem;
  }
  .hero-copy .eyebrow {
    margin-bottom: 12px;
  }
  .hero-poem {
    font-size: 0.83rem;
    letter-spacing: 0;
  }
  .section-space {
    padding-block: 52px;
  }
  .section-label {
    margin-bottom: 25px;
  }
  h2 {
    font-size: 1.75rem;
  }
  .large-quote strong {
    font-size: 1.9rem;
  }
  .activity-grid {
    gap: 12px;
  }
  .activity-card > span {
    padding: 13px 11px;
  }
  .activity-card strong {
    font-size: 0.95rem;
  }
  .activity-card small {
    font-size: 0.72rem;
  }
  .activity-card b {
    font-size: 1.2rem;
  }
  .history-list {
    gap: 24px 20px;
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-grid > .story-card:only-child {
    display: flex;
  }
  .story-grid > .story-card:only-child .story-image img {
    min-height: 0;
    max-height: 320px;
    aspect-ratio: 16/10;
  }
  .story-grid > .story-card:only-child .story-body,
  .story-body {
    padding: 25px;
  }
  .roles-grid {
    gap: 12px;
  }
  .roles-grid article {
    padding: 20px 16px;
  }
  .roles-grid p {
    font-size: 0.82rem;
  }
  .roles-grid h3 {
    font-size: 1.05rem;
  }
  .join-intro p {
    font-size: 0.9rem;
  }
  .join-bottom .button {
    width: 100%;
  }
  .support-panel {
    padding: 24px;
  }
  .contact-links > a {
    padding: 17px;
  }
  .contact-links strong {
    font-size: 0.92rem;
  }
  .contact-links b {
    font-size: 1.25rem;
    margin-left: 8px;
  }
  .footer-top {
    flex-direction: column;
    gap: 25px;
  }
  .footer-nav {
    grid-template-columns: 1fr 1fr;
    font-size: 0.81rem;
    gap: 3px 16px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 5px;
  }
  .legal-links {
    justify-content: flex-start;
  }
  .team-jump a {
    font-size: 0.84rem;
    padding: 15px 12px;
  }
  .team-jump span {
    font-size: 0.7rem;
  }
  .archive-notice {
    padding: 18px;
  }
  .article-header h1 {
    font-size: 1.85rem;
  }
  .entry-content table {
    font-size: 0.8rem;
  }
  .entry-content td,
  .entry-content th {
    padding: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .site-header,
  .site-footer,
  .gallery-controls,
  .skip-link {
    display: none;
  }
  .wrap {
    width: 100%;
  }
  .section-space {
    padding-block: 25px;
  }
  .home-hero,
  .aircraft-section {
    background: white;
    color: var(--ink);
  }
  .hero-poem {
    border-color: var(--line);
  }
  a {
    text-decoration: underline;
  }
  .team-detail,
  .story-card {
    break-inside: avoid;
  }
}

/* Home content restored from the team site. */
.button {
  border-radius: 999px;
}
.button-outline,
.button-light {
  background: #fff;
}
.history-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.history-summary {
  margin-top: 26px;
  font-size: 0.9rem;
  max-width: 900px;
}
.aircraft-overview {
  max-width: 900px;
  margin: -8px 0 48px;
  font-size: 1.05rem;
}
.aircraft-subhead {
  margin-top: 32px;
  font-size: 1.1rem;
}
.aircraft-definition {
  margin-top: 13px;
  padding: 12px 16px;
  border-left: 3px solid var(--lime);
  background: rgb(255 255 255 / 7%);
  font-size: 0.88rem !important;
}
.aircraft-lead {
  margin-block: 24px 16px;
}
.aircraft-features {
  margin-top: 48px;
}
.aircraft-features > h3 {
  font-size: 1.28rem;
  margin-bottom: 22px;
}
.aircraft-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.aircraft-feature-grid article {
  padding: 26px;
  border: 1px solid rgb(255 255 255 / 28%);
  border-radius: var(--radius);
  background: rgb(255 255 255 / 6%);
}
.aircraft-feature-grid h4 {
  font-size: 1.08rem;
  margin-bottom: 12px;
}
.aircraft-feature-grid p {
  font-size: 0.91rem;
}
.sponsor-grid > div:first-child > p + p,
.support-panel > p {
  margin-top: 17px;
}
.contact-form-pending {
  margin-top: 14px;
  font-size: 0.82rem;
}
@media (max-width: 1100px) {
  .history-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .history-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .aircraft-feature-grid {
    grid-template-columns: 1fr;
  }
  .aircraft-overview {
    margin-bottom: 28px;
  }
}
@media (max-width: 480px) {
  .history-list {
    grid-template-columns: 1fr;
  }
  .aircraft-feature-grid article {
    padding: 20px;
  }
}

/* Align the brand on phones and show activity photographs without cropping. */
.site-brand,
.wordmark,
.custom-logo-link {
  align-items: center;
}
.wordmark img {
  display: block;
  flex: none;
}
.wordmark > span {
  transform: translateY(4px);
}
.team-detail > img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 620px;
  aspect-ratio: auto;
  object-fit: contain;
  justify-self: center;
  border-radius: var(--radius);
}
@media (max-width: 800px) {
  .header-inner {
    position: relative;
  }
  .has-js .header-inner {
    justify-content: flex-end;
  }
  .has-js .site-brand {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 124px);
    display: flex;
    justify-content: center;
  }
  .has-js .wordmark {
    white-space: nowrap;
    justify-content: center;
  }
  .has-js .custom-logo-link {
    display: flex;
    justify-content: center;
  }
  .team-detail > img {
    max-height: 520px;
    aspect-ratio: auto;
  }
}
@media (max-width: 480px) {
  .has-js .site-brand {
    max-width: calc(100% - 112px);
  }
  .menu-toggle {
    min-width: 48px;
    min-height: 48px;
    border-radius: 999px;
  }
  .team-detail > img {
    max-height: none;
  }
}

/* Keep the privacy page title and body in the same reading column. */
.privacy-page > .breadcrumb,
.privacy-page > article {
  max-width: 850px;
  margin-inline: auto;
}
.privacy-page > .breadcrumb {
  margin-bottom: 24px;
}
.privacy-page article .eyebrow {
  margin-bottom: 10px;
}
.privacy-page .entry-content {
  max-width: none;
  margin: 26px 0 0;
}
.privacy-page .entry-content > p:first-child {
  margin-top: 0;
}

/* Team sections within editorial pages use a narrower reading column. */
.reading-page .page-intro.wrap,
.reading-page .team-details.wrap,
.reading-page .join-cta.wrap {
  width: min(850px, calc(100% - 96px));
  max-width: 850px;
  margin-inline: auto;
}
.reading-page .breadcrumb {
  margin-bottom: 24px;
}
.reading-page .eyebrow {
  margin-bottom: 10px;
}
.reading-page .page-summary {
  margin: 26px 0 34px;
}
.reading-page .page-intro {
  padding-block: 45px 28px;
}
.reading-page .page-intro h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.reading-page .page-intro > p:not(.eyebrow) {
  max-width: none;
  margin-top: 26px;
}
.reading-page .team-jump {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 32px;
}
.reading-page .team-details {
  margin-top: 12px;
}
.reading-page .team-detail {
  gap: 32px;
  padding-block: 38px;
}
.reading-page .team-detail h2 {
  margin-bottom: 12px;
}
.reading-page .story-grid > .story-card:only-child {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.reading-page .story-grid > .story-card-text:only-child {
  display: block;
}
.reading-page .story-grid > .story-card:only-child .story-body {
  padding: 26px;
}
.reading-page .article-header {
  margin-bottom: 12px;
}
.reading-page .article-header .story-meta {
  margin-top: 16px;
}
.reading-page .archive-notice {
  margin: 0 0 20px;
}
.reading-page .entry-content {
  max-width: none;
  margin: 26px 0 0;
}
.reading-page.article-page .entry-content {
  margin-top: 12px;
}
.reading-page .entry-content > :first-child {
  margin-top: 0;
}
.reading-page .journal-item .entry-content {
  margin-top: 14px;
}
@media (max-width: 800px) {
  .reading-page .page-intro.wrap,
  .reading-page .team-details.wrap,
  .reading-page .join-cta.wrap {
    width: calc(100% - 40px);
  }
  .reading-page .page-intro {
    padding-block: 30px 22px;
  }
}
@media (max-width: 480px) {
  .reading-page .page-intro.wrap,
  .reading-page .team-details.wrap,
  .reading-page .join-cta.wrap {
    width: calc(100% - 32px);
  }
  .reading-page .team-jump {
    grid-template-columns: 1fr 1fr;
  }
  .reading-page .story-grid > .story-card:only-child {
    display: flex;
  }
  .reading-page .team-detail {
    padding-block: 30px;
  }
}

/* Shared editorial navigation and compact activity directory. */
.journal-pagination {
  margin-top: 32px;
}
.journal-pagination > ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.journal-pagination a,
.journal-pagination span {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid var(--line);
  font-size: 13px;
}
.journal-pagination .current {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.reference-article .article-image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.reference-article img {
  max-height: 650px;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.reference-article .article-image-grid img {
  max-height: 420px;
}
@media (max-width: 600px) {
  .reference-article .article-image-grid {
    grid-template-columns: 1fr;
  }
  .reference-article img {
    max-height: 520px;
  }
}
.site-header .header-inner {
  min-height: 84px;
}
.site-header .primary-nav {
  font-size: 12px;
  gap: 28px;
}
.site-footer .footer-top {
  padding-block: 35px;
  gap: 30px;
}
.site-footer .footer-brand > p {
  font-size: 11px;
  margin-top: 13px;
}
.site-footer .footer-nav {
  font-size: 11px;
  gap: 12px 24px;
}
.activity-page .page-intro.wrap,
.activity-page .team-details.wrap,
.activity-page .join-cta.wrap,
.activity-page .activity-process.wrap {
  width: min(1120px, calc(100% - 96px));
  max-width: 1120px;
}
.activity-page .page-intro {
  padding-block: 40px 30px;
}
.activity-page .page-intro h1 {
  font-size: clamp(28px, 3.4vw, 43px);
  letter-spacing: -0.035em;
}
.activity-page .page-intro > p:not(.eyebrow) {
  font-size: 13px;
  max-width: 820px;
  margin-top: 20px;
}
.activity-page .team-jump {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}
.activity-page .team-jump a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
  font-size: 12px;
  min-height: 44px;
  border-radius: 2px;
}
.activity-page .team-jump span {
  font-size: 12px;
}
.activity-page .team-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 38px;
  margin-top: 0;
}
.activity-page .team-detail {
  display: block;
  padding-block: 25px 30px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 24px;
}
.activity-page .team-detail > img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  background: #f4f5ef;
  border-radius: 0;
  margin-bottom: 18px;
  aspect-ratio: auto;
}
.activity-page .team-detail .eyebrow {
  font-size: 10px;
  margin-bottom: 7px;
}
.activity-page .team-detail h2 {
  font-size: 23px;
  margin-bottom: 12px;
}
.activity-page .team-detail > div > p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.95;
}
.activity-page .team-detail .location-label {
  font-size: 10px !important;
  margin-top: 12px;
}
.activity-process {
  padding-block: 32px;
  border-block: 1px solid var(--line);
  margin-top: 10px;
}
.activity-process h2 {
  font-size: 27px;
}
.activity-process > .eyebrow {
  font-size: 10px;
  margin-bottom: 10px;
}
.activity-process > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin-top: 25px;
}
.activity-process h3 {
  font-size: 15px;
  margin-bottom: 10px;
}
.activity-process article > p {
  font-size: 12px;
}
.activity-page .join-cta {
  padding-block: 35px 45px;
  margin-block: 0;
}
.activity-page .join-cta h2 {
  font-size: 25px;
}
.activity-page .join-cta p {
  font-size: 12px;
}
@media (min-width: 1201px) {
  .site-header .menu-toggle {
    display: none;
  }
  .site-header .primary-nav {
    display: flex;
    position: static;
    flex-direction: row;
    width: auto;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
}
@media (max-width: 1000px) {
  .site-header .primary-nav {
    gap: 10px;
  }
  .site-header .primary-nav.is-open {
    gap: 10px;
  }
  .site-header .header-inner {
    min-height: 76px;
  }
}
@media (max-width: 700px) {
  .activity-page .page-intro.wrap,
  .activity-page .team-details.wrap,
  .activity-page .join-cta.wrap,
  .activity-page .activity-process.wrap {
    width: calc(100% - 40px);
  }
  .activity-page .page-intro {
    padding-block: 25px;
  }
  .activity-page .page-intro h1 {
    font-size: 28px;
  }
  .activity-page .page-intro > p:not(.eyebrow) {
    font-size: 12px;
  }
  .activity-page .team-jump {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .activity-page .team-jump a {
    font-size: 11px;
  }
  .activity-page .team-details {
    grid-template-columns: 1fr;
  }
  .activity-page .team-detail {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 17px;
    padding-block: 24px;
  }
  .activity-page .team-detail > img {
    height: 100px;
    margin: 0;
  }
  .activity-page .team-detail h2 {
    font-size: 20px;
  }
  .activity-page .team-detail .eyebrow {
    font-size: 9px;
  }
  .activity-page .team-detail > div > p:not(.eyebrow) {
    font-size: 12px;
  }
  .activity-process > div {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .activity-process h2 {
    font-size: 24px;
  }
  .activity-page .join-cta h2 {
    font-size: 22px;
  }
}

/* Keep journal previews compact without changing the full article. */
.story-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.story-excerpt p {
  margin: 0;
}
