/* ===========================================================
   browme corporate site — style.css
   Design tokens, layout helpers, shared components, and
   page-specific styles (TOP / Recruit).
   =========================================================== */

/* ===========================================================
   Design Tokens
   =========================================================== */

:root {
  /* Colors — backgrounds */
  --color-bg: #f8f5ef;
  --color-card-bg: #ffffff;
  --color-card-hover-bg: #fcfaf6;
  --color-card-hover-bg-alt: #f6f1e8;

  /* Colors — dark band / CTA */
  --color-dark-band: #7b6e5d;
  --color-cta-bg: #8c7a63;
  --color-footer-top: #7b6e5d;
  --color-footer-recruit: #6f6353;

  /* Colors — text */
  --color-heading: #504639;
  --color-body: #5b5348;
  --color-body-light: #6d655a;
  --color-caption: #a99d8b;
  --color-caption-alt: #9b9186;
  --color-text-base: #4d463d;

  /* Colors — accents */
  --color-accent: #a28e74;
  --color-accent-alt: #c9b994;
  --color-accent-on-dark: #e9ddc8;
  --color-accent-on-dark-alt: #f0e5d0;

  /* Colors — borders */
  --color-border: #e9e3d7;
  --color-border-card: #ede7db;
  --color-border-thin: #ddd3c0;
  --color-border-input: #dcd4c5;
  --color-border-hover: #c9bca5;
  --color-border-secondary-btn: #bbaf9c;

  /* Typography */
  --font-display: "Cormorant Garamond", serif;
  --font-heading-jp: "Shippori Mincho", serif;
  --font-body: "Noto Serif JP", "Hiragino Mincho ProN", serif;

  /* Radius */
  --radius-card: 6px;
  --radius-photo: 6px;
  --radius-image-inner: 4px;
  --radius-store-card: 8px;

  /* Shadow */
  --shadow-card: 0 1px 2px rgba(120, 105, 85, 0.05);
  --shadow-cta: 0 4px 14px rgba(140, 122, 99, 0.28);
  --shadow-modal: 0 20px 60px rgba(58, 51, 42, 0.35);

  /* Spacing — mobile-first base, overridden at wider breakpoints */
  --section-padding-y: 56px;
  --section-padding-y-lg: 96px;
  --section-padding-y-cta-bottom: 72px;
  --section-padding-y-cta-bottom-lg: 128px;
  --section-padding-x: 20px;
  --section-padding-x-lg: 24px;

  /* Layout widths */
  --content-max-width: 1080px;
  --content-max-width-wide: 940px;
  --content-max-width-mid: 720px;
  --content-max-width-narrow: 640px;

  /* Motion */
  --ease-standard: ease;
  --duration-fade: 0.25s;
}

/* ===========================================================
   Layout helpers
   =========================================================== */
.container {
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.container-wide {
  max-width: var(--content-max-width-wide);
  margin: 0 auto;
}

.container-mid {
  max-width: var(--content-max-width-mid);
  margin: 0 auto;
}

.container-narrow {
  max-width: var(--content-max-width-narrow);
  margin: 0 auto;
}

.section {
  padding: var(--section-padding-y) var(--section-padding-x);
}

.section--cta-bottom {
  padding-bottom: var(--section-padding-y-cta-bottom);
}

.section--bg-base {
  background: var(--color-bg);
}

.section--bg-card {
  background: var(--color-card-bg);
}

.section--bg-dark {
  background: var(--color-dark-band);
}

@media (min-width: 768px) {
  .section {
    padding-left: var(--section-padding-x-lg);
    padding-right: var(--section-padding-x-lg);
  }
}

@media (min-width: 900px) {
  .section {
    padding-top: var(--section-padding-y-lg);
    padding-bottom: var(--section-padding-y-lg);
  }
  .section--cta-bottom {
    padding-bottom: var(--section-padding-y-cta-bottom-lg);
  }
}

/* ---------- Section heading (English + JP flanked by rules) ---------- */
.section-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 40px;
}

.section-heading__rule {
  flex: 1;
  height: 1px;
  background: var(--color-border-thin);
}

.section-heading--on-dark .section-heading__rule {
  background: rgba(255, 255, 255, 0.28);
}

.section-heading__labels {
  text-align: center;
}

.section-heading__en {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-heading);
}

.section-heading--on-dark .section-heading__en {
  color: #ffffff;
}

.section-heading__jp {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--color-caption);
}

