/*
Theme Name: AD-LIB Light
Theme URI: https://adlib-aomori.com/
Description: AD-LIB AOMORI（青森県五戸町）公式サイト用テーマ。白を基調に、紺 #1B3A52 をアクセント、テラコッタ #C8763C を差し色にしたライトデザイン。
Author: AD-LIB AOMORI
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: adlib-light
*/

/* ---------- Tokens ---------- */
:root {
  --navy: #1B3A52;
  --navy2: #224563;
  --mid: #35607D;
  --cream: #F8F6F1;
  --paper: #FDFCFA;
  --terra: #C8763C;
  --ink: #1B3A52;
  --line: rgba(27, 58, 82, 0.1);
  --radius: 12px;
  --font-mincho: "Shippori Mincho B1", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-display: "Archivo Black", sans-serif;
  --font-body: "Hind", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
dl, dd { margin: 0; }

.container { max-width: 80rem; margin-inline: auto; padding-inline: 1.5rem; }
.font-mincho { font-family: var(--font-mincho); }
.font-display { font-family: var(--font-display); font-weight: 400; }
.eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--terra);
}

.section { padding-block: 5rem; }
.section-paper { background: var(--paper); }
.section-cream { background: var(--cream); border-top: 1px solid var(--line); }
@media (min-width: 1024px) {
  .section { padding-block: 6rem; }
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.section-head .h2 { margin-top: 1rem; }
@media (min-width: 640px) {
  .section-head {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.h2 {
  font-family: var(--font-mincho);
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin: 0;
}
@media (min-width: 640px) {
  .h2 { font-size: 2.25rem; }
}
.section-note {
  max-width: 34ch;
  font-size: 14px;
  line-height: 2;
  color: rgba(27, 58, 82, 0.55);
  margin: 0;
}
@media (min-width: 640px) {
  .section-note { text-align: right; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 0;
  transition: background-color 0.2s, opacity 0.2s;
}
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--mid); }
.btn-terra { background: var(--terra); color: var(--cream); }
.btn-terra:hover { opacity: 0.9; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 252, 250, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.25rem;
}
.brand { line-height: 1; }
.brand-main {
  font-family: var(--font-mincho);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy);
}
.brand-sub {
  margin-left: 0.5rem;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: rgba(27, 58, 82, 0.5);
}
.site-nav { display: none; align-items: center; gap: 2rem; }
.site-nav .menu-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav .menu-list a {
  font-size: 14px;
  color: rgba(27, 58, 82, 0.75);
  transition: color 0.2s;
}
.site-nav .menu-list a:hover { color: var(--terra); }
.nav-cta { margin-left: 0; }
@media (min-width: 640px) {
  .site-nav { display: flex; }
  .menu-toggle, .mobile-nav { display: none; }
}
.menu-toggle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--navy);
}
.mobile-nav {
  border-top: 1px solid var(--line);
  padding: 0.5rem 1.5rem 1.5rem;
}
.mobile-nav .menu-list { list-style: none; margin: 0; padding: 0; }
.mobile-nav .menu-list li { border-bottom: 1px solid var(--line); }
.mobile-nav .menu-list a {
  display: block;
  padding: 0.75rem 0;
  color: rgba(27, 58, 82, 0.8);
}
.mobile-nav .nav-cta-wrap {
  border-bottom: 0;
  padding-top: 0.75rem;
}

/* ---------- Hero ---------- */
.hero { padding-block: 1rem 4rem; }
@media (min-width: 1024px) {
  .hero { padding-block: 1rem 6rem; }
}
.hero-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 2.5rem;
  }
  .hero-left { grid-column: span 3; }
  .hero-right { grid-column: span 9; }
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-kicker {
  display: none;
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(27, 58, 82, 0.4);
}
@media (min-width: 1024px) {
  .hero-kicker { display: block; }
}
.hero-title {
  font-family: var(--font-mincho);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin: 0;
}
@media (min-width: 640px) {
  .hero-title { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .hero-title {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-feature-settings: "palt";
    font-size: 2.25rem;
    line-height: 1.6;
    margin-top: 2.5rem;
  }
}
.hero-lede {
  margin: 1.5rem 0 0;
  max-width: 30ch;
  font-size: 15px;
  line-height: 2.1;
  color: rgba(27, 58, 82, 0.65);
}
@media (min-width: 1024px) {
  .hero-lede { margin-top: 2.5rem; }
}
.hero-figure { overflow: hidden; border-radius: var(--radius); }
.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 30%;
}
@media (min-width: 1024px) {
  .hero-figure img { aspect-ratio: 16 / 10; }
}
.hero-meta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 2rem;
  row-gap: 0.75rem;
}
.hero-tempo { display: flex; align-items: baseline; gap: 0.5rem; }
.hero-tempo-num { font-family: var(--font-display); font-size: 1.5rem; color: var(--terra); }
.hero-tempo-label { font-size: 14px; color: rgba(27, 58, 82, 0.6); }
.hero-meta .btn { margin-left: auto; }

