:root {
  --color-primary: #FFFFFF;
  --color-primary-dark: #F2F2F2;
  --color-secondary: rgba(255, 255, 255, .06);
  --color-accent: #B7F000;
  --color-accent-soft: rgba(183, 240, 0, .18);
  --color-text: #FFFFFF;
  --color-muted: #E0E0E0;
  --color-bg: #050505;
  --color-white: #0D0D0D;
  --color-border: rgba(255, 255, 255, .22);
  --shadow: 0 18px 48px rgba(0, 0, 0, .36);
  --radius: 8px;
  --max: 1160px;
  --page-bg: url("../images/bg-index.jpg");
}
* { box-sizing: border-box; }
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  margin: 0;
  color: var(--color-text);
  background: #050505;
  font-family: Pretendard, "Noto Sans KR", Arial, sans-serif;
  line-height: 1.65;
  padding-bottom: 0;
}
body > *,
main,
.site-header,
.site-footer {
  max-width: 100%;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .58) 46%, rgba(0, 0, 0, .34) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, .16) 0%, rgba(0, 0, 0, .38) 48%, rgba(0, 0, 0, .82) 100%),
    var(--page-bg) center / cover no-repeat;
}
body[data-page="home"] { --page-bg: url("../images/home-hero-aquascape.jpg"); }
body[data-page="about"] { --page-bg: url("../images/brand-story-hero-aquarium.jpg"); }
body[data-page="products"] { --page-bg: url("../images/bg-products.jpg"); }
body[data-page="services"] { --page-bg: url("../images/bg-services.jpg"); }
body[data-page="layout-tank"] { --page-bg: url("../images/bg-services.jpg"); }
body[data-page="preset"] { --page-bg: url("../images/bg-preset.jpg"); }
body[data-page="reform"] { --page-bg: url("../images/bg-reform.jpg"); }
body[data-page="refresh"] { --page-bg: url("../images/bg-refresh.jpg"); }
body[data-page="my-tank"] { --page-bg: url("../images/bg-my-tank.jpg"); }
body[data-page="portfolio"] { --page-bg: url("../images/bg-portfolio.jpg"); }
body[data-page="portfolio"]::before {
  background:
    linear-gradient(90deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.72) 42%, rgba(0,0,0,.44) 72%, rgba(0,0,0,.28) 100%),
    linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.34) 48%, rgba(0,0,0,.82) 100%),
    var(--page-bg) center / cover no-repeat;
}
body[data-page="portfolio"] .page-hero h1 span {
  display: block;
}
body[data-page="community"] { --page-bg: url("../images/bg-community.jpg"); }
body[data-page="consulting"] { --page-bg: url("../images/bg-consulting.jpg"); }
body[data-page="event"] { --page-bg: url("../images/bg-event.jpg"); }
body[data-page="contact"] { --page-bg: url("../images/bg-contact.jpg"); }
body[data-page="notice"] { --page-bg: url("../images/bg-community.jpg"); }
body[data-page="faq"] { --page-bg: url("../images/bg-faq.jpg"); }
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255,255,255,.08), transparent 28%);
  pointer-events: none;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { word-break: keep-all; letter-spacing: 0; }
h1 { margin: 0 0 18px; font-size: clamp(40px, 6vw, 74px); line-height: 1.08; }
h2 { margin: 0 0 14px; font-size: clamp(28px, 4vw, 44px); line-height: 1.18; }
h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.3; }
p { margin: 0 0 16px; color: var(--color-muted); }
.lead { max-width: 760px; font-size: 18px; }
.eyebrow { margin-bottom: 12px; color: var(--color-accent); font-size: 14px; font-weight: 900; text-transform: uppercase; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 22px; min-height: 92px; padding: 16px clamp(18px, 4vw, 58px); background: linear-gradient(180deg, rgba(0,0,0,.58), rgba(0,0,0,.18)); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(8px); transition: min-height .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease; }
.site-header.is-scrolled { min-height: 74px; background: rgba(0,0,0,.84); border-color: rgba(255,255,255,.16); box-shadow: 0 18px 42px rgba(0,0,0,.34); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 210px; }
.brand span:last-child { display: grid; line-height: 1.25; }
.brand strong { font-size: 22px; letter-spacing: 0; }
.brand small { color: rgba(255,255,255,.76); font-size: 12px; font-weight: 800; }
.logo-placeholder { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.82); border-radius: 50%; color: #000; background: #fff; font-size: 11px; font-weight: 900; box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.logo-placeholder.has-managed-logo { padding: 0; overflow: hidden; color: transparent; }
.logo-placeholder.has-managed-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(16px, 2vw, 28px); flex: 1; font-size: 16px; font-weight: 900; }
.site-nav a { white-space: nowrap; }
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-parent {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}
.site-nav > a,
.nav-parent {
  position: relative;
  padding: 10px 0;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.site-nav > a.nav-contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  color: #071008;
  background: var(--color-accent);
  box-shadow: 0 12px 28px rgba(183,240,0,.18);
  text-shadow: none;
}
.site-nav > a.nav-contact-cta:hover,
.site-nav > a.nav-contact-cta:focus {
  color: #000;
  background: #fff;
}
.site-nav > a.nav-contact-cta::after {
  content: none;
}
.site-nav > a::after,
.nav-parent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.site-nav > a:hover::after,
.nav-item:hover .nav-parent::after {
  transform: scaleX(1);
}
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 70;
  display: grid;
  min-width: 210px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(0,0,0,.88);
  box-shadow: 0 18px 38px rgba(0,0,0,.42);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .16s ease, transform .16s ease;
}
.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.nav-dropdown a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: var(--radius);
  color: #fff;
}
.nav-dropdown a:hover,
.nav-dropdown a:focus {
  color: #071008;
  background: var(--color-accent);
}
.has-dropdown:hover .nav-dropdown,
.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.header-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px; border-radius: 999px; color: #071008; background: var(--color-accent); border: 1px solid rgba(255,255,255,.25); font-weight: 900; white-space: nowrap; box-shadow: 0 12px 28px rgba(183,240,0,.18); }
.header-cta:hover { background: #fff; color: #000; }
.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius); background: rgba(0,0,0,.42); }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: #fff; }
.hero, .page-hero, .section { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 28px); }
.hero, .page-hero { max-width: none; padding-left: clamp(24px, 12vw, 192px); padding-right: clamp(24px, 8vw, 132px); }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, .92fr) minmax(360px, .82fr); align-items: center; gap: clamp(28px, 5vw, 64px); min-height: 760px; padding-top: clamp(150px, 15vw, 190px); }
.hero-copy { max-width: 780px; }
.hero h1,
.page-hero h1 { text-shadow: 0 12px 38px rgba(0,0,0,.62); }
.hero .lead,
.page-hero .lead { color: rgba(255,255,255,.9); text-shadow: 0 8px 22px rgba(0,0,0,.55); }
.page-hero { padding-top: clamp(150px, 15vw, 190px); padding-bottom: clamp(62px, 8vw, 96px); }
.page-hero.split, .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr); align-items: center; gap: clamp(28px, 5vw, 60px); }
.reverse > :first-child { order: 2; }
.band { max-width: none; background: rgba(0, 0, 0, .88); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); backdrop-filter: blur(4px); }
.band > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section.band.split,
.section.band.split.reverse {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.section.band.split > *,
.section.band.split.reverse > * {
  max-width: none;
  min-width: 0;
}
.section-head { margin-bottom: 28px; }
.section-cta { display: flex; justify-content: center; margin-top: 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 12px 18px; border: 1px solid transparent; border-radius: var(--radius); font-weight: 900; cursor: pointer; line-height: 1.2; }
.btn.primary { color: #071008; background: var(--color-accent); border-color: var(--color-accent); box-shadow: 0 12px 26px rgba(183,240,0,.16); }
.btn.primary:hover { color: #000; background: #fff; border-color: #fff; }
.btn.secondary { color: #fff; background: transparent; border-color: #fff; }
.btn.secondary:hover { color: #000; background: #fff; }
.btn.ghost { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); backdrop-filter: blur(8px); }
.section.band > a.btn {
  display: flex;
  width: max-content;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}
.text-link { display: inline-block; margin-top: 10px; color: #fff; font-weight: 900; text-decoration: underline; text-underline-offset: 4px; }
.trust-strip, .mini-grid, .bubble-list, .category-grid, .filter-row, .social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-strip { margin-top: 26px; }
.trust-strip span, .mini-grid span, .bubble-list span, .category-grid span { padding: 10px 13px; border: 1px solid var(--color-border); border-radius: var(--radius); background: rgba(255,255,255,.08); color: #fff; font-weight: 800; }
.mini-grid { margin: 20px 0; }
.card-grid { display: grid; gap: 18px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.five { grid-template-columns: repeat(5, 1fr); }
.info-card, .service-card, .portfolio-card, .contact-card, .faq-item, .step-list article, .price-box { display: block; padding: 22px; border: 1px solid var(--color-border); border-radius: var(--radius); background: rgba(5,5,5,.94); box-shadow: none; backdrop-filter: blur(4px); }
.info-card:hover, .service-card:hover, .portfolio-card:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(0,0,0,.38); transition: transform .18s ease, box-shadow .18s ease; }
.service-card, .portfolio-card { padding: 0 0 20px; overflow: hidden; }
.service-card h3, .service-card p, .portfolio-card h3, .portfolio-card p, .portfolio-card .text-link { margin-left: 18px; margin-right: 18px; }
.service-card h3, .portfolio-card h3 { margin-top: 16px; }
.managed-gallery-section {
  display: none;
  margin-top: 42px;
}
.managed-gallery-section:has(.managed-gallery-grid.is-visible),
.managed-gallery-section.is-visible {
  display: block;
}
.managed-gallery-grid {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.managed-gallery-grid.is-visible {
  display: grid;
}
.managed-gallery-card {
  min-width: 0;
}
.managed-gallery-media {
  min-height: 250px;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255,255,255,.08) center / cover no-repeat;
}
.managed-gallery-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}
.managed-gallery-body h3,
.managed-gallery-body p {
  margin-left: 0;
  margin-right: 0;
}
.managed-gallery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.managed-gallery-actions .btn {
  flex: 1 1 132px;
}
.category-grid { margin-bottom: 20px; }
.category-grid.large span { min-width: 130px; text-align: center; }
.image-slider {
  position: relative;
  margin-top: 28px;
  isolation: isolate;
}
.image-slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, calc((100% - 32px) / 3));
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 4px 58px 18px;
  scrollbar-color: #fff rgba(255,255,255,.12);
  scrollbar-width: thin;
}
.image-slider-track::-webkit-scrollbar { height: 8px; }
.image-slider-track::-webkit-scrollbar-track { background: rgba(255,255,255,.12); border-radius: 999px; }
.image-slider-track::-webkit-scrollbar-thumb { background: #fff; border-radius: 999px; }
.image-slide-card {
  display: grid;
  grid-template-rows: minmax(240px, 52vw) 1fr;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(5,5,5,.94);
  scroll-snap-align: start;
}
.image-slide-card:hover {
  transform: translateY(-2px);
  transition: transform .18s ease;
}
.image-slide-media {
  min-height: 240px;
  border-bottom: 1px solid var(--color-border);
  background:
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.42)),
    var(--slide-image) center / cover no-repeat;
}
.image-slide-body {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px;
}
.image-slide-body .eyebrow { margin: 0; }
.image-slide-body h3 { margin: 0; font-size: 24px; }
.image-slide-body p { margin: 0; color: var(--color-muted); }
.slider-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #fff;
  border-radius: 999px;
  color: #000;
  background: #fff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}
.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }
.slider-btn:hover { color: #fff; background: #050505; }
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.slider-dot.active {
  width: 28px;
  background: #fff;
}
.product-category-grid { align-items: stretch; }
.product-catalog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.product-category-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #fff;
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255,255,255,.06);
  font-weight: 900;
  cursor: pointer;
}
.product-category-btn.active,
.product-category-btn:hover {
  color: #000;
  background: #fff;
}
.product-subcategory-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(5,5,5,.72);
}
.product-subcategory-bar a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}
.product-subcategory-bar a.active,
.product-subcategory-bar a:hover {
  border-color: var(--color-accent);
  color: #000;
  background: var(--color-accent);
}
.product-panel { display: none; }
.product-panel.is-active { display: block; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(5,5,5,.94);
}
.product-media {
  min-height: 260px;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  border-radius: 0;
}
.product-photo {
  min-height: 260px;
  border-bottom: 1px solid var(--color-border);
  background-size: cover;
  background-position: center;
}
.product-body { padding: 20px; }
.product-tag {
  margin: 0 0 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}