.section-heading--on-dark .section-heading__jp {
  color: var(--color-accent-on-dark);
}

.section-heading__jp-brand {
  letter-spacing: 0;
}

@media (min-width: 900px) {
  .section-heading {
    gap: 28px;
    margin-bottom: 64px;
  }
  .section-heading__en {
    font-size: 30px;
    letter-spacing: 0.12em;
  }
  .section-heading__jp {
    font-size: 12px;
    letter-spacing: 0.28em;
  }
}

.section-lead {
  max-width: 38em;
  margin: -16px auto 40px;
  text-align: center;
  font-size: 14px;
  line-height: 2;
  color: var(--color-body-light);
}

@media (min-width: 900px) {
  .section-lead {
    margin: -32px auto 64px;
  }
}

/* ---------- Image placeholder (replaces prototype <image-slot>) ---------- */
.img-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ede7db 0%, #e2d9c8 100%);
  color: #8c7a63;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: center;
  padding: 12px;
  overflow: hidden;
}

.img-placeholder--circle {
  border-radius: 50%;
}

/* ---------- Image wrapper (fills a positioned parent, crops to cover) ---------- */
.img-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===========================================================
   Opening — first-load intro overlay (logo + drawn brow line)
   Motion is driven by GSAP (js/main.js). This CSS only sets
   the resting/fully-revealed look, so it degrades gracefully
   (fully visible, no motion) if GSAP fails to load — and a
   single safety-net animation guarantees the overlay is removed
   even then, well after GSAP's own 3s sequence would have
   finished. It never intercepts clicks, at any point, so it can
   never block header/nav interaction underneath it.
   =========================================================== */
.opening {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark-band);
  pointer-events: none;
  animation: openingSafetyHide 0.5s var(--ease-standard) forwards;
  animation-delay: 4s;
}

.opening__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.opening__brow {
  width: min(50vw, 200px);
  height: auto;
  overflow: visible;
}

.opening__brow path {
  fill: none;
  stroke: var(--color-accent-on-dark-alt);
  stroke-width: 1.6;
  stroke-linecap: round;
}

.opening__logo {
  margin: 0;
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.opening__sub {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--color-accent-on-dark);
}

@keyframes openingSafetyHide {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  .opening {
    display: none;
  }
}

/* ===========================================================
   Shared components — header, nav, buttons, cards, footer, forms
   =========================================================== */

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease;
}

.site-header--scrolled {
  box-shadow: 0 2px 14px rgba(80, 70, 57, 0.08);
}

.site-header__bar {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  gap: 12px;
}

.site-header__logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.site-header__logo-mark {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-heading);
}

.site-header__logo-sub {
  display: none;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--color-caption-alt);
  white-space: nowrap;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header__actions .btn {
  flex-shrink: 0;
  white-space: nowrap;
}

.site-header__back-link {
  display: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color-body-light);
}

@media (min-width: 640px) {
  .site-header__logo-sub {
    display: inline;
  }

  .site-header__back-link {
    display: inline;
  }
}

/* Hamburger (mobile menu toggle, top page) */
.menu-toggle {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle__bar {
  display: block;
  height: 1.5px;
  background: var(--color-dark-band);
}

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border-top: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-modal);
  animation: duoFadeUp var(--duration-fade) var(--ease-standard) both;
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav__list {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: grid;
  padding: 8px 16px 16px;
  list-style: none;
}

.mobile-nav__link {
  display: block;
  padding: 13px 4px;
  border-bottom: 1px solid #f0ebe1;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.mobile-nav__list li:last-child .mobile-nav__link {
  border-bottom: none;
}

.mobile-nav__num {
  font-family: var(--font-display);
  color: var(--color-accent);
  font-size: 12px;
  margin-right: 10px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-card);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--color-cta-bg);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  color: #ffffff;
  opacity: 0.9;
}

.btn-dark {
  background: var(--color-dark-band);
  color: #ffffff;
}

.btn-dark:hover,
.btn-dark:focus-visible {
  color: #ffffff;
  opacity: 0.9;
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--color-border-secondary-btn);
  color: var(--color-heading);
  font-weight: 500;
}

.btn-outline-on-dark {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  font-weight: 500;
}

.btn-outline-on-dark:hover,
.btn-outline-on-dark:focus-visible {
  color: var(--color-accent-on-dark);
  border-color: var(--color-accent-on-dark);
}

