/*
  Rossendale Aikido Club - V3
  Standalone static site
*/

:root {
  --navy: #0b2447;
  --navy-2: #153a68;
  --blue: #164f8f;
  --gold: #e1b64f;
  --cream: #f6f4ef;
  --pale: #edf3f8;
  --ink: #142033;
  --muted: #5d6878;
  --white: #ffffff;
  --line: #dce4ec;
  --shadow: 0 18px 48px rgba(12, 37, 73, .13);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  background: var(--white);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(92%, var(--max));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(11, 36, 71, .08);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--navy);
}

.brand-mark {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand-mark.large {
  width: 76px;
  height: 76px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
  text-transform: uppercase;
}

.brand-copy strong {
  font-size: 1.15rem;
  letter-spacing: .04em;
}

.brand-copy span {
  margin-top: 6px;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: .91rem;
  font-weight: 700;
}

.site-nav > a:not(.nav-cta) {
  position: relative;
}

.site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width .2s ease;
}

.site-nav > a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--navy);
  color: white;
  padding: 12px 18px;
  border-radius: 6px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
}

/* Hero */

.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  color: white;
  background: #101e31;
}

.hero-art {
  position: absolute;
  inset: 0;
  background:
    url("rossendale-splash.webp")
    67% 42% / min(640px, 48vw) auto no-repeat;
  opacity: .9;
  filter: contrast(1.18);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 66% 48%, rgba(255,255,255,.11), transparent 30%),
    linear-gradient(90deg, rgba(9,26,46,.98) 0%, rgba(9,26,46,.88) 37%, rgba(9,26,46,.42) 67%, rgba(9,26,46,.94) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 70%, rgba(5,15,28,.32)),
    radial-gradient(circle at 50% 100%, rgba(32,78,117,.25), transparent 42%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-copy {
  max-width: 690px;
  padding: 70px 0 90px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #f1c95f;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.eyebrow.dark { color: var(--blue); }
.eyebrow.gold { color: #f1c95f; }

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  line-height: .98;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 610px;
  margin: 22px 0 0;
  color: #f7e2a7;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0,0,0,.18);
}

.button span { margin-left: 10px; }

.button-primary {
  background: #0d4b8a;
  color: white;
}

.button-outline {
  border: 1px solid rgba(255,255,255,.85);
  color: white;
}

.hero-quote {
  width: 235px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 26px;
  text-align: center;
  opacity: .82;
}

.kanji {
  color: rgba(255,255,255,.7);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-size: 4.1rem;
  line-height: .92;
}

.hero-quote blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-style: italic;
}

/* Facts */

.quick-facts {
  background: white;
  border-bottom: 1px solid var(--line);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.fact {
  min-height: 150px;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  align-content: center;
  border-right: 1px solid var(--line);
}

.fact:last-child { border-right: 0; }

.fact-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--navy);
  background: #eaf2fb;
  border-radius: 50%;
  font-size: 1.4rem;
  font-weight: 800;
}

.fact h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.fact p {
  margin: 0;
  font-size: .9rem;
}

.fact a {
  display: inline-block;
  margin-top: 6px;
  color: var(--blue);
  font-size: .84rem;
  font-weight: 800;
}

/* General */

.section {
  padding: 92px 0;
}

.section h2,
.contact h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -.025em;
}

.about {
  background:
    linear-gradient(180deg, #f9fbfd, #ffffff);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .85fr;
  gap: 72px;
  align-items: center;
}

.about-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.03rem;
}

.ueshiba-quote {
  margin: 32px 0 0;
  padding: 20px 0 20px 24px;
  border-left: 4px solid var(--gold);
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-style: italic;
}

.ueshiba-quote cite {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: .9rem;
  font-style: normal;
}

.splash-card {
  margin: 0;
  padding: 22px;
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.splash-card img {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}

/* Instructors */

.instructors-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 32%, rgba(27,78,124,.08), transparent 22%),
    linear-gradient(180deg, #eef4f8, #f9fbfc);
}

.instructors-section::after {
  content: "";
  position: absolute;
  right: -90px;
  top: 20px;
  width: 340px;
  height: 340px;
  border: 28px solid rgba(28,73,115,.06);
  border-radius: 50%;
}

.section-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 44px;
}

.section-heading.compact {
  grid-template-columns: 1fr;
  margin-bottom: 34px;
}

.section-intro {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.instructor-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.instructor-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 510px;
  overflow: hidden;
  background: white;
  border-radius: 16px;
  box-shadow: 0 15px 36px rgba(16,42,70,.09);
}

.portrait {
  overflow: hidden;
  background: #ece8e1;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform .35s ease;
}

.instructor-card:hover .portrait img {
  transform: scale(1.025);
}

.instructor-copy {
  padding: 34px 32px;
  align-self: center;
}

.role {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.instructor-copy h3 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  line-height: 1.1;
}

.rank {
  margin: 8px 0 18px;
  color: #9a6915;
  font-weight: 800;
}

.instructor-copy p:not(.role):not(.rank) {
  color: var(--muted);
  font-size: .95rem;
}

/* Affiliation panel */

.community-band {
  padding: 38px 0;
  background: white;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.25fr;
  align-items: center;
  gap: 34px;
}

