:root {
  --ink: #3d3834;
  --muted: #766e68;
  --paper: #ede0d4;
  --soft: #f5eee7;
  --accent: #8d6f62;
  --accent-dark: #5d463d;
  --line: #d7c8ba;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
}

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

a {
  color: inherit;
}

.site-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  min-height: 421px;
  padding: 36px clamp(18px, 4vw, 64px) 26px;
  background: var(--paper);
}

.brand {
  display: block;
  margin-bottom: 20px;
}

.brand img {
  display: block;
  width: 242px;
  height: auto;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(28px, 5.5vw, 94px);
  font-size: 18px;
  line-height: 1;
  color: #b39188;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent-dark);
}

.site-nav .active {
  color: #8d242d;
}

.nav-instagram {
  width: 21px;
  height: 21px;
}

.nav-instagram img {
  width: 100%;
  height: 100%;
}

.drawer-toggle,
.drawer-backdrop {
  display: none;
}

.hero {
  position: relative;
  display: block;
  min-height: calc(100vh - 421px);
  height: 976px;
  margin-bottom: 48px;
  padding: 0;
  background: #d48c95;
  overflow: hidden;
  text-align: center;
}

.hero-copy {
  position: absolute;
  left: 6%;
  right: auto;
  bottom: 12.5%;
  z-index: 1;
  width: 90%;
  pointer-events: none;
}

.hero-title {
  width: min(1780px, 90vw);
  margin: 0 auto;
  opacity: 0.2;
  transform: rotate(-12.4deg);
  transform-origin: center;
}

.hero-copy p {
  max-width: 620px;
  margin: 0 0 26px;
  color: var(--accent-dark);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-actions,
.link-row,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-image {
  position: absolute;
  left: 50%;
  bottom: 15.5%;
  z-index: 2;
  width: min(560px, 38vw);
  transform: translateX(-50%);
}

.hero-image img {
  width: 100%;
  max-height: none;
  margin: 0 auto;
  object-fit: contain;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 22px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button.primary {
  color: var(--white);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.button.secondary {
  color: var(--accent-dark);
  background: transparent;
}

.button:hover {
  color: var(--white);
  background: var(--accent);
  border-color: var(--accent);
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 96px) 0;
}

.section-inner.narrow {
  width: min(780px, calc(100% - 40px));
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0 0 24px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: 0.08em;
}

h3 {
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.4;
}

.about {
  color: var(--ink);
  text-align: center;
  background: var(--paper);
}

.about .section-kicker,
.about p {
  color: inherit;
}

.featured {
  position: relative;
  overflow: hidden;
  background: #f6ebe2;
  text-align: center;
}

.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.55), transparent 42%);
  pointer-events: none;
}

.featured .section-inner {
  position: relative;
}

.featured p {
  margin: 0 auto 22px;
  max-width: 720px;
}

.link-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  justify-content: center;
  max-width: 820px;
  margin: 32px auto 0;
}