.btn-lg {
  min-height: 52px;
  padding: 0 40px;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.btn-block {
  width: 100%;
}

.btn-shadow {
  box-shadow: var(--shadow-cta);
}

/* ---------- Cards ---------- */
.card {
  background: var(--color-card-bg);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 560px) {
  .card-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 40px 20px 48px;
}

.site-footer .container {
  display: grid;
  gap: 24px;
}

.site-footer__logo {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.site-footer__logo-mark {
  font-family: var(--font-display);
  font-size: 24px;
  color: #ffffff;
}

.site-footer__logo-sub {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  font-size: 12px;
  letter-spacing: 0.1em;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__nav a {
  color: rgba(255, 255, 255, 0.75);
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible {
  color: var(--color-accent-on-dark);
}

.site-footer__copyright {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 900px) {
  .site-footer {
    padding: 48px 24px 56px;
  }
}

/* ---------- Forms ---------- */
.form-field {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-heading);
}

.form-field__required {
  font-weight: 400;
  color: var(--color-caption);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--color-border-input);
  border-radius: var(--radius-card);
  background: #ffffff;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--color-text-base);
}

.form-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-body-light) 50%),
    linear-gradient(135deg, var(--color-body-light) 50%, transparent 50%);
  background-position:
    calc(100% - 20px) center,
    calc(100% - 15px) center;
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
}

.form-field textarea {
  min-height: 120px;
  line-height: 1.8;
  resize: vertical;
}

.form-notice {
  margin: 0 0 24px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-body-light);
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 14px 18px;
}

.form-success {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--color-heading);
  background: #ffffff;
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-card);
  padding: 12px;
}

.form-success[hidden] {
  display: none;
}

/* ---------- Numbered list rows (reasons / flow / timeline) ---------- */
.numbered-row {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--color-border-card);
  align-items: baseline;
}

.numbered-list .numbered-row:last-child {
  border-bottom: 1px solid var(--color-border-card);
}

.numbered-row__num {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--color-accent);
  flex: 0 0 32px;
}

.numbered-row__title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-heading);
}

.numbered-row__body {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-body-light);
}

/* ===========================================================
   TOP page (index.html) — page-specific styles
   =========================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(77, 68, 56, 0.88) 0%,
    rgba(77, 68, 56, 0.55) 40%,
    rgba(77, 68, 56, 0.15) 70%,
    transparent 100%
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 20px 40px;
}

.hero__label {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--color-accent-on-dark-alt);
  text-shadow: 0 1px 8px rgba(77, 68, 56, 0.6);
}

.hero__title {
  margin: 0 0 16px;
  font-family: var(--font-heading-jp);
  font-weight: 500;
  font-size: clamp(26px, 6.4vw, 44px);
  line-height: 1.5;
  color: #ffffff;
  text-wrap: pretty;
  text-shadow: 0 2px 16px rgba(77, 68, 56, 0.5);
}

.hero__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #ffffff;
  max-width: 34em;
  text-shadow: 0 1px 10px rgba(77, 68, 56, 0.6);
}

@media (min-width: 900px) {
  .hero {
    min-height: 78vh;
  }
  .hero__content {
    padding: 0 24px 56px;
  }
}

/* ---------- About Us ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "intro"
    "media"
    "details";
  gap: 32px;
  align-items: start;
}

.about-copy {
  grid-area: intro;
}

.about-media {
  grid-area: media;
}

.about-grid > .company-table {
  grid-area: details;
}

@media (min-width: 720px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "intro media"
      "details media";
    gap: 40px;
  }
}

.about-copy h2 {
  margin: 0 0 18px;
  font-family: var(--font-heading-jp);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.65;
  color: var(--color-heading);
  text-wrap: pretty;
}

.about-copy p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 2;
  color: var(--color-body);
}

@media (min-width: 900px) {
  .about-copy h2 {
    font-size: 26px;
  }
}

.company-table {
  border-top: 1px solid #e5ded1;
}

.company-table__row {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e5ded1;
  font-size: 13px;
}

.company-table__label {
  flex: 0 0 76px;
  color: var(--color-caption-alt);
}

.about-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  filter: brightness(1.1) contrast(0.93) saturate(1.02);
}

.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    165deg,
    rgba(248, 245, 239, 0.3) 0%,
    rgba(123, 110, 93, 0.16) 100%
  );
  pointer-events: none;
}

.message-card {
  padding: 24px;
}

.message-card__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--color-accent);
  font-weight: 700;
}

.message-card__body {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 2;
  color: var(--color-body);
}

.message-card__attribution {
  margin: 0;
  font-size: 12px;
  color: var(--color-caption-alt);
}

/* ---------- Services ---------- */
.service-card {
  overflow: hidden;
  background: var(--color-bg);
}