.product-card dl {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 6px 10px;
  margin: 16px 0;
  font-size: 14px;
}
.product-card dt { color: #aaa; font-weight: 900; }
.product-card dd { margin: 0; color: #fff; }
.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.product-actions .btn {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  font-size: 14px;
}
.empty-product-state {
  margin-top: 20px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(5,5,5,.86);
}
.empty-product-state h2 { margin: 8px 0 12px; font-size: clamp(30px, 5vw, 54px); }
.empty-product-state p { max-width: 680px; color: var(--color-muted); }
.empty-product-state .actions { margin-top: 22px; }
.notice, .notice-list { padding: 16px 18px; border: 1px solid var(--color-border); border-left: 8px solid #fff; border-radius: var(--radius); background: rgba(5,5,5,.94); color: var(--color-text); }
.notice-list p { margin-bottom: 8px; }
.media-placeholder { position: relative; display: grid; place-items: center; min-height: 220px; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius); color: #fff; background: rgba(255,255,255,.08); }
.media-placeholder::before { content: none; }
.media-placeholder::after { content: attr(data-label); position: relative; z-index: 1; padding: 8px 12px; border: 1px solid #fff; border-radius: var(--radius); background: #050505; color: #fff; font-weight: 900; }
.media-placeholder.has-managed-image { background-size: cover; background-position: center; background-repeat: no-repeat; }
.media-placeholder.has-managed-image::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.38); }
.media-placeholder.has-managed-image::after { background: rgba(0,0,0,.74); }
.hero-media { min-height: 500px; }
.tall { min-height: 440px; }
.small { min-height: 170px; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.before-after .media-placeholder { min-height: 300px; }
.reform-consult-section {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: clamp(42px, 6vw, 84px);
  padding-top: clamp(64px, 8vw, 104px);
  padding-bottom: clamp(64px, 8vw, 104px);
}
.reform-before-after {
  gap: 18px;
}
.reform-before-after .media-placeholder {
  min-height: 320px;
}
.reform-consult-copy {
  max-width: 420px;
}
.reform-consult-copy .btn {
  margin-top: 8px;
}
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wide-card { grid-column: span 2; }
.portfolio-card.is-hidden { display: none; }
.filter-row { margin-bottom: 20px; }
.filter-btn { min-height: 38px; padding: 8px 13px; border: 1px solid var(--color-border); border-radius: var(--radius); color: #fff; background: rgba(255,255,255,.06); font-weight: 900; cursor: pointer; }
.filter-btn.active { color: #000; background: #fff; border-color: #fff; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.video-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(5,5,5,.94);
}
.video-card h3,
.video-card p {
  margin-left: 18px;
  margin-right: 18px;
}
.video-card h3 { margin-top: 16px; }
.video-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--color-border);
  background: rgba(255,255,255,.08);
}
.video-frame video {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
.video-frame.has-video video { display: block; }
.video-frame.has-video .video-placeholder { display: none; }
.video-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 260px;
  padding: 18px;
  color: #fff;
  font-weight: 900;
  text-align: center;
  background:
    linear-gradient(rgba(0,0,0,.78), rgba(0,0,0,.90)),
    var(--video-poster, url("../images/bg-portfolio.jpg")) center / cover no-repeat;
}
.step-list { display: grid; gap: 14px; }
.quote { padding: 16px 18px; border: 1px solid var(--color-border); border-left: 8px solid #fff; border-radius: var(--radius); background: rgba(5,5,5,.94); color: var(--color-text); font-weight: 800; }
.price-box { display: grid; gap: 4px; margin: 18px 0; }
.price-box strong { color: #fff; font-size: 30px; }
.price-box span { color: var(--color-muted); }
.service-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.plan-card {
  display: grid;
  gap: 8px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(5,5,5,.94);
}
.plan-price {
  display: grid;
  gap: 2px;
  margin-top: 8px;
}
.plan-price del {
  color: #888;
  font-size: 16px;
  font-weight: 900;
}
.plan-price strong {
  color: #fff;
  font-size: 30px;
  line-height: 1.15;
}
.layout-tank-grid {
  display: grid;
  gap: 24px;
}
.layout-tank-card {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(0, 1.05fr);
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(5,5,5,.94);
}
.layout-tank-image {
  display: grid;
  place-items: center;
  min-height: 420px;
  border-right: 1px solid var(--color-border);
  color: #aaa;
  background: rgba(255,255,255,.08);
  font-weight: 900;
  overflow: hidden;
}
.layout-tank-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.layout-tank-body {
  padding: clamp(22px, 4vw, 38px);
}
.spec-grid {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 9px 14px;
  margin: 24px 0;
}
.spec-grid dt {
  color: #aaa;
  font-weight: 900;
}
.spec-grid dd {
  margin: 0;
  color: #fff;
}
.layout-price-note {
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255,255,255,.08);
  font-weight: 900;
}
.layout-tank-body .product-actions {
  grid-template-columns: repeat(3, 1fr);
}
.admin-shell {
  width: min(100% - 32px, 760px);
  margin: 0 auto;
  padding: clamp(42px, 8vw, 90px) 0;
}
.admin-shell.wide {
  width: min(100% - 32px, 1180px);
}
.admin-panel,
.admin-top,
.admin-row {
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(5,5,5,.94);
}
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.admin-list {
  display: grid;
  gap: 16px;
}
.admin-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 150px;
  gap: 18px;
  align-items: start;
}
.admin-thumb,
.admin-current-image {
  display: grid;
  place-items: center;
  min-height: 150px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: #aaa;
  background: rgba(255,255,255,.08);
  font-weight: 900;
  overflow: hidden;
}
.admin-current-image {
  min-height: 260px;
  margin-bottom: 14px;
}
.admin-thumb img,
.admin-current-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-actions {
  display: grid;
  gap: 10px;
}
.admin-actions .btn,
.admin-actions form,
.admin-actions button {
  width: 100%;
}
.admin-spec-preview {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 6px 10px;
  margin: 14px 0 0;
  font-size: 14px;
}
.admin-spec-preview dt {
  color: #aaa;
  font-weight: 900;
}
.admin-spec-preview dd {
  margin: 0;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
  gap: 18px;
}
.admin-form-grid label {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  font-weight: 900;
}
.admin-spec-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 18px;
}
.admin-spec-form h2 {
  grid-column: 1 / -1;
}
.admin-form-actions {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.contact-preview { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.contact-form { display: grid; gap: 14px; }
.contact-form label { display: grid; gap: 6px; font-weight: 900; }
.check-label { display: flex !important; grid-template-columns: none; align-items: center; gap: 8px; }
.check-label input { width: auto; min-height: auto; }
input, select, textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--color-border); border-radius: var(--radius); background: #050505; color: #fff; }
input::placeholder, textarea::placeholder { color: #888; }
input[type="file"] { padding: 8px; }
textarea { resize: vertical; }
label small { color: var(--color-muted); font-weight: 500; }
.form-result { margin: 0; color: #fff; font-weight: 900; }
.contact-card { align-self: start; }
.big-phone { display: inline-block; margin: 4px 0 18px; color: #fff; font-size: 28px; font-weight: 900; }
.social-links { margin-bottom: 22px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 9px 12px; border: 1px solid #fff; border-radius: var(--radius); background: transparent; color: #fff; font-weight: 900; }
.address-card {
  display: grid;
  gap: 6px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(5,5,5,.94);
}
.address-card .eyebrow { margin-bottom: 2px; }
.address-card h3 { margin-bottom: 4px; }
.address-card p { margin-bottom: 4px; }
.address-card .btn { width: max-content; margin-top: 10px; }
.consult-board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  gap: 24px;
  align-items: start;
}
.consult-list-panel {
  display: grid;
  gap: 18px;
}
.consult-post-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(5,5,5,.94);
}
.consult-post-form label {
  display: grid;
  gap: 6px;
  font-weight: 900;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.consult-image-preview {
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: #aaa;
  background: rgba(255,255,255,.08);
  font-weight: 900;
  overflow: hidden;
}
.consult-image-preview img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
}
.consult-post-list {
  display: grid;
  gap: 16px;
}
.consult-list-head {
  padding: 18px 20px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(5,5,5,.88);
}
.consult-list-head h2 {
  margin: 6px 0 8px;
  font-size: clamp(24px, 3vw, 34px);
}
.consult-list-head p:last-child {
  margin: 0;
  color: var(--color-muted);
}
.consult-list-row {
  display: grid;
  grid-template-columns: minmax(110px, 160px) minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(5,5,5,.94);
}
.consult-list-row:not(:has(.consult-list-image)) {
  grid-template-columns: 1fr;
}
.consult-list-image {
  min-height: 130px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.06);
}
.consult-list-image img {
  width: 100%;
  height: 100%;
  min-height: 130px;
  object-fit: cover;
}
.consult-list-content h3 {
  margin: 10px 0 8px;
}
.consult-list-content p {
  margin: 0;
  color: var(--color-muted);
}

.layout-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  gap: 24px;
  align-items: start;
}

.layout-post-list {
  display: grid;
  gap: 18px;
}

.layout-post-form {
  position: sticky;
  top: 98px;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line-light);
  background: #fff;
}

.layout-post-form h2 {
  margin: 0;
}

.layout-post-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 900;
}

