/* Azurio — display / headings (Figma: Azurio Trial) */
@font-face {
  font-family: "Azurio";
  src: url("assets/fonts/Azurio/Azurio-Medium.woff2") format("woff2"),
       url("assets/fonts/Azurio/Azurio-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Azurio";
  src: url("assets/fonts/Azurio/Azurio-Semibold.woff2") format("woff2"),
       url("assets/fonts/Azurio/Azurio-Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Azurio";
  src: url("assets/fonts/Azurio/Azurio-Bold.woff2") format("woff2"),
       url("assets/fonts/Azurio/Azurio-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Suisse Int'l — body / UI (Figma: Suisse Int'l) */
@font-face {
  font-family: "Suisse Intl";
  src: url("assets/fonts/suisseIntl/SuisseIntl-Book.woff2") format("woff2"),
       url("assets/fonts/suisseIntl/SuisseIntl-Book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Suisse Intl";
  src: url("assets/fonts/suisseIntl/SuisseIntl-Medium.woff2") format("woff2"),
       url("assets/fonts/suisseIntl/SuisseIntl-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Suisse Intl";
  src: url("assets/fonts/suisseIntl/SuisseIntl-SemiBold.woff2") format("woff2"),
       url("assets/fonts/suisseIntl/SuisseIntl-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Suisse Intl";
  src: url("assets/fonts/suisseIntl/SuisseIntl-Bold.woff2") format("woff2"),
       url("assets/fonts/suisseIntl/SuisseIntl-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg: #fff5e8;
  --text: #000;
  --text-muted: #585858;
  --accent: #ff6a6c;
  --border: #000;
  --border-soft: #b1b1b1;
  --placeholder: #979797;
  --slider-track: rgba(255, 106, 108, 0.6);
  --font-display: "Azurio", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif;
  --font-sans: "Suisse Intl", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.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;
}

/* —— Site header —— */
.site-header {
  padding-top: 24px;
  padding-bottom: 24px;
}

.site-header > .container,
.site-footer > .container {
  max-width: none;
  width: 100%;
}

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 12px;
}

.brand-lockup {
  justify-self: start;
}

.brand-lockup__name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.brand-lockup__tag {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
  opacity: 0.5;
}

.logo-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  justify-self: center;
}

.logo-mark__k {
  width: 32px;
  height: auto;
  aspect-ratio: 32 / 27;
  object-fit: contain;
}

.logo-mark__o {
  position: relative;
  width: 32px;
  height: 38px;
  border: 5.5px solid var(--border);
}

.logo-mark__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

.lang-switch {
  justify-self: end;
  display: flex;
  align-items: stretch;
}

.lang-switch a,
.lang-switch span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 33px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-size: 14px;
  line-height: 1;
}

.lang-switch .is-active {
  border-color: var(--border);
  font-weight: 700;
}

.lang-switch .is-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
}

/* —— Footer —— */
.site-footer {
  margin-top: auto;
  padding: 48px 0 32px;
}

.site-footer__rule {
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin: 0 0 16px;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 16px;
}

.site-footer__email {
  font-size: 18px;
}

.site-footer__email:hover,
.site-footer__email:focus-visible {
  text-decoration: underline;
}

/* —— Shared page sections —— */
.section {
  padding: 48px 0;
}

.section--tight {
  padding: 32px 0;
}

.hero {
  text-align: center;
  padding: 40px 0 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.6875rem);
  font-weight: 500;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero__title--jp {
  text-transform: none;
}

/* Japanese-language titles (Hiragino Sans W6 / Yu Gothic Bold) */
.jp-title {
  font-family: "Hiragino Sans", "Yu Gothic", "YuGothic", sans-serif;
  font-weight: 700;
}

@supports (-webkit-touch-callout: none) {
  .jp-title {
    font-weight: 600;
  }
}

.hero__lead {
  margin: 24px auto 0;
  max-width: 48rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.5;
}

.hero__lead-line {
  display: block;
}

.hero__lead .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 0.35em;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

.hero__icon {
  display: block;
  width: 40px;
  height: auto;
  aspect-ratio: 40 / 50;
  object-fit: contain;
  margin: 32px auto 0;
}

.hero__confirm {
  margin: 16px auto 0;
  max-width: 24rem;
  font-size: 16px;
  color: var(--text-muted);
}

.hero__survey-intro {
  margin: 32px auto 0;
  max-width: 52rem;
  font-size: clamp(1.125rem, 2vw, 1.3125rem);
  font-weight: 500;
  line-height: 1.45;
}

.hero__arrows {
  display: block;
  width: 48px;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  flex-shrink: 0;
}

.survey-divider {
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 74px);
  width: 100%;
  margin-top: 28px;
  padding: 0 var(--container-padding);
}

.survey-divider__line {
  flex: 1;
  height: 1px;
  background: rgba(177, 177, 177, 0.5); /* #B1B1B1 @ 50% — Figma Frame 15 */
}

/* —— Product grid —— */
.products {
  padding: 24px 0 48px;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--grid-gap);
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-card__media {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #1a1a1a;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__name {
  width: 100%;
  max-width: 263px;
  margin-top: -1px;
  padding: 14px 16px 12px;
  border: 1px solid var(--border);
  background: transparent;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
}

/* —— Lead form —— */
.lead {
  text-align: center;
  padding: 90px 0 140px;
}

.lead__title {
  max-width: 40rem;
  margin: 0 auto 28px;
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 600;
  line-height: 1.2;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 626px;
  margin: 0 auto;
}

.lead-form__row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.lead-form input[type="email"] {
  width: 100%;
  height: 56px;
  padding: 12px 20px;
  border: 4px solid var(--border);
  background: #fff;
  color: var(--text);
  font-size: 16px;
  outline: none;
}

.lead-form input[type="email"]::placeholder {
  color: #666;
}

.lead-form input[type="email"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lead-form button {
  height: 56px;
  padding: 12px 20px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-size: 21px;
  font-weight: 600;
  cursor: pointer;
}

.lead-form button:hover {
  filter: brightness(0.95);
}

.lead-form button:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.form-error {
  margin-top: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--accent);
  text-align: left;
}

#lead-form .form-error {
  text-align: left;
  width: 100%;
}

.lead__note {
  margin: 20px auto 0;
  max-width: 34rem;
  font-size: 14px;
}

/* —— Craft strip —— */
.craft-strip {
  padding: 0;
}

.craft-strip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.craft-strip__item {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #222;
}

.craft-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  mix-blend-mode: luminosity;
}

/* —— Pourquoi —— */
.pourquoi {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 64px 0 48px;
  margin-top: -100px;
}

/* Clip mark offset + rotated fire paint so they can’t widen or lengthen the page
   (overflow on html/body triggers Chrome iOS blank scroll below the footer) */
.pourquoi > .container {
  overflow: hidden;
}

.pourquoi__mark {
  position: relative;
  width: min(315px, 100%);
  margin: 0 auto 40px;
  transform: translateX(70px);
}

.pourquoi__mark-img {
  display: block;
  width: 100%;
  height: auto;
}

.pourquoi__fire {
  position: absolute;
  object-fit: contain;
  pointer-events: none;
  transform: rotate(82.99deg);
}

.pourquoi__fire--lg {
  left: 52.7%;
  top: 54%;
  width: 41%;
  aspect-ratio: 1;
}

.pourquoi__fire--sm {
  left: 48.8%;
  top: 61.5%;
  width: 25%;
  aspect-ratio: 1;
}

.pourquoi__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.625rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.pourquoi__text {
  max-width: 56rem;
  margin: 0 auto;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.55;
}

/* —— Survey —— */
.survey {
  padding: 24px 0 64px;
}

.survey__form {
  max-width: 660px;
  margin: 0 auto;
}

.survey__block {
  padding: 28px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.survey__block:last-of-type {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.survey__question {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.survey__options {
  display: flex;
  flex-direction: column;
  gap: 19px;
}

.survey__option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.35;
}

.survey__option:hover,
.survey__option:has(input:checked) {
  border-color: var(--border);
}

.survey__option input {
  appearance: none;
  -webkit-appearance: none;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
}

.survey__option input[type="radio"] {
  border-radius: 50%;
}

.survey__option input:checked {
  background: var(--text);
  box-shadow: inset 0 0 0 2px var(--bg);
}

.survey__option input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.budget-display {
  display: inline-flex;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 21px;
  font-weight: 700;
}

.budget-slider {
  position: relative;
  width: 100%;
  max-width: 537px;
  padding-top: 4px;
}

.budget-slider__track {
  position: relative;
  height: 24px;
}

.budget-slider__rail {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 6px;
  border-radius: 3px;
  background: var(--slider-track);
  transform: translateY(-50%);
}

.budget-slider__range {
  position: absolute;
  top: 50%;
  height: 6px;
  border-radius: 3px;
  background: var(--text);
  transform: translateY(-50%);
}

.budget-slider input[type="range"] {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 24px;
  margin: 0;
  background: none;
  pointer-events: none;
  appearance: none;
  -webkit-appearance: none;
  z-index: 2;
}

.budget-slider input[type="range"]#budget-max {
  z-index: 3;
}

.budget-slider input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  margin-top: -7px; /* center 20px thumb on 6px track */
  border: 2px solid var(--border);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
  cursor: pointer;
}

.budget-slider input[type="range"]::-moz-range-thumb {
  box-sizing: border-box;
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
  cursor: pointer;
}

.budget-slider input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: transparent;
  border: none;
}

