:root {
  --ink: #27221f;
  --muted: #6e625d;
  --line: rgba(72, 58, 52, 0.12);
  --paper: #f8f4ee;
  --paper-soft: #fbf8f4;
  --panel: rgba(255, 255, 255, 0.55);
  --violet: #8170a3;
  --blue: #3ba9f3;
  --shadow: 0 14px 35px rgba(70, 48, 36, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", Georgia, serif;
  letter-spacing: 0;
  text-rendering: geometricPrecision;
}

main {
  flex: 0 0 auto;
}

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

button {
  font: inherit;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  min-height: 72px;
  grid-template-columns: minmax(340px, 1fr) auto minmax(170px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 22px 48px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-icon {
  width: 54px;
  height: 54px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 10px;
}

.brand-word {
  color: white;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;
  font-size: clamp(30px, 2.25vw, 42px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow:
    -2px -2px 0 var(--blue),
    2px -2px 0 var(--blue),
    -2px 2px 0 var(--blue),
    2px 2px 0 var(--blue),
    0 4px 0 #1785dd;
  transform: rotate(-2deg);
  white-space: nowrap;
}

.brand-name {
  color: #6f5b96;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: clamp(20px, 1.45vw, 28px);
  font-weight: 500;
  letter-spacing: 0.24em;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 4vw, 62px);
  color: #231f1b;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  font-size: clamp(13px, 0.95vw, 18px);
  font-weight: 500;
  white-space: nowrap;
}

.main-nav a {
  opacity: 0.94;
}

.main-nav a:hover {
  color: var(--violet);
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(91, 78, 111, 0.18);
  background: rgba(255, 255, 255, 0.46);
  border-radius: 999px;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
}

.language-option {
  min-width: 31px;
  height: 26px;
  padding: 0 7px;
  border: 0;
  border-radius: 999px;
  color: #62586c;
  background: transparent;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.language-option[aria-pressed="true"] {
  color: #fff;
  background: var(--violet);
  box-shadow: 0 4px 12px rgba(93, 72, 128, 0.16);
}

.language-option:focus-visible,
.icon-button:focus-visible,
.main-nav a:focus-visible,
.contact-link:focus-visible {
  outline: 2px solid rgba(59, 169, 243, 0.8);
  outline-offset: 3px;
}

.icon-button {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.icon-button svg,
.socials svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  position: relative;
  min-height: 426px;
  overflow: hidden;
  border-bottom: 6px solid rgba(255, 255, 255, 0.8);
  background: #f6efe6;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(248, 245, 239, 0.82) 0%, rgba(248, 245, 239, 0.5) 9%, rgba(248, 245, 239, 0) 25%),
    linear-gradient(90deg, rgba(249, 246, 240, 0.98) 0%, rgba(249, 246, 240, 0.74) 26%, rgba(249, 246, 240, 0.1) 50%, rgba(249, 246, 240, 0) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 56%;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(640px, 46vw);
  padding: 120px 0 28px 96px;
}

.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(42px, 3vw, 54px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero p {
  margin: 0;
  color: #4d4542;
  font-size: clamp(13px, 0.9vw, 16px);
  font-weight: 500;
  line-height: 1.78;
}

.collection-band {
  display: grid;
  grid-template-columns: 28% 25% 15.5% 14.5% 17%;
  gap: 0;
  min-height: 208px;
  padding: 14px 48px 8px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.statement-panel {
  position: relative;
  padding: 12px 34px 8px 32px;
}

.kicker,
.craft-heading,
.journal-heading {
  margin: 0;
  color: #6e6593;
  font-size: clamp(12px, 0.9vw, 16px);
  font-weight: 500;
  line-height: 1.4;
}

.statement-panel h2 {
  margin: 24px 0 0;
  padding-right: 92px;
  font-size: clamp(20px, 1.35vw, 24px);
  font-weight: 500;
  line-height: 1.5;
}

.statement-panel img {
  position: absolute;
  right: 14px;
  bottom: 22px;
  width: 92px;
  opacity: 0.52;
}

.product-feature {
  display: grid;
  grid-template-rows: 1fr auto;
  min-width: 0;
  padding: 0 14px;
  align-items: end;
}

.product-feature p {
  margin: 9px 0 0;
  color: #403937;
  font-size: clamp(11px, 0.75vw, 14px);
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}

.product-media,
.journal-media {
  display: grid;
  width: 100%;
  place-items: center;
  background-color: #f5ede4;
  border-radius: 1px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
  overflow: hidden;
}

.product-media {
  height: 166px;
}

.product-media img,
.journal-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-feature-wide .product-media {
  height: 166px;
}

.craft-band {
  display: grid;
  grid-template-columns: 29% repeat(4, 1fr);
  gap: 0;
  min-height: 92px;
  align-items: center;
  padding: 12px 54px;
  border-bottom: 1px solid var(--line);
  background: rgba(249, 247, 244, 0.96);
}

.craft-heading {
  align-self: start;
  padding: 5px 0 0 26px;
}

.craft-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 0 18px;
}

.craft-item svg {
  width: 42px;
  height: 42px;
  fill: none;
  stroke: var(--violet);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.craft-item h3,
.journal-card h3 {
  margin: 0;
  color: #433c39;
  font-size: clamp(13px, 0.9vw, 16px);
  font-weight: 600;
  line-height: 1.45;
}

.craft-item p,
.journal-card p {
  margin: 3px 0 0;
  color: #4f4744;
  font-size: clamp(11px, 0.76vw, 14px);
  font-weight: 500;
  line-height: 1.45;
}

.journal-band {
  display: grid;
  grid-template-columns: 27.5% repeat(4, 1fr);
  gap: 24px;
  min-height: 176px;
  padding: 16px 80px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.journal-heading {
  padding-top: 4px;
}

.journal-card {
  min-width: 0;
}

.journal-media {
  height: 104px;
  margin-bottom: 7px;
  background-color: #f2e8df;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  gap: 32px;
  align-items: center;
  margin-top: auto;
  min-height: 76px;
  padding: 8px 98px;
  background: rgba(255, 255, 255, 0.84);
}

.footer-line {
  margin: 0;
  color: #8174a5;
  font-size: clamp(18px, 1.25vw, 24px);
  font-weight: 500;
  line-height: 1.35;
}

.footer-mascot {
  width: 110px;
  justify-self: center;
  opacity: 0.82;
}

.footer-connect {
  display: grid;
  gap: 4px;
  justify-items: end;
  color: #3e3937;
}

.footer-connect p {
  margin: 0;
  font-size: clamp(15px, 1.05vw, 19px);
  line-height: 1.3;
}

.socials {
  display: flex;
  align-items: center;
  gap: 17px;
  color: #8679a6;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
}

.socials svg {
  width: 21px;
  height: 21px;
}

.social-logo {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.divider {
  width: 1px;
  height: 24px;
  background: rgba(104, 91, 117, 0.42);
  margin: 0 12px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #7a6d90;
  font-size: 13px;
}

.footer-legal {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: #6f6763;
  font-size: 8px;
  line-height: 1.2;
}

.icp-link {
  color: #6f6763;
}

.icp-link:hover {
  color: var(--violet);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding-inline: 24px;
  }

  .main-nav {
    gap: 20px;
  }

  .hero-copy {
    width: min(500px, 58vw);
    padding-left: 52px;
  }

  .collection-band,
  .craft-band,
  .journal-band,
  .site-footer {
    padding-inline: 28px;
  }

  .collection-band {
    grid-template-columns: 1.15fr 1.2fr 0.9fr 0.9fr;
  }

  .collection-band .product-feature:last-child {
    display: none;
  }

  .craft-band {
    grid-template-columns: 1fr 1fr;
    gap: 20px 10px;
  }

  .craft-heading {
    padding-left: 0;
  }

  .journal-band {
    grid-template-columns: 1fr 1fr;
  }

  .journal-heading {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: fixed;
    min-height: 62px;
    padding: 10px 16px;
    background: rgba(251, 248, 244, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
  }

  .brand {
    gap: 8px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
  }

  .brand-word {
    font-size: 25px;
    text-shadow:
      -1.4px -1.4px 0 var(--blue),
      1.4px -1.4px 0 var(--blue),
      -1.4px 1.4px 0 var(--blue),
      1.4px 1.4px 0 var(--blue),
      0 3px 0 #1785dd;
  }

  .brand-name {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 62px;
    right: 12px;
    display: none;
    width: min(240px, calc(100vw - 24px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: rgba(255, 253, 249, 0.98);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px 16px;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .header-actions {
    gap: 6px;
  }

  .language-switch {
    padding: 2px;
  }

  .language-option {
    min-width: 27px;
    height: 24px;
    padding: 0 5px;
    font-size: 10px;
  }

  .hero {
    min-height: 620px;
  }

  .hero-photo {
    height: 54%;
    top: auto;
    object-position: 68% 50%;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(249, 246, 240, 1) 0%, rgba(249, 246, 240, 0.96) 45%, rgba(249, 246, 240, 0.12) 72%);
  }

  .hero-copy {
    width: auto;
    padding: 102px 24px 300px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.25;
  }

  .hero p {
    font-size: 14px;
    line-height: 1.85;
  }

  .collection-band,
  .craft-band,
  .journal-band,
  .site-footer {
    display: block;
    padding: 22px 18px;
  }

  .statement-panel {
    min-height: 126px;
    padding: 0 0 18px;
  }

  .statement-panel h2 {
    margin-top: 18px;
  }

  .product-feature {
    padding: 12px 0 0;
  }

  .product-media {
    height: 158px;
  }

  .craft-heading,
  .journal-heading {
    margin-bottom: 16px;
    padding: 0;
  }

  .craft-item {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }

  .craft-item svg {
    width: 40px;
    height: 40px;
  }

  .journal-card {
    padding: 13px 0 18px;
    border-top: 1px solid var(--line);
  }

  .journal-media {
    height: 124px;
  }

  .footer-mascot {
    display: none;
  }

  .footer-connect {
    justify-items: start;
    margin-top: 24px;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding-inline: 12px;
  }

  .brand-icon {
    width: 34px;
    height: 34px;
  }

  .brand-word {
    font-size: 23px;
  }

  .hero h1 {
    font-size: 37px;
  }
}
