/*
Theme Name: SHIMADERA SHOP Modern LP
Author: Mai Shimamoto
Description: SHIMADERA SHOP向けのシンプルでモダンな1ページ型WordPressテーマ。事業概要、理念、サービス、運営者情報、プライバシーポリシーを掲載します。
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: shimadera-shop-modern-lp
*/

/* ------------------------------------------------------------
   基本設定
------------------------------------------------------------ */
:root {
  --ink: #1a2433;
  --muted: #5b6677;
  --line: #dfe3e9;
  --bg: #ffffff;
  --bg-soft: #f4f6f8;
  --navy: #10213a;
  --navy-2: #1b3354;
  --accent: #0f766e;
  --accent-light: #7fd1c4;

  --book-1: #2b4a74;
  --book-2: #14b8a6;
  --book-3: #d8c7a4;
  --book-4: #5f7fa8;
  --book-5: #0f766e;
  --book-6: #e6ebf2;
  --book-7: #1d355a;

  --font-jp: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
  --font-en: "Jost", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.2, .7, .15, 1);
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 {
  font-feature-settings: "palt";
  word-break: auto-phrase;
}
p { word-break: auto-phrase; }
a { color: inherit; text-decoration: none; transition: color .3s; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

/* ------------------------------------------------------------
   ヘッダー
------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow .4s, border-color .4s;
  animation: fadeIn .9s both;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 6px 24px rgba(16, 33, 58, .06);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: min-height .4s var(--ease);
}
.is-scrolled .header-inner { min-height: 66px; }

.brand {
  position: relative;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: .16em;
  color: var(--navy);
  transition: color .4s;
}
.brand::before {
  content: "";
  width: 20px;
  height: 22px;
  background: linear-gradient(to right,
    var(--accent) 0 5px, transparent 5px 7px,
    var(--navy) 7px 12px, transparent 12px 14px,
    var(--book-3) 14px 20px);
}
.brand:hover { color: var(--navy); }

.nav { display: flex; align-items: center; gap: 36px; font-size: .92rem; font-weight: 500; }
.nav a { position: relative; padding: 6px 0; color: var(--ink); }
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle {
  position: relative;
  z-index: 60;
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle[hidden] { display: none !important; }
.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 26px;
  height: 1.5px;
  background: var(--navy);
  transition: transform .45s var(--ease), opacity .3s, background .4s;
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 23px; }
.menu-toggle span:nth-child(3) { top: 30px; }
.menu-open .menu-toggle span { background: #fff; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-open .brand { color: #fff; }
html.menu-open { overflow: hidden; }

/* ------------------------------------------------------------
   英字ラベル（各セクションの小見出し）
------------------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: .78rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.6;
}
.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
}

/* ------------------------------------------------------------
   ファーストビュー
------------------------------------------------------------ */
.hero {
  position: relative;
  isolation: isolate;
  padding: 104px 0 136px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(to right, rgba(16, 33, 58, .055) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
          mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
  pointer-events: none;
  animation: gridIn 1.8s var(--ease) both;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 64px;
  align-items: center;
}
.hero .eyebrow { animation: fadeUp .9s .1s var(--ease) both; }

h1 {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.4;
  letter-spacing: .04em;
  margin: 0 0 24px;
}
.hero h1 {
  font-size: clamp(2.3rem, 5.2vw, 4.3rem);
  line-height: 1.38;
  margin: 26px 0 32px;
  color: var(--navy);
}
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span {
  display: inline-block;
  animation: lineUp 1.15s var(--ease) both;
}
.hero h1 .line:nth-child(1) > span { animation-delay: .25s; }
.hero h1 .line:nth-child(2) > span { animation-delay: .42s; }

.hero p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 2.1;
  animation: fadeUp 1s .75s var(--ease) both;
}

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
  animation: fadeUp 1s .9s var(--ease) both;
}
.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 58px;
  padding: 0 30px;
  border-radius: 2px;
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .08em;
  transition: color .45s var(--ease), border-color .45s;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .55s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width .45s var(--ease);
}
.btn:hover::after { width: 30px; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary::before { background: var(--accent); }
.btn-primary:hover { color: #fff; }
.btn-secondary { background: transparent; border: 1px solid var(--navy); color: var(--navy); }
.btn-secondary::before { background: var(--navy); }
.btn-secondary:hover { color: #fff; }

.hero-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 460px;
  border-radius: 4px;
  padding: 40px 40px 36px;
  color: #fff;
  background: linear-gradient(150deg, var(--navy) 0%, #0d1b30 55%, var(--navy-2) 100%);
  box-shadow: 0 30px 60px -20px rgba(16, 33, 58, .35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  animation: cardIn 1.3s .3s var(--ease) both;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  z-index: -1;
  background:
    radial-gradient(circle at 30% 30%, rgba(20, 184, 166, .28), transparent 34%),
    radial-gradient(circle at 75% 70%, rgba(95, 127, 168, .30), transparent 38%);
  animation: drift 18s ease-in-out infinite alternate;
}
.hero-card small:first-child {
  font-family: var(--font-en);
  font-size: .74rem;
  letter-spacing: .26em;
  color: rgba(255, 255, 255, .7);
}
.hero-card strong {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  line-height: 1.4;
  letter-spacing: .02em;
}
.hero-card small:last-child {
  font-size: .84rem;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .72);
}

.hero-shelf {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 132px;
  padding: 0 4px;
  border-bottom: 2px solid rgba(255, 255, 255, .32);
}
.hero-shelf span {
  flex: 0 1 var(--w);
  min-width: 3px;
  height: var(--h);
  border-radius: 1px 1px 0 0;
  background:
    linear-gradient(to bottom,
      transparent 12%, rgba(255, 255, 255, .22) 12%, rgba(255, 255, 255, .22) 15%,
      transparent 15%, transparent 82%, rgba(0, 0, 0, .14) 82%, rgba(0, 0, 0, .14) 85%, transparent 85%),
    var(--c);
  transform-origin: bottom center;
  animation: spineUp .9s calc(1s + var(--d)) var(--ease) both;
}
.hero-shelf span.lean { transform-origin: bottom left; rotate: -9deg; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: .66rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  animation: fadeIn 1s 1.6s both;
}
.scroll-cue span { writing-mode: vertical-rl; }
.scroll-cue i {
  position: relative;
  display: block;
  width: 1px;
  height: 64px;
  background: var(--line);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy);
  animation: cue 2.4s var(--ease) infinite;
}

/* ------------------------------------------------------------
   セクション共通
------------------------------------------------------------ */
.section { padding: 120px 0; }
#services { background: var(--bg-soft); }

.section-title {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr);
  column-gap: 72px;
  margin-bottom: 56px;
}
.section-title .eyebrow,
.section-title h2 { grid-column: 1; }
.section-title h2 {
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.45;
  letter-spacing: .06em;
  margin: 14px 0 0;
  color: var(--navy);
}
.section-title p {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  margin: 0;
  color: var(--muted);
  line-height: 2.1;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

.card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 36px 32px 34px;
  transition: border-color .4s, box-shadow .4s;
}
.card::after {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: -1px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.grid-3 .card:hover::after { transform: scaleX(1); }
.grid-3 .card:hover { box-shadow: 0 18px 40px -18px rgba(16, 33, 58, .18); }
.card h3 {
  margin: 0 0 14px;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 1.24rem;
  line-height: 1.6;
  letter-spacing: .05em;
  color: var(--navy);
}
.card p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 2; }
.card h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }

.num {
  display: block;
  margin-bottom: 22px;
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 2.6rem;
  line-height: 1;
  letter-spacing: .02em;
  color: var(--accent);
}

/* 理念・事業内容のカードに番号を付ける */
#philosophy .grid-3,
#services .grid-3 { counter-reset: item; }
#philosophy .card::before,
#services .card::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .2em;
  color: var(--accent);
}

/* 濃色の帯（理念） */
.band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 88% 12%, rgba(20, 184, 166, .16), transparent 32%),
    linear-gradient(to right, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: auto, calc(100% / 12) 100%;
}
.band .eyebrow { color: var(--accent-light); }
.band .section-title h2 { color: #fff; }
.band .section-title p { color: rgba(255, 255, 255, .72); }
.band .grid-3 { gap: 48px; }
.band .card {
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .2);
  border-radius: 0;
  padding: 30px 0 0;
}
.band .card::after { left: 0; right: 0; }
.band .grid-3 .card:hover { box-shadow: none; }
.band .card::before { color: var(--accent-light); }
.band .card h3 { color: #fff; }
.band .card p { color: rgba(255, 255, 255, .7); }

/* ------------------------------------------------------------
   運営者情報
------------------------------------------------------------ */
.profile { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.profile-box { padding: 0; }
.profile dl {
  display: grid;
  grid-template-columns: 9em minmax(0, 1fr);
  margin: 0;
  border-top: 1px solid var(--navy);
}
.profile dt,
.profile dd {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.8;
}
.profile dt { padding-right: 16px; font-size: .88rem; font-weight: 500; color: var(--muted); }
.profile dd { font-weight: 500; overflow-wrap: anywhere; }
.profile dd a { color: var(--accent); }
.profile dd a:hover { text-decoration: underline; text-underline-offset: 4px; }

.profile-box + .profile-box {
  background: var(--bg-soft);
  padding: 44px 44px 40px;
  border-radius: 4px;
}
.profile-box h3 {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 16px;
  font-family: var(--font-mincho);
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: .06em;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.profile-box h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 48px;
  height: 1px;
  background: var(--accent);
}
.profile-box p { margin: 0 0 1em; color: var(--muted); line-height: 2.05; }
.profile-box p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------
   プライバシーポリシー
------------------------------------------------------------ */
.privacy-page { background: var(--bg-soft); }
.privacy-wrap { max-width: 920px; }
.privacy-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(32px, 6vw, 76px);
  animation: fadeUp 1s .15s var(--ease) both;
}
.privacy-card h1 {
  font-size: clamp(2rem, 4.4vw, 3rem);
  color: var(--navy);
  margin: 18px 0 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.privacy-card h2 {
  position: relative;
  margin: 52px 0 14px;
  padding-left: 18px;
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
}
.privacy-card h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  bottom: .2em;
  width: 3px;
  background: var(--accent);
}
.privacy-card p,
.privacy-card li { color: var(--muted); line-height: 2.05; }
.privacy-card ul { padding-left: 1.4em; }
.privacy-card li::marker { color: var(--accent); }
.privacy-card a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.contact-box { margin-top: 20px; }
.contact-box dl {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  margin: 0;
  border-top: 1px solid var(--navy);
}
.contact-box dt,
.contact-box dd { margin: 0; padding: 16px 0; border-bottom: 1px solid var(--line); line-height: 1.8; }
.contact-box dt { padding-right: 16px; font-size: .88rem; color: var(--muted); }
.contact-box dd { font-weight: 500; overflow-wrap: anywhere; }
.policy-date { margin-top: 48px; font-size: .92rem; text-align: right; }

/* ------------------------------------------------------------
   フッター
------------------------------------------------------------ */
.site-footer {
  padding: 56px 0;
  background: var(--navy);
  color: rgba(255, 255, 255, .62);
  font-size: .88rem;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-inner > div:first-child { font-family: var(--font-en); letter-spacing: .1em; font-size: .8rem; }
.footer-links { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-links a { position: relative; color: #fff; }
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.footer-links a:hover { color: #fff; }
.footer-links a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ページ上部へ戻るボタン */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .4s, visibility .4s, transform .4s var(--ease), background .3s;
}
.to-top[hidden] { display: none; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--accent); }
.to-top::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 56%;
  width: 10px;
  height: 10px;
  border-top: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ------------------------------------------------------------
   スクロールで表示（assets/js/main.js が制御）
------------------------------------------------------------ */
.reveal-on [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal-on [data-reveal].is-inview { opacity: 1; transform: none; }

/* ------------------------------------------------------------
   アニメーション
------------------------------------------------------------ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes lineUp {
  from { transform: translateY(110%); }
  to   { transform: none; }
}
@keyframes cardIn {
  from { clip-path: inset(100% 0 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
@keyframes spineUp {
  from { scale: 1 0; }
  to   { scale: 1 1; }
}
@keyframes gridIn {
  from { clip-path: inset(0 0 100% 0); }
  to   { clip-path: inset(0 0 0 0); }
}
@keyframes drift {
  from { transform: translate(-4%, -3%) rotate(0deg); }
  to   { transform: translate(4%, 3%) rotate(8deg); }
}
@keyframes cue {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ------------------------------------------------------------
   スマートフォン・タブレット
------------------------------------------------------------ */
@media (max-width: 960px) {
  .section-title { grid-template-columns: 1fr; }
  .section-title p { grid-column: 1; grid-row: auto; margin-top: 22px; }
  .profile { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  :root { --header-h: 68px; }
  .container { width: calc(100% - 40px); }
  .is-scrolled .header-inner { min-height: 60px; }

  .menu-toggle { display: inline-block; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 96px 32px 48px;
    background: var(--navy);
    opacity: 0;
    visibility: hidden;
    transition: opacity .45s, visibility .45s;
  }
  .nav a {
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    font-family: var(--font-mincho);
    font-size: 1.45rem;
    font-weight: 600;
    letter-spacing: .08em;
    color: #fff;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .5s, transform .5s var(--ease);
  }
  .nav a::after { display: none; }
  .nav a:hover { color: var(--accent-light); }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .nav a { opacity: 1; transform: none; }
  .menu-open .nav a:nth-child(1) { transition-delay: .08s; }
  .menu-open .nav a:nth-child(2) { transition-delay: .14s; }
  .menu-open .nav a:nth-child(3) { transition-delay: .2s; }
  .menu-open .nav a:nth-child(4) { transition-delay: .26s; }

  .eyebrow { gap: 10px; font-size: .7rem; letter-spacing: .12em; }
  .eyebrow::before { width: 20px; }

  .hero { padding: 64px 0 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: clamp(2.1rem, 9.4vw, 3rem); margin: 20px 0 24px; }
  .hero-card { min-height: 380px; padding: 32px 28px 28px; }
  .hero-shelf { height: 108px; }
  .scroll-cue { display: none; }

  .btn { flex: 1 1 auto; }

  .section { padding: 88px 0; }
  .section-title { margin-bottom: 40px; }
  .grid-3 { grid-template-columns: 1fr; gap: 16px; }
  .band .grid-3 { gap: 36px; }
  .card { padding: 30px 24px 28px; }

  .profile dl { grid-template-columns: 8.8em minmax(0, 1fr); }
  .privacy-card { padding: 40px 22px 44px; }
  .privacy-card h1 { font-size: min(1.75rem, 6.9vw); letter-spacing: .02em; }
  .profile-box + .profile-box { padding: 32px 24px; }

  .contact-box dl { grid-template-columns: 1fr; }
  .contact-box dt { padding-bottom: 0; border-bottom: 0; }
  .contact-box dd { padding-top: 4px; }

  .footer-inner { flex-direction: column-reverse; align-items: flex-start; }
  .footer-links { gap: 14px 28px; }
  .to-top { right: 16px; bottom: 16px; width: 48px; height: 48px; }
}
