/* One Story static clone — theme matches Wix site colors */
:root {
  --color-1: rgb(255, 255, 255);
  --color-11: rgb(255, 255, 255);
  --color-12: rgb(232, 230, 230);
  --color-14: rgb(153, 153, 151);
  --color-15: rgb(65, 65, 65);
  --color-18: rgb(239, 122, 0);
  --color-36: rgb(255, 255, 255);
  --color-37: rgb(65, 65, 65);
  --font-menu: normal normal normal 16px/1.4em "din-next-w01-light", sans-serif;
  --font-heading-lg: normal normal normal clamp(2.25rem, 6vw, 5rem) / 1.15 "adobe-caslon-w01-smbd", serif;
  --font-heading-md: normal normal normal clamp(1.75rem, 4vw, 2.5rem) / 1.3 "adobe-caslon-w01-smbd", serif;
  --font-heading-sm: normal normal normal 1.25rem / 1.35 "adobe-caslon-w01-smbd", serif;
  --font-body-caslon: normal normal normal 15px/1.65 "adobe-caslon-w01-smbd", serif;
  --font-body-ja: normal normal normal 15px/1.75 matisse, "MS Mincho", "Hiragino Mincho ProN", serif;
  --font-body-ja-italic: italic normal normal 15px/1.75 matisse, "MS Mincho", "Hiragino Mincho ProN", serif;
  --maxw: 980px;
  --header-pad: 24px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-11);
  color: var(--color-15);
  font: var(--font-body-ja);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

a:hover {
  color: var(--color-18);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 12px 20px;
  background: #fff;
  color: var(--color-18);
}

.skip-link:focus {
  left: var(--header-pad);
  top: 8px;
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--header-pad);
}

/* —— Header —— */
.site-header {
  background: var(--color-11);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(65, 65, 65, 0.12);
}

.header-top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px 0 12px;
  gap: 12px;
}

.header-top__spacer {
  min-width: 0;
}

.site-logo {
  justify-self: center;
  grid-column: 2;
  line-height: 0;
}

.header-top .cart-link {
  justify-self: end;
  grid-column: 3;
}

.site-logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 56px;
  object-fit: contain;
}

.cart-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--color-18);
  flex-shrink: 0;
}

.cart-link:hover {
  opacity: 0.85;
  color: var(--color-18);
}

.nav-line {
  border: 0;
  border-top: 1px solid var(--color-37);
  margin: 0;
  opacity: 0.35;
}

/* Desktop nav */
.site-nav {
  font: var(--font-menu);
}

.nav-toggle {
  display: none;
  width: 100%;
  padding: 12px 0;
  font: var(--font-menu);
  color: var(--color-15);
  background: none;
  border: 0;
  border-top: 1px solid rgba(65, 65, 65, 0.15);
  cursor: pointer;
  text-align: center;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 10px 0 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 8px;
}

.nav-list > li > a,
.nav-list > li > .nav-parent {
  display: inline-block;
  padding: 8px 10px;
  color: var(--color-15);
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.nav-list > li > a:hover,
.nav-list > li > .nav-parent:hover {
  color: var(--color-18);
}

.nav-list > li > a.is-active {
  font-weight: 600;
  color: var(--color-15);
}

/* Dropdown */
.nav-item--dropdown {
  position: relative;
}

.nav-parent {
  cursor: default;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  padding: 8px 10px;
}

.submenu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 220px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-12);
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
}

.nav-item--dropdown:hover .submenu,
.nav-item--dropdown.is-open .submenu {
  opacity: 1;
  visibility: visible;
}

.submenu a {
  display: block;
  padding: 10px 18px;
  font: var(--font-body-caslon);
  font-size: 14px;
  color: var(--color-15);
}

.submenu a:hover {
  color: var(--color-18);
  background: rgba(239, 122, 0, 0.06);
}

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

  .nav-list {
    display: none;
    flex-direction: column;
    padding-bottom: 16px;
  }

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

  .submenu {
    position: static;
    transform: none;
    box-shadow: none;
    border: 0;
    background: rgba(65, 65, 65, 0.04);
    opacity: 1;
    visibility: visible;
    display: none;
    margin-top: 4px;
  }

  .nav-item--dropdown.is-open .submenu {
    display: block;
  }

  .nav-item--dropdown:hover .submenu {
    display: none;
  }

  .nav-item--dropdown.is-open .submenu {
    display: block;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  width: 100%;
  line-height: 0;
}

.hero__photo {
  display: block;
  width: 100%;
  max-height: min(85vh, 900px);
  object-fit: cover;
  object-position: center center;
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: normal;
  pointer-events: none;
  z-index: 1;
}

.hero__content > * {
  pointer-events: auto;
}

.hero .section--tight {
  padding: clamp(20px, 5vw, 48px);
}