.club-brand-panel,
.association-panel {
  display: flex;
  align-items: center;
  gap: 18px;
}

.club-brand-panel > div,
.association-panel > div {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.club-brand-panel strong,
.association-panel strong {
  color: var(--navy);
  font-size: 1.3rem;
  text-transform: uppercase;
}

.club-brand-panel span,
.association-panel span {
  color: var(--navy);
  text-transform: uppercase;
  font-size: .9rem;
  letter-spacing: .06em;
}

.community-grid blockquote {
  margin: 0;
  padding: 0 34px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  text-align: center;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-style: italic;
}

.association-panel img {
  width: 92px;
  height: 76px;
  object-fit: contain;
}

.association-panel a {
  margin-top: 7px;
  color: var(--blue);
  font-size: .84rem;
  font-weight: 800;
}

/* Clubs */

.affiliated {
  background: white;
}

.club-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.club-links a {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 20px;
  color: var(--navy);
  border: 1px solid var(--line);
  border-radius: 9px;
  font-weight: 800;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.club-links a:hover {
  transform: translateY(-2px);
  border-color: #9db7d0;
  box-shadow: 0 10px 22px rgba(11,36,71,.07);
}

/* Contact */

.contact {
  padding: 80px 0;
  color: white;
  background:
    linear-gradient(100deg, #081a32, #0f3765);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
}

.contact h2 {
  color: white;
}

.contact > .wrap > div:first-child > p:last-child {
  max-width: 610px;
  color: rgba(255,255,255,.8);
}

.contact-card {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 13px;
  background: rgba(255,255,255,.07);
}

.contact-card > div {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 16px;
  padding: 17px 20px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.contact-card > div:last-child {
  border-bottom: 0;
}

.contact-card span {
  color: #f1c95f;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-card a {
  color: white;
  font-weight: 800;
}

/* Footer */

.site-footer {
  padding: 36px 0;
  color: rgba(255,255,255,.76);
  background: #061326;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.6fr auto;
  gap: 36px;
  align-items: center;
}

.site-footer strong {
  color: white;
}

.site-footer p {
  margin: 4px 0 0;
  font-size: .84rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  font-size: .83rem;
}

.copyright {
  text-align: right;
}

/* Responsive */

@media (max-width: 1050px) {
  .site-nav { gap: 16px; }

  .hero-art {
    background-size: 55vw auto;
    background-position: 76% 50%;
  }

  .hero-quote {
    display: none;
  }

  .fact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .instructor-card {
    grid-template-columns: 1fr;
  }

  .portrait {
    height: 390px;
  }

  .community-grid {
    grid-template-columns: 1fr 1fr;
  }

  .community-grid blockquote {
    display: none;
  }
}

@media (max-width: 880px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    padding: 22px 4%;
    flex-direction: column;
    align-items: stretch;
    background: white;
    border-top: 1px solid var(--line);
    box-shadow: 0 15px 30px rgba(0,0,0,.08);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 7px 0;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero,
  .hero-inner {
    min-height: 570px;
  }

  .hero-art {
    opacity: .48;
    background-position: 85% 55%;
    background-size: 70vw auto;
  }

  .about-grid,
  .section-heading,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 42px;
  }

  .section-heading {
    gap: 18px;
  }

  .instructor-grid {
    grid-template-columns: 1fr;
  }

  .instructor-card {
    grid-template-columns: 40% 1fr;
    min-height: 450px;
  }

  .portrait {
    height: auto;
  }

  .community-grid {
    grid-template-columns: 1fr;
  }

  .association-panel,
  .club-brand-panel {
    justify-content: center;
  }

  .club-links {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .copyright {
    text-align: center;
  }
}

@media (max-width: 620px) {
  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .hero,
  .hero-inner {
    min-height: 610px;
  }

  .hero-art {
    background-position: 72% 65%;
    background-size: 95vw auto;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(8,25,45,.96), rgba(8,25,45,.78) 58%, rgba(8,25,45,.78));
  }

  .hero-copy {
    padding: 66px 0 95px;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.1rem);
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .fact {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 68px 0;
  }

  .instructor-card {
    grid-template-columns: 1fr;
  }

  .portrait {
    height: 410px;
  }

  .instructor-copy {
    padding: 26px 24px;
  }

  .community-grid {
    gap: 28px;
  }

  .association-panel {
    flex-direction: column;
    text-align: center;
  }

  .contact {
    padding: 64px 0;
  }

  .contact-card > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

/* V3.2 contact actions */
.contact-panel {
  display: grid;
  gap: 16px;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.contact-action {
  min-height: 104px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.contact-action:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.3);
}

.contact-action-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #f1c95f;
}

.contact-action-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.facebook-icon {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}

.contact-action > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.contact-action small {
  margin-bottom: 4px;
  color: #f1c95f;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-action strong {
  color: white;
  font-size: .88rem;
  overflow-wrap: anywhere;
}

@media (max-width: 1050px) {
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-action {
    min-height: 78px;
  }
}

@media (max-width: 880px) {
  .contact-actions {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 620px) {
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .contact-action {
    min-height: 76px;
  }
}
