@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Rock+Salt&display=swap');

:root {
  --ink: #24113f;
  --violet: #4b1688;
  --violet-dark: #230b45;
  --turquoise: #08a8b5;
  --magenta: #e51d69;
  --yellow: #f6b516;
  --cream: #fffaf0;
  --paper: #f7efe2;
  --white: #fff;
  --muted: #685e72;
  --line: rgba(75, 22, 136, .16);
  --shadow: 0 24px 70px rgba(36, 17, 63, .16);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

.shell { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--magenta);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ''; width: 30px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.06; }
h1 { font-size: clamp(3.2rem, 8vw, 7.4rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.3rem, 5vw, 4.8rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.8rem); }
.brush { font-family: 'Rock Salt', cursive; color: var(--magenta); font-weight: 400; letter-spacing: -.06em; }
.lead { max-width: 670px; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: white; background: var(--magenta); box-shadow: 0 14px 34px rgba(229, 29, 105, .25); }
.btn-secondary { border-color: rgba(255,255,255,.55); color: white; background: rgba(255,255,255,.09); backdrop-filter: blur(10px); }
.btn-ink { color: white; background: var(--ink); }
.btn-line { border-color: var(--violet); color: var(--violet); background: transparent; }

.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.13);
  transition: background .3s ease, color .3s ease, box-shadow .3s ease;
}
.site-nav.is-solid { color: var(--ink); background: rgba(255,250,240,.93); backdrop-filter: blur(16px); box-shadow: 0 8px 28px rgba(36,17,63,.08); }
.nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: .08em; }
.brand-bird { width: 42px; height: 42px; border-radius: 50%; background: white; padding: 4px; object-fit: cover; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.brand-name { font-size: 1.1rem; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; font-size: .93rem; font-weight: 600; }
.nav-links a[aria-current='page'] { color: var(--yellow); }
.site-nav.is-solid .nav-links a[aria-current='page'] { color: var(--magenta); }
.nav-cta { padding: 10px 18px; border-radius: 999px; background: var(--magenta); color: white !important; }
.menu-button { display: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: inherit; }
.site-nav.is-solid .menu-button { background: rgba(75,22,136,.08); }

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  color: white;
  background: var(--violet-dark);
  transition: opacity .55s ease, visibility .55s ease;
}
.loader.is-done { opacity: 0; visibility: hidden; }
.loader-mark { display: grid; place-items: center; gap: 18px; text-align: center; letter-spacing: .22em; text-transform: uppercase; font-size: .72rem; }
.loader svg { width: 245px; overflow: visible; }
.loader-photo-piece {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: bird-assemble .62s cubic-bezier(.22,.8,.2,1) forwards;
}
.loader-photo-wing { transform: translate(-90px,-55px) rotate(-9deg); animation-delay: .02s; }
.loader-photo-rear-wing { transform: translate(15px,-75px) rotate(12deg); animation-delay: .15s; }
.loader-photo-tail { transform: translate(-65px,85px) rotate(8deg); animation-delay: .27s; }
.loader-photo-body { transform: translate(35px,28px) scale(.72); animation-delay: .39s; }
.loader-photo-head { transform: translate(90px,-35px) scale(.76); animation-delay: .52s; }
.loader-photo-complete { opacity: 0; animation: bird-complete .18s .98s ease forwards; }
@keyframes bird-assemble { to { opacity: 1; transform: none; } }
@keyframes bird-complete { to { opacity: 1; } }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  align-items: end;
  color: white;
  background: var(--violet-dark);
  isolation: isolate;
}
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; opacity: .58; }
.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(25,5,48,.96) 0%, rgba(25,5,48,.72) 44%, rgba(25,5,48,.25) 75%),
    linear-gradient(0deg, rgba(25,5,48,.88), transparent 50%);
}
.hero-content { position: relative; z-index: 2; padding: 150px 0 72px; }
.hero h1 { max-width: 920px; margin-bottom: 22px; }
.hero h1 span { display: block; }
.hero .lead { color: rgba(255,255,255,.78); }
.hero-note { margin-top: 30px; display: flex; align-items: center; gap: 12px; font-size: .82rem; color: rgba(255,255,255,.66); }
.hero-note::before { content: '●'; color: var(--yellow); }
.hero-credit { position: absolute; right: 22px; bottom: 18px; z-index: 3; font-size: .67rem; color: rgba(255,255,255,.56); }
.hero-credit a { text-underline-offset: 3px; }
.hero-logo-card {
  position: absolute;
  right: max(34px, calc((100vw - var(--max)) / 2));
  bottom: 80px;
  width: min(340px, 28vw);
  border-radius: 50% 50% 18px 18px;
  padding: 12px;
  background: rgba(255,250,240,.88);
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}
.hero-logo-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: inherit; }