.hero .tagline-img {
  filter: brightness(0) invert(1) drop-shadow(0 0 1px #000) drop-shadow(0 0 2px #000)
    drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.hero .tagline-title {
  font: var(--font-body-ja-italic);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: normal;
  text-align: center;
  max-width: 640px;
  margin: 10px 0 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  paint-order: stroke fill;
  -webkit-text-stroke: 1.5px #000;
  text-shadow:
    0 0 1px #000,
    0 0 2px rgba(0, 0, 0, 0.85);
  opacity: 0;
  transform: translateY(clamp(-1.75rem, -5vh, -3.5rem));
  will-change: transform, opacity;
}

/* —— Sections —— */
.section {
  padding: 48px 0 56px;
}

.section--tight {
  padding-top: 32px;
  padding-bottom: 40px;
}

.tagline-img {
  display: block;
  margin: 0 auto 8px;
  max-width: min(100%, 720px);
  height: auto;
  opacity: 0;
  transform: translateY(clamp(-2rem, -6vh, -4.5rem));
  will-change: transform, opacity;
}

.section--tight.is-in-view .tagline-img {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 3s cubic-bezier(0.22, 1, 0.36, 1),
    transform 3s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: auto;
}

.section--tight.is-in-view .tagline-title {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 3s cubic-bezier(0.22, 1, 0.36, 1) 0.7s,
    transform 3s cubic-bezier(0.22, 1, 0.36, 1) 0.7s;
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .tagline-img {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  .section--tight.is-in-view .tagline-img {
    transition: none;
  }

  .hero .tagline-title {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  .section--tight.is-in-view .tagline-title {
    transition: none;
  }

  .hero .tagline-img {
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
  }
}

@media (scripting: none) {
  .tagline-img {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  .hero .tagline-title {
    opacity: 1;
    transform: none;
    will-change: auto;
  }

  .hero .tagline-img {
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.25));
  }
}

.section-label-img {
  display: block;
  margin: 0 auto 28px;
  max-width: 280px;
}

.section h2,
.section h3 {
  font: var(--font-heading-md);
  text-align: center;
  color: var(--color-15);
  margin: 0 0 20px;
}

.hero .hero__content h3.tagline-title {
  font: var(--font-body-ja-italic);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  font-weight: normal;
  color: rgba(255, 255, 255, 0.88);
}

.section h4,
.section h5 {
  font: var(--font-heading-sm);
  margin: 28px 0 12px;
  color: var(--color-15);
}

.section h5 {
  font-size: 1.05rem;
}

.lead {
  font: var(--font-body-ja-italic);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.prose {
  max-width: 720px;
  margin: 0 auto;
}

.prose p {
  margin: 0 0 1.1em;
  font: var(--font-body-ja);
  line-height: 1.85;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
  align-items: start;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-visual {
  position: relative;
  text-align: center;
}

.about-visual .leaf {
  max-width: 140px;
  margin-bottom: 12px;
}

.about-visual .portrait {
  border-radius: 2px;
}

.read-more {
  display: inline-block;
  margin-top: 12px;
  font: var(--font-body-caslon);
  font-size: 14px;
  color: var(--color-18);
  letter-spacing: 0.04em;
}

.read-more:hover {
  text-decoration: underline;
}

.two-col-support {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .two-col-support {
    grid-template-columns: 1fr;
  }
}

.seminar-block {
  margin-bottom: 36px;
}

.seminar-block:last-child {
  margin-bottom: 0;
}

.leaf-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin: 32px 0;
}

.leaf-row img {
  max-width: 120px;
}

.school-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  font: var(--font-body-ja);
  line-height: 1.9;
}

.school-read-wrap {
  text-align: center;
  margin: 8px 0 0;
}

/* Events */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 28px;
}

.event-card {
  background: var(--color-1);
  border: 1px solid var(--color-12);
  padding: 0 0 20px;
  display: flex;
  flex-direction: column;
}

.event-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--color-12);
  display: block;
  line-height: 0;
  color: inherit;
}

.event-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-card__title a {
  color: inherit;
  text-decoration: none;
}

.event-card__title a:hover {
  color: var(--color-18);
}

.event-card__body {
  padding: 16px 18px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.event-card__title {
  font: var(--font-body-ja);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 10px;
  color: var(--color-15);
}

.event-card__meta {
  font: var(--font-body-ja);
  font-size: 13px;
  color: var(--color-14);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  font: var(--font-menu);
  font-size: 13px;
  border: 1px solid var(--color-15);
  background: transparent;
  color: var(--color-15);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  box-sizing: border-box;
}

.btn:hover {
  background: var(--color-15);
  color: #fff;
}

.btn--primary {
  background: var(--color-15);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-18);
  border-color: var(--color-18);
  color: #fff;
}

/* Shop */
.shop-intro-img {
  display: block;
  margin: 0 auto 28px;
  max-width: 260px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 720px;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  text-align: center;
}

.product-quick {
  font: var(--font-menu);
  font-size: 12px;
  color: var(--color-14);
  margin: 0 0 8px;
  letter-spacing: 0.04em;
}

.product-card__img {
  background: var(--color-12);
  margin-bottom: 12px;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__img img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
}

.product-card__name {
  font: var(--font-body-ja);
  font-size: 14px;
  margin: 0 0 8px;
  line-height: 1.5;
}

.stock {
  font: var(--font-menu);
  font-size: 12px;
  color: var(--color-14);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 24px;
}

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

.contact-photo {
  border-radius: 2px;
}

.contact-intro {
  text-align: center;
  margin-bottom: 20px;
  font: var(--font-body-ja);
  line-height: 1.85;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font: var(--font-body-caslon);
  font-size: 13px;
  margin-bottom: 6px;
  color: var(--color-15);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--color-12);
  font: var(--font-body-ja);
  font-size: 15px;
  color: var(--color-15);
  background: #fff;
  border-radius: 0;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  margin-top: 8px;
}

.form-submit .btn {
  min-width: 160px;
}

.form-done {
  display: none;
  padding: 16px;
  background: rgba(99, 208, 143, 0.15);
  color: var(--color-15);
  margin-top: 16px;
  font: var(--font-body-ja);
}

.form-done.is-visible {
  display: block;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.social-row a {
  font: var(--font-menu);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.site-footer {
  padding: 32px var(--header-pad) 48px;
  text-align: center;
  font: var(--font-body-caslon);
  font-size: 13px;
  color: var(--color-14);
  border-top: 1px solid var(--color-12);
}

.site-footer a {
  color: var(--color-14);
  text-decoration: underline;
}

.site-footer a:hover {
  color: var(--color-18);
}