.layout-post-form input,
.layout-post-form textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,.16);
  background: #f8f8f6;
  color: #050505;
  padding: 12px 14px;
  font: inherit;
}

.layout-post-form input:focus,
.layout-post-form textarea:focus {
  outline: 2px solid rgba(183,240,0,.6);
  outline-offset: 2px;
}

.layout-spec-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.layout-post-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  min-height: 120px;
  place-items: center;
  border: 1px solid rgba(0,0,0,.14);
  background: #f2f2f2;
  color: #777;
  font-weight: 900;
  overflow: hidden;
}

.layout-post-preview img {
  width: 100%;
  height: 100%;
  min-height: 104px;
  object-fit: cover;
}

.layout-post-form .privacy-note,
.layout-post-form .form-result,
.layout-post-form small {
  color: #555;
}

.layout-user-media.is-empty {
  display: grid;
  place-items: center;
  color: #777;
  font-weight: 900;
}

.layout-user-card {
  display: grid;
  grid-template-columns: minmax(230px, .78fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--line-light);
  background: #fff;
  overflow: hidden;
}

.layout-user-media {
  position: relative;
  min-height: 320px;
  background: #f2f2f2;
}

.layout-user-slide {
  position: absolute;
  inset: 0;
  display: none;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.layout-user-slide.is-active {
  display: block;
}

.layout-user-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layout-user-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 50%;
  background: rgba(0,0,0,.56);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.layout-user-nav.prev { left: 12px; }
.layout-user-nav.next { right: 12px; }

.layout-user-count {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,.66);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.layout-user-body {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
}

.layout-user-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.layout-user-meta span,
.layout-user-specs dt {
  color: #5f8200;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.layout-user-body h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
}

.layout-user-content {
  margin: 0;
  color: #444;
  line-height: 1.7;
  white-space: pre-wrap;
}

.layout-user-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.layout-user-specs div {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.08);
  background: #f8f8f6;
}

.layout-user-specs dd {
  margin: 4px 0 0;
  color: #222;
  overflow-wrap: anywhere;
}

.consult-post-card {
  display: grid;
  grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(5,5,5,.94);
}
.consult-post-image {
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  color: #aaa;
  font-weight: 900;
  overflow: hidden;
}
.consult-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.consult-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  color: #aaa;
  font-size: 13px;
  font-weight: 900;
}
.admin-reply-box {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
}
.admin-reply-box strong {
  display: block;
  margin-bottom: 6px;
}
.admin-reply-form {
  display: none;
  gap: 10px;
  margin-top: 12px;
}
.admin-reply-form.is-open {
  display: grid;
}
.notice-board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 18px;
  align-items: start;
}
.notice-post-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(5,5,5,.94);
}
.notice-post-form label {
  display: grid;
  gap: 6px;
  font-weight: 900;
}
.notice-post-list {
  display: grid;
  gap: 10px;
}
.notice-list-row {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(5,5,5,.94);
}
.notice-list-row.is-empty {
  padding: 22px;
}
.notice-list-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  width: 100%;
  align-items: center;
  padding: 20px 22px;
  border: 0;
  color: #fff;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.notice-list-toggle:hover,
.notice-list-row.is-open .notice-list-toggle {
  background: rgba(255,255,255,.08);
}
.notice-list-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 900;
}
.notice-list-date {
  color: #aaa;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}
.notice-list-detail {
  padding: 22px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text);
  line-height: 1.8;
}
.notice-post-image {
  margin: 0 0 18px;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
}
.notice-post-image img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