.service-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
}

.service-card__body {
  padding: 20px;
}

.service-card__title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-heading);
}

.service-card__desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-body-light);
}

.service-card__price {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--color-heading);
}

.service-card__price-note {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--color-caption-alt);
}

/* ---------- Locations ---------- */
.locations-intro {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.75);
  max-width: 40em;
}

.store-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 560px) {
  .store-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.store-card {
  background: #ffffff;
  border-radius: var(--radius-store-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.store-card__media {
  position: relative;
  height: 180px;
}

@media (min-width: 900px) {
  .store-card__media {
    height: 200px;
  }
}

.store-card__body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.store-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.store-card__name {
  margin: 0;
  font-family: var(--font-heading-jp);
  font-weight: 600;
  font-size: 18px;
  color: var(--color-heading);
}

.store-card__badge {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  white-space: nowrap;
}

.store-card__facts {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: var(--color-body-light);
  line-height: 1.7;
}

.store-card__fact {
  display: flex;
  gap: 8px;
}

.store-card__fact-label {
  flex: 0 0 62px;
  color: var(--color-caption);
}

.store-card__actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.store-card__actions .btn {
  flex: 1;
}

/* ---------- News ---------- */
.news-list {
  overflow: hidden;
}

.news-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 14px;
  padding: 16px 18px;
  border-bottom: 1px solid #f0ebe1;
  color: var(--color-text-base);
}

.news-list .news-item:last-child {
  border-bottom: none;
}

.news-item:hover,
.news-item:focus-visible {
  background: var(--color-card-hover-bg-alt);
  color: var(--color-heading);
}

.news-item__date {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--color-caption-alt);
}

.news-item__tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 3px;
  padding: 3px 8px;
  color: var(--color-heading);
  border: 1px solid var(--color-border-secondary-btn);
}

.news-item__tag--accent {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.news-item__title {
  flex: 1 1 100%;
  font-size: 14px;
  line-height: 1.7;
}

@media (min-width: 900px) {
  .news-item {
    padding: 20px 22px;
  }
}

/* ---------- Recruit teaser ---------- */
.recruit-teaser {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: stretch;
}

.recruit-teaser__media {
  flex: 1 1 320px;
  position: relative;
  min-height: 280px;
  border-radius: 8px;
  overflow: hidden;
}

.recruit-teaser__media-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(
    to top,
    rgba(77, 68, 56, 0.78) 0%,
    rgba(77, 68, 56, 0.28) 55%,
    transparent 100%
  );
  pointer-events: none;
  padding: 24px;
}

.recruit-teaser__media-caption {
  margin: 0;
  font-family: var(--font-heading-jp);
  font-weight: 600;
  font-size: clamp(22px, 4.6vw, 34px);
  line-height: 1.6;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(77, 68, 56, 0.6);
}

.recruit-teaser__copy {
  flex: 1 1 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recruit-teaser__title {
  margin: 0 0 20px;
  font-family: var(--font-heading-jp);
  font-weight: 600;
  font-size: clamp(22px, 4.6vw, 36px);
  line-height: 1.55;
  color: var(--color-heading);
  text-wrap: pretty;
}

.recruit-teaser__lead {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 2.1;
  color: var(--color-body);
}

@media (min-width: 900px) {
  .recruit-teaser {
    gap: 48px;
  }
  .recruit-teaser__media {
    min-height: 360px;
  }
  .recruit-teaser__media-overlay {
    padding: 34px;
  }
  .recruit-teaser__lead {
    font-size: 17px;
  }
}

/* ---------- Contact ---------- */
.contact-form {
  display: grid;
  gap: 18px;
}

/* ===========================================================
   Recruit page (recruit.html) — page-specific styles
   =========================================================== */

/* ---------- Hero ---------- */
.recruit-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.recruit-hero__media {
  position: absolute;
  inset: 0;
  filter: brightness(1) contrast(0.95) saturate(1.03);
}

.recruit-hero__media img {
  object-position: center 32%;
}

.recruit-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(35, 29, 22, 0.68) 0%,
    rgba(35, 29, 22, 0.5) 40%,
    rgba(35, 29, 22, 0.38) 100%
  );
  pointer-events: none;
}

