/* scuba.ryukyu · 琉球紅型 (bingata) design. Fonts: Dela Gothic One (display only) + Zen Kaku Gothic New via Google Fonts, with system fallbacks. */
:root {
  --ai: #1b2a6b; --vm: #e8412c; --vmd: #c42f1d; --yl: #f6c22d; --gr: #2e9e6b; --pk: #f17aa0; --tq: #1fb7b0; --tqd: #0b7a75; --cr: #fff6e3;
  --navy: var(--ai); --teal: var(--tqd); --sand: var(--cr); --white: #fff; --ink: #1b2a6b; --muted: #4a557f; --line: #d9cfb4;
  --sg-ai: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2260%22 height=%2230%22 viewBox=%220 0 60 30%22%3E%3Crect width=%2260%22 height=%2230%22 fill=%22%231b2a6b%22/%3E%3Cg fill=%22%231b2a6b%22 stroke=%22%234a63c9%22 stroke-width=%221.6%22%3E%3Ccircle cx=%220%22 cy=%220%22 r=%2230%22/%3E%3Ccircle cx=%220%22 cy=%220%22 r=%2224%22/%3E%3Ccircle cx=%220%22 cy=%220%22 r=%2218%22/%3E%3Ccircle cx=%220%22 cy=%220%22 r=%2212%22/%3E%3Ccircle cx=%220%22 cy=%220%22 r=%226%22/%3E%3Ccircle cx=%2260%22 cy=%220%22 r=%2230%22/%3E%3Ccircle cx=%2260%22 cy=%220%22 r=%2224%22/%3E%3Ccircle cx=%2260%22 cy=%220%22 r=%2218%22/%3E%3Ccircle cx=%2260%22 cy=%220%22 r=%2212%22/%3E%3Ccircle cx=%2260%22 cy=%220%22 r=%226%22/%3E%3Ccircle cx=%2230%22 cy=%2230%22 r=%2230%22/%3E%3Ccircle cx=%2230%22 cy=%2230%22 r=%2224%22/%3E%3Ccircle cx=%2230%22 cy=%2230%22 r=%2218%22/%3E%3Ccircle cx=%2230%22 cy=%2230%22 r=%2212%22/%3E%3Ccircle cx=%2230%22 cy=%2230%22 r=%226%22/%3E%3C/g%3E%3C/svg%3E") 0 0/60px 30px;
  --sg-tq: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2260%22 height=%2230%22 viewBox=%220 0 60 30%22%3E%3Crect width=%2260%22 height=%2230%22 fill=%22%231fb7b0%22/%3E%3Cg fill=%22%231fb7b0%22 stroke=%22%230e8a85%22 stroke-width=%221.6%22%3E%3Ccircle cx=%220%22 cy=%220%22 r=%2230%22/%3E%3Ccircle cx=%220%22 cy=%220%22 r=%2224%22/%3E%3Ccircle cx=%220%22 cy=%220%22 r=%2218%22/%3E%3Ccircle cx=%220%22 cy=%220%22 r=%2212%22/%3E%3Ccircle cx=%220%22 cy=%220%22 r=%226%22/%3E%3Ccircle cx=%2260%22 cy=%220%22 r=%2230%22/%3E%3Ccircle cx=%2260%22 cy=%220%22 r=%2224%22/%3E%3Ccircle cx=%2260%22 cy=%220%22 r=%2218%22/%3E%3Ccircle cx=%2260%22 cy=%220%22 r=%2212%22/%3E%3Ccircle cx=%2260%22 cy=%220%22 r=%226%22/%3E%3Ccircle cx=%2230%22 cy=%2230%22 r=%2230%22/%3E%3Ccircle cx=%2230%22 cy=%2230%22 r=%2224%22/%3E%3Ccircle cx=%2230%22 cy=%2230%22 r=%2218%22/%3E%3Ccircle cx=%2230%22 cy=%2230%22 r=%2212%22/%3E%3Ccircle cx=%2230%22 cy=%2230%22 r=%226%22/%3E%3C/g%3E%3C/svg%3E") 0 0/60px 30px;
  --font: "Zen Kaku Gothic New", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --display: "Dela Gothic One", "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --gutter: clamp(20px, 5vw, 80px); --content: 1240px;
  --shadow: 6px 6px 0 var(--ai);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: var(--cr); font-family: var(--font); font-size: 16px; font-weight: 500; line-height: 1.9; -webkit-font-smoothing: antialiased; overflow-wrap: anywhere; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, h4, figure { margin: 0; }
h1, h2, h3, h4 { color: var(--ai); font-weight: 900; line-height: 1.5; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .24em; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
:focus-visible { outline: 4px solid var(--vm); outline-offset: 3px; border-radius: 4px; }
::selection { color: var(--ai); background: var(--yl); }
[hidden] { display: none !important; }
.js-only { display: none !important; }
.js .js-only { display: block !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.container { width: min(100% - var(--gutter) * 2, var(--content)); margin-inline: auto; }
.section { padding-block: clamp(60px, 8vw, 110px); }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 900; line-height: 1.7; letter-spacing: .16em; color: var(--tqd); }
.eyebrow--light { color: var(--yl); }
.section-number { display: inline-grid; place-items: center; width: 2.4em; height: 2.4em; margin-right: 12px; border: 3px solid var(--ai); border-radius: 50%; background: var(--yl); color: var(--ai); font-family: var(--display); font-size: 13px; letter-spacing: 0; vertical-align: middle; }
.section-heading { margin-bottom: 44px; }
.section-heading h2 { margin-top: 14px; font-family: var(--display); font-weight: 400; font-size: clamp(28px, 4vw, 54px); line-height: 1.35; }
.section-heading--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; }
.section-heading--split > .text-link { margin-bottom: 8px; flex-shrink: 0; }
.section-heading .heading-medium { font-size: clamp(26px, 3vw, 40px); }
.fine-print { color: var(--muted); font-size: 12px; line-height: 1.9; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; font-size: 14px; line-height: 1.8; text-decoration: none; color: var(--ai); border-bottom: 3px solid var(--yl); }
.text-link span[aria-hidden] { transition: transform .2s; }
.text-link:hover { border-bottom-color: var(--vm); }
.text-link:hover span[aria-hidden] { transform: translate(2px, -2px); }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 56px; padding: 14px 28px; border: 4px solid var(--ai); border-radius: 16px; font-size: 16px; font-weight: 900; letter-spacing: .05em; line-height: 1.5; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.button:hover { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ai); }
.button--navy { background: var(--vmd); color: #fff; }
.button--coral { background: var(--yl); color: var(--ai); }
.button--outline { background: var(--cr); color: var(--ai); }
.button--full { width: 100%; }
.circle-arrow { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border: 3px solid var(--ai); border-radius: 50%; background: var(--yl); font-size: 20px; line-height: 1; transition: background .2s; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 110; padding: 12px 24px; background: var(--ai); color: #fff; }
.skip-link:focus { top: 12px; }

/* Header (no backdrop-filter: it clips the mobile menu) */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cr); border-bottom: 4px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--ai); box-shadow: 0 4px 0 rgba(27, 42, 107, .12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 82px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { width: 44px; height: 44px; }
.wordmark { font-family: var(--display); font-size: clamp(22px, 2.2vw, 28px); font-weight: 400; line-height: 1.1; letter-spacing: 0; }
.wordmark__dot { color: var(--vm); }
.primary-nav { display: flex; align-items: center; gap: clamp(6px, 1vw, 14px); }
.primary-nav a { font-size: 14px; font-weight: 900; white-space: nowrap; text-decoration: none; }
.primary-nav a:not(.header-cta) { padding: 8px 14px; border-radius: 99px; transition: background .2s; }
.primary-nav a:not(.header-cta):hover { background: var(--yl); }
.primary-nav a[aria-current]:not(.header-cta) { background: var(--ai); color: var(--yl); }
.header-cta { display: inline-flex; align-items: center; gap: 12px; padding: 10px 22px; color: #fff; background: var(--vmd); border: 4px solid var(--ai); border-radius: 14px; box-shadow: 4px 4px 0 var(--ai); transition: transform .15s, box-shadow .15s; }
.header-cta:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ai); }
.nav-toggle { display: flex; align-items: center; gap: 10px; border: 3px solid var(--ai); border-radius: 12px; background: var(--yl); color: var(--ai); padding: 8px 12px; font-weight: 900; }
.js .nav-toggle { display: none !important; }
.nav-toggle__lines { display: block; position: relative; width: 26px; height: 3px; background: currentColor; border-radius: 2px; transition: background .15s; }
.nav-toggle__lines::before, .nav-toggle__lines::after { content: ""; position: absolute; left: 0; width: 26px; height: 3px; background: currentColor; border-radius: 2px; transition: transform .2s; }
.nav-toggle__lines::before { top: -8px; }
.nav-toggle__lines::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__lines::after { transform: translateY(-8px) rotate(-45deg); }
.nav-toggle__label { font-size: 13px; line-height: 1.4; }
.breadcrumbs { padding-block: 16px; font-size: 12px; font-weight: 700; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; padding: 0; margin: 0; list-style: none; }
.breadcrumbs li + li::before { content: "›"; margin-right: 10px; color: var(--vm); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Home hero: sun, waves, fish */
.ocean-hero { position: relative; isolation: isolate; overflow: hidden; padding-bottom: 70px; }
.ocean-hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: center; padding-top: clamp(24px, 4vw, 56px); }
.ocean-hero__copy { position: relative; z-index: 2; }
.ocean-hero .hero-kicker { display: inline-block; max-width: 34em; padding: 6px 20px; border: 3px solid var(--ai); border-radius: 26px; background: var(--tq); color: var(--ai); font-size: 14px; font-weight: 900; line-height: 1.7; transform: rotate(-1.2deg); }
.ocean-hero .hero-display { margin-top: 22px; font-family: var(--display); font-size: clamp(46px, 6.4vw, 92px); line-height: 1.16; color: var(--ai); text-shadow: 5px 5px 0 var(--yl); }
.ocean-hero .hero-display > span { color: var(--vm); }
.hero-lead { margin-top: 24px; max-width: 30em; font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 26px; margin-top: 28px; }
.hero-traveler { margin-top: 24px; font-size: 14px; font-weight: 700; }
.hero-traveler a { font-weight: 900; text-underline-offset: 4px; }
.ocean-hero__photo { position: relative; z-index: 1; width: min(100%, 470px); aspect-ratio: 1; margin-inline: auto; }
.ocean-hero__photo::before { content: ""; position: absolute; inset: -26%; z-index: -1; background: repeating-conic-gradient(from 0deg, rgba(246, 194, 45, .45) 0 6deg, transparent 6deg 18deg); border-radius: 50%; animation: spin 60s linear infinite; }
.hero-sun { position: absolute; inset: 0; overflow: hidden; border: 5px solid var(--ai); border-radius: 50%; background: var(--vm); box-shadow: 12px 12px 0 var(--ai); }
.hero-sun picture, .hero-sun img { width: 100%; height: 100%; }
.hero-sun img { object-fit: cover; object-position: 60% center; }
.hero-sun::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%; border-top: 5px solid var(--ai); background: var(--sg-ai); }
.image-note { position: absolute; left: 0; bottom: -4px; z-index: 3; max-width: 100%; padding: 4px 12px; border: 3px solid var(--ai); border-radius: 99px; background: var(--cr); color: var(--ai); font-size: 12px; font-weight: 900; line-height: 1.6; text-decoration: none; }
.fish { position: absolute; left: 0; z-index: 1; width: 100px; pointer-events: none; animation: swim 30s linear infinite; }
.fish svg { display: block; width: 100%; height: auto; }
.fish--l { animation-name: swimL; }
@keyframes swim { from { transform: translateX(-14vw); } to { transform: translateX(112vw); } }
@keyframes swimL { from { transform: translateX(112vw) scaleX(-1); } to { transform: translateX(-14vw) scaleX(-1); } }
@keyframes spin { to { transform: rotate(360deg); } }
.is-off .fish, .is-off .island-band > div, .is-off .ocean-hero__photo::before { animation-play-state: paused; }
.island-band { position: relative; z-index: 3; margin: -14px 0 0; overflow: hidden; white-space: nowrap; padding: 12px 0; background: var(--ai); color: var(--yl); border-block: 5px solid var(--ai); transform: rotate(-1.2deg); }
.island-band > div { display: inline-block; font-family: var(--display); font-size: clamp(28px, 4.4vw, 54px); line-height: 1.3; animation: band 40s linear infinite; }
.island-band span { margin: 0 .4em; }
.island-band em { font-style: normal; color: var(--pk); }
@keyframes band { to { transform: translateX(-50%); } }