/* ---------- Philosophy ---------- */
.ph-board {
  margin-top: 2.5rem;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
}
.ph-board img { width: 100%; }
.ph-board-caption {
  margin-top: 1rem;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: rgba(27, 58, 82, 0.5);
}
.ph-wrap { margin-top: 3rem; }
.ph-photos { display: none; }
@media (min-width: 1024px) {
  .ph-wrap {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 4rem;
  }
  .ph-photos {
    display: block;
    grid-column: span 7;
  }
  .ph-items { grid-column: span 5; }
}
.ph-photo-box {
  position: sticky;
  top: 6rem;
  height: calc(100vh - 8rem);
  max-height: 720px;
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(27, 58, 82, 0.05);
}
.ph-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.7s, transform 0.7s;
}
.ph-photo.is-active { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) {
  .ph-photo { transition: none; }
}
.ph-photo-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 6rem 1.75rem 1.5rem;
  color: var(--cream);
  background: linear-gradient(to top, rgba(27, 58, 82, 0.8), rgba(27, 58, 82, 0));
}
.ph-photo-label .ph-key { font-size: 12px; letter-spacing: 0.2em; }
.ph-photo-label .ph-count { font-family: var(--font-display); font-size: 1.5rem; }
.ph-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 72vh;
  padding-block: 3.5rem;
  border-top: 1px solid var(--line);
}
.ph-item:first-child { border-top: 0; }
.ph-item .ph-item-photo {
  margin-bottom: 2rem;
  aspect-ratio: 4 / 3;
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}
@media (min-width: 1024px) {
  .ph-item { min-height: 78vh; padding-block: 5rem; }
  .ph-item .ph-item-photo { display: none; }
}
.ph-item-head { display: flex; align-items: center; gap: 1rem; }
.ph-no { font-family: var(--font-display); font-size: 2.25rem; color: var(--terra); }
.ph-line { height: 1px; flex: 1; background: var(--line); }
.ph-labels { text-align: right; }
.ph-labels .ph-key {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: rgba(27, 58, 82, 0.7);
}
.ph-labels .ph-jp { margin-top: 0.25rem; font-size: 12px; color: rgba(27, 58, 82, 0.45); }
.ph-title {
  margin: 2rem 0 0;
  font-family: var(--font-mincho);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--navy);
}
@media (min-width: 640px) {
  .ph-title { font-size: 1.875rem; }
}
.ph-body {
  margin: 1.5rem 0 0;
  font-size: 15px;
  line-height: 2;
  color: rgba(27, 58, 82, 0.7);
}

/* ---------- Tempos ---------- */
.tempo-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (min-width: 768px) {
  .tempo-grid { grid-template-columns: repeat(3, 1fr); }
}
.tempo-cell { background: var(--paper); padding: 2rem; }
.tempo-head { display: flex; align-items: baseline; justify-content: space-between; }
.tempo-num { font-family: var(--font-display); font-size: 2.25rem; color: var(--navy); }
.tempo-num--terra { color: var(--terra); }
.tempo-name {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(27, 58, 82, 0.45);
}
.tempo-desc {
  margin: 1.5rem 0 0;
  font-size: 15px;
  line-height: 2.1;
  color: rgba(27, 58, 82, 0.7);
}
.tempo-members { margin: 1.25rem 0 0; font-size: 12px; color: var(--terra); }

/* ---------- Service cards ---------- */
.cards-grid {
  margin-top: 3rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  transition: border-color 0.3s;
}
.card:hover { border-color: rgba(200, 118, 60, 0.4); }
.card-media { position: relative; overflow: hidden; }
.card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s;
}
.card:hover .card-media img { transform: scale(1.03); }
.card-tempo {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  border-radius: 6px;
  background: rgba(253, 252, 250, 0.9);
  padding: 0.25rem 0.625rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--navy);
  backdrop-filter: blur(4px);
}
.card-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.card-cat {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--terra);
}
.card-status {
  border-radius: 999px;
  padding: 0.125rem 0.625rem;
  font-size: 11px;
}
.card-status.is-running { background: rgba(200, 118, 60, 0.1); color: var(--terra); }
.card-status.is-prep { background: rgba(27, 58, 82, 0.08); color: rgba(27, 58, 82, 0.6); }
.card-name {
  margin: 0.75rem 0 0;
  font-family: var(--font-mincho);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}