.recruit-hero__content {
  position: relative;
  width: 100%;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 20px 40px;
}

.recruit-hero__label {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: var(--color-accent-on-dark-alt);
  text-shadow: 0 1px 8px rgba(77, 68, 56, 0.6);
}

.recruit-hero__title {
  margin: 0 0 16px;
  font-family: var(--font-heading-jp);
  font-weight: 500;
  font-size: clamp(24px, 6vw, 42px);
  line-height: 1.6;
  color: #ffffff;
  text-wrap: pretty;
  text-shadow: 0 2px 16px rgba(77, 68, 56, 0.5);
}

.recruit-hero__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: #ffffff;
  max-width: 36em;
  text-shadow: 0 1px 10px rgba(77, 68, 56, 0.6);
}

@media (min-width: 900px) {
  .recruit-hero {
    min-height: 72vh;
  }
  .recruit-hero__content {
    padding: 0 24px 56px;
  }
}

/* ---------- Message ---------- */
.message-copy > h2 {
  margin: 0 0 20px;
  font-family: var(--font-heading-jp);
  font-weight: 500;
  font-size: clamp(20px, 4.6vw, 30px);
  line-height: 1.8;
  color: var(--color-heading);
  text-wrap: pretty;
}

.message-copy > p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 2.1;
  color: var(--color-body);
  text-align: left;
}

.message-copy > p:last-child {
  margin-bottom: 0;
}

/* ---------- Job ---------- */
.job-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 720px) {
  .job-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
  }
}

.job-copy p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 2;
  color: var(--color-body);
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.job-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-heading);
  background: #ffffff;
  border: 1px solid #e5ded1;
  border-radius: 4px;
  padding: 6px 12px;
}

.job-copy__label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: 0.06em;
}

.job-copy__tasks {
  margin: 0;
  font-size: 13px;
  line-height: 2;
  color: var(--color-body-light);
}

.job-flow-card {
  padding: 20px;
}

.job-flow-card__media {
  height: 160px;
  margin: 0 0 18px;
  border-radius: 4px;
  overflow: hidden;
  filter: brightness(1.12) contrast(0.95) saturate(1.03);
}

.job-flow-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.job-flow-card__label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: 0.06em;
}

.job-flow-row {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f0ebe1;
  font-size: 13px;
  line-height: 1.7;
  align-items: baseline;
}

.job-flow-list .job-flow-row:last-child {
  border-bottom: none;
}

.job-flow-row__num {
  font-family: var(--font-display);
  color: var(--color-accent);
  flex: 0 0 20px;
}

/* ---------- Reasons (Why browme) ---------- */
.reason-card {
  padding: 22px;
}

.reason-card__num {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-accent);
}

.reason-card__title {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-heading);
}

.reason-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--color-body-light);
}

/* ---------- Numbers ---------- */
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 560px) {
  .numbers-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

.number-tile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 20px 14px;
  text-align: center;
}

.number-tile__value {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--color-accent-on-dark);
}

.number-tile__unit {
  font-size: 15px;
}

.number-tile__label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.8);
}

@media (min-width: 900px) {
  .number-tile__value {
    font-size: 34px;
  }
  .number-tile__unit {
    font-size: 16px;
  }
  .number-tile__label {
    font-size: 12px;
    letter-spacing: 0.08em;
  }
}

.numbers-footnote {
  margin: 20px 0 0;
  font-size: 11px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Voices ---------- */
.voices-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: var(--content-max-width-wide);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .voices-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

.voice-card {
  text-align: left;
  font-family: var(--font-body);
  cursor: pointer;
  background: var(--color-bg);
  border: 1px solid var(--color-border-card);
  border-radius: 8px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.voice-card:hover,
.voice-card:focus-visible {
  border-color: var(--color-border-hover);
  background: #f4efe5;
}

.voice-card__avatar {
  width: 84px;
  height: 84px;
  padding: 4px;
  background: #ffffff;
  border: 1px solid #e5ded1;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(120, 105, 85, 0.08);
  overflow: hidden;
}

.voice-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.voice-card__name {
  margin: 14px 0 3px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-heading);
}

.voice-card__role {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--color-caption-alt);
  text-align: center;
}

.voice-card__title {
  margin: 0 0 12px;
  font-family: var(--font-heading-jp);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-heading);
  text-align: center;
  text-wrap: pretty;
}

