/* academy-demolition-goyang — palette: primary #1E3A5F / accent #FF6B35 / Noto Sans KR */

:root {
  --primary: #1E3A5F;
  --primary-light: #2E4E7A;
  --accent: #FF6B35;
  --accent-text: #C2410C; /* darker accent tone, AA-safe for text on white */
  --ink: #1E3A5F;
  --body-text: #2A3A4A;
  --bg: #F6F8FA;
  --card-bg: #FFFFFF;
  --border: #DCE3EA;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Noto Sans KR", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-text);
  background: var(--bg);
}

h1, h2, h3 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.75em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }

p { margin: 0 0 1em; }

a {
  color: var(--accent-text);
  text-decoration-thickness: 2px;
}

a:hover, a:focus-visible { text-decoration: none; }

img { max-width: 100%; height: auto; display: block; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand {
  color: #fff;
  font-weight: 700;
  font-size: 1.15rem;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.main-nav a {
  color: #E8EEF5;
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.2rem;
}

.main-nav a:hover, .main-nav a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 2.5rem 1.25rem;
}

.hero-text { max-width: 720px; margin: 0 auto; width: 100%; }

.hero .eyebrow {
  display: inline-block;
  color: #1E3A5F;
  background: var(--accent);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.hero h1 { color: #fff; }

.hero .lead {
  color: #E8EEF5;
  font-size: 1.05rem;
  margin-bottom: 0;
}

.hero-picture {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-picture img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Content */
.content-stack {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(30, 58, 95, 0.08);
}

/* 3-way region card split */
.region-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}

.region-card {
  border: 1px solid var(--border);
  border-top: 4px solid var(--accent);
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
  background: #FBFCFD;
}

.region-card h3 {
  color: var(--accent-text);
  margin-bottom: 0.5em;
}

.region-card p {
  font-size: 0.97rem;
  margin-bottom: 0;
}

/* Checklist */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 13px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-grid picture {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.gallery-grid img { aspect-ratio: 4 / 3; object-fit: cover; }

/* Caution */
.caution-section {
  border-left: 4px solid var(--accent);
}

/* Links section */
.links-section a { font-weight: 500; }

/* CTA */
.cta-section {
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.cta-section h2 { color: #fff; }
.cta-section p { color: #E8EEF5; }

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.85rem 2rem;
  margin-top: 0.5rem;
  background: var(--accent);
  color: #1E1508;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid #fff;
}

.cta-button:hover, .cta-button:focus-visible {
  background: #fff;
  color: var(--primary);
}

/* Footer */
footer {
  background: #14263D;
  color: #E8EEF5;
  padding: 2.5rem 1.25rem 2rem;
}

footer nav {
  max-width: 1120px;
  margin: 0 auto 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

footer nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  min-height: 44px;
}

footer nav a:hover, footer nav a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

footer address {
  max-width: 1120px;
  margin: 0 auto 1rem;
  font-style: normal;
  font-size: 0.9rem;
  color: #C7D2DE;
  line-height: 1.8;
}

footer address a {
  color: var(--accent);
  font-weight: 500;
}

footer p {
  max-width: 1120px;
  margin: 0 auto;
  font-size: 0.8rem;
  color: #9AA9BB;
}

/* Breakpoints */
@media (min-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 3.5rem 2rem;
  }
  .hero-text { margin: 0; }
  .region-grid { grid-template-columns: repeat(3, 1fr); }
  .content-stack { padding: 2.5rem 2rem 3.5rem; }
}

@media (min-width: 1024px) {
  .header-inner, .hero, .content-stack { max-width: 1120px; }
  .hero { margin: 0 auto; }
  h1 { font-size: 2.35rem; }
}

@media (min-width: 1280px) {
  .header-inner, .content-stack { max-width: 1200px; }
  .hero { max-width: 1200px; }
}

.related-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 12px;
}
.related-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line, #ddd);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--paper, #fff);
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.related-card:hover,
.related-card:focus-visible {
  border-color: currentColor;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.related-card-arrow { opacity: 0.6; flex-shrink: 0; }
@media (max-width: 480px) {
  .related-cards { grid-template-columns: 1fr; }
}