/* Home sections */
.entry-paths { padding-block: clamp(56px, 7vw, 90px) clamp(40px, 5vw, 60px); }
.entry-paths__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.entry-path { padding: clamp(26px, 3vw, 38px); border: 5px solid var(--ai); border-radius: 26px; background: var(--pk); box-shadow: 9px 9px 0 var(--ai); transition: transform .25s; }
.entry-path:nth-child(1) { transform: rotate(-.8deg); }
.entry-path--guide { background: var(--yl); transform: rotate(.8deg); }
.entry-path:hover { transform: translateY(-6px) rotate(0); }
.entry-path .eyebrow { color: var(--ai); }
.entry-path h3 { margin-top: 6px; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.35; }
.entry-path > p:not(.eyebrow) { margin-top: 12px; font-size: 15px; font-weight: 700; }
.entry-path ul { list-style: none; margin: 20px 0 0; padding: 0; }
.entry-path li a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 4px; border-top: 3px dashed rgba(27, 42, 107, .45); font-size: 15px; font-weight: 900; text-decoration: none; }
.entry-path li a:hover { padding-left: 12px; }
.entry-path .fine-print { margin-top: 16px; color: var(--ai); font-weight: 700; }
.approach { background: transparent; }
.approach__layout { display: block; }
.approach__intro { max-width: 20em; font-family: var(--display); font-size: clamp(22px, 2.8vw, 34px); line-height: 1.6; color: var(--ai); font-weight: 400; }
.section-copy { max-width: 720px; margin-top: 22px; font-size: 17px; font-weight: 700; line-height: 2; }
.approach-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; margin-top: 70px; }
.approach-points > div { position: relative; padding: 62px 26px 26px; border: 4px solid var(--ai); border-radius: 28px; background: #fff; box-shadow: 9px 9px 0 var(--ai); transition: transform .25s, box-shadow .25s; }
.approach-points > div:hover { transform: translate(-3px, -5px) rotate(-.8deg); box-shadow: 13px 13px 0 var(--ai); }
.point-number { position: absolute; left: 22px; top: -32px; display: grid; place-items: center; width: 72px; height: 72px; border: 4px solid var(--ai); border-radius: 50%; background: var(--vmd); color: #fff; font-family: var(--display); font-size: 24px; }
.approach-points > div:nth-child(2) .point-number { background: #1f7a4f; }
.approach-points > div:nth-child(3) .point-number { background: var(--tqd); }
.approach-points h3 { font-family: var(--display); font-weight: 400; font-size: 21px; line-height: 1.5; }
.approach-points p { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--muted); }
.services-section { background: var(--cr); background-image: radial-gradient(rgba(27, 42, 107, .07) 2px, transparent 2px); background-size: 22px 22px; }
.service-lines { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; margin-top: 20px; }
.service-line { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 260px; margin-top: 30px; padding: 56px 26px 26px; border: 4px solid var(--ai); border-top: 0; border-radius: 0 0 24px 24px; background: var(--tq); color: var(--ai); box-shadow: 9px 9px 0 var(--ai); text-decoration: none; transform-origin: 50% 0; transition: transform .5s cubic-bezier(.3, 2, .5, 1); }
.service-line:nth-child(2) { background: var(--yl); }
.service-line:nth-child(3) { background: var(--pk); }
.service-line::before { content: ""; position: absolute; left: -12px; right: -12px; top: -28px; height: 22px; border-radius: 12px; background: var(--ai); }
.service-line:hover { transform: rotate(-2deg); }
.service-line__number { font-family: var(--display); font-size: 34px; line-height: 1; }
.service-line h3 { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.4; }
.service-line p { font-size: 14px; font-weight: 700; }
.service-line__english { margin-top: auto; font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.service-line .circle-arrow { position: absolute; right: 18px; top: 18px; }
.price-note { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; margin-top: 54px; padding: 24px 32px; border: 4px solid var(--ai); border-radius: 22px; background: var(--ai); color: var(--cr); box-shadow: 8px 8px 0 var(--vm); }
.price-note .eyebrow { color: var(--yl); }
.price-note strong { font-family: var(--display); font-size: clamp(34px, 4vw, 48px); font-weight: 400; line-height: 1.3; color: var(--yl); }
.price-note strong span { font-family: var(--font); font-size: 16px; font-weight: 900; margin-left: 8px; color: #fff; }
.price-note > p { font-size: 14px; font-weight: 700; }
.price-note .text-link { color: var(--cr); }
.works-section { background: var(--ai); color: var(--cr); position: relative; overflow: hidden; }
.works-section::before { content: ""; position: absolute; inset: 0; opacity: .45; background: var(--sg-ai); pointer-events: none; }
.works-section .container { position: relative; }
.works-section h2 { color: var(--yl); }
.works-section .eyebrow { color: var(--pk); }
.works-section .section-number { background: var(--pk); }
.works-section .text-link { color: var(--cr); }
.works-section .fine-print { color: #c9d0f0; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.works-section .project-grid { display: flex; gap: 30px; overflow-x: auto; padding: 4px 4px 22px; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-color: var(--yl) rgba(255, 255, 255, .2); }
.works-section .project-card { flex: 0 0 min(400px, 82%); scroll-snap-align: start; }
.project-card { overflow: hidden; border: 5px solid var(--cr); border-radius: 26px; background: var(--cr); color: var(--ai); box-shadow: 9px 9px 0 rgba(0, 0, 0, .35); }
.project-card__image { display: block; position: relative; overflow: hidden; background: #fff; aspect-ratio: 3 / 2; border-bottom: 4px solid var(--ai); }
.project-card__image img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s; }
.project-card__image:hover img { transform: scale(1.03); }
.project-card__visit { position: absolute; bottom: 10px; right: 10px; padding: 3px 10px; border: 3px solid var(--ai); border-radius: 99px; background: var(--yl); color: var(--ai); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.project-card__info { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 22px 0; }
.project-card__info h3 { margin-top: 2px; font-family: var(--display); font-weight: 400; font-size: 20px; }
.project-card__info a { text-decoration: none; }
.project-card__info a:hover { color: var(--vmd); }
.project-card__info .circle-arrow { width: 36px; height: 36px; font-size: 17px; }
.project-card__description { padding: 12px 22px 22px; font-size: 14px; font-weight: 700; color: var(--muted); }
.project-grid + .fine-print { margin-top: 28px; }
.guide-feature { display: grid; grid-template-columns: 1.05fr 1fr; background: var(--yl); border-block: 5px solid var(--ai); }
.guide-feature__photo { position: relative; min-height: 480px; border-right: 5px solid var(--ai); }
.guide-feature__photo picture, .guide-feature__photo img { width: 100%; height: 100%; }
.guide-feature__photo img { object-fit: cover; }
.guide-feature__photo .image-note { left: 16px; bottom: 16px; }
.guide-feature__copy { align-self: center; padding: 56px clamp(28px, 6vw, 90px); }
.guide-feature__copy h2 { margin-top: 16px; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.8vw, 52px); line-height: 1.4; text-shadow: 4px 4px 0 #fff; }
.guide-feature__copy > p:not(.eyebrow) { margin-top: 22px; font-size: 16px; font-weight: 700; }
.guide-feature__copy .eyebrow { color: var(--ai); }
.guide-feature__copy .button { margin-top: 26px; }
.editorial-note { color: var(--muted); font-size: 13px; line-height: 1.9; }
.guide-feature__copy .editorial-note { color: var(--ai); font-size: 13px !important; }
.journal-section { background: var(--cr); }
.category-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.category-chips a { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px; border: 3px solid var(--ai); border-radius: 99px; background: #fff; font-size: 13px; font-weight: 900; line-height: 1.7; text-decoration: none; box-shadow: 3px 3px 0 var(--ai); transition: transform .15s, box-shadow .15s; }
.category-chips a:hover { background: var(--yl); transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ai); }
.category-chips a[aria-current] { background: var(--ai); color: var(--yl); }
.journal-section .category-chips { margin-bottom: 36px; }

/* Cards (guides) */
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 30px; }
.guide-card { min-width: 0; overflow: hidden; border: 4px solid var(--ai); border-radius: 22px; background: #fff; box-shadow: 7px 7px 0 var(--ai); transition: transform .2s, box-shadow .2s; }
.guide-card:hover { transform: translate(-2px, -4px); box-shadow: 11px 11px 0 var(--ai); }
.guide-card__image { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 4px solid var(--ai); }
.guide-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.guide-card__image:hover img { transform: scale(1.03); }
.guide-card__body { padding: 18px 22px 22px; }
.card-meta { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; font-size: 12px; font-weight: 900; line-height: 1.8; color: var(--tqd); }
.card-meta time { color: var(--muted); font-size: 12px; }
.guide-card h3 { margin-top: 8px; font-size: 19px; line-height: 1.6; }
.guide-card h3 a { text-decoration: none; }
.guide-card h3 a:hover { color: var(--vmd); text-decoration: underline; }
.guide-card p { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.85; }
.guide-card .text-link { margin-top: 16px; font-size: 13px; }
.ai-strip { background: #fff; padding-block: 40px; border-block: 4px solid var(--ai); }
.ai-strip__inner { display: grid; grid-template-columns: 76px 1fr auto; gap: 28px; align-items: center; }
.ai-strip__mark { font-family: var(--display); font-size: 36px; color: var(--vm); line-height: 1.15; border-right: 4px solid var(--ai); }
.ai-strip h2 { font-size: 21px; margin-top: 6px; }
.ai-strip p:not(.eyebrow) { font-size: 14px; color: var(--muted); margin-top: 8px; max-width: 700px; }

/* Consultation band (めんそーれ) */
.consultation { position: relative; overflow: hidden; padding-block: 90px 130px; text-align: center; color: var(--ai); background: linear-gradient(#ff7a4d, var(--yl) 55%, #ffe9a8); border-top: 5px solid var(--ai); }
.consultation::before { content: ""; position: absolute; left: 50%; top: -150px; width: 340px; height: 340px; margin-left: -170px; border: 5px solid var(--ai); border-radius: 50%; background: var(--vm); opacity: .9; }
.consultation::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; border-top: 5px solid var(--ai); background: var(--sg-tq); }
.consultation__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 30px; }
.consultation .eyebrow--light { color: var(--ai); }
.consultation h2 { margin-top: 12px; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 5.4vw, 70px); line-height: 1.3; text-shadow: 5px 5px 0 #fff; }
.consultation p:not(.eyebrow) { margin-top: 18px; font-size: 16px; font-weight: 900; }
.consultation__action { min-width: 290px; }
.consultation__action .button { width: 100%; justify-content: center; background: var(--vmd); color: #fff; }
.consultation__action p { font-size: 13px !important; margin-top: 14px !important; }

/* Footer */
.site-footer { position: relative; margin-top: 0; padding-top: 86px; background: var(--ai); color: #d8def7; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 56px; background: var(--sg-ai); border-bottom: 4px solid var(--yl); }
.footer-top { display: flex; justify-content: space-between; gap: 60px; padding-bottom: 38px; }
.site-footer .brand { color: #fff; }
.brand--footer .wordmark { font-size: 36px; }
.footer-statement { margin-top: 20px; font-size: 16px; font-weight: 900; color: var(--yl); }
.footer-description { margin-top: 10px; font-size: 13px; }
.footer-links { display: flex; gap: clamp(40px, 8vw, 110px); }
.footer-links > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer .eyebrow { color: var(--pk); }
.footer-links .eyebrow { margin-bottom: 6px; font-size: 11px; }
.footer-links a { font-size: 14px; font-weight: 700; text-decoration: none; }
.footer-links a:hover, .footer-bottom a:hover, .footer-contact a:hover { color: var(--yl); text-decoration: underline; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 24px 0; border-top: 3px dashed rgba(255, 255, 255, .3); font-size: 13px; }
.footer-contact a { text-decoration: none; }
.footer-bottom { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px 28px; padding: 22px 0 30px; border-top: 3px dashed rgba(255, 255, 255, .3); font-size: 12px; }
.footer-bottom small { font-size: 12px; margin-right: auto; }
.footer-bottom > div { display: flex; gap: 22px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom p { flex-basis: 100%; font-size: 12px; }
.mobile-consultation { display: none; }

/* Page hero & prose */
.page-hero { position: relative; padding: 40px 0 56px; border-bottom: 5px solid var(--ai); background: var(--yl); overflow: hidden; }
.page-hero .eyebrow { color: var(--ai); }
.page-hero h1 { margin-top: 12px; font-family: var(--display); font-weight: 400; font-size: clamp(32px, 5vw, 64px); line-height: 1.35; text-shadow: 4px 4px 0 #fff; }
.page-lead { font-size: clamp(15px, 1.6vw, 18px); font-weight: 700; line-height: 2; margin-top: 22px; max-width: 760px; white-space: pre-line; }
.page-hero__line { display: block; width: 90px; height: 8px; border-radius: 4px; background: var(--vm); margin-top: 28px; }
.page-content { background: #fff; }
.prose { max-width: 760px; font-size: 17px; line-height: 2.05; }
.prose--page { max-width: 1030px; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(24px, 3vw, 33px); line-height: 1.55; margin-top: 64px; margin-bottom: 24px; padding: 0 0 14px; border-bottom: 5px solid var(--ai); position: relative; }
.prose h2::after { content: ""; position: absolute; left: 0; bottom: -5px; width: 90px; height: 5px; background: var(--vm); }
.prose h3 { font-size: 22px; margin-top: 38px; margin-bottom: 14px; padding-left: 14px; border-left: 8px solid var(--yl); }
.prose h4 { font-size: 18px; margin: 26px 0 12px; }
.prose p { margin-block: 20px; }
.prose a:not(.button) { color: var(--vmd); font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.6em; margin-block: 22px; }
.prose li { padding-left: .15em; margin-block: 7px; }
.prose li::marker { color: var(--vm); font-weight: 900; }
.prose strong { font-weight: 900; background: linear-gradient(transparent 62%, rgba(246, 194, 45, .55) 0); }
.prose img { border: 4px solid var(--ai); border-radius: 14px; margin: 26px 0 8px; }
.prose figure { margin-block: 28px; }
.prose figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.prose blockquote { margin: 28px 0; padding: 14px 24px; border: 3px solid var(--ai); border-left-width: 10px; border-radius: 0 14px 14px 0; background: var(--cr); }
.prose blockquote p { margin-block: 8px; }
.prose hr { margin-block: 48px; border: 0; border-top: 4px dotted var(--ai); }
.prose table { width: 100%; border-collapse: collapse; margin-block: 28px; font-size: 14px; }
.prose th, .prose td { padding: 12px 14px; text-align: left; border: 2px solid var(--ai); overflow-wrap: anywhere; }
.prose th { background: var(--yl); font-weight: 900; }
.prose .table-scroll { width: 100%; overflow-x: auto; }
.prose pre { overflow-x: auto; padding: 20px; border-radius: 12px; background: var(--ai); color: #fff; font-size: 13px; line-height: 1.8; }
.prose code { font-size: .9em; }
.prose .callout, .prose .notice, .prose .info-box { padding: 22px 26px; margin-block: 28px; background: var(--cr); border: 3px solid var(--ai); border-radius: 18px; box-shadow: 5px 5px 0 var(--ai); }
.prose .callout > :first-child, .prose .notice > :first-child { margin-top: 0; }
.prose .callout > :last-child, .prose .notice > :last-child { margin-bottom: 0; }
.prose .feature-grid, .prose .service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-block: 30px; }
.prose .feature-grid > *, .prose .service-grid > * { padding: 20px; border: 3px solid var(--ai); border-radius: 18px; background: var(--cr); box-shadow: 5px 5px 0 var(--ai); }
.prose .feature-grid h3, .prose .service-grid h3 { font-size: 20px; margin-top: 0; padding: 0; border: 0; }
.prose .feature-grid p, .prose .service-grid p { font-size: 14px; }
.prose .process-list { counter-reset: process; list-style: none; padding-left: 0; }
.prose .process-list > li { counter-increment: process; padding: 20px 0 20px 64px; border-top: 3px dashed var(--ai); position: relative; }
.prose .process-list > li::before { content: counter(process); position: absolute; left: 0; top: 18px; display: grid; place-items: center; width: 44px; height: 44px; border: 3px solid var(--ai); border-radius: 50%; background: var(--vmd); color: #fff; font-family: var(--display); font-size: 20px; }
.prose .process-list h3 { margin-top: 0; padding: 0; border: 0; }
.prose details { border: 3px solid var(--ai); border-radius: 14px; padding: 16px 20px; margin-block: 12px; background: var(--cr); }
.prose summary { cursor: pointer; font-weight: 900; color: var(--ai); }
.prose details[open] summary { margin-bottom: 14px; }
#site-check { padding: clamp(22px, 4vw, 40px); background: var(--cr); border: 4px solid var(--ai); border-radius: 22px; box-shadow: 8px 8px 0 var(--ai); margin-block: 35px; }
#site-check label { display: flex; gap: 12px; align-items: flex-start; margin-block: 14px; font-size: 15px; }
#site-check input[type="checkbox"] { width: 22px; height: 22px; flex-shrink: 0; accent-color: var(--vmd); margin-top: 5px; }
#check-result { margin-top: 22px; padding-top: 20px; border-top: 4px dotted var(--ai); }
#check-result h3 { margin-top: 0; }

/* Article: reading comes first. Bingata only on headings, borders and boxes. */
.article-page { background: #fff; }
.article-header { max-width: 1090px; padding-top: 26px; padding-bottom: 34px; }
.article-back { font-size: 13px; margin-bottom: 26px; }
.article-category { display: flex; align-items: center; gap: 14px; }
.region-label { padding: 2px 12px; border: 2px solid var(--ai); border-radius: 99px; background: var(--yl); color: var(--ai); font-size: 12px; font-weight: 900; }
.article-header h1 { font-size: clamp(28px, 3.6vw, 46px); line-height: 1.55; max-width: 990px; margin-top: 16px; padding-bottom: 18px; border-bottom: 6px solid var(--ai); position: relative; }
.article-header h1::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 120px; height: 6px; background: var(--vm); }
.article-description { font-size: 17px; font-weight: 500; line-height: 2; max-width: 860px; color: #2b3868; margin-top: 22px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13px; margin-top: 20px; color: var(--muted); font-weight: 700; }
.article-cover { max-width: 1090px; margin-bottom: 44px; }
.article-cover img { width: 100%; max-height: 540px; object-fit: cover; border: 4px solid var(--ai); border-radius: 18px; box-shadow: 8px 8px 0 var(--ai); }
.article-cover figcaption { font-size: 12px; color: var(--muted); margin-top: 16px; }
.article-layout { max-width: 1090px; display: grid; grid-template-columns: minmax(0, 740px) 270px; gap: clamp(36px, 5vw, 70px); padding-bottom: 85px; }
.article-main { min-width: 0; font-size: 17px; line-height: 2.05; font-weight: 500; }
.article-toc { padding: 22px 26px; background: var(--cr); border: 3px solid var(--ai); border-radius: 16px; margin-bottom: 34px; font-size: 14px; }
.article-toc h2, .article-toc h3 { margin-top: 0; border: 0; padding: 0; font-size: 18px; }
.article-toc h2::after { display: none; }
.article-toc a { text-decoration: none; }
.article-toc a:hover { text-decoration: underline; }
.article-photo-credit { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.article-component { min-width: 0; max-width: 100%; margin-block: clamp(36px, 5vw, 54px); }
.article-component > .eyebrow { margin-bottom: 8px; font-size: 11px; }
.article-component h2 { font-size: clamp(22px, 2.5vw, 28px); line-height: 1.6; margin-bottom: 22px; }
.article-component-note { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.article-key-points { padding: clamp(22px, 3vw, 32px); background: var(--yl); border: 4px solid var(--ai); border-radius: 20px; box-shadow: 7px 7px 0 var(--ai); }
.article-main > .article-key-points:first-child { margin-top: 0; }
.article-key-points h2 { font-size: clamp(21px, 2.3vw, 26px); margin-bottom: 16px; }
.article-key-points__list { margin: 0; padding-left: 2em; list-style-type: decimal-leading-zero; }
.article-key-points__list li { padding: 12px 0 12px 8px; border-top: 3px dashed rgba(27, 42, 107, .5); font-size: 16px; line-height: 1.95; font-weight: 700; }
.article-key-points__list li::marker { color: var(--ai); font-family: var(--display); }
.article-key-points__list li:last-child { padding-bottom: 0; }
.article-citation { display: inline-block; margin-left: .35em; font-size: 11px; line-height: 1; vertical-align: super; }
.article-citation a { color: var(--vmd); font-weight: 900; text-decoration: none; }
.article-citation a:hover { text-decoration: underline; }
.article-body--before > :last-child, .article-body--after > :last-child { margin-bottom: 0; }
.article-body--after > h2:first-child { margin-top: 0; }
.article-visual { padding-block: 26px; border-block: 4px dotted var(--ai); }
.article-visual__content { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.article-visual__content--split { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.article-secondary-figure { min-width: 0; }
.article-secondary-figure img { width: 100%; height: auto; border: 4px solid var(--ai); border-radius: 14px; background: var(--cr); }
.article-secondary-figure figcaption { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.article-visual__reference { display: inline-block; margin-top: 5px; color: var(--vmd); font-size: 12px; font-weight: 700; }
.article-diagram-copy { min-width: 0; }
.article-diagram-steps { padding-left: 1.6em; margin: 0; }
.article-diagram-steps li { padding: 11px 0 11px 5px; border-bottom: 2px dashed var(--ai); font-size: 15px; line-height: 1.9; }
.article-diagram-steps li:first-child { padding-top: 0; }
.article-diagram-steps li::marker { color: var(--vmd); font-weight: 900; }
.article-comparison > .article-component-note { margin-top: -8px; margin-bottom: 16px; }
.article-table-scroll { width: 100%; max-width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; border: 4px solid var(--ai); border-radius: 14px; }
.article-comparison-table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: 15px; line-height: 1.85; }
.article-comparison-table caption { padding: 12px 16px; text-align: left; color: var(--muted); font-size: 13px; font-weight: 700; background: var(--cr); border-bottom: 3px solid var(--ai); }
.article-comparison-table th, .article-comparison-table td { padding: 15px 16px; vertical-align: top; text-align: left; overflow-wrap: anywhere; border-right: 2px solid var(--ai); border-bottom: 2px solid var(--ai); }
.article-comparison-table tr > :last-child { border-right: 0; }
.article-comparison-table tbody tr:last-child > * { border-bottom: 0; }
.article-comparison-table thead th { background: var(--yl); color: var(--ai); font-weight: 900; }
.article-comparison-table tbody th { min-width: 115px; background: var(--cr); font-weight: 900; }
.article-faq { padding-top: 26px; border-top: 4px dotted var(--ai); }
.article-faq__list { margin: 0; }
.article-faq__item { padding: 20px 0; border-bottom: 2px dashed var(--ai); }
.article-faq__item:first-child { padding-top: 0; }
.article-faq__item dt { display: flex; align-items: baseline; gap: 12px; color: var(--ai); font-size: 17px; font-weight: 900; line-height: 1.8; }
.article-faq__mark { flex-shrink: 0; display: inline-grid; place-items: center; width: 30px; height: 30px; border: 3px solid var(--ai); border-radius: 50%; background: var(--vmd); color: #fff; font-family: var(--display); font-size: 15px; line-height: 1; }
.article-faq__item dd { margin: 10px 0 0 42px; font-size: 16px; line-height: 2; }
.article-main > .article-sources { padding-top: 22px; border-top: 4px dotted var(--ai); }
.article-main > .article-sources h2 { font-size: 20px; margin-bottom: 16px; }
.article-source-list { list-style: none; padding: 0; margin: 0; }
.article-source-list li { display: flex; align-items: baseline; gap: 9px; margin-block: 12px; font-size: 14px; line-height: 1.9; }
.article-source-list a { color: var(--vmd); min-width: 0; }
.article-source-number { flex-shrink: 0; font-size: 12px; font-weight: 900; color: var(--muted); }
.article-editorial-info { margin-top: 34px; padding: 16px 18px; border: 3px solid var(--ai); border-radius: 14px; background: var(--cr); color: var(--muted); font-size: 13px; }
.article-editorial-info summary { cursor: pointer; width: fit-content; max-width: 100%; font-weight: 900; color: var(--ai); }
.article-editorial-info__body { max-width: 700px; padding-top: 8px; }
.article-editorial-info__body p { margin-top: 12px; line-height: 1.95; }
.article-end { border-top: 4px dotted var(--ai); margin-top: 44px; padding-top: 24px; }
.article-end p { font-size: 14px; color: var(--muted); }
.article-end .text-link { margin-top: 22px; }
.article-sidebar { align-self: start; position: sticky; top: 108px; }
.sidebar-note { background: var(--cr); padding: 24px; border: 4px solid var(--ai); border-radius: 20px; box-shadow: 6px 6px 0 var(--ai); }
.sidebar-note h2, .sidebar-business h2 { font-size: 21px; margin-top: 10px; line-height: 1.6; }
.sidebar-note p:not(.eyebrow), .sidebar-business p:not(.eyebrow) { font-size: 13px; margin-top: 14px; line-height: 1.9; }
.sidebar-note .text-link { margin-top: 20px; font-size: 13px; }
.sidebar-business { margin-top: 24px; padding: 24px; border: 4px solid var(--ai); border-radius: 20px; background: var(--ai); color: #e3e8fb; box-shadow: 6px 6px 0 var(--vm); }
.sidebar-business .eyebrow { color: var(--yl); }
.sidebar-business h2 { color: #fff; }
.sidebar-business .button { margin-top: 20px; min-height: 48px; padding: 12px 16px; font-size: 13px; gap: 12px; width: 100%; background: var(--yl); color: var(--ai); border-color: var(--yl); box-shadow: 4px 4px 0 var(--vm); }
.sidebar-business small { display: block; margin-top: 14px; font-size: 12px; line-height: 1.9; color: #cdd5f5; }
.related-section { background: var(--cr); }

/* Listings */
.page-hero--journal { background: var(--yl); }
.page-hero--journal::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22px; background: var(--sg-ai); }
.page-hero--journal { padding-bottom: 76px; }
.journal-hero__inner { display: grid; grid-template-columns: 1.2fr .85fr; gap: 60px; align-items: center; }
.journal-hero__photo { position: relative; }
.journal-hero__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border: 5px solid var(--ai); border-radius: 22px; box-shadow: 9px 9px 0 var(--ai); }
.journal-hero__photo figcaption { margin-top: 14px; font-size: 12px; font-weight: 700; text-align: right; }
.page-hero--journal .editorial-note { margin-top: 24px; color: var(--ai); font-weight: 700; }
.page-hero--journal .text-link { margin-top: 18px; }
.page-hero .fish { top: auto; bottom: 26px; z-index: 0; width: 80px; opacity: .9; animation-duration: 48s; }
.listing-tools { display: grid; grid-template-columns: 1fr 290px; gap: 40px; align-items: start; margin-bottom: 44px; }
.no-js .listing-tools { grid-template-columns: 1fr; }
.guide-search label { display: block; font-size: 13px; margin-bottom: 8px; font-weight: 900; }
.search-input { position: relative; }
.search-input input { width: 100%; border: 4px solid var(--ai); border-radius: 14px; padding: 10px 44px 10px 14px; background: #fff; color: var(--ai); font-size: 16px; min-height: 50px; }
.search-input span { position: absolute; right: 14px; top: 8px; color: var(--vmd); font-size: 24px; pointer-events: none; }
.search-status { font-size: 12px; color: var(--muted); margin-top: 7px; }
.search-empty { padding: 40px 28px; border: 4px dashed var(--ai); border-radius: 20px; background: #fff; text-align: center; }
.search-empty p { margin: 14px auto 24px; max-width: 580px; font-size: 14px; }
.listing-empty { padding-block: 30px; }
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 54px; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 6px 14px; border: 3px solid var(--ai); border-radius: 12px; background: #fff; text-decoration: none; font-size: 14px; font-weight: 900; box-shadow: 3px 3px 0 var(--ai); }
.pagination [aria-current], .pagination a:hover { background: var(--ai); color: var(--yl); }
.listing-editorial { display: flex; justify-content: space-between; align-items: center; gap: 30px; border-top: 4px dotted var(--ai); margin-top: 54px; padding-top: 24px; }
.listing-editorial p { font-size: 13px; color: var(--muted); }
.listing-editorial a { flex-shrink: 0; }
.portfolio-intro { display: flex; gap: 70px; justify-content: space-between; align-items: flex-start; margin-bottom: 44px; }
.portfolio-intro > p:last-child { font-size: 16px; font-weight: 700; }
.project-grid--portfolio { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 54px 40px; }
.project-grid--portfolio .project-card { border-color: var(--ai); box-shadow: 8px 8px 0 var(--ai); background: #fff; }
.project-grid--portfolio .project-card__info h3 { font-size: 22px; }
.portfolio-details { margin: 60px auto 0; }

/* Contact form: looks only. Field names and data-* hooks are untouched. */
.contact-layout { display: grid; grid-template-columns: .8fr 1.3fr; gap: clamp(40px, 7vw, 100px); }
.contact-intro h2 { margin-top: 14px; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.6; }
.contact-intro > p:not(.eyebrow) { margin-top: 22px; font-size: 15px; font-weight: 700; color: var(--muted); }
.contact-notice { padding: 20px 22px; margin-top: 28px; border: 4px solid var(--ai); border-radius: 18px; background: var(--pk); box-shadow: 6px 6px 0 var(--ai); }
.contact-notice h3 { font-size: 16px; }
.contact-notice p { margin-top: 10px; font-size: 14px; font-weight: 700; }
.contact-notice .text-link { margin-top: 14px; font-size: 13px; }
.contact-direct { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 24px; }
.contact-direct a { text-decoration: none; font-size: 17px; font-weight: 900; }
.contact-direct a[href^="tel:"] { font-family: var(--display); font-size: 28px; }
.contact-intro .fine-print { font-size: 12px !important; margin-top: 16px; }
.contact-form-wrap { min-width: 0; padding: clamp(20px, 3vw, 36px); border: 5px solid var(--ai); border-radius: 26px; background: #fff; box-shadow: 9px 9px 0 var(--ai); }
.form-steps { display: flex; gap: 14px; padding: 0 0 22px; margin: 0 0 26px; list-style: none; border-bottom: 4px dotted var(--ai); }
.form-steps li { display: flex; align-items: center; gap: 8px; flex: 1; font-size: 13px; font-weight: 700; color: var(--muted); }
.form-steps span { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 3px solid var(--ai); border-radius: 50%; font-family: var(--display); font-size: 14px; background: #fff; }
.form-steps [aria-current] { color: var(--ai); font-weight: 900; }
.form-steps [aria-current] span { background: var(--vmd); color: #fff; }
.form-noscript { padding: 26px; border: 3px solid var(--ai); border-radius: 16px; background: var(--cr); }
.form-noscript h2 { font-size: 22px; }
.form-noscript p { margin-block: 18px; font-size: 14px; }
.form-status { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 20px; min-height: 23px; }
.form-status.is-error { color: #8a1f12; background: #ffe6df; border-left: 8px solid var(--vmd); border-radius: 8px; padding: 14px 17px; font-size: 14px; }
.field-error { margin-top: 8px; color: #8a1f12; font-size: 13px; font-weight: 900; }
.token-retry { margin-bottom: 20px; color: var(--vmd); border: 0; padding: 0; background: transparent; font-weight: 900; text-decoration: underline; }
.form-required-note { font-size: 13px; margin-bottom: 24px; }
.required-mark { display: inline-block; margin-left: 10px; padding: 1px 8px; border-radius: 99px; background: var(--vmd); color: #fff; font-size: 11px; font-weight: 900; line-height: 1.7; vertical-align: middle; }
.form-required-note .required-mark { margin-left: 0; margin-right: 7px; }
.form-field { margin: 0 0 26px; padding: 0; border: 0; min-width: 0; }
.form-field > label, .form-field legend { display: block; font-size: 15px; font-weight: 900; margin-bottom: 8px; padding: 0; }
.form-field > input, .form-field > textarea, .form-field > select { width: 100%; padding: 12px 14px; min-height: 50px; border: 3px solid var(--ai); border-radius: 12px; background: var(--cr); color: var(--ai); font-size: 16px; line-height: 1.7; }
.form-field > textarea { resize: vertical; }
.form-field > input:focus, .form-field > textarea:focus, .form-field > select:focus { background: #fff; outline: 4px solid var(--yl); outline-offset: 0; }
.form-field [aria-invalid="true"] { border-color: var(--vmd); }
input::placeholder, textarea::placeholder { color: #6a7096; opacity: 1; }
.radio-options { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.radio-options label { display: flex; gap: 9px; align-items: center; font-size: 15px; cursor: pointer; }
.radio-options input, .form-agreement input { width: 22px; height: 22px; accent-color: var(--vmd); flex-shrink: 0; }
.form-agreement { padding: 18px 0 24px; border-top: 4px dotted var(--ai); margin-top: 10px; }
.form-agreement > label { display: flex; align-items: flex-start; gap: 11px; font-size: 14px; }
.form-agreement input { margin-top: 3px; }
.form-agreement a { color: var(--vmd); font-weight: 700; }
.consultation-form .fine-print { margin-top: 14px; text-align: center; font-size: 12px; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-confirmation h2 { font-size: 24px; }
.form-confirmation > p { margin-top: 14px; font-size: 14px; }
.confirmation-values { margin: 26px 0 0; padding: 0; border-top: 4px solid var(--ai); }
.confirmation-values dt { margin-top: 18px; font-size: 13px; font-weight: 900; color: var(--tqd); }
.confirmation-values dd { margin: 6px 0 0; padding-bottom: 18px; border-bottom: 2px dashed var(--ai); font-size: 16px; white-space: pre-wrap; overflow-wrap: anywhere; }
.confirmation-agree { font-size: 13px !important; color: var(--muted); }
.confirmation-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.confirmation-actions .button { font-size: 15px; gap: 18px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.gallery-item a { display: block; position: relative; overflow: hidden; border: 4px solid var(--ai); border-radius: 18px; box-shadow: 6px 6px 0 var(--ai); background: var(--cr); }
.gallery-item img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item a:hover img { transform: scale(1.03); }
.gallery-item figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.gallery-enlarge { position: absolute; bottom: 10px; right: 10px; display: grid; place-items: center; width: 32px; height: 32px; border: 3px solid var(--ai); border-radius: 50%; color: var(--ai); background: var(--yl); }
.gallery-back { margin-top: 45px; }
.gallery-dialog { border: 5px solid var(--ai); border-radius: 18px; background: var(--ai); padding: 40px 24px 20px; color: #fff; max-width: min(96vw, 1200px); max-height: 95vh; }
.gallery-dialog::backdrop { background: rgba(10, 16, 50, .9); }
.gallery-dialog > img { max-height: 76vh; max-width: 88vw; width: auto; height: auto; object-fit: contain; margin-inline: auto; }
.gallery-dialog > p { font-size: 14px; margin-top: 15px; text-align: center; }
.dialog-close { position: absolute; top: 2px; right: 8px; width: 44px; height: 44px; background: transparent; color: #fff; font-size: 29px; border: 0; }
.dialog-open { overflow: hidden; }

/* Effects (JS adds these only on the home page) */
.js .rv { opacity: 0; transform: translateY(36px); transition: opacity .7s, transform .7s cubic-bezier(.2, .9, .3, 1.1); }
.js .rv.on { opacity: 1; transform: none; }
#intro { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--ai); color: var(--yl); text-align: center; font-family: var(--display); font-size: min(15vw, 130px); line-height: 1.15; text-shadow: 6px 6px 0 var(--vm); clip-path: circle(150% at 50% 50%); transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1); }
#intro.out { clip-path: circle(0% at 50% 50%); }
#intro small { display: block; margin-top: 10px; font-family: var(--font); font-size: 15px; font-weight: 900; letter-spacing: .3em; color: #fff; text-shadow: none; }
.fx-ring { position: fixed; z-index: 80; width: 12px; height: 12px; margin: -6px 0 0 -6px; border: 3px solid var(--tq); border-radius: 50%; pointer-events: none; animation: ring 1s ease-out forwards; }
@keyframes ring { to { transform: scale(7); opacity: 0; } }
.fx-flower { position: fixed; z-index: 95; width: 34px; height: 34px; margin: -17px 0 0 -17px; pointer-events: none; }

@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .header-inner { gap: 14px; }
  .primary-nav a { font-size: 13px; }
  .primary-nav a:not(.header-cta) { padding: 8px 10px; }
  .ocean-hero__inner { gap: 16px; }
  .service-lines, .approach-points { gap: 26px; }
  .contact-layout { grid-template-columns: .75fr 1.3fr; gap: 40px; }
}
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; min-height: 74px; padding-block: 12px; }
  .js .nav-toggle { display: flex !important; margin-left: auto; }
  .primary-nav { width: 100%; flex-wrap: wrap; justify-content: flex-start; gap: 8px 14px; padding: 12px 0 8px; }
  .js .primary-nav { display: none; }
  .js .primary-nav.is-open { display: flex; }
  .js .primary-nav a { width: calc(50% - 8px); padding: 12px 14px; font-size: 15px; }
  .js .primary-nav .header-cta { width: 100%; justify-content: space-between; padding: 14px 20px; }
  .ocean-hero__inner { grid-template-columns: 1fr; }
  .ocean-hero__photo { width: min(78%, 420px); margin-top: 22px; }
  .fish { display: none; }
  .ocean-hero__photo::before { animation: none; }
  .entry-paths__grid, .approach-points, .service-lines { grid-template-columns: 1fr; }
  .entry-path:nth-child(1), .entry-path--guide { transform: none; }
  .approach-points { gap: 52px; }
  .service-lines { gap: 52px; }
  .project-grid, .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading--split { align-items: flex-start; }
  .guide-feature { grid-template-columns: 1fr; }
  .guide-feature__photo { min-height: 0; height: 300px; border-right: 0; border-bottom: 5px solid var(--ai); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .sidebar-business { margin-top: 0; }
  .journal-hero__inner { gap: 30px; grid-template-columns: 1fr .75fr; }
  .listing-tools { gap: 25px; grid-template-columns: 1fr 260px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; max-width: 760px; }
  .footer-top { gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .island-band, .island-band > div { animation-duration: 55s; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; --shadow: 4px 4px 0 var(--ai); }
  html { scroll-padding-top: 90px; }
  body { font-size: 15px; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .section { padding-block: 56px; }
  .ocean-hero .hero-display { font-size: clamp(42px, 12vw, 64px); }
  .ocean-hero .hero-kicker { font-size: 13px; padding: 6px 14px; border-radius: 20px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { gap: 16px 20px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading--split { flex-direction: column; gap: 16px; }
  .section-heading--split > .text-link { margin: 0; }
  .section-copy { font-size: 15px; }
  .point-number { width: 60px; height: 60px; top: -28px; font-size: 22px; }
  .service-line { min-height: 0; }
  .price-note { padding: 20px; }
  .project-grid, .guide-grid { grid-template-columns: 1fr; gap: 30px; }
  .works-section .project-card { flex-basis: 84%; }
  .guide-feature__photo { height: 240px; }
  .guide-feature__copy { padding: 40px var(--gutter) 46px; }
  .ai-strip__inner { gap: 15px 20px; grid-template-columns: 49px 1fr; }
  .ai-strip__mark { font-size: 28px; }
  .ai-strip__inner > .text-link { grid-column: 2; }
  .consultation { padding-block: 80px 110px; }
  .consultation__action { min-width: 0; width: 100%; }
  .desktop-break { display: none; }
  .site-footer { padding-top: 78px; }
  .footer-top { flex-direction: column; gap: 32px; }
  .footer-links { justify-content: space-between; gap: 24px; }
  .footer-contact { flex-direction: column; align-items: flex-start; }
  .mobile-consultation { position: fixed; bottom: 0; left: 0; right: 0; z-index: 45; display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 14px 22px calc(14px + env(safe-area-inset-bottom)); background: var(--yl); color: var(--ai); font-size: 15px; font-weight: 900; line-height: 1.6; text-decoration: none; border-top: 4px solid var(--ai); }
  .contact-page .mobile-consultation { display: none; }
  .contact-page { padding-bottom: 0; }
  .page-hero { padding: 28px 0 40px; }
  .page-hero--journal { padding-bottom: 60px; }
  .prose { font-size: 16px; line-height: 2; }
  .prose h2 { margin-top: 44px; }
  .prose th, .prose td { padding: 9px; font-size: 13px; }
  .prose .feature-grid, .prose .service-grid { grid-template-columns: 1fr; gap: 20px; }
  .prose .process-list > li { padding-left: 56px; }
  .article-header { padding-top: 16px; padding-bottom: 26px; }
  .article-header h1 { font-size: 27px; }
  .article-description { font-size: 16px; }
  .article-main { font-size: 16px; line-height: 2; }
  .article-key-points { padding: 20px 18px; }
  .article-key-points__list li { font-size: 15px; }
  .article-visual__content--split { grid-template-columns: minmax(0, 1fr); }
  .article-comparison-table th, .article-comparison-table td { padding: 12px; font-size: 14px; }
  .article-faq__item dt { font-size: 16px; }
  .article-faq__item dd { font-size: 15px; margin-left: 0; }
  .article-cover img { max-height: 300px; }
  .article-layout { gap: 35px; padding-bottom: 53px; }
  .article-toc { padding: 18px; }
  .article-sidebar { grid-template-columns: 1fr; gap: 24px; }
  .journal-hero__inner { grid-template-columns: 1fr; gap: 28px; }
  .listing-tools { grid-template-columns: 1fr; gap: 24px; margin-bottom: 30px; }
  .listing-editorial { flex-direction: column; align-items: flex-start; gap: 14px; }
  .portfolio-intro { flex-direction: column; gap: 18px; }
  .project-grid--portfolio { grid-template-columns: 1fr; gap: 38px; }
  .contact-form-wrap { border-width: 4px; box-shadow: 6px 6px 0 var(--ai); }
  .form-steps { gap: 8px; }
  .form-steps li { font-size: 12px; gap: 6px; }
  .confirmation-actions { flex-direction: column-reverse; }
  .confirmation-actions .button { width: 100%; justify-content: center; }
  .gallery-grid { gap: 22px 15px; }
  .gallery-dialog { padding: 42px 12px 16px; max-width: 96vw; }
  #intro small { font-size: 12px; }
}
@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .brand img { width: 36px; height: 36px; }
  .wordmark { font-size: 20px; }
  .button { padding: 12px 18px; font-size: 15px; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .fish, #intro { display: none; }
}
@media print {
  .site-header, .site-footer, .mobile-consultation, .article-sidebar, .consultation, .guide-search, .nav-toggle, .fish, .island-band { display: none !important; }
  body { padding: 0; background: #fff; color: #000; }
  .container { width: 100%; }
  .article-layout { display: block; }
  .section { padding: 20px 0; }
  .article-table-scroll { overflow: visible; }
  .article-comparison-table { min-width: 0; }
  .article-comparison-table thead { display: table-header-group; }
  .article-faq__item, .article-key-points__list li { break-inside: avoid; }
  h2, h3 { break-after: avoid; }
  img, figure { break-inside: avoid; }
  a { color: #000 !important; }
}