body[data-page="notice"] .notice-list-row {
  border-color: rgba(0,0,0,.14);
  background: #fff;
  color: #050505;
}

body[data-page="notice"] .notice-list-row h3,
body[data-page="notice"] .notice-list-row p,
body[data-page="notice"] .notice-list-title,
body[data-page="notice"] .notice-list-detail,
body[data-page="notice"] .notice-post-meta,
body[data-page="notice"] .notice-post-meta span {
  color: #050505;
}

body[data-page="notice"] .notice-list-row.is-empty p,
body[data-page="notice"] .notice-list-date {
  color: rgba(0,0,0,.62);
}

body[data-page="notice"] .notice-list-toggle:hover,
body[data-page="notice"] .notice-list-row.is-open .notice-list-toggle {
  background: rgba(0,0,0,.045);
}

body[data-page="notice"] .notice-list-detail {
  border-top-color: rgba(0,0,0,.12);
}
.notice-post-card.is-pinned {
  border-color: #fff;
  box-shadow: inset 0 0 0 1px #fff;
}
.notice-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: #aaa;
  font-size: 13px;
  font-weight: 900;
}
.notice-post-meta span {
  padding: 5px 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
}
.notice-pin-label {
  color: #000 !important;
  background: #fff !important;
  border-color: #fff !important;
}
.notice-post-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}
.event-winner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 18px;
  align-items: start;
}
.event-winner-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 380px));
  gap: 24px;
  justify-content: center;
}
.event-winner-head {
  text-align: center;
}
.event-winner-head p {
  margin-left: auto;
  margin-right: auto;
}

/* Free board white card cleanup */
.free-board-layout .section-head h2,
.free-board-layout .section-head p,
.free-board-layout .free-board-card h3,
.free-board-layout .free-board-card p,
.free-board-layout .free-board-form h2,
.free-board-layout .free-board-form label,
.free-board-layout .privacy-note {
  color: var(--ink);
}
.free-board-search {
  align-items: stretch;
}
.free-board-search input {
  border: 1px solid rgba(0,0,0,.16);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(0,0,0,.08);
}
.free-board-search input::placeholder,
.free-board-form input::placeholder,
.free-board-form textarea::placeholder {
  color: rgba(0,0,0,.42);
}
.free-board-card,
.free-board-form {
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 16px 38px rgba(0,0,0,.09);
  backdrop-filter: none;
}
.free-board-card {
  min-height: 118px;
}
.free-board-meta {
  color: #5f8200;
}
.free-board-meta span {
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  background: rgba(183, 240, 0, .2);
  padding: 5px 9px;
}
.free-board-form input,
.free-board-form textarea {
  border-color: rgba(0,0,0,.18);
  background: #fff;
  color: var(--ink);
}
.free-board-layout .pagination a {
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  color: var(--ink);
}
.free-board-layout .pagination a.active {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #050505;
}
.event-winner-card {
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: var(--radius);
  background: #fff;
  color: #050505;
}
.event-winner-image {
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  min-height: 0;
  border-bottom: 1px solid rgba(0,0,0,.12);
  background: #f6f6f6;
  color: #555;
  font-weight: 900;
  overflow: hidden;
}
.event-winner-image img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
}
.event-winner-zoom {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.event-winner-zoom:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: -3px;
}
.event-winner-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.event-winner-slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.event-winner-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.event-winner-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.event-winner-slide-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 50%;
  background: rgba(0,0,0,.58);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}
.event-winner-slide-btn.prev {
  left: 10px;
}
.event-winner-slide-btn.next {
  right: 10px;
}
.event-winner-slide-count {
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,.64);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  transform: translateX(-50%);
}
.event-winner-image.is-empty {
  display: none;
}
.event-winner-body {
  padding: 16px 18px 18px;
}
.band .event-winner-body h3,
.band .event-winner-body p {
  color: #050505;
}
.event-winner-body h3 {
  margin-bottom: 6px;
  font-size: 20px;
}
.event-winner-body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}
.event-winner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: #555;
  font-size: 13px;
  font-weight: 900;
}
.event-winner-meta span {
  padding: 5px 8px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: var(--radius);
  background: rgba(0,0,0,.04);
}
.event-winner-meta .winner-rank {
  border-color: rgba(102, 150, 0, .25);
  background: rgba(183, 255, 0, .24);
  color: #416000;
}
.event-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.86);
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease;
}
.event-lightbox-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.event-lightbox-modal {
  position: relative;
  width: min(1280px, 100%);
  max-height: calc(100vh - 48px);
  display: grid;
  gap: 8px;
}
.event-lightbox-image-wrap {
  position: relative;
  display: grid;
  place-items: center;
}
.event-lightbox-modal img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 82px);
  object-fit: contain;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--radius);
  background: #111;
}
.event-lightbox-modal p {
  margin: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  opacity: .78;
}
.event-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}
.event-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(0,0,0,.58);
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}
.event-lightbox-nav.prev {
  left: 16px;
}
.event-lightbox-nav.next {
  right: 16px;
}
.event-lightbox-count {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.68);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  transform: translateX(-50%);
}

