/* ShoGunn Karate Academy
   Palette sampled from the logo: pure black, logo red, white outline, mid gray.
   Light pages for readability. Black bands (header, hero, footer) hold the logo, whose background is pure black. */
:root {
  --black: #000000;
  --graphite: #1c1c1c;
  --line-dark: #2e2e2e;
  --gray: #6b6b6b;
  --red: #f41b1b;
  --red-btn: #dc1414;
  --red-dark: #b50f0f;
  --white: #ffffff;
  --tint: #f4f3f2;
  --line: #dedcda;
  --ink: #161616;
  --radius: 4px;
  --max: 1080px;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--red-btn); color: #fff; padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 0; }

h1, h2, h3 { font-family: var(--display); line-height: 1; margin: 0 0 .5em; color: inherit; text-wrap: balance; }
h1, h2 { text-transform: uppercase; font-weight: 800; font-style: italic; letter-spacing: .005em; }
h1 { font-size: clamp(3rem, 8vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
h3 { font-size: 1.55rem; font-weight: 700; letter-spacing: .01em; }
p { margin: 0 0 1.1em; max-width: 62ch; }

/* Black bands */
.site-header, .hero, .page-head, .site-footer { background: var(--black); color: #e8e8e8; }
.hero a:not(.btn), .page-head a, .site-footer a { color: #fff; }
.hero a:not(.btn):hover, .page-head a:hover, .site-footer a:hover { color: var(--red); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 3px solid var(--red); }
.site-header .wrap { width: min(100% - 2.5rem, 1240px); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .5rem; }
.brand { display: flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; font: 800 italic 1.3rem var(--display); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand img { height: 56px; width: auto; }
.nav { display: flex; gap: .1rem; align-items: center; flex-wrap: nowrap; }
.nav a { color: #e6e6e6; text-decoration: none; padding: .45rem .65rem; white-space: nowrap; font: 700 1.1rem var(--display); letter-spacing: .04em; text-transform: uppercase; }
.nav a:hover { color: var(--red); }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--red); }
.nav a.nav-cta { background: var(--red-btn); color: #fff; margin-left: .4rem; padding-inline: 1.4rem; box-shadow: none; clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); }
.nav a.nav-cta:hover { background: #fff; color: var(--black); }

/* Buttons */
.btn { display: inline-block; font: 800 1.25rem var(--display); letter-spacing: .05em; text-transform: uppercase; padding: .8rem 1.9rem; text-decoration: none; background: var(--red-btn); color: #fff; border: 0; cursor: pointer; clip-path: polygon(6% 0, 100% 0, 94% 100%, 0 100%); }
.btn:hover { background: var(--black); color: #fff; }
.btn-ghost { background: var(--black); color: #fff; }
.btn-ghost:hover { background: var(--red-btn); color: #fff; }
.hero .btn-ghost { background: #fff; color: var(--black); }
.hero .btn-ghost:hover { background: var(--red-btn); color: #fff; }
.hero .btn:not(.btn-ghost):hover { background: #fff; color: var(--black); }
.btn-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }

/* Hero: the logo is the memorable element */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(5rem, 9vw, 7.5rem); position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; left: 0; right: 0; height: 3.5rem; clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.hero::before { bottom: 10px; background: var(--red); }
.hero::after { bottom: -1px; background: var(--white); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 4rem); align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .lead { font-size: 1.28rem; color: #d6d6d6; }
.hero-logo { width: 100%; max-width: 460px; height: auto; margin-inline: auto; }

/* Sections */
section.block { padding-block: clamp(2.8rem, 6vw, 4.8rem); }
section.block.tint { background: var(--tint); }
.page-head { padding-block: clamp(2.5rem, 6vw, 4rem); border-bottom: 3px solid var(--red); }
.page-head h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: .25em; color: #fff; }
.page-head p { color: #d0d0d0; font-size: 1.2rem; margin: 0; }

.grid { display: grid; gap: 1.4rem; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }

.panel { background: var(--tint); border: 1px solid var(--line); border-top: 4px solid var(--red); padding: 1.6rem; }
.tint .panel { background: var(--white); }
.panel h3 { margin-bottom: .35em; }
.panel p:last-child { margin-bottom: 0; }
.tag { display: inline-block; font: 700 1.05rem var(--display); letter-spacing: .06em; text-transform: uppercase; padding: .1rem .7rem; background: var(--red-btn); color: #fff; margin-bottom: .8rem; }
.tag.gray { background: var(--black); color: #fff; }

.price { font: 800 italic 3.2rem var(--display); line-height: 1; color: var(--ink); margin-bottom: .6em; }
.price small { font: 500 1rem var(--body); font-style: normal; color: var(--gray); display: block; margin-top: .3rem; }
.checks { list-style: none; padding: 0; margin: 1rem 0 0; }
.checks li { padding-left: 1.7rem; position: relative; margin-bottom: .55rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .85rem; height: .45rem; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg) translateY(-30%); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.facts { list-style: none; padding: 0; margin: 0; }
.facts li { padding: .8rem 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; }
.facts li:first-child { border-top: 1px solid var(--line); }
.facts span:first-child { color: var(--gray); }
.facts span:last-child { font-weight: 700; text-align: right; }

/* Schedule */
.session { display: grid; grid-template-columns: 11rem 1fr auto; gap: 1.2rem; align-items: center; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.session:first-of-type { border-top: 1px solid var(--line); }
.session .when { font: 800 italic 1.7rem var(--display); text-transform: uppercase; color: var(--red-dark); }
.session .where { color: #4a4a4a; font-size: 1rem; }
.session h3 { margin: 0 0 .15em; }
.note { background: var(--tint); border-left: 5px solid var(--red); padding: 1rem 1.2rem; max-width: 70ch; }
.booking-frame { width: 100%; min-height: 820px; border: 1px solid var(--line); background: #fff; }
[hidden] { display: none !important; }

/* Photos */
.gallery { columns: 300px; column-gap: 1rem; }
.gallery figure { margin: 0 0 1rem; break-inside: avoid; background: var(--white); border: 1px solid var(--line); border-bottom: 4px solid var(--red); overflow: hidden; }
.gallery img { width: 100%; height: auto; }
.gallery figcaption { padding: .7rem .9rem; font-size: .95rem; color: #4a4a4a; }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1.4rem; }
.photo-row figure { margin: 0; border-bottom: 4px solid var(--red); background: var(--tint); }
.photo-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-row figcaption { padding: .7rem .9rem; font-size: .95rem; color: #4a4a4a; }
.empty { border: 2px dashed var(--line); padding: 2rem; background: var(--tint); }

/* Footer */
.site-footer { color: #cfcfcf; padding-block: 2.8rem; font-size: 1rem; border-top: 3px solid var(--red); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-size: 1.25rem; color: #fff; margin-bottom: .6em; }
.site-footer img { height: 90px; width: auto; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35rem; }
.fine { grid-column: 1 / -1; border-top: 1px solid var(--line-dark); padding-top: 1.2rem; color: #8a8a8a; font-size: .9rem; margin: 0; max-width: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero-logo { animation: strike .7s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes strike { from { opacity: 0; transform: scale(.92) rotate(-2deg); } to { opacity: 1; transform: none; } }
}

@media (max-width: 1180px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  .nav { flex-wrap: wrap; margin-left: -.65rem; }
}
@media (max-width: 860px) {
  .hero .wrap, .split, .grid.three, .grid.two, .site-footer .wrap { grid-template-columns: 1fr; }
  .hero-logo { max-width: 320px; order: -1; }
  .session { grid-template-columns: 1fr; gap: .4rem; }
  .photo-row { grid-template-columns: 1fr; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
  .nav { margin-left: -.8rem; }
  .brand img { height: 48px; }
}
@media print { .site-header, .site-footer, .btn-row { display: none; } }
.when-line{line-height:1.7;margin:.9rem 0}