.card-desc {
  margin: 0.5rem 0 0;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(27, 58, 82, 0.7);
}
.card-foot {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(27, 58, 82, 0.55);
}
.card-foot p { margin: 0; }
.card-foot p + p { margin-top: 0.25rem; }
.card-docs { margin-top: 0.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.card-docs a { font-weight: 500; color: var(--terra); transition: color 0.2s; }
.card-docs a:hover { color: var(--navy); }

/* ---------- News ---------- */
.news-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}
.news-h2 {
  margin: 0;
  font-family: var(--font-mincho);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}
.news-all { font-size: 12px; color: rgba(27, 58, 82, 0.5); transition: color 0.2s; }
.news-all:hover { color: var(--terra); }
.news-list {
  margin-top: 2rem;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.news-item { border-top: 1px solid var(--line); }
.news-item:first-child { border-top: 0; }
.news-item a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-block: 1.25rem;
  transition: color 0.2s;
}
.news-item a:hover { color: var(--terra); }
@media (min-width: 640px) {
  .news-item a {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
}
.news-date { flex-shrink: 0; font-family: var(--font-display); font-size: 14px; color: var(--terra); }
.news-cat {
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(27, 58, 82, 0.08);
  padding: 0.125rem 0.75rem;
  font-size: 11px;
  color: rgba(27, 58, 82, 0.6);
}
.news-title { font-size: 15px; color: rgba(27, 58, 82, 0.8); }
.news-empty { margin-top: 2rem; font-size: 14px; color: rgba(27, 58, 82, 0.5); }

/* ---------- Recruit band ---------- */
.band-navy { background: var(--navy); color: var(--cream); }
.band-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-block: 5rem;
}
@media (min-width: 1024px) {
  .band-grid { grid-template-columns: repeat(12, 1fr); }
  .band-main { grid-column: span 8; }
  .band-action { grid-column: span 4; justify-self: end; }
}
.band-title {
  margin: 1rem 0 0;
  font-family: var(--font-mincho);
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cream);
}
@media (min-width: 640px) {
  .band-title { font-size: 2.25rem; }
}
.band-text {
  margin: 1.25rem 0 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 2.1;
  color: rgba(248, 246, 241, 0.7);
}
.band-navy .eyebrow { color: var(--terra); }

/* ---------- Page hero ---------- */
.page-hero { padding-block: 4rem 5rem; }
@media (min-width: 1024px) {
  .page-hero { padding-block: 5rem; }
}
.h1 {
  margin: 1.25rem 0 0;
  font-family: var(--font-mincho);
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
}
@media (min-width: 640px) {
  .h1 { font-size: 3rem; }
}
.page-lede {
  margin: 1.5rem 0 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 2.1;
  color: rgba(27, 58, 82, 0.7);
}

/* ---------- Recruit page ---------- */
.points-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .points-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}
.point-num { font-family: var(--font-display); font-size: 1.875rem; color: var(--terra); }
.point-title {
  margin: 1rem 0 0;
  font-family: var(--font-mincho);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}
.point-body { margin: 0.75rem 0 0; font-size: 15px; line-height: 2.1; color: rgba(27, 58, 82, 0.7); }
.panel-navy {
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--cream);
  padding: 2rem;
}
@media (min-width: 1024px) {
  .panel-navy { padding: 3rem; }
}
.panel-navy h2 {
  margin: 0;
  font-family: var(--font-mincho);
  font-size: 1.5rem;
  font-weight: 700;
}
.panel-navy .panel-text {
  margin: 1rem 0 0;
  max-width: 46ch;
  font-size: 15px;
  line-height: 2.1;
  color: rgba(248, 246, 241, 0.7);
}
.tel-big {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--terra);
  transition: opacity 0.2s;
}
.tel-big:hover { opacity: 0.8; }
.tel-big--xl { font-size: 2.5rem; }
.tel-note { margin: 0.25rem 0 0; font-size: 14px; color: rgba(27, 58, 82, 0.55); }
.panel-navy .tel-note { color: rgba(248, 246, 241, 0.6); }
.panel-navy .btn { margin-top: 2rem; }