@media (max-width: 640px) {
  .event-winner-list {
    grid-template-columns: 1fr;
  }
  .event-lightbox-overlay {
    padding: 14px;
  }
}
.event-winner-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}
.event-winner-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(5,5,5,.94);
}
.event-winner-form label {
  display: grid;
  gap: 6px;
  font-weight: 900;
}
.event-image-preview {
  display: grid;
  place-items: center;
  min-height: 220px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  color: #aaa;
  background: rgba(255,255,255,.08);
  font-weight: 900;
  overflow: hidden;
}
.event-image-preview img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: cover;
}
.free-board-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.free-board-search {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.free-board-search input,
.free-board-form input,
.free-board-form textarea {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(0,0,0,.58);
  color: #fff;
  padding: 13px 14px;
  outline: none;
}
.free-board-search input:focus,
.free-board-form input:focus,
.free-board-form textarea:focus {
  border-color: var(--color-accent);
}
.free-board-list {
  display: grid;
  gap: 14px;
}
.free-board-card,
.free-board-form {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(5,5,5,.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.free-board-card {
  padding: 20px;
}
.free-board-card p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  white-space: pre-wrap;
}
.free-board-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 900;
}
.free-board-form {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 14px;
  padding: 22px;
}
.free-board-form label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}
.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.privacy-note {
  margin: 0;
  color: #f3f3f3;
  font-size: 13px;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  font-weight: 900;
}
.pagination a.active {
  background: var(--color-accent);
  color: #071008;
  border-color: var(--color-accent);
}
.faq-list { display: grid; gap: 12px; }
.faq-item { padding: 0; overflow: hidden; }
.faq-item button { display: flex; gap: 10px; width: 100%; align-items: center; padding: 18px 20px; border: 0; background: transparent; color: var(--color-text); text-align: left; font-weight: 900; cursor: pointer; }
.faq-item button strong { display: block; min-width: 0; }
.faq-category { flex: 0 0 auto; padding: 5px 8px; border: 1px solid var(--color-border); border-radius: 999px; color: var(--color-accent); font-size: 12px; font-weight: 900; }
.faq-item div { display: none; padding: 0 20px 18px; }
.faq-item.is-open div { display: block; }
.site-footer { padding: 40px clamp(16px, 4vw, 44px); color: #fff; background: rgba(0,0,0,.96); border-top: 1px solid var(--color-border); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 28px; max-width: var(--max); margin: 0 auto; }
.site-footer p { color: #e8e8e8; }
.site-footer nav { display: grid; gap: 8px; }
.site-footer a { color: #fff; }
.mobile-quick { display: none; }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: none; width: 52px; height: 52px; border: 1px solid #fff; border-radius: 50%; color: #fff; background: #000; font-size: 12px; font-weight: 900; box-shadow: var(--shadow); cursor: pointer; }
.to-top.is-visible { display: block; }
.site-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 90;
  display: grid;
  gap: 6px;
  width: min(430px, calc(100vw - 32px));
  padding: 22px 24px;
  border: 1px solid rgba(183,240,0,.55);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(0,0,0,.94);
  box-shadow: 0 28px 80px rgba(0,0,0,.62);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, calc(-50% + 18px)) scale(.98);
  transition: opacity .2s ease, transform .2s ease;
}
.site-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.site-toast strong {
  color: var(--color-accent);
  font-size: 16px;
  line-height: 1.35;
}
.site-toast span {
  color: #f4f4f4;
  font-size: 14px;
  line-height: 1.55;
}
.popup-banner-overlay {
  position: fixed;
  inset: 0;
  z-index: 85;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0,0,0,.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.popup-banner-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.popup-banner-modal {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 44px);
  overflow: auto;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 18px;
  color: #fff;
  background: rgba(0,0,0,.94);
  box-shadow: 0 34px 100px rgba(0,0,0,.72);
  transform: translateY(18px) scale(.98);
  transition: transform .18s ease;
}
.popup-banner-overlay.is-visible .popup-banner-modal {
  transform: translateY(0) scale(1);
}
.popup-banner-x {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  color: #fff;
  background: rgba(0,0,0,.72);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.popup-banner-image {
  min-height: 220px;
  background: rgba(255,255,255,.08);
}
.popup-banner-image img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}
.popup-banner-image-link {
  display: block;
}
.popup-banner-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}
.popup-banner-category {
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}
.popup-banner-body h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.12;
}
.popup-banner-body p {
  margin: 0;
  color: #e8e8e8;
}
.popup-banner-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}
@media (max-width: 1023px) {
  .site-header { min-height: 74px; padding-top: 10px; padding-bottom: 10px; background: rgba(0,0,0,.82); backdrop-filter: blur(14px); }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
  .site-nav { position: absolute; top: 74px; left: 14px; right: 14px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--color-border); border-radius: var(--radius); background: rgba(0,0,0,.96); box-shadow: var(--shadow); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 11px 12px; }
  .site-nav > a.nav-contact-cta { margin-top: 6px; width: 100%; }
  .site-nav > a::after,
  .nav-parent::after { content: none; }
  .nav-item {
    display: grid;
    align-items: stretch;
  }
  .nav-parent { min-height: auto; }
  .nav-dropdown {
    position: static;
    min-width: 0;
    margin: 0 0 6px 12px;
    padding: 4px;
    border-color: rgba(255,255,255,.16);
    background: rgba(255,255,255,.06);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .nav-dropdown::before { content: none; }
  .nav-dropdown a {
    min-height: 36px;
    padding: 8px 10px;
    color: #ddd;
    font-size: 12px;
  }
  .hero, .page-hero.split, .split, .footer-grid { grid-template-columns: 1fr; }
  .reform-consult-section { gap: 32px; }
  .reform-consult-copy { max-width: none; }
  .consult-board-layout, .consult-post-card, .consult-list-row, .notice-board-layout, .event-winner-layout, .free-board-layout, .layout-tank-card, .admin-row, .admin-form-grid, .admin-spec-form { grid-template-columns: 1fr; }
  .layout-tank-image { border-right: 0; border-bottom: 1px solid var(--color-border); }
  .admin-top { align-items: flex-start; flex-direction: column; }
  .reverse > :first-child { order: initial; }
  .card-grid.four, .card-grid.five, .portfolio-grid, .managed-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .service-list-grid, .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .image-slider-track { grid-auto-columns: minmax(260px, 44vw); }
  .card-grid.three { grid-template-columns: 1fr; }
  .contact-preview { align-items: flex-start; flex-direction: column; }
  .free-board-form { position: static; }
}
@media (max-width: 767px) {
  body { padding-bottom: 66px; }
  .brand small { display: none; }
  .hero, .page-hero, .section { padding-left: 16px; padding-right: 16px; }
  h1 { font-size: 40px; }
  .hero { min-height: auto; padding-top: 118px; }
  .page-hero { padding-top: 118px; }
  .hero-media, .tall { min-height: 320px; }
  .card-grid.four, .card-grid.five, .portfolio-grid, .managed-gallery-grid, .before-after, .video-grid, .service-list-grid, .plan-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .product-actions { grid-template-columns: 1fr; }
  .layout-tank-body .product-actions { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .admin-form-actions { flex-direction: column; }
  .admin-form-actions .btn { width: 100%; }
  .image-slider-track {
    grid-auto-columns: minmax(230px, 82vw);
    padding-left: 0;
    padding-right: 0;
  }
  .image-slide-card { min-height: 390px; }
  .image-slide-media { min-height: 220px; }
  .slider-btn {
    top: auto;
    bottom: -2px;
    width: 40px;
    height: 40px;
    font-size: 28px;
    transform: none;
  }
  .slider-btn.prev { left: 8px; }
  .slider-btn.next { right: 8px; }
  .wide-card { grid-column: span 1; }
  .actions .btn, .contact-preview .btn { width: 100%; }
  .mobile-quick { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); border-top: 1px solid var(--color-border); background: rgba(0,0,0,.96); }
  .mobile-quick a { min-height: 58px; display: flex; align-items: center; justify-content: center; padding: 0 4px; color: #fff; font-size: 12px; font-weight: 900; line-height: 1.2; text-align: center; }
  .to-top { bottom: 76px; }
  .popup-banner-overlay { padding: 14px; }
  .popup-banner-modal { max-height: calc(100vh - 94px); }
  .popup-banner-image { min-height: 180px; }
  .popup-banner-actions { grid-template-columns: 1fr; }
}

/* Image-led redesign, 2026-06-08 */
:root {
  --color-accent: #B7F000;
  --color-accent-soft: rgba(183, 240, 0, .16);
  --ink: #050505;
  --paper: #ffffff;
  --paper-soft: #f3f4f1;
  --line-dark: rgba(255,255,255,.16);
  --line-light: rgba(0,0,0,.12);
  --radius: 10px;
  --max: 1480px;
}

body {
  color: #fff;
  background: #050505;
}

body::before {
  background:
    linear-gradient(90deg, rgba(0,0,0,.68) 0%, rgba(0,0,0,.34) 48%, rgba(0,0,0,.18) 100%),
    linear-gradient(180deg, rgba(0,0,0,.12) 0%, rgba(0,0,0,.24) 46%, rgba(0,0,0,.72) 100%),
    var(--page-bg) center / cover no-repeat;
  filter: saturate(1.08) contrast(1.02);
}

body::after {
  background:
    radial-gradient(circle at 82% 18%, rgba(183,240,0,.13), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent 34%);
}

.site-header {
  min-height: 86px;
  background: linear-gradient(180deg, rgba(0,0,0,.70), rgba(0,0,0,.22));
  border-bottom-color: rgba(255,255,255,.12);
}

.site-header.is-scrolled {
  min-height: 72px;
  background: rgba(5,5,5,.90);
}

.logo-placeholder {
  border: 0;
  color: #050505;
  background: #fff;
}

.hero {
  grid-template-columns: minmax(0, .86fr) minmax(360px, .72fr);
  min-height: min(900px, 100vh);
  padding-top: clamp(112px, 11vw, 156px);
  padding-bottom: clamp(42px, 6vw, 78px);
  padding-left: clamp(14px, 4vw, 64px);
  padding-right: clamp(24px, 5vw, 84px);
}

.hero-copy {
  max-width: 680px;
}

.hero h1,
.page-hero h1 {
  max-width: 900px;
  font-size: clamp(46px, 7vw, 92px);
  letter-spacing: 0;
}

.hero .lead,
.page-hero .lead {
  max-width: 680px;
  font-size: clamp(17px, 1.5vw, 21px);
}

.hero-media {
  width: 100%;
  max-width: min(100%, 760px);
  justify-self: end;
  min-height: clamp(430px, 54vw, 660px);
  border-color: rgba(255,255,255,.34);
  border-radius: 18px;
  box-shadow: 0 28px 70px rgba(0,0,0,.42);
}

.page-hero {
  min-height: clamp(340px, 39vw, 500px);
  display: grid;
  align-content: end;
  padding-top: clamp(104px, 10vw, 146px);
  padding-bottom: clamp(32px, 5vw, 58px);
  padding-left: clamp(14px, 4vw, 64px);
  padding-right: clamp(24px, 5vw, 84px);
}

main > .section {
  width: 100%;
  max-width: none;
  margin-top: 0;
  margin-bottom: 0;
  padding: clamp(34px, 5vw, 72px) clamp(16px, 4vw, 64px);
}

main > .section:not(.band):not(.contact-preview) {
  color: var(--ink);
  background: rgba(255,255,255,.98);
  border: 0;
  border-top: 1px solid rgba(0,0,0,.06);
  border-radius: 0;
  box-shadow: none;
}

main > .section:not(.band):not(.contact-preview) > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

main > .section:not(.band):not(.contact-preview) h2,
main > .section:not(.band):not(.contact-preview) h3,
main > .section:not(.band):not(.contact-preview) strong {
  color: var(--ink);
}

main > .section:not(.band):not(.contact-preview) p,
main > .section:not(.band):not(.contact-preview) dd,
main > .section:not(.band):not(.contact-preview) dt,
main > .section:not(.band):not(.contact-preview) small {
  color: #3a3a3a;
}

main > .section:not(.band):not(.contact-preview) .eyebrow {
  color: #5f8200;
}

.band {
  width: 100%;
  max-width: none;
  color: #fff;
  background: rgba(0,0,0,.92);
  border: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.08);
  box-shadow: none;
}

