/*
Theme Name: Bolt Sumikawa
Theme URI: https://cfarm-test3.site/
Author: Codex
Description: ボルト澄川様向けのWordPressテーマ。ZIPデザインを再現し、投稿ブログを統合。
Version: 1.0.0
Template: Skeleton
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: bolt-sumikawa
*/

/* ================================================================
   MOBILE-FIRST — playful "handmade garland" aesthetic
   Base 375px → md 720px → lg 1024px
   ================================================================ */
:root {
  --bg: #FFF8E7;
  --bg-2: #FFFFFF;
  --ink: #2B2416;
  --ink-2: #5B5040;
  --ink-3: #9A8F7F;
  --line: #EADFC6;

  --yellow: #FFD23F;
  --orange: #F07A2E;
  --blue:   #3C7BD9;
  --red:    #E8453C;
  --teal:   #2FA88A;
  --pink:   #F6A8B5;
  --cream-deep: #F2E5C2;

  --accent: var(--orange);

  --pad-x: 20px;
  --section-y: 72px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Zen Maru Gothic", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.8;
  font-feature-settings: "palt";
  font-size: 15px;
  overflow-x: hidden;
  padding-bottom: calc(72px + var(--safe-b));
  position: relative;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.handwrite { font-family: "Yomogi", "Zen Maru Gothic", cursive; font-weight: 400; }
.script    { font-family: "Caveat", cursive; font-weight: 700; }
.serif     { font-family: "Fraunces", serif; font-weight: 700; font-style: italic; }
.mono      { font-family: "JetBrains Mono", monospace; }

.label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.wrap, .wrap-wide { width: 100%; margin: 0 auto; padding: 0 var(--pad-x); position: relative; z-index: 2; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 15px 22px;
  min-height: 52px;
  border-radius: 999px;
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  font-size: 15px;
  transition: transform .15s ease;
  cursor: pointer;
  border: 2px solid var(--ink);
  width: 100%;
  box-shadow: 3px 3px 0 var(--ink);
  position: relative;
}
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-secondary { background: var(--orange); color: #fff; }
.btn-ghost { background: var(--bg-2); color: var(--ink); }
.btn .num { font-family: "JetBrains Mono", monospace; font-size: 13px; opacity: 0.85; }
.btn .arrow { font-family: "Caveat", cursive; font-size: 22px; line-height: 1; }

.dot-scatter { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.dot-scatter i { position: absolute; display: block; border-radius: 50%; opacity: 0.9; }

nav.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px var(--pad-x);
  background: rgba(255,248,231,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px dashed var(--ink);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 16px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--yellow);
  border: 2px solid var(--ink);
  display: grid; place-items: center;
  font-family: "Caveat", cursive; font-weight: 700; font-size: 22px; color: var(--ink);
  line-height: 1;
  transform: rotate(-4deg);
}
.nav-links { display: none; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--orange); color: #fff;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 12px; font-weight: 900;
}

.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 12px calc(10px + var(--safe-b));
  background: var(--ink);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px;
  border-top: 3px solid var(--yellow);
}
.mobile-cta a {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 0;
  min-height: 48px; border-radius: 999px;
  padding: 0 10px;
  font-size: 12px; font-weight: 900;
  font-family: "Zen Maru Gothic", sans-serif;
  border: 2px solid var(--ink);
  overflow: hidden;
  white-space: nowrap;
}
.mobile-cta .c-call { background: var(--yellow); color: var(--ink); }
.mobile-cta .c-visit { background: var(--orange); color: #fff; }

.garland { position: relative; height: 110px; margin-top: 8px; overflow: hidden; }
.garland svg { width: 100%; height: 100%; display: block; }

.hero { padding: 20px 0 56px; position: relative; overflow: hidden; }
.hero-stamp {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 18px;
  transform: rotate(-2deg);
  box-shadow: 2px 2px 0 var(--ink);
}
.hero-stamp .stamp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

.hero h1 {
  font-family: "Zen Maru Gothic", sans-serif;
  font-weight: 900;
  font-size: clamp(40px, 12.5vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  position: relative;
}
.hero h1 .hw {
  font-family: "Yomogi", cursive;
  font-weight: 400;
  color: var(--orange);
  position: relative;
  display: inline-block;
}
.hero h1 .hw::after {
  content: ""; position: absolute; left: 2%; right: 2%; bottom: -2px; height: 8px;
  background: var(--yellow); z-index: -1; border-radius: 8px;
  transform: rotate(-1deg);
}
.hero h1 .circ { display: inline-block; padding: 0 14px; position: relative; }
.hero h1 .circ::before {
  content: ""; position: absolute; inset: -4px -2px -6px -2px;
  border: 3px solid var(--red);
  border-radius: 50%;
  transform: rotate(-2deg);
}

.hero-sub { margin-top: 24px; font-size: 15px; color: var(--ink-2); line-height: 1.9; max-width: 36ch; }
.hero-meta { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.hero-foot {
  margin-top: 22px;
  font-family: "Yomogi", cursive;
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 16px;
  border-left: 3px solid var(--orange);
  line-height: 1.7;
}
.hero-blob { position: absolute; border-radius: 50%; opacity: 0.9; z-index: 0; }

.hero-photo {
  margin-top: 36px;
  position: relative;
  max-width: 520px;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 5/3;
  object-fit: cover;
  border-radius: 22px;
  border: 2px solid var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transform: rotate(-1.5deg);
}
.hero-photo .tape {
  position: absolute; top: -10px; left: 30px;
  width: 90px; height: 22px;
  background: rgba(255, 210, 63, 0.75);
  border: 1px dashed rgba(0,0,0,0.2);
  transform: rotate(-4deg);
  z-index: 3;
}
.hero-photo .caption-note {
  position: absolute; bottom: -18px; right: -6px;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  border-radius: 14px;
  padding: 8px 14px;
  font-family: "Yomogi", cursive;
  font-size: 13px;
  transform: rotate(3deg);
  z-index: 3;
}
.photo-fill { width: 100%; height: 100%; object-fit: cover; display: block; }

.svc-pills { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 8px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  font-size: 13px; font-weight: 700;
  box-shadow: 2px 2px 0 var(--ink);
  transform: rotate(-1deg);
}
.pill:nth-child(2n) { transform: rotate(1deg); }
.pill:nth-child(3n) { background: var(--yellow); }
.pill:nth-child(4n) { background: var(--pink); }
.pill:nth-child(5n) { background: var(--blue); color: #fff; }
.pill:nth-child(7n) { background: var(--teal); color: #fff; }

section.block { padding: var(--section-y) 0; position: relative; overflow: hidden; }
section.block.yellow { background: var(--yellow); color: var(--ink); }
section.block.blue { background: var(--blue); color: #fff; }
section.block.cream { background: var(--cream-deep); }
section.block.white { background: #fff; }

.section-head { margin-bottom: 32px; position: relative; }
.section-tag {
  display: inline-block;
  font-family: "Caveat", cursive; font-weight: 700;
  font-size: 30px;
  color: var(--orange);
  transform: rotate(-3deg);
  margin-bottom: 8px;
}
section.yellow .section-tag { color: var(--red); }
section.blue .section-tag { color: var(--yellow); }

.section-head h2 {
  font-size: clamp(28px, 8.5vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 900;
  margin-bottom: 16px;
}
.section-head h2 .hw { font-family: "Yomogi", cursive; font-weight: 400; color: var(--orange); }
section.yellow .section-head h2 .hw { color: var(--red); }
section.blue .section-head h2 .hw { color: var(--yellow); }

.section-head p { font-size: 15px; line-height: 1.9; color: var(--ink-2); }
section.blue .section-head p { color: rgba(255,255,255,0.88); }

.works { display: grid; grid-template-columns: 1fr; gap: 18px; }
.work {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  display: flex; flex-direction: column;
  transform: rotate(-1deg);
}
.work:nth-child(2n) { transform: rotate(1deg); }
.work:nth-child(3n) { transform: rotate(-0.5deg); }
.work .caption {
  padding: 14px 16px 16px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  border-top: 2px dashed var(--line);
}
.work .caption h4 { font-size: 15px; font-weight: 900; line-height: 1.35; }
.work .caption .tag { font-family: "Caveat", cursive; font-weight: 700; font-size: 18px; color: var(--orange); }
.mock-stage {
  aspect-ratio: 16/10;
  background: #FFEFC5;
  position: relative;
  display: grid; place-items: center;
  overflow: hidden;
}
.mock-stage.warm { background: #F2D79A; }
.mock-stage.deep { background: #3A342A; }
.mock-stage.pink { background: #F9D5D9; }
.mock-stage.blue { background: #C5D9F2; }

.ai-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.ai-grid h3 { font-size: clamp(24px, 7vw, 34px); line-height: 1.25; font-weight: 900; margin-bottom: 18px; }
.ai-grid h3 .hw { color: var(--yellow); font-family: "Yomogi", cursive; font-weight: 400; }
.ai-grid p { font-size: 15px; line-height: 1.9; margin-bottom: 12px; opacity: 0.92; }

.checklist { margin-top: 28px; border-top: 2px dashed rgba(255,255,255,0.4); padding-top: 22px; }
.checklist .label { color: var(--yellow); margin-bottom: 14px; display: block; }
.checklist li {
  list-style: none;
  display: flex; align-items: flex-start; gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.25);
  font-size: 15px;
}
.checklist li:last-child { border-bottom: none; }
.check-num {
  font-family: "Caveat", cursive; font-weight: 700;
  color: var(--yellow); font-size: 26px; line-height: 1;
  min-width: 28px;
}

.ai-visual {
  background: #fff;
  color: var(--ink);
  border-radius: 22px;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  padding: 22px;
}
.ai-visual .label { color: var(--orange); }
.flow-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.flow-row:last-child { border-bottom: none; }
.flow-icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Caveat", cursive; font-weight: 700;
  font-size: 22px; flex-shrink: 0;
  border: 2px solid var(--ink);
}
.flow-text { flex: 1; min-width: 0; }
.flow-text strong { display: block; font-size: 14px; color: var(--ink); font-weight: 900; margin-bottom: 2px; }
.flow-text span { font-size: 11.5px; color: var(--ink-3); }

.inst-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.inst-photo-wrap { position: relative; padding: 14px; }
.inst-photo {
  aspect-ratio: 4/5;
  border-radius: 24px;
  overflow: hidden;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-2deg);
  max-width: 320px;
  margin: 0 auto;
}
.inst-tape {
  position: absolute;
  top: -6px; left: 40%;
  width: 80px; height: 22px;
  background: rgba(255, 210, 63, 0.7);
  border: 1px dashed rgba(0,0,0,0.2);
  transform: rotate(-6deg);
  z-index: 2;
}
.inst-copy h3 {
  font-size: clamp(26px, 7.5vw, 38px);
  line-height: 1.2;
  font-weight: 900;
  margin-bottom: 18px;
  margin-top: 8px;
}
.inst-copy h3 .hw { font-family: "Yomogi", cursive; font-weight: 400; color: var(--red); }
.inst-copy p { font-size: 15px; color: var(--ink-2); line-height: 1.9; margin-bottom: 12px; }
.inst-card {
  margin-top: 24px;
  padding: 20px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 3px 3px 0 var(--ink);
}
.inst-card .label { margin-bottom: 6px; color: var(--orange); }
.inst-card h4 { font-size: 17px; font-weight: 900; margin-bottom: 6px; }
.inst-card p { font-size: 13.5px; color: var(--ink-2); margin: 0; }

.schedule { display: grid; grid-template-columns: 74px 1fr; gap: 0; }
.schedule .cell { padding: 20px 0; border-top: 2px dashed var(--line); }
.schedule-row:last-child .cell { border-bottom: 2px dashed var(--line); }
.sched-time { font-family: "Caveat", cursive; font-weight: 700; font-size: 30px; color: var(--orange); line-height: 1; padding-right: 10px; }
.sched-body h4 { font-size: 17px; font-weight: 900; margin-bottom: 4px; line-height: 1.3; }
.sched-body p { font-size: 13.5px; color: var(--ink-2); line-height: 1.8; }
.sched-body .mini {
  display: inline-block; margin-left: 6px;
  padding: 2px 10px;
  background: var(--red); color: #fff;
  border-radius: 999px;
  font-size: 10px; font-weight: 900;
  vertical-align: middle;
}
.schedule-note {
  margin-top: 20px;
  padding: 18px 20px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 14px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.8;
}

.team-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.team {
  padding: 26px 22px;
  border-radius: 20px;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  background: #fff;
  display: flex; flex-direction: column;
}
.team.main { background: var(--yellow); }
.team.t2 { background: var(--pink); }
.team.t3 { background: #B8E4D3; }
.team-photo {
  margin: -26px -22px 16px;
  overflow: hidden;
  border-bottom: 2px dashed rgba(43, 36, 22, 0.25);
  border-radius: 18px 18px 0 0;
}
.team-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.team-num {
  font-family: "Caveat", cursive; font-weight: 700;
  font-size: 56px; line-height: 1;
  color: var(--ink); margin: 10px 0 8px;
  display: inline-flex; align-items: flex-start;
}
.team-num .hash { color: var(--orange); font-size: 32px; margin-right: 4px; }
.team h4 { font-size: 20px; font-weight: 900; margin-bottom: 10px; letter-spacing: -0.01em; }
.team p { font-size: 13.5px; line-height: 1.85; color: var(--ink-2); }
.team .wage {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px dashed rgba(0,0,0,0.25);
  font-size: 12.5px; line-height: 1.6;
}
.team .wage strong {
  display: block;
  font-family: "Caveat", cursive; font-weight: 700;
  font-size: 26px; color: var(--ink);
  margin-bottom: 2px;
}

.wage-table {
  margin-top: 22px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 4px 4px 0 var(--ink);
  overflow: hidden;
}
.wage-table h5 {
  padding: 14px 18px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-bottom: 2px dashed var(--line);
  font-weight: 500;
  line-height: 1.5;
}
.wt-row {
  padding: 14px 18px;
  border-bottom: 1px dashed var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 2px 12px;
  align-items: baseline;
}
.wt-row:last-child { border-bottom: none; }
.wt-row.head { display: none; }
.wt-row .wt-form { grid-column: 1; grid-row: 1; font-size: 15px; font-weight: 900; }
.wt-row .wt-time { grid-column: 2; grid-row: 1 / span 2; font-size: 12px; color: var(--ink-2); line-height: 1.5; align-self: start; }
.wt-row .wage-amt { grid-column: 1; grid-row: 2; font-family: "Caveat", cursive; font-weight: 700; font-size: 28px; color: var(--orange); line-height: 1; }

.msg { display: grid; grid-template-columns: 1fr; gap: 22px; }
.msg-portrait {
  aspect-ratio: 1/1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  max-width: 220px;
  margin: 0 auto;
  background: var(--yellow);
}
.msg blockquote { font-family: "Zen Maru Gothic", sans-serif; font-size: 17px; line-height: 1.95; font-weight: 500; color: var(--ink); }
.msg blockquote p { margin-bottom: 16px; }
.msg blockquote p:first-child::before {
  content: "“";
  font-family: "Fraunces", serif; font-style: italic;
  font-size: 72px;
  color: var(--orange);
  line-height: 0.7;
  display: block;
  margin-bottom: 8px;
}
.msg blockquote strong { color: var(--orange); }
.msg-sig { margin-top: 22px; padding-top: 16px; border-top: 2px dashed var(--line); display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.msg-sig .sig-name { font-family: "Yomogi", cursive; font-size: 22px; font-weight: 400; }
.msg-sig .sig-role { font-size: 12px; color: var(--ink-3); }

.faq-list { display: grid; gap: 10px; }
details.faq {
  background: #fff;
  border-radius: 16px;
  padding: 16px 20px;
  border: 2px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: background .2s ease;
}
details.faq[open] { background: var(--yellow); }
details.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; gap: 12px; align-items: flex-start;
  font-size: 15px; font-weight: 900;
  line-height: 1.5;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-family: "Caveat", cursive; font-weight: 700;
  font-size: 32px; line-height: 0.8;
  color: var(--orange);
  flex-shrink: 0;
}
details.faq[open] summary::after { content: "−"; }
details.faq .a { margin-top: 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.85; padding-top: 10px; border-top: 1px dashed var(--line); }
.faq-q-label { font-family: "Caveat", cursive; font-weight: 700; color: var(--orange); margin-right: 6px; font-size: 22px; vertical-align: baseline; }

.info-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 2px dashed var(--line); }
.info-table tr:first-child { border-top: 2px dashed var(--line); }
.info-table th {
  text-align: left;
  padding: 14px 12px 14px 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  width: 88px;
  vertical-align: top;
  line-height: 1.6;
}
.info-table td { padding: 14px 0; font-size: 14.5px; line-height: 1.65; }
.map {
  aspect-ratio: 5/4;
  border-radius: 20px;
  background: #FFEFC5;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(0.92) contrast(0.96);
}

.closing {
  padding: 80px 0 96px;
  background: var(--orange);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.2) 0 10px, transparent 10px),
    radial-gradient(circle at 85% 65%, rgba(255,255,255,0.2) 0 14px, transparent 14px),
    radial-gradient(circle at 60% 15%, rgba(255,210,63,0.6) 0 8px, transparent 8px),
    radial-gradient(circle at 25% 85%, rgba(255,210,63,0.6) 0 12px, transparent 12px);
  pointer-events: none;
}
.closing > .wrap, .closing > .wrap-wide { position: relative; z-index: 2; }
.closing h2 { font-size: clamp(30px, 9vw, 48px); line-height: 1.2; font-weight: 900; margin-bottom: 20px; }
.closing h2 .hw { font-family: "Yomogi", cursive; font-weight: 400; color: var(--yellow); }
.closing p { font-size: 15px; margin: 0 auto 28px; line-height: 1.9; max-width: 28ch; }
.closing-ctas { display: flex; flex-direction: column; gap: 10px; }
.closing .btn-primary { background: var(--yellow); }
.closing .btn-secondary { background: var(--ink); color: var(--yellow); }
.closing .btn { border-color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.closing-foot { margin-top: 28px; font-family: "Yomogi", cursive; font-size: 14px; line-height: 1.7; }

.ig { padding: 72px 0; background: var(--cream-deep); }
.ig-row { display: grid; grid-template-columns: 1fr; gap: 28px; }
.ig h3 { font-size: clamp(28px, 8vw, 40px); line-height: 1.2; font-weight: 900; margin-top: 12px; }
.ig h3 .hw { font-family: "Yomogi", cursive; font-weight: 400; color: var(--orange); }
.ig p { font-size: 14.5px; color: var(--ink-2); line-height: 1.85; margin-top: 14px; }
.ig-handle {
  margin-top: 20px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  box-shadow: 3px 3px 0 var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 12.5px;
  flex-wrap: wrap;
}
.ig-handle .soon { color: var(--orange); font-size: 10px; letter-spacing: 0.15em; }
.ig-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ig-tile {
  aspect-ratio: 1;
  border-radius: 14px;
  background: #fff;
  border: 2px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
  display: grid; place-items: center;
  font-family: "Caveat", cursive; font-weight: 700;
  color: var(--orange); font-size: 18px;
  overflow: hidden;
}
.ig-tile img {
  transition: transform .18s ease;
}
.ig-tile:hover img {
  transform: scale(1.04);
}
.ig-tile.a1 { background: var(--yellow); }
.ig-tile.a2 { background: var(--pink); }
.ig-tile.a3 { background: var(--blue); color: var(--yellow); }
.ig-tile.a4 { background: #B8E4D3; }
.ig-tile.a5 { background: var(--orange); color: #fff; }

footer {
  padding: 48px var(--pad-x) 36px;
  background: var(--ink);
  color: #fff;
  border-top: 6px solid var(--yellow);
}
.foot-top { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 20px; margin-bottom: 32px; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand p { margin-top: 12px; font-size: 12.5px; color: #C2B79F; line-height: 1.75; }
footer h5 {
  font-family: "Caveat", cursive; font-weight: 700;
  font-size: 22px;
  color: var(--yellow);
  margin-bottom: 8px;
}
footer ul { list-style: none; }
footer li { padding: 3px 0; font-size: 13px; color: #E4D7B8; }
.foot-bottom {
  padding-top: 20px;
  border-top: 1px dashed rgba(255,255,255,0.15);
  display: flex; flex-direction: column; gap: 6px;
  font-size: 10.5px; color: #9A8F7F;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.05em;
}

@keyframes sway { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-4px) rotate(1deg); } }
.sway { animation: sway 4s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.3); } }
.pulse { animation: pulse 2s ease-in-out infinite; }

@media (min-width: 720px) {
  :root { --pad-x: 40px; --section-y: 100px; }
  body { font-size: 16px; padding-bottom: 0; }
  .mobile-cta { display: none; }
  .nav-links { display: flex; gap: 22px; font-size: 14px; font-weight: 700; }
  .nav-links a:hover { color: var(--orange); }
  .btn { width: auto; padding: 15px 24px; font-size: 15px; }

  .hero { padding: 40px 0 80px; }
  .hero h1 { font-size: clamp(64px, 9.5vw, 96px); }
  .hero-sub { font-size: 17px; margin-top: 32px; max-width: 50ch; }
  .hero-meta { flex-direction: row; margin-top: 40px; gap: 12px; flex-wrap: wrap; }
  .hero-foot { margin-top: 30px; font-size: 15px; }
  .garland { height: 140px; }

  .section-head { display: grid; grid-template-columns: 1fr 1.3fr; gap: 36px; margin-bottom: 48px; align-items: end; }
  .section-head > div:first-child { grid-column: 1; }
  .section-head h2 { font-size: clamp(38px, 6vw, 56px); max-width: 14ch; margin-bottom: 0; }
  .section-head p { font-size: 16px; max-width: 44ch; }
  .section-tag { font-size: 36px; }

  .works { grid-template-columns: repeat(6, 1fr); gap: 18px; }
  .work { grid-column: span 6; }
  .w-1 { grid-column: span 6; }
  .w-2 { grid-column: span 6; }
  .w-3 { grid-column: span 2; }
  .w-4 { grid-column: span 2; }
  .w-5 { grid-column: span 2; }

  .ai-grid { grid-template-columns: 1fr; gap: 48px; }
  .ai-grid h3 { font-size: clamp(34px, 5vw, 46px); }

  .inst-grid { grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
  .inst-photo { max-width: none; }
  .inst-copy h3 { font-size: clamp(34px, 5vw, 48px); }

  .schedule { grid-template-columns: 130px 1fr; }
  .sched-time { font-size: 38px; padding-right: 16px; }
  .sched-body h4 { font-size: 22px; }
  .sched-body p { font-size: 15px; max-width: 60ch; }
  .schedule .cell { padding: 26px 0; }

  .team-grid { grid-template-columns: 1.1fr 1fr 1fr; gap: 16px; }
  .team { padding: 28px 26px; min-height: 360px; }
  .team-photo { margin: -28px -26px 16px; }
  .team-num { font-size: 64px; }
  .team h4 { font-size: 22px; }

  .wage-table h5 { padding: 16px 24px; font-size: 11.5px; }
  .wt-row { grid-template-columns: 1fr 2fr 1fr; grid-template-rows: auto; padding: 16px 24px; gap: 0 18px; }
  .wt-row.head { display: grid; padding: 12px 24px; background: var(--bg); }
  .wt-row .wt-form { grid-column: 1; grid-row: 1; }
  .wt-row .wt-time { grid-column: 2; grid-row: 1; font-size: 14px; align-self: center; }
  .wt-row .wage-amt { grid-column: 3; grid-row: 1; text-align: right; font-size: 30px; }

  .msg { grid-template-columns: 1fr 1.7fr; gap: 48px; align-items: start; }
  .msg-portrait { max-width: none; }
  .msg blockquote { font-size: 21px; }
  .msg blockquote p:first-child::before { font-size: 96px; }

  .info-grid { grid-template-columns: 1.3fr 1fr; gap: 40px; }
  .map { aspect-ratio: 1/1; }
  .info-table th { width: 110px; padding: 18px 14px 18px 0; font-size: 11px; }
  .info-table td { padding: 18px 0; font-size: 16px; }

  .closing { padding: 130px 0 120px; }
  .closing h2 { font-size: clamp(44px, 7vw, 72px); }
  .closing p { font-size: 17px; max-width: 36ch; }
  .closing-ctas { flex-direction: row; justify-content: center; gap: 12px; flex-wrap: wrap; }

  .ig-row { grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }

  .foot-top { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
  .foot-brand { grid-column: auto; }
  .foot-bottom { flex-direction: row; justify-content: space-between; align-items: center; }

  details.faq { padding: 20px 26px; }
  details.faq summary { font-size: 17px; }
  details.faq .a { font-size: 14.5px; }
}

@media (min-width: 1024px) {
  :root { --pad-x: 60px; --section-y: 128px; }
  .wrap { max-width: 1180px; }
  .wrap-wide { max-width: 1320px; }

  nav.topbar { padding: 18px var(--pad-x); }
  .brand { font-size: 18px; }

  .hero { padding: 60px 0 120px; }
  .hero h1 { font-size: clamp(96px, 9vw, 136px); }
  .hero-sub { font-size: 19px; max-width: 560px; }
  .garland { height: 180px; }

  .section-head { grid-template-columns: 1fr 1.6fr; gap: 56px; margin-bottom: 72px; }
  .section-head h2 { font-size: clamp(56px, 5.2vw, 76px); }
  .section-head p { font-size: 18px; }
  .section-tag { font-size: 44px; }

  .works { grid-template-columns: repeat(12, 1fr); gap: 22px; }
  .w-1 { grid-column: span 7; }
  .w-2 { grid-column: span 5; }
  .w-3 { grid-column: span 4; }
  .w-4 { grid-column: span 4; }
  .w-5 { grid-column: span 4; }

  .ai-grid { grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
  .ai-grid h3 { font-size: clamp(46px, 4.4vw, 60px); }
  .ai-grid p { font-size: 18px; }
  .ai-visual { padding: 40px; border-radius: 28px; }
  .flow-icon { width: 52px; height: 52px; font-size: 26px; }
  .flow-text strong { font-size: 16px; }
  .flow-text span { font-size: 13px; }

  .inst-grid { grid-template-columns: 1fr 1.1fr; gap: 72px; }
  .inst-copy h3 { font-size: clamp(48px, 4.6vw, 66px); }
  .inst-copy p { font-size: 18px; }
  .inst-card { padding: 24px 28px; border-radius: 18px; }
  .inst-card h4 { font-size: 20px; }
  .inst-card p { font-size: 14.5px; }

  .schedule { grid-template-columns: 170px 1fr; }
  .sched-time { font-size: 46px; padding-right: 20px; }
  .sched-body h4 { font-size: 26px; }
  .sched-body p { font-size: 16px; }
  .schedule .cell { padding: 34px 0; }

  .team { padding: 34px; min-height: 400px; border-radius: 22px; }
  .team-photo { margin: -34px -34px 18px; }
  .team-num { font-size: 72px; }
  .team h4 { font-size: 26px; }
  .team p { font-size: 15px; }

  .msg { grid-template-columns: 1fr 1.6fr; gap: 72px; }
  .msg blockquote { font-size: clamp(22px, 1.8vw, 26px); }
  .msg blockquote p:first-child::before { font-size: 120px; }

  .closing { padding: 160px 0 140px; }
  .closing h2 { font-size: clamp(72px, 7vw, 104px); }
  .closing p { font-size: 19px; max-width: 38ch; margin-bottom: 44px; }

  .ig { padding: 110px 0; }
  .ig h3 { font-size: clamp(46px, 4.8vw, 64px); }
  .ig p { font-size: 16px; }

  footer { padding: 72px var(--pad-x) 48px; }
  .foot-top { gap: 40px; margin-bottom: 48px; }

  details.faq { padding: 24px 30px; border-radius: 18px; }
  details.faq summary { font-size: 18px; }
  details.faq .a { font-size: 15px; }
  .faq-list { max-width: 960px; }
}

/* WordPress integration */
.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

body.admin-bar nav.topbar {
  top: 32px;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  font-weight: 900;
}

main.site-main {
  background: var(--bg);
}

.brand span:last-child {
  line-height: 1.25;
}

.nav-links a[aria-current="page"] {
  color: var(--orange);
}

nav.topbar {
  width: 100%;
  gap: 12px;
}

.brand {
  min-width: 0;
}

.brand-mark,
.nav-cta {
  flex-shrink: 0;
}

.nav-cta {
  white-space: nowrap;
}

.section-head h1 {
  font-size: clamp(28px, 8.5vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 900;
  margin-bottom: 16px;
}

.section-head h1 .hw {
  font-family: "Yomogi", cursive;
  font-weight: 400;
  color: var(--orange);
}

.yellow .section-head h1 .hw {
  color: var(--red);
}

.blue .section-head h1 .hw {
  color: var(--yellow);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.blog-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-0.7deg);
}

.blog-card:nth-child(2n) {
  transform: rotate(0.7deg);
}

.blog-card:nth-child(3n) {
  transform: rotate(-0.3deg);
}

.blog-card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #FFEFC5;
  border-bottom: 2px dashed var(--line);
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-thumb .placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background:
    radial-gradient(circle at 18% 24%, var(--yellow) 0 18px, transparent 19px),
    radial-gradient(circle at 80% 68%, var(--pink) 0 24px, transparent 25px),
    linear-gradient(135deg, #FFF8E7, #F2E5C2);
  color: var(--orange);
  font-family: "Caveat", cursive;
  font-size: 30px;
  font-weight: 700;
}

.blog-card-body {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  color: var(--ink-3);
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-card-title {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.45;
}

.blog-card-title a {
  text-decoration-thickness: 6px;
  text-decoration-color: transparent;
  text-underline-offset: -2px;
  transition: text-decoration-color .18s ease;
}

.blog-card-title a:hover {
  text-decoration-line: underline;
  text-decoration-color: var(--yellow);
}

.blog-card-excerpt {
  color: var(--ink-2);
  font-size: 13.5px;
  line-height: 1.85;
}

.blog-card-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  margin-top: auto;
  color: var(--orange);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-more {
  margin-top: 30px;
}

.blog-empty,
.article-shell,
.page-shell,
.not-found-shell {
  border: 2px solid var(--ink);
  border-radius: 22px;
  background: #fff;
  box-shadow: 4px 4px 0 var(--ink);
}

.blog-empty {
  max-width: 720px;
  padding: 26px;
}

.blog-empty h3 {
  margin-top: 8px;
  font-size: 24px;
  font-weight: 900;
}

.blog-empty p {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 14.5px;
}

.archive-hero,
.single-hero,
.page-hero,
.not-found-hero {
  padding-top: 48px;
}

.archive-intro {
  max-width: 44ch;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 42px;
}

.pagination .page-numbers {
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  box-shadow: 2px 2px 0 var(--ink);
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 500;
}

.pagination .current {
  background: var(--yellow);
}

.article-shell,
.page-shell,
.not-found-shell {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.article-header,
.page-header,
.not-found-shell {
  padding: 26px;
}

.article-header h1,
.page-header h1,
.not-found-shell h1 {
  margin-top: 10px;
  font-size: clamp(30px, 7vw, 54px);
  font-weight: 900;
  line-height: 1.25;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  color: var(--ink-3);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-thumb {
  overflow: hidden;
  border-top: 2px dashed var(--line);
  border-bottom: 2px dashed var(--line);
  background: #FFEFC5;
}

.article-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-content,
.page-content {
  padding: 26px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 2;
}

.post-content > * + *,
.page-content > * + * {
  margin-top: 1.2em;
}

.post-content h2,
.page-content h2 {
  margin-top: 1.8em;
  color: var(--ink);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.35;
}

.post-content h3,
.page-content h3 {
  margin-top: 1.6em;
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.45;
}

.post-content a,
.page-content a {
  color: var(--orange);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--yellow);
  text-underline-offset: 3px;
}

.post-content ul,
.post-content ol,
.page-content ul,
.page-content ol {
  padding-left: 1.3em;
}

.post-content blockquote,
.page-content blockquote {
  padding: 18px 20px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--yellow);
  box-shadow: 3px 3px 0 var(--ink);
  color: var(--ink);
  font-weight: 700;
}

.post-content img,
.page-content img {
  height: auto;
  border-radius: 18px;
}

.post-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  padding: 0 26px 28px;
}

.related-posts {
  margin-top: 54px;
}

.related-posts h2 {
  margin-bottom: 22px;
  font-size: 32px;
  font-weight: 900;
}

.wp-caption,
.wp-block-image figcaption {
  max-width: 100%;
  color: var(--ink-3);
  font-size: 12.5px;
  text-align: center;
}

.aligncenter {
  margin-right: auto;
  margin-left: auto;
}

.alignleft {
  float: left;
  margin: 0 1.5em 1em 0;
}

.alignright {
  float: right;
  margin: 0 0 1em 1.5em;
}

@media (min-width: 720px) {
  .section-head h1 {
    max-width: 14ch;
    margin-bottom: 0;
    font-size: clamp(38px, 6vw, 56px);
  }

  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .blog-grid-home {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .blog-card-body {
    padding: 22px;
  }

  .article-header,
  .page-header,
  .not-found-shell,
  .post-content,
  .page-content {
    padding: 38px;
  }

  .post-footer-nav {
    padding: 0 38px 40px;
  }
}

@media (max-width: 480px) {
  nav.topbar {
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand {
    gap: 8px;
    font-size: 14px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 20px;
  }

  .nav-cta {
    display: none;
  }
}

@media (max-width: 719px) {
  .topbar .nav-cta {
    display: none;
  }
}

@media (min-width: 1024px) {
  .section-head h1 {
    font-size: clamp(56px, 5.2vw, 76px);
  }

  .archive-hero,
  .single-hero,
  .page-hero,
  .not-found-hero {
    padding-top: 72px;
  }

  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .blog-card-title {
    font-size: 22px;
  }

  .post-content,
  .page-content {
    font-size: 16.5px;
  }
}

@media screen and (max-width: 782px) {
  body.admin-bar nav.topbar {
    top: 46px;
  }
}