/* ---------- Contact page ---------- */
.contact-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
.info-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 1.5rem;
}
.info-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.info-card-tempo { font-family: var(--font-display); font-size: 1.5rem; color: var(--terra); }
.info-card-status { font-size: 11px; color: rgba(27, 58, 82, 0.55); }
.info-card h3 {
  margin: 0.75rem 0 0;
  font-family: var(--font-mincho);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--navy);
}
.info-card p { margin: 0.5rem 0 0; font-size: 14px; line-height: 1.9; color: rgba(27, 58, 82, 0.6); }
.info-card .info-tel { color: rgba(27, 58, 82, 0.8); }

/* ---------- Company outline ---------- */
.company-dl {
  margin-top: 2rem;
  max-width: 42rem;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.company-dl-row {
  display: flex;
  gap: 1.5rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}
.company-dl dt { width: 6rem; flex-shrink: 0; color: rgba(27, 58, 82, 0.5); }
.company-dl dd { margin: 0; }

/* ---------- Single / generic page ---------- */
.single-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0 0;
}
.single-thumb { margin-top: 2rem; border-radius: var(--radius); overflow: hidden; }
.single-content {
  max-width: 46rem;
  margin: 0 auto;
  font-size: 16px;
  line-height: 2.1;
}
.single-content h2 {
  margin: 2.5em 0 1em;
  font-family: var(--font-mincho);
  font-size: 1.5rem;
  color: var(--navy);
}
.single-content h3 {
  margin: 2em 0 0.8em;
  font-family: var(--font-mincho);
  font-size: 1.25rem;
  color: var(--navy);
}
.single-content p { margin: 0 0 1.5em; }
.single-content a { color: var(--terra); }
.single-content ul, .single-content ol { padding-left: 1.5em; margin-bottom: 1.5em; }
.single-content img { border-radius: var(--radius); }
.single-content blockquote {
  margin: 2em 0;
  padding: 0.5em 1.5em;
  border-left: 3px solid var(--terra);
  color: rgba(27, 58, 82, 0.7);
}
.back-link {
  display: inline-block;
  margin-top: 3rem;
  font-size: 13px;
  color: rgba(27, 58, 82, 0.55);
  transition: color 0.2s;
}
.back-link:hover { color: var(--terra); }

/* ---------- Pagination ---------- */
.pagination {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 13px;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding-inline: 0.5rem;
  color: rgba(27, 58, 82, 0.7);
}
.pagination .page-numbers.current {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}
.pagination .page-numbers:hover:not(.current) { color: var(--terra); }

/* ---------- Tempo sections (services page) ---------- */
.tempo-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 1rem;
}
.tempo-section-head .tempo-name {
  font-size: 14px;
  color: rgba(27, 58, 82, 0.55);
}


/* 携帯専用の改行（PCでは消す） */
.sp-only {}
@media (min-width: 1024px) {
  .sp-only { display: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--cream);
  color: rgba(27, 58, 82, 0.7);
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.5rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-info { text-align: right; }
}
.footer-brand {
  font-family: var(--font-mincho);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy);
}
.footer-tagline {
  margin: 1rem 0 0;
  max-width: 32ch;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(27, 58, 82, 0.6);
}
.footer-links {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  column-gap: 1.25rem;
  row-gap: 0.5rem;
  font-size: 14px;
}
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: var(--terra); }
.hero-figure img { object-position: 50% 30% !important; }
.footer-info { font-size: 14px; line-height: 1.9; }
.footer-info p { margin: 0; }
.footer-info .footer-name { font-weight: 500; color: var(--ink); }
.footer-info p + p { margin-top: 0.5rem; }
.footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding-block: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 12px;
  color: rgba(27, 58, 82, 0.45);
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-bottom p { margin: 0; }

/* Header logo and hero title alignment */
.brand {
  width: 280px;
  height: 108px;
  overflow: hidden;
}
.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}
.hero-title {
  align-self: center;
  width: auto;
}
@media (max-width: 1023px) {
  .brand { width: 190px; height: 64px; }
  .hero-title { align-self: flex-start; }
}


/* Blend the original philosophy artwork into the page background. */
.ph-board { background: transparent; border: 0; border-radius: 0; }
.ph-board img { mix-blend-mode: multiply; }