.band > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section.band.split,
.section.band.split.reverse {
  max-width: none;
}

.band h2,
.band h3,
.band strong {
  color: #fff;
}

.band p {
  color: rgba(255,255,255,.78);
}

.section-head {
  max-width: 760px;
}

.section-head h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.info-card,
.service-card,
.portfolio-card,
.contact-card,
.faq-item,
.step-list article,
.price-box,
.product-card,
.empty-product-state,
.notice,
.notice-list,
.consult-post-form,
.consult-list-head,
.consult-list-row,
.layout-tank-card {
  border-color: var(--line-light);
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.band .info-card,
.band .service-card,
.band .portfolio-card,
.band .price-box {
  border-color: var(--line-dark);
  background: rgba(255,255,255,.075);
  color: #fff;
}

.info-card p,
.service-card p,
.portfolio-card p,
.product-card p,
.consult-list-row p,
.layout-tank-body p {
  color: #444;
}

.band .service-card p,
.band .portfolio-card p,
.band .price-box span {
  color: rgba(255,255,255,.78);
}

.card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-grid.five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.quick-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 150px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.quick-card:hover {
  border-color: rgba(95,130,0,.34);
  box-shadow: 0 18px 42px rgba(0,0,0,.08);
}

.quick-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border: 1px solid rgba(95,130,0,.24);
  background: rgba(183,240,0,.16);
  color: #5f8200;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.quick-card:hover .quick-icon {
  background: var(--color-accent);
  color: #071008;
  transform: translateY(-2px) scale(1.04);
}

.quick-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.quick-shortcut {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: #5f8200;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.quick-shortcut::after {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: width .2s ease;
}

.quick-card:hover .quick-shortcut::after {
  width: 30px;
}

.about-feature-card {
  display: grid;
  align-content: start;
}

.about-feature-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border: 1px solid rgba(95,130,0,.24);
  background: rgba(183,240,0,.16);
  color: #5f8200;
}

.about-feature-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-section .section-head {
  max-width: 840px;
}

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

.benefit-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 238px;
  padding: 22px;
  border: 1px solid var(--line-light);
  background: #fff;
  color: var(--ink);
  opacity: 0;
  translate: 0 22px;
  animation: benefit-card-rise .72s cubic-bezier(.2,.78,.2,1) forwards;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.benefit-card:nth-child(2) { animation-delay: .08s; }
.benefit-card:nth-child(3) { animation-delay: .16s; }
.benefit-card:nth-child(4) { animation-delay: .24s; }
.benefit-card:nth-child(5) { animation-delay: .32s; }

.benefit-card:hover {
  transform: translateY(-6px);
  border-color: rgba(95,130,0,.34);
  box-shadow: 0 18px 42px rgba(0,0,0,.08);
}

.benefit-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(95,130,0,.24);
  background: rgba(183,240,0,.16);
  color: #5f8200;
  animation: benefit-icon-float 3.8s ease-in-out infinite;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}

.benefit-card:hover .benefit-icon {
  background: var(--color-accent);
  color: #071008;
  transform: scale(1.04);
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.benefit-card p {
  margin: 0;
  color: #444;
  line-height: 1.65;
}

@keyframes benefit-card-rise {
  from {
    opacity: 0;
    translate: 0 22px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes benefit-icon-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .benefit-card,
  .benefit-icon {
    opacity: 1;
    translate: 0 0;
    transform: none;
    animation: none;
    transition: none;
  }
}

.info-card,
.service-card,
.portfolio-card,
.product-card,
.managed-gallery-card {
  overflow: hidden;
  border-radius: 0;
}

.service-card,
.portfolio-card,
.product-card,
.managed-gallery-card {
  padding-bottom: 24px;
}

.media-placeholder {
  border-color: var(--line-light);
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(0,0,0,.08), rgba(0,0,0,.02)),
    rgba(0,0,0,.05);
}

.media-placeholder::after {
  content: "";
  display: none;
}

.media-placeholder.has-managed-image::before {
  background: linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.16));
}

.small,
.product-media,
.managed-gallery-media,
.product-photo {
  min-height: clamp(240px, 26vw, 360px);
}

body[data-page="home"] .section.band .card-grid.five .service-card .media-placeholder.small.has-managed-image,
body[data-page="services"] .card-grid.five .service-card .media-placeholder.small.has-managed-image {
  min-height: clamp(280px, 23vw, 360px);
  aspect-ratio: 3 / 4;
  background-size: contain;
  background-position: center;
  background-color: #050806;
}

body[data-page="home"] .section.band .card-grid.five .service-card .media-placeholder.small.has-managed-image::before,
body[data-page="services"] .card-grid.five .service-card .media-placeholder.small.has-managed-image::before {
  background: linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.18));
}

.tall {
  min-height: clamp(420px, 48vw, 620px);
}

.image-slider-track {
  grid-auto-columns: minmax(340px, calc((100% - 48px) / 3));
  gap: 24px;
  padding-left: 0;
  padding-right: 0;
}

.image-slide-card {
  grid-template-rows: minmax(320px, 36vw) auto;
  min-height: 520px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(0,0,0,.12);
}

.image-slide-media {
  min-height: 320px;
  border-bottom: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.20)),
    var(--slide-image) center / cover no-repeat;
}

.image-slide-body h3 {
  color: var(--ink);
}

.image-slide-body p {
  color: #4b4b4b;
}

.slider-btn {
  border-color: #050505;
  color: #fff;
  background: #050505;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}

.slider-dots {
  margin-top: 18px;
}

.slider-dot {
  background: rgba(0,0,0,.20);
}

.slider-dot.is-active {
  background: var(--color-accent);
}

.product-catalog-tabs.single,
.product-subcategory-bar,
.filter-row,
.social-links {
  gap: 12px;
}

.product-category-btn,
.product-subcategory-bar a,
.filter-btn,
.social-links a {
  border-color: var(--line-light);
  color: var(--ink);
  background: #fff;
}

.product-category-btn.active,
.product-subcategory-bar a.active,
.filter-btn.active,
.filter-btn:hover,
.social-links a:hover {
  color: #071008;
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.product-grid,
.portfolio-grid,
.managed-gallery-grid {
  gap: 24px;
}

body[data-page="home"] .portfolio-grid .portfolio-card {
  padding-bottom: 12px;
}

body[data-page="home"] .portfolio-grid .portfolio-card .media-placeholder,
body[data-page="home"] .portfolio-grid .portfolio-card .managed-gallery-media {
  min-height: clamp(320px, 34vw, 480px);
  aspect-ratio: 4 / 5;
}

body[data-page="home"] .portfolio-grid .portfolio-card > h3 {
  margin-top: 10px;
}

body[data-page="home"] .portfolio-grid .portfolio-card h3,
body[data-page="home"] .portfolio-grid .portfolio-card p,
body[data-page="home"] .portfolio-grid .portfolio-card .product-tag {
  margin-left: 14px;
  margin-right: 14px;
}

body[data-page="home"] .portfolio-grid .managed-gallery-body {
  gap: 4px;
  padding: 10px 14px 12px;
}

body[data-page="home"] .portfolio-grid .managed-gallery-body h3,
body[data-page="home"] .portfolio-grid .managed-gallery-body p,
body[data-page="home"] .portfolio-grid .managed-gallery-body .product-tag {
  margin-left: 0;
  margin-right: 0;
}

body[data-page="home"] .portfolio-grid .portfolio-card h3,
body[data-page="home"] .portfolio-grid .managed-gallery-body h3 {
  font-size: clamp(19px, 1.55vw, 24px);
  line-height: 1.16;
}

body[data-page="home"] .portfolio-grid .portfolio-card p,
body[data-page="home"] .portfolio-grid .managed-gallery-body p {
  font-size: 14px;
  line-height: 1.35;
}

body[data-page="portfolio"] .portfolio-card,
body[data-page="portfolio"] .managed-gallery-card {
  padding-bottom: 0;
}

body[data-page="portfolio"] .portfolio-card .media-placeholder,
body[data-page="portfolio"] .managed-gallery-media {
  min-height: clamp(390px, 34vw, 560px);
  aspect-ratio: 4 / 5;
}

body[data-page="portfolio"] .managed-gallery-body {
  gap: 6px;
  padding: 12px 18px 16px;
}

body[data-page="portfolio"] .portfolio-card h3,
body[data-page="portfolio"] .portfolio-card p,
body[data-page="portfolio"] .portfolio-card .product-tag {
  margin-left: 18px;
  margin-right: 18px;
}

body[data-page="portfolio"] .managed-gallery-body h3,
body[data-page="portfolio"] .managed-gallery-body p,
body[data-page="portfolio"] .managed-gallery-body .product-tag {
  margin-left: 0;
  margin-right: 0;
}

body[data-page="portfolio"] .portfolio-card h3,
body[data-page="portfolio"] .managed-gallery-body h3 {
  margin-top: 0;
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 1.15;
}

body[data-page="portfolio"] .portfolio-card > h3 {
  margin-top: 14px;
}

body[data-page="portfolio"] .portfolio-card p,
body[data-page="portfolio"] .managed-gallery-body p {
  font-size: 15px;
  line-height: 1.45;
}

body[data-page="portfolio"] .managed-gallery-body .product-tag {
  font-size: 12px;
  line-height: 1.1;
}

body[data-page="portfolio"] .portfolio-card .media-placeholder,
body[data-page="portfolio"] .portfolio-card .managed-gallery-media {
  cursor: zoom-in;
}

.portfolio-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0,0,0,.88);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}