.voice-card__excerpt {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-body-light);
  text-align: center;
}

.voice-card__more {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-dark-band);
  border-bottom: 1px solid var(--color-border-hover);
  padding-bottom: 2px;
}

/* Modal */
.voice-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(58, 51, 42, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.voice-modal-overlay[hidden] {
  display: none;
}

.voice-modal {
  position: relative;
  background: #ffffff;
  border-radius: 10px;
  max-width: 560px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 40px 26px;
  box-shadow: var(--shadow-modal);
}

@media (min-width: 640px) {
  .voice-modal {
    padding: 40px 34px;
  }
}

.voice-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  background: #f4efe5;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  color: var(--color-body-light);
  line-height: 1;
}

.voice-modal__close:hover,
.voice-modal__close:focus-visible {
  background: #e9e1d2;
}

.voice-modal__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid #eae3d5;
}

.voice-modal__avatar {
  width: 96px;
  height: 96px;
  padding: 4px;
  background: #ffffff;
  border: 1px solid #e5ded1;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(120, 105, 85, 0.08);
  overflow: hidden;
}

.voice-modal__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.voice-modal__name {
  margin: 14px 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-heading);
}

.voice-modal__role {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--color-caption-alt);
}

.voice-modal__title {
  margin: 0 0 18px;
  font-family: var(--font-heading-jp);
  font-size: 19px;
  line-height: 1.7;
  color: var(--color-heading);
  text-align: center;
  text-wrap: pretty;
}

.voice-modal__body {
  margin: 0;
  font-size: 14px;
  line-height: 2.1;
  color: var(--color-body-light);
}

/* ---------- A Day at browme ---------- */
.day-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 720px) {
  .day-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
  }
}

.day-timeline .numbered-row__num {
  flex: 0 0 52px;
  font-size: 14px;
}

.day-photos {
  display: grid;
  gap: 14px;
}

.day-photo-1 {
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  filter: brightness(1.12) contrast(0.95) saturate(1.03);
}

.day-photo-2 {
  height: 150px;
  border-radius: 8px;
  overflow: hidden;
}

.day-photo-1 img,
.day-photo-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 900px) {
  .day-photo-1 {
    height: 240px;
  }
  .day-photo-2 {
    height: 180px;
  }
}

/* ---------- Persona (Who We Want) ---------- */
.persona-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: var(--content-max-width-wide);
  margin: 0 auto;
}

@media (min-width: 640px) {
  .persona-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
  }
}

.persona-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.persona-card:hover,
.persona-card:focus-visible {
  border-color: var(--color-border-hover);
  background: var(--color-card-hover-bg);
}

.persona-card__num {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  color: var(--color-accent-alt);
}

.persona-card__title {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-heading);
  text-wrap: pretty;
}

.persona-card__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
  color: var(--color-body-light);
}

/* ---------- Benefits ---------- */
.benefit-card {
  padding: 18px 20px;
}

.benefit-card__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-heading);
}

.benefit-card__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--color-body-light);
}

/* ---------- Positions ---------- */
.position-card {
  overflow: hidden;
}

.position-card__head {
  background: var(--color-dark-band);
  padding: 14px 18px;
}

.position-card__head-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
}

.position-card__body {
  padding: 4px 18px 12px;
  background: #ffffff;
}

.position-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid #f0ebe1;
  font-size: 13px;
  line-height: 1.7;
}

.position-card__body .position-row:last-child {
  border-bottom: none;
}

.position-row__label {
  color: var(--color-caption);
}

@media (min-width: 560px) {
  .position-row {
    flex-direction: row;
    gap: 16px;
  }
  .position-row__label {
    flex: 0 0 76px;
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 4px 18px;
}

.faq-item summary {
  padding: 14px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-heading);
  cursor: pointer;
  list-style-position: inside;
}

.faq-item p {
  margin: 0;
  padding: 0 0 16px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--color-body-light);
}

/* ---------- Entry CTA ---------- */
.entry-cta {
  text-align: center;
}

.entry-cta__label {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.28em;
  color: var(--color-accent-on-dark);
}

.entry-cta__title {
  margin: 0 0 16px;
  font-family: var(--font-heading-jp);
  font-weight: 500;
  font-size: clamp(20px, 5vw, 30px);
  line-height: 1.7;
  color: #ffffff;
  text-wrap: pretty;
}

.entry-cta__lead {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.8);
}

.entry-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