.marquee { overflow: hidden; padding: 15px 0; color: white; background: var(--magenta); }
.marquee-track { display: flex; width: max-content; gap: 28px; animation: marquee 26s linear infinite; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .76rem; }
.marquee-track span::after { content: '✦'; margin-left: 28px; color: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

.intro { padding: 120px 0; }
.intro-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(38px, 7vw, 90px); }
.paper-photo { position: relative; padding: 13px; background: white; border-radius: 42% 42% 18px 18px; box-shadow: var(--shadow); transform: rotate(-2deg); }
.paper-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: inherit; }
.paper-photo::after { content: ''; position: absolute; width: 86px; height: 22px; left: 50%; top: -8px; transform: translateX(-50%) rotate(3deg); background: rgba(246,181,22,.55); }
.feature-list { display: grid; gap: 16px; margin: 32px 0 0; }
.feature { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.58); }
.feature b { display: block; }
.feature-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; color: white; background: var(--violet); font-size: 1.3rem; }

.disciplines { padding: 110px 0; color: white; background: var(--violet-dark); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 46px; }
.section-head p { max-width: 480px; margin: 0; color: rgba(255,255,255,.66); }
.discipline-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.discipline-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  color: white;
  text-decoration: none;
  background: linear-gradient(150deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  transition: transform .3s ease, border-color .3s ease;
}
.discipline-card:nth-child(1), .discipline-card:nth-child(2) { grid-column: span 3; }
.discipline-card:nth-child(n+3) { grid-column: span 2; min-height: 250px; }
.discipline-card:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.55); }
.discipline-card .num { font-family: 'Rock Salt'; color: var(--yellow); }
.discipline-card p { color: rgba(255,255,255,.68); margin: 0; }

.signature { height: 360vh; position: relative; background: var(--paper); }
.signature-sticky { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 5vw; overflow: hidden; }
.signature-art { min-height: 72vh; display: grid; place-items: center; position: relative; }
.signature-art svg { width: min(720px, 52vw); overflow: visible; }
.signature-bird { filter: drop-shadow(0 14px 17px rgba(36,17,63,.18)); }
.signature-bird .bird-photo-piece { transform-box: fill-box; transform-origin: 72% 62%; }
.signature-bird .bird-photo-wing { animation: wing-breathe 1.35s ease-in-out infinite alternate; }
.signature-bird .bird-photo-rear-wing { animation: rear-wing-breathe 1.1s ease-in-out infinite alternate; }
@keyframes wing-breathe { to { transform: rotate(-2.2deg) translate(-3px,-4px); } }
@keyframes rear-wing-breathe { to { transform: rotate(2.8deg) translate(3px,-3px); } }
.signature-copy { position: relative; min-height: 330px; }
.step { position: absolute; inset: 0; opacity: 0; transform: translateY(28px); transition: opacity .35s ease, transform .35s ease; }
.step.is-active { opacity: 1; transform: none; }
.step strong { color: var(--magenta); letter-spacing: .16em; text-transform: uppercase; font-size: .74rem; }
.step p { max-width: 430px; color: var(--muted); font-size: 1.08rem; }
.signature-progress { position: absolute; bottom: 36px; right: 0; left: 0; height: 3px; background: rgba(75,22,136,.12); }
.signature-progress i { display: block; width: 0; height: 100%; background: linear-gradient(90deg,var(--turquoise),var(--magenta),var(--yellow)); }

.art-section { padding: 120px 0; }
.art-frame { overflow: hidden; border-radius: 30px; box-shadow: var(--shadow); background: white; }
.art-frame img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.art-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 22px; color: var(--muted); font-size: .8rem; }

.cta-band { padding: 96px 0; color: white; background: linear-gradient(135deg, var(--turquoise), var(--violet) 55%, var(--magenta)); }
.cta-band-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; }
.cta-band h2 { margin-bottom: 12px; }
.cta-band p { margin: 0; color: rgba(255,255,255,.78); }

.page-hero { padding: 158px 0 86px; color: white; background: radial-gradient(circle at 80% 15%, rgba(229,29,105,.45), transparent 33%), var(--violet-dark); }
.page-hero h1 { max-width: 890px; margin-bottom: 20px; }
.page-hero .lead { color: rgba(255,255,255,.72); }
.crumb { display: inline-flex; margin-bottom: 28px; font-size: .8rem; color: rgba(255,255,255,.62); text-decoration: none; }