.budget-slider input[type="range"]::-moz-range-track {
  height: 6px;
  background: transparent;
  border: none;
}

.budget-slider__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

.survey textarea {
  width: 100%;
  min-height: 102px;
  padding: 10px 11px;
  border: 1px solid var(--border-soft);
  background: transparent;
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
  resize: vertical;
  outline: none;
}

.survey textarea::placeholder {
  color: var(--placeholder);
}

.survey textarea:focus {
  border-color: var(--border);
}

.survey__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  min-width: 211px;
  padding: 18px 20px;
  border: 5px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 21px;
  font-weight: 500;
  cursor: pointer;
}

.survey__submit:hover {
  background: var(--text);
  color: var(--bg);
}

.survey__submit:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* —— Merci page —— */
.merci {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 64px 0 80px;
}

.merci__kanji {
  font-size: clamp(2.5rem, 8vw, 3.9375rem);
  line-height: 1.2;
}

.merci__roman {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.1875rem);
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
}

.merci__message {
  margin-top: 24px;
  font-size: 21px;
  font-weight: 500;
}

.merci__icon {
  display: block;
  width: 40px;
  height: auto;
  aspect-ratio: 40 / 50;
  object-fit: contain;
  margin: 40px auto 0;
}

/* —— Breakpoints (align with responsive-system) —— */
@media (min-width: 768px) {
  .craft-strip__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .lead-form__row {
    flex-direction: row;
    align-items: stretch;
  }

  .lead-form input[type="email"] {
    flex: 1;
    min-width: 0;
  }

  .lead-form button {
    width: 152px;
    flex-shrink: 0;
  }

  .brand-lockup__tag {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .products__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .site-header {
    padding-top: 38px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero__title {
    line-height: 75px;
  }
}