.portfolio-lightbox-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.portfolio-lightbox-modal {
  position: relative;
  display: grid;
  width: min(1120px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  background: #050505;
  box-shadow: 0 30px 90px rgba(0,0,0,.62);
}

.portfolio-lightbox-modal img {
  display: block;
  width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  background: #050505;
}

.portfolio-lightbox-caption {
  display: grid;
  gap: 4px;
  padding: 12px 16px 14px;
  border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.92);
}

.portfolio-lightbox-caption h3 {
  margin: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.25;
}

.portfolio-lightbox-caption p {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.45;
}

.portfolio-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  color: #fff;
  background: rgba(0,0,0,.7);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.layout-tank-card {
  grid-template-columns: minmax(360px, 1.12fr) minmax(0, .88fr);
  border-radius: 0;
}

.layout-tank-image {
  min-height: clamp(430px, 48vw, 620px);
  border-color: var(--line-light);
  background: #f2f2f2;
  color: transparent;
}

.layout-price-note {
  border-color: var(--line-light);
  color: var(--ink);
  background: var(--paper-soft);
}

.spec-grid dt {
  color: #777;
}

.spec-grid dd {
  color: var(--ink);
}

.contact-form,
.free-board-form {
  border: 1px solid var(--line-light);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(0,0,0,.10);
}

.contact-form label,
.consult-post-form label {
  color: var(--ink);
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.consult-post-form input,
.consult-post-form select,
.consult-post-form textarea,
.free-board-form input,
.free-board-form textarea {
  border-color: rgba(0,0,0,.18);
  color: var(--ink);
  background: #fff;
}

.contact-card {
  align-self: start;
  background: #050505;
  color: #fff;
  border-color: rgba(255,255,255,.22);
}

.contact-card h2,
.contact-card h3,
.contact-card .big-phone {
  color: #fff;
}

.contact-card p {
  color: rgba(255,255,255,.76);
}

.address-card {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}

body[data-page="contact"] .section.split {
  align-items: start;
  gap: clamp(18px, 3vw, 34px);
}

body[data-page="contact"] .contact-form {
  gap: 18px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 0;
  background: #fff;
  color: #050505;
  box-shadow: none;
}

body[data-page="contact"] .contact-form label {
  gap: 9px;
  color: #050505;
  font-size: 16px;
  font-weight: 900;
}

body[data-page="contact"] .contact-form input,
body[data-page="contact"] .contact-form select,
body[data-page="contact"] .contact-form textarea {
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(0,0,0,.22);
  border-radius: 8px;
  color: #050505;
  background: #fff;
}

body[data-page="contact"] .contact-form textarea {
  min-height: 190px;
}

body[data-page="contact"] .contact-form small,
body[data-page="contact"] .check-label {
  color: rgba(0,0,0,.66);
}

body[data-page="contact"] .contact-card {
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
  background: #fff;
  color: #050505;
  box-shadow: none;
}

body[data-page="contact"] .contact-card h2,
body[data-page="contact"] .contact-card h3,
body[data-page="contact"] .contact-card .big-phone,
body[data-page="contact"] .contact-card p,
body[data-page="contact"] .address-card h3,
body[data-page="contact"] .address-card p {
  color: #050505;
}

body[data-page="contact"] .contact-card .eyebrow {
  color: #5f8200;
}

body[data-page="contact"] .address-card {
  padding: 22px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
  background: #f6f6f3;
}

body[data-page="contact"] .address-card p {
  color: rgba(0,0,0,.66);
}

body[data-page="contact"] .social-links a {
  border-color: rgba(0,0,0,.14);
  color: #050505;
  background: #f8f8f6;
}

body[data-page="contact"] .social-links a:hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
}

.consult-board-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
}

.consult-post-form {
  position: sticky;
  top: 98px;
}

.consult-image-preview,
.consult-list-image {
  color: transparent;
  background: #f2f2f2;
}

.contact-preview {
  width: 100%;
  max-width: none;
  margin-top: 0;
  margin-bottom: 0;
  padding: clamp(34px, 5vw, 72px) clamp(16px, 4vw, 64px);
  border: 1px solid rgba(255,255,255,.18);
  background:
    linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.48)),
    var(--page-bg) center / cover no-repeat;
}

.contact-preview > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

body[data-page="home"] .contact-preview {
  background:
    linear-gradient(90deg, rgba(0,0,0,.66), rgba(0,0,0,.28) 58%, rgba(0,0,0,.16)),
    linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)),
    url("../images/contact-aquascape.jpg") center / cover no-repeat;
}

.site-footer {
  margin-top: 0;
  background: #050505;
}

@media (max-width: 1023px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media {
    justify-self: center;
    max-width: min(100%, 760px);
    min-height: 420px;
  }

  main > .section,
  .band,
  .contact-preview {
    width: 100%;
  }

  .card-grid.four,
  .card-grid.five,
  .benefit-grid,
  .portfolio-grid,
  .managed-gallery-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .layout-tank-card,
  .layout-post-layout,
  .layout-user-card,
  .consult-board-layout {
    grid-template-columns: 1fr;
  }

  .layout-post-form {
    position: static;
  }

  .layout-user-media {
    min-height: 280px;
  }

  .consult-post-form {
    position: static;
  }
}

@media (max-width: 767px) {
  .hero,
  .page-hero {
    padding-top: 112px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(40px, 12vw, 56px);
  }

  main > .section,
  .band,
  .contact-preview {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    border-left: 0;
    border-right: 0;
    padding-left: 16px;
    padding-right: 16px;
  }

  .card-grid.four,
  .card-grid.five,
  .benefit-grid,
  .portfolio-grid,
  .managed-gallery-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: auto;
  }

  .layout-spec-form-grid,
  .layout-user-specs,
  .layout-post-preview {
    grid-template-columns: 1fr;
  }

  .image-slider-track {
    grid-auto-columns: minmax(250px, 86vw);
  }

  .image-slide-card {
    min-height: 430px;
  }

  .small,
  .product-media,
  .managed-gallery-media,
  .product-photo {
    min-height: 260px;
  }
}

/* Final free board white override */
body .free-board-layout .free-board-search input,
body .free-board-layout .free-board-form input,
body .free-board-layout .free-board-form textarea {
  border-color: rgba(0,0,0,.18);
  background: #fff;
  color: var(--ink);
}
body .free-board-layout .free-board-search input::placeholder,
body .free-board-layout .free-board-form input::placeholder,
body .free-board-layout .free-board-form textarea::placeholder {
  color: rgba(0,0,0,.42);
}
body .free-board-layout .free-board-card,
body .free-board-layout .free-board-form {
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  color: var(--ink);
  box-shadow: 0 16px 38px rgba(0,0,0,.09);
  backdrop-filter: none;
}
body .free-board-layout .free-board-card h3,
body .free-board-layout .free-board-card p,
body .free-board-layout .free-board-form h2,
body .free-board-layout .free-board-form label,
body .free-board-layout .privacy-note {
  color: var(--ink);
}
body .free-board-layout .free-board-meta {
  color: #5f8200;
}
body .free-board-layout .free-board-meta span {
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  background: rgba(183, 240, 0, .2);
  padding: 5px 9px;
}
body .free-board-layout .pagination a {
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  color: var(--ink);
}
body .free-board-layout .pagination a.active {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #050505;
}