.classes { padding: 100px 0; }
.class-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.class-card { position: relative; overflow: hidden; min-height: 330px; padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: 0 12px 36px rgba(36,17,63,.07); }
.class-card::after { content: attr(data-symbol); position: absolute; right: 14px; bottom: -30px; font-size: 8rem; opacity: .065; }
.class-card:nth-child(2) { background: #fff0f6; }
.class-card:nth-child(3) { background: #edfbfb; }
.class-card:nth-child(4) { background: #fff8dc; }
.class-card:nth-child(5) { grid-column: 1 / -1; min-height: 260px; background: #f4edff; }
.class-card p { max-width: 520px; color: var(--muted); }
.class-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 28px; list-style: none; }
.class-list li { padding: 6px 11px; border-radius: 999px; color: var(--violet); background: rgba(75,22,136,.08); font-size: .86rem; font-weight: 600; }
.class-card a { color: var(--magenta); font-weight: 700; text-underline-offset: 4px; }

.price-strip { padding: 76px 0; color: white; background: var(--violet); }
.price-strip-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 32px; }
.price-strip .eyebrow { color: var(--yellow); }
.price-strip h2 { margin: 12px 0 8px; font-size: clamp(2rem, 4vw, 3.5rem); }
.price-strip p { margin: 0; color: rgba(255,255,255,.72); }
.price-items { display: flex; gap: 14px; }
.price-items > div { min-width: 132px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: rgba(255,255,255,.08); }
.price-items b, .price-items span { display: block; }
.price-items b { color: var(--yellow); font-size: 2rem; line-height: 1; }
.price-items span { margin-top: 7px; color: rgba(255,255,255,.78); font-size: .84rem; }
.price-strip .btn-line { border-color: rgba(255,255,255,.55); color: white; }

.booking { padding: 110px 0; background: var(--paper); }
.booking-grid { display: grid; grid-template-columns: .72fr 1.28fr; align-items: start; gap: 36px; }
.booking-copy { position: sticky; top: 110px; }
.frame { overflow: hidden; border-radius: 24px; background: white; box-shadow: var(--shadow); }
.frame-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 17px; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 7px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: #e8ddeb; }
.dots i:first-child { background: var(--magenta); }
.dots i:nth-child(2) { background: var(--yellow); }
.dots i:last-child { background: var(--turquoise); }
.frame iframe { width: 100%; height: 880px; border: 0; background: white; }

.contact { padding: 110px 0; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.contact-card { padding: 34px; border-radius: 26px; background: var(--violet-dark); color: white; box-shadow: var(--shadow); }
.contact-card a { display: block; margin-top: 18px; font-size: clamp(1.2rem, 2vw, 1.7rem); text-decoration: none; }
.contact-card small { display: block; color: rgba(255,255,255,.6); }
.contact-note { padding: 26px; border-left: 4px solid var(--yellow); background: #fff8dc; }
.contact-note p:last-child { margin-bottom: 0; }

.site-footer { padding: 58px 0 90px; color: white; background: #180828; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 36px; }
.footer-grid h3 { font-family: 'Rock Salt'; color: var(--yellow); }
.footer-links { display: grid; align-content: start; gap: 10px; }
.footer-links a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-meta { margin-top: 46px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.48); font-size: .78rem; }
.floating-class { position: fixed; z-index: 45; left: 18px; bottom: 18px; padding: 13px 18px; border-radius: 999px; background: var(--yellow); color: var(--ink); text-decoration: none; font-weight: 800; box-shadow: 0 10px 30px rgba(36,17,63,.18); }

.rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.rv.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 76px 18px auto; display: none; padding: 24px; border-radius: 22px; color: var(--ink); background: var(--cream); box-shadow: var(--shadow); }
  .nav-links.is-open { display: grid; }
  .menu-button { display: grid; place-items: center; }
  .hero-logo-card { display: none; }
  .hero-content { padding-bottom: 56px; }
  .intro-grid, .booking-grid, .contact-grid, .footer-grid, .price-strip-inner { grid-template-columns: 1fr; }
  .booking-copy { position: static; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
  .signature { height: 330vh; }
  .signature-sticky { grid-template-columns: 1fr; align-content: center; gap: 12px; padding: 84px 0 38px; }
  .signature-art { min-height: 43vh; }
  .signature-art svg { width: min(92vw, 600px); }
  .signature-copy { min-height: 250px; padding-inline: 20px; }
  .signature-progress { left: 20px; right: 20px; }
  .cta-band-inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, var(--max)); }
  h1 { font-size: clamp(3rem, 16vw, 5rem); }
  h2 { font-size: clamp(2.2rem, 11vw, 3.6rem); }
  .hero-overlay { background: linear-gradient(0deg, rgba(25,5,48,.97) 0%, rgba(25,5,48,.62) 78%, rgba(25,5,48,.45)); }
  .hero-content { padding-top: 128px; }
  .hero-credit { right: 14px; bottom: 8px; max-width: 260px; text-align: right; }
  .button-row { display: grid; }
  .btn { width: 100%; }
  .intro, .disciplines, .art-section, .classes, .booking, .contact { padding-block: 82px; }
  .discipline-grid { grid-template-columns: 1fr; }
  .discipline-card, .discipline-card:nth-child(n) { grid-column: auto; min-height: 220px; }
  .class-grid { grid-template-columns: 1fr; }
  .class-card:nth-child(5) { grid-column: auto; }
  .price-items { flex-wrap: wrap; }
  .price-items > div { flex: 1 1 130px; }
  .frame iframe { height: 820px; }
  .art-caption { display: block; }
  .art-caption span { display: block; margin-top: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  .hero-media video { display: none; }
  .hero-media { background: url('../img/arte-ikiru-v1.jpg') center/cover; opacity: .55; }
}