.media-link {
  display: grid;
  gap: 8px;
  min-height: 164px;
  padding: 24px;
  color: var(--accent-dark);
  text-align: left;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(141, 111, 98, 0.22);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(93, 70, 61, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.media-link:hover {
  transform: translateY(-3px);
  border-color: rgba(141, 111, 98, 0.5);
  box-shadow: 0 24px 65px rgba(93, 70, 61, 0.18);
}

.media-link__eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.media-link__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
}

.media-link__text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery {
  background: #efe1d6;
}

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

.services {
  background: #f1d7db;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.service-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.service-image {
  display: block;
  width: 100%;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: zoom-in;
}

.service-image img {
  width: 100%;
  aspect-ratio: 190 / 268;
  object-fit: contain;
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.instructors {
  background: #f7f0e8;
}

.instructor-list {
  display: grid;
  gap: 24px;
}

.instructor {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 38px);
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.instructor img {
  width: 210px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

.role {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.license {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.license li {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  color: var(--accent-dark);
  background: #f6ebe2;
  border: 1px solid rgba(141, 111, 98, 0.22);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.license li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.contact {
  background: #eadbd0;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
}

.contact-grid > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.google-map {
  grid-column: 1 / -1;
  width: 100%;
  height: 360px;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 4px;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(141, 111, 98, 0.32);
  border-color: var(--accent);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: fit-content;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-result {
  min-height: 100vh;
  background: var(--paper);
}

.confirm-list {
  display: grid;
  gap: 14px;
  margin: 28px 0;
}

.confirm-list div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.confirm-list dt {
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.confirm-list dd {
  margin: 0;
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.confirm-actions form {
  margin: 0;
}

.confirm-actions button {
  cursor: pointer;
}

.is-modal-open {
  overflow: hidden;
}

.image-modal[aria-hidden="true"] {
  display: none;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
}

.image-modal__backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  background: rgba(34, 25, 22, 0.72);
  border: 0;
}

.image-modal__dialog {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 920px);
  max-height: 92vh;
  padding: 16px;
  background: var(--paper);
  border-radius: 6px;
  box-shadow: 0 22px 70px rgba(34, 25, 22, 0.35);
}

.image-modal__image {
  max-width: 100%;
  max-height: calc(92vh - 32px);
  object-fit: contain;
}

.image-modal__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 38px;
  height: 38px;
  color: var(--white);
  background: var(--accent-dark);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.site-footer {
  padding: 46px 20px 36px;
  color: var(--white);
  text-align: center;
  background: var(--accent-dark);
}

.footer-logo img {
  width: 86px;
  margin: 0 auto 18px;
}

.instagram img {
  width: 52px;
  margin: 0 auto 22px;
  filter: brightness(0) invert(1);
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

@media (max-width: 860px) {
  .site-header {
    position: relative;
    min-height: 260px;
    padding: 24px 14px 18px;
  }

  .brand {
    margin-bottom: 18px;
  }

  .brand img {
    width: 168px;
  }

  .site-nav {
    gap: 18px;
    font-size: 13px;
  }

  .hero {
    min-height: 620px;
    height: calc(100vh - 260px);
    max-height: none;
  }

  .hero-copy {
    left: -6%;
    bottom: 19%;
    width: 118%;
  }

  .hero-title {
    width: 1280px;
  }

  .hero-image {
    width: min(430px, 72vw);
    bottom: 18%;
  }

  .hero-image img {
    width: 100%;
    margin: 0 auto;
  }

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

  .link-row {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 74px;
    padding: 10px 18px;
    box-shadow: 0 1px 0 rgba(123, 38, 48, 0.12);
  }

  .brand {
    margin: 0;
  }

  .brand img {
    width: 74px;
  }

  .drawer-toggle {
    position: relative;
    z-index: 32;
    display: grid;
    gap: 5px;
    width: 46px;
    height: 46px;
    place-content: center;
    padding: 0;
    background: transparent;
    border: 1px solid #7b2630;
    border-radius: 4px;
  }

  .drawer-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #7b2630;
    border-radius: 999px;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 28;
    display: block;
    background: rgba(34, 25, 22, 0.45);
    border: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: min(82vw, 340px);
    padding: 92px 30px 32px;
    gap: 26px;
    font-size: 16px;
    color: var(--accent-dark);
    background: var(--paper);
    box-shadow: -18px 0 42px rgba(34, 25, 22, 0.2);
    transform: translateX(100%);
    transition: transform 220ms ease;
  }

  .site-nav .nav-instagram {
    display: block;
    width: 24px;
    height: 24px;
    margin: 0;
    filter: brightness(0) saturate(100%) invert(28%) sepia(15%) saturate(996%) hue-rotate(336deg) brightness(88%) contrast(86%);
  }

  body.is-drawer-open {
    overflow: hidden;
  }

  body.is-drawer-open .site-nav {
    transform: translateX(0);
  }

  body.is-drawer-open .drawer-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.is-drawer-open .drawer-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.is-drawer-open .drawer-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.is-drawer-open .drawer-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: 560px;
    height: calc(100vh - 74px);
  }

  .hero-image {
    width: min(360px, 84vw);
    bottom: 18%;
  }

  .hero-copy {
    left: -24%;
    bottom: 23%;
    width: 150%;
  }

  .hero-title {
    width: 1050px;
  }

  .service-card,
  .instructor {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .instructor img {
    width: 160px;
  }
}