/* Preset tank page: keep service notes readable on dark service bands */
body[data-page="preset"] .section.band .step-list article {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.075);
  color: #fff;
}

body[data-page="preset"] .section.band .step-list article h3 {
  color: #fff;
}

body[data-page="preset"] .section.band .step-list article p {
  color: rgba(255,255,255,.78);
}

body[data-page="preset"] .preset-inline-cta {
  margin-top: clamp(20px, 3vw, 36px);
}

main > .section:not(.band):not(.contact-preview) .price-box span {
  color: #555;
}

body[data-page="reform"] .step-list + .notice {
  margin-top: clamp(22px, 3vw, 36px);
}

/* Home portfolio: keep images dominant and captions compact */
body[data-page="home"] .section.band .portfolio-grid {
  align-items: start;
}

body[data-page="home"] .section.band .portfolio-grid > .portfolio-card,
body[data-page="home"] .section.band .portfolio-grid > .managed-gallery-card {
  display: grid;
  grid-template-rows: minmax(360px, 1fr) auto;
  padding: 0 !important;
  background: rgba(12,12,12,.96);
}

body[data-page="home"] .section.band .portfolio-grid .media-placeholder,
body[data-page="home"] .section.band .portfolio-grid .managed-gallery-media {
  width: 100%;
  min-height: clamp(360px, 42vw, 620px) !important;
  aspect-ratio: 4 / 5 !important;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  background-size: cover;
  background-position: center;
}

body[data-page="home"] .section.band .portfolio-grid .managed-gallery-body {
  display: grid;
  align-content: start;
  gap: 3px;
  min-height: 0;
  padding: 8px 14px 10px !important;
}

body[data-page="home"] .section.band .portfolio-grid .portfolio-card > h3 {
  margin-top: 8px !important;
}

body[data-page="home"] .section.band .portfolio-grid .portfolio-card > h3,
body[data-page="home"] .section.band .portfolio-grid .portfolio-card > p {
  margin-left: 14px !important;
  margin-right: 14px !important;
}

body[data-page="home"] .section.band .portfolio-grid .portfolio-card > p {
  margin-bottom: 10px !important;
}

body[data-page="home"] .section.band .portfolio-grid .managed-gallery-body .product-tag,
body[data-page="home"] .section.band .portfolio-grid .managed-gallery-body h3,
body[data-page="home"] .section.band .portfolio-grid .managed-gallery-body p {
  margin: 0 !important;
}

body[data-page="home"] .section.band .portfolio-grid .portfolio-card h3,
body[data-page="home"] .section.band .portfolio-grid .managed-gallery-body h3 {
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.16;
}

body[data-page="home"] .section.band .portfolio-grid .portfolio-card p,
body[data-page="home"] .section.band .portfolio-grid .managed-gallery-body p {
  font-size: 13px;
  line-height: 1.3;
}

body[data-page="home"] .section.band .portfolio-grid .managed-gallery-body .product-tag {
  font-size: 11px;
  line-height: 1.15;
}

body[data-page="home"] .hero .actions {
  gap: 12px;
}

body[data-page="home"] .hero .actions .btn {
  min-width: 136px;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 10px;
  color: #071008;
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 12px 26px rgba(183,240,0,.18);
  backdrop-filter: none;
}

body[data-page="home"] .hero .actions .btn:hover,
body[data-page="home"] .hero .actions .btn:focus {
  color: #000;
  background: #fff;
  border-color: #fff;
}

body[data-page="home"] .hero {
  gap: 0;
  overflow: hidden;
}

body[data-page="home"] .hero-copy {
  position: relative;
  z-index: 2;
}

body[data-page="home"] .hero-media {
  position: relative;
  z-index: 1;
  max-width: min(100%, 840px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background-color: transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.1) 10%, #000 34%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.1) 10%, #000 34%, #000 100%);
}

body[data-page="home"] .hero-media.has-managed-image::before {
  background:
    linear-gradient(90deg, rgba(5,5,5,.72) 0%, rgba(5,5,5,.38) 22%, rgba(5,5,5,.12) 52%, rgba(5,5,5,.34) 100%),
    linear-gradient(180deg, rgba(5,5,5,.18) 0%, rgba(5,5,5,.04) 42%, rgba(5,5,5,.76) 100%);
}

body[data-page="home"] .hero-media.has-managed-image::after {
  content: none;
}

body[data-page="about"] .page-hero.split {
  gap: 0;
  overflow: hidden;
}

body[data-page="about"] .page-hero.split > div:first-child {
  position: relative;
  z-index: 2;
}

body[data-page="about"] .page-hero .hero-media {
  position: relative;
  z-index: 1;
  max-width: min(100%, 840px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background-color: transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.1) 10%, #000 34%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.1) 10%, #000 34%, #000 100%);
}

body[data-page="about"] .page-hero .hero-media.has-managed-image::before {
  background:
    linear-gradient(90deg, rgba(5,5,5,.72) 0%, rgba(5,5,5,.36) 24%, rgba(5,5,5,.1) 54%, rgba(5,5,5,.28) 100%),
    linear-gradient(180deg, rgba(5,5,5,.16) 0%, rgba(5,5,5,.04) 42%, rgba(5,5,5,.72) 100%);
}

body[data-page="about"] .page-hero .hero-media.has-managed-image::after {
  content: none;
}

body[data-page="home"] .home-about-section {
  grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  overflow: hidden;
}

body[data-page="home"] .home-about-section .media-placeholder {
  width: 100%;
  max-width: 100%;
  min-height: clamp(300px, 34vw, 480px);
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
}

body[data-page="home"] .home-about-section > div:last-child {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

body[data-page="home"] main > .section.split:not(.home-before-after-section) {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
  padding-left: clamp(24px, 5vw, 76px);
  padding-right: clamp(24px, 5vw, 76px);
  overflow: hidden;
}

body[data-page="home"] main > .section.split:not(.home-before-after-section) > * {
  min-width: 0;
}

body[data-page="home"] main > .section.split:not(.home-before-after-section) > div:not(.media-placeholder):not(.before-after) {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

body[data-page="home"] main > .section.split:not(.home-before-after-section) .media-placeholder {
  width: 100%;
  max-width: min(100%, 760px);
  min-height: clamp(300px, 34vw, 500px);
  aspect-ratio: 4 / 3;
  justify-self: stretch;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
}

body[data-page="home"] .fish-counseling-section .btn {
  min-width: 156px;
  color: #071008;
  background: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 12px 26px rgba(183,240,0,.18);
}

body[data-page="home"] .fish-counseling-section .btn:hover,
body[data-page="home"] .fish-counseling-section .btn:focus {
  color: #000;
  background: #fff;
  border-color: #fff;
}

@media (max-width: 767px) {
  body[data-page="home"] .home-about-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body[data-page="home"] .home-about-section .media-placeholder {
    min-height: 260px;
    aspect-ratio: 4 / 3;
  }

  body[data-page="home"] main > .section.split:not(.home-before-after-section) {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  body[data-page="home"] main > .section.split:not(.home-before-after-section) .media-placeholder {
    min-height: 260px;
    aspect-ratio: 4 / 3;
  }

  body[data-page="home"] .home-before-after-section {
    gap: 26px;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  body[data-page="home"] .home-before-after-section .btn {
    margin-top: 8px;
    margin-bottom: 2px;
  }

  body[data-page="home"] .home-before-after-section .before-after {
    gap: 14px;
    width: 100%;
  }

  body[data-page="home"] .home-before-after-section .before-after .media-placeholder {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 10px;
  }

  body[data-page="home"] .section.band .portfolio-grid > .portfolio-card,
  body[data-page="home"] .section.band .portfolio-grid > .managed-gallery-card {
    grid-template-rows: minmax(360px, auto) auto;
  }

  body[data-page="home"] .section.band .portfolio-grid .media-placeholder,
  body[data-page="home"] .section.band .portfolio-grid .managed-gallery-media {
    min-height: clamp(390px, 118vw, 560px) !important;
  }

  body[data-page="home"] .section.band .portfolio-grid .managed-gallery-body {
    padding: 7px 13px 9px !important;
  }
}
