/* ==========================================================================
   COMPONENTS STYLESHEET
   Accurate recreation of Kigo Studio UI & Japanese Architecture
   Customized for Luan Chicale — Clean, Authentic Japanese Woodblock Aesthetic
   ========================================================================== */

/* --------------------------------------------------------------------------
   CUSTOM CURSOR
   -------------------------------------------------------------------------- */
#customCursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.25s var(--ease-soft), height 0.25s var(--ease-soft), background-color 0.25s var(--ease-soft);
  mix-blend-mode: difference;
  display: flex;
  align-items: center;
  justify-content: center;
}

#customCursor::before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

#customCursor.is-hovering {
  width: 48px;
  height: 48px;
  background-color: var(--red);
  mix-blend-mode: normal;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

#customCursor.is-hovering::before {
  content: "押";
  font-family: var(--brush);
  color: #ffffff;
  font-size: 20px;
  width: auto;
  height: auto;
  background: none;
  line-height: 1;
}

@media (pointer: coarse) {
  #customCursor {
    display: none !important;
  }
}

/* ==========================================================================
   CERIMÔNIA DE ENTRADA (序破急 / JO-HA-KYŪ — SHŌJI & MODERNIST GRID)
   Fusão entre arquitetura tradicional japonesa (Shōji, Kumiko, Ensō, Hanko)
   e minimalismo modernista (grades de precisão 1px, tipografia cinética)
   ========================================================================== */
.shokunin-intro {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 9995;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.shokunin-intro.is-skipping .shokunin-intro__panel {
  transition-duration: 0.42s;
}

.shokunin-intro.is-complete {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

/* Painéis Deslizantes Shōji / Fusuma */
.shokunin-intro__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.15%;
  background-color: #080808;
  overflow: hidden;
  will-change: transform;
  transition: transform 0.92s cubic-bezier(0.76, 0, 0.24, 1), box-shadow 0.92s ease;
}

.shokunin-intro__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/images/static_grain.png');
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: 0.045;
  mix-blend-mode: screen;
  pointer-events: none;
}

.shokunin-intro__panel--left {
  left: 0;
  border-right: 1px solid rgba(234, 226, 183, 0.22);
  box-shadow: 24px 0 80px rgba(0, 0, 0, 0.92);
}

.shokunin-intro__panel--right {
  right: 0;
  border-left: 1px solid rgba(234, 226, 183, 0.22);
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.92);
}

/* Moldura interna Shōji / Kumiko nas bordas que se abrem */
.shokunin-intro__panel--left::before,
.shokunin-intro__panel--right::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14px;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(234, 226, 183, 0.14) 0px,
    rgba(234, 226, 183, 0.14) 1px,
    transparent 1px,
    transparent 40px
  );
  pointer-events: none;
  z-index: 2;
}

.shokunin-intro__panel--left::before {
  right: 0;
  border-left: 1px solid rgba(234, 226, 183, 0.08);
}

.shokunin-intro__panel--right::before {
  left: 0;
  border-right: 1px solid rgba(234, 226, 183, 0.08);
}

.shokunin-intro.is-opening .shokunin-intro__panel--left {
  transform: translate3d(-102%, 0, 0);
}

.shokunin-intro.is-opening .shokunin-intro__panel--right {
  transform: translate3d(102%, 0, 0);
}

/* Grade Arquitetônica Kumiko × Swiss Grid (1px Hairlines) */
.shokunin-intro__kumiko {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(234, 226, 183, 0.036) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(234, 226, 183, 0.036) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.85;
  pointer-events: none;
}

.shokunin-intro__panel--left .shokunin-intro__kumiko {
  background-position: right center;
}

.shokunin-intro__panel--right .shokunin-intro__kumiko {
  background-position: left center;
}

/* Atmosfera sutil de tinta Sumi / Aizome / Akane nos painéis */
.shokunin-intro__wash {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shokunin-intro__wash--left {
  background:
    radial-gradient(circle at 85% 50%, rgba(234, 226, 183, 0.05) 0%, transparent 55%),
    radial-gradient(circle at 20% 25%, rgba(0, 48, 73, 0.22) 0%, transparent 65%);
}

.shokunin-intro__wash--right {
  background:
    radial-gradient(circle at 15% 50%, rgba(214, 40, 40, 0.07) 0%, transparent 55%),
    radial-gradient(circle at 80% 75%, rgba(0, 48, 73, 0.18) 0%, transparent 65%);
}

/* Caligrafia Monumental em Marca d'Água (職 na esquerda, 技 na direita) */
.shokunin-intro__bg-kanji {
  position: absolute;
  top: 50%;
  font-family: var(--brush);
  font-size: clamp(14rem, 34vmin, 28rem);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  transform: translateY(-50%);
  transition: transform 0.9s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.6s ease;
}

.shokunin-intro__bg-kanji--left {
  right: 6%;
  color: rgba(234, 226, 183, 0.028);
}

.shokunin-intro__bg-kanji--right {
  left: 6%;
  color: rgba(214, 40, 40, 0.032);
}

/* Fenda Central Luminosa (Seam com Ma / Espaço Negativo no Centro) */
.shokunin-intro__seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(234, 226, 183, 0.25) 14%,
    rgba(214, 40, 40, 0.72) 26%,
    transparent 29%,
    transparent 73%,
    rgba(214, 40, 40, 0.72) 76%,
    rgba(234, 226, 183, 0.25) 88%,
    transparent 100%
  );
  transform-origin: center center;
  animation: intro-seam-ignite 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
  z-index: 2;
  transition: opacity 0.35s ease, transform 0.5s ease;
}

.shokunin-intro.is-opening .shokunin-intro__seam {
  animation: none;
  opacity: 0;
  transform: translateX(-50%) scaleY(1.08);
  transition: opacity 0.18s ease, transform 0.25s ease;
}

/* Moldura Arquitetônica & Telemetria Minimalista */
.shokunin-intro__hud {
  position: absolute;
  inset: clamp(1.1rem, 2.8vw, 2.4rem);
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.38s ease, transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
}

.shokunin-intro.is-opening .shokunin-intro__hud {
  opacity: 0;
  transform: scale(1.02);
}

.shokunin-intro__corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: rgba(234, 226, 183, 0.35);
  border-style: solid;
}

.shokunin-intro__corner--tl {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
}

.shokunin-intro__corner--tr {
  top: 0;
  right: 0;
  border-width: 1px 1px 0 0;
}

.shokunin-intro__corner--bl {
  bottom: 0;
  left: 0;
  border-width: 0 0 1px 1px;
}

.shokunin-intro__corner--br {
  bottom: 0;
  right: 0;
  border-width: 0 1px 1px 0;
}

.shokunin-intro__meta {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--title);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(234, 226, 183, 0.65);
}

.shokunin-intro__meta--tl {
  top: 14px;
  left: 16px;
}

.shokunin-intro__meta--tr {
  top: 14px;
  right: 16px;
}

.shokunin-intro__meta--bl {
  bottom: 14px;
  left: 16px;
}

.shokunin-intro__meta--br {
  bottom: 14px;
  right: 16px;
}

.shokunin-intro__meta-code {
  color: #ffffff;
  font-weight: 600;
}

.shokunin-intro__meta-sep {
  width: 22px;
  height: 1px;
  background: rgba(214, 40, 40, 0.65);
}

.shokunin-intro__meta-label {
  color: rgba(234, 226, 183, 0.62);
}

/* Barra de Progresso Modernista & Contador Tabular */
.shokunin-intro__progress-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: clamp(175px, 20vw, 240px);
}

.shokunin-intro__progress-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.shokunin-intro__progress-tag {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.52);
}

.shokunin-intro__counter {
  font-family: var(--title);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}

.shokunin-intro__counter small {
  font-size: 0.68rem;
  color: var(--red);
  margin-left: 2px;
}

.shokunin-intro__progress-track {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.shokunin-intro__progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--red) 100%);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

/* Botão Pular Minimalista */
.shokunin-intro__skip {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid rgba(234, 226, 183, 0.22);
  background: rgba(12, 12, 12, 0.72);
  color: rgba(234, 226, 183, 0.78);
  font-family: var(--title);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.shokunin-intro__skip:hover,
.shokunin-intro__skip:focus-visible {
  border-color: var(--red);
  color: #ffffff;
  background: rgba(214, 40, 40, 0.18);
  outline: none;
}

.shokunin-intro.is-opening .shokunin-intro__skip,
.shokunin-intro.is-complete .shokunin-intro__skip {
  pointer-events: none;
}

.shokunin-intro__skip-kanji {
  font-family: var(--brush);
  font-size: 0.95rem;
  color: var(--red);
  line-height: 1;
}

/* Núcleo Central: Ensō + Hanko + Tipografia Cinética */
.shokunin-intro__center {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.15rem;
  text-align: center;
  padding: 2.5rem 3.5rem;
  background: radial-gradient(
    ellipse 68% 64% at 50% 52%,
    rgba(8, 8, 8, 0.96) 0%,
    rgba(8, 8, 8, 0.86) 52%,
    rgba(8, 8, 8, 0) 100%
  );
  transition: opacity 0.32s ease, transform 0.52s cubic-bezier(0.76, 0, 0.24, 1), filter 0.32s ease;
}

.shokunin-intro.is-opening .shokunin-intro__center {
  opacity: 0;
  transform: scale(1.06);
  filter: blur(5px);
}

.shokunin-intro__vertical-motto {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-family: var(--haiku);
  font-size: 0.76rem;
  color: var(--gold);
  letter-spacing: 0.36em;
  position: relative;
  padding-top: 12px;
  animation: intro-motto-reveal 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.shokunin-intro__vertical-motto::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  transform: translateX(-50%);
  box-shadow: 0 0 8px var(--red);
}

.shokunin-intro__emblem {
  position: relative;
  width: clamp(154px, 21vmin, 192px);
  height: clamp(154px, 21vmin, 192px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.shokunin-intro__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.shokunin-intro__ring-tech {
  stroke: rgba(234, 226, 183, 0.22);
  stroke-width: 1;
  stroke-dasharray: 3 6;
  transform-origin: 120px 120px;
  animation: intro-ring-spin 22s linear infinite;
}

.shokunin-intro__ring-inner {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 0.8;
}

.shokunin-intro__axis {
  stroke: rgba(234, 226, 183, 0.42);
  stroke-width: 1.2;
}

.shokunin-intro__enso-stroke {
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 555;
  stroke-dashoffset: 555;
  transform-origin: 120px 120px;
  filter: drop-shadow(0 0 12px rgba(214, 40, 40, 0.35));
  animation: intro-enso-draw 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.06s forwards;
}

.shokunin-intro__stamp-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(214, 40, 40, 0.65);
  border-radius: 6px;
  pointer-events: none;
  animation: intro-stamp-ripple 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.42s both;
}

.shokunin-intro__hanko {
  position: relative;
  width: 54px;
  height: 54px;
  border: 2px solid var(--red);
  border-radius: 4px;
  background: rgba(214, 40, 40, 0.11);
  box-shadow:
    0 0 26px rgba(214, 40, 40, 0.32),
    inset 0 0 12px rgba(214, 40, 40, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: intro-hanko-stamp 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.32s both;
}

.shokunin-intro__hanko-kanji {
  font-family: var(--brush);
  font-size: 1.85rem;
  color: var(--red);
  line-height: 1;
  text-shadow: 0 0 12px rgba(214, 40, 40, 0.45);
}

/* Lockup Tipográfico Modernista */
.shokunin-intro__lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.42rem;
}

.shokunin-intro__line-mask {
  overflow: hidden;
  padding-block: 2px;
}

.shokunin-intro__brand {
  display: inline-block;
  font-family: var(--title);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  color: #ffffff;
  text-transform: uppercase;
  animation: intro-text-rise 0.62s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}

.shokunin-intro__divider {
  width: 68px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), var(--gold), transparent);
  animation: intro-divider-expand 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.48s both;
}

.shokunin-intro__sub {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: clamp(0.76rem, 1vw, 0.88rem);
  color: rgba(234, 226, 183, 0.82);
  letter-spacing: 0.08em;
  animation: intro-text-rise 0.62s cubic-bezier(0.16, 1, 0.3, 1) 0.52s both;
}

.shokunin-intro__sub-jp {
  font-family: var(--haiku);
  color: var(--red);
  letter-spacing: 0.16em;
  font-weight: 500;
}

.shokunin-intro__sub-dot {
  color: rgba(234, 226, 183, 0.4);
}

.shokunin-intro__sub em {
  font-family: var(--italic-accent);
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.02em;
}

/* Oculta o ponto do cursor customizado no centro exato enquanto a cerimônia está fechada */
body.is-intro-active #customCursor:not(.is-hovering) {
  opacity: 0;
}

/* Despertar sincronizado do Hero enquanto o Shōji se abre */
body.is-intro-active .hero__landscape {
  transform: scale(1.06);
  opacity: 0.16;
}

body.is-intro-opening .hero__landscape,
body.is-intro-complete .hero__landscape {
  transform: scale(1);
  opacity: 0.42;
  transition: transform 1.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s ease;
}

body.is-intro-active .hero-kicker-bar,
body.is-intro-active .hero-title,
body.is-intro-active .hero-subtitle,
body.is-intro-active .hero-ctas,
body.is-intro-active .hero-vertical-banner,
body.is-intro-active .hero-stats-grid {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

body.is-intro-opening .hero-kicker-bar,
body.is-intro-complete .hero-kicker-bar {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.65s ease 0.08s, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.08s;
}

body.is-intro-opening .hero-title,
body.is-intro-complete .hero-title {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.7s ease 0.15s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

body.is-intro-opening .hero-subtitle,
body.is-intro-complete .hero-subtitle {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.7s ease 0.22s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.22s;
}

body.is-intro-opening .hero-ctas,
body.is-intro-complete .hero-ctas {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.7s ease 0.29s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.29s;
}

body.is-intro-opening .hero-vertical-banner,
body.is-intro-complete .hero-vertical-banner {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.75s ease 0.32s, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.32s;
}

body.is-intro-opening .hero-stats-grid,
body.is-intro-complete .hero-stats-grid {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.75s ease 0.36s, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.36s;
}

@media (prefers-reduced-motion: reduce) {
  .shokunin-intro__panel,
  .shokunin-intro__center,
  .shokunin-intro__hud,
  .shokunin-intro__seam {
    transition-duration: 0.2s !important;
    animation-duration: 0.2s !important;
  }
}

/* --------------------------------------------------------------------------
   CONTAINER & LAYOUT
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--edge-padding);
}

.p-wrap {
  padding-block: var(--section-spacing);
  position: relative;
}

/* --------------------------------------------------------------------------
   HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  height: var(--header-height);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 10, 10, 0.88);
  border-bottom: 1px solid var(--color-border-subtle);
  pointer-events: none;
  z-index: -1;
}

.header__wrapper {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) max-content minmax(180px, 1fr);
  align-items: center;
  height: 100%;
  padding-inline: var(--edge-padding);
  max-width: var(--container-max-width);
  margin-inline: auto;
}

.header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.header__logo-text {
  font-family: var(--title);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #ffffff;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.header__logo-sub {
  font-family: var(--haiku);
  font-size: 0.85rem;
  color: var(--red);
  letter-spacing: 0.1em;
  font-weight: 400;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.1vw, 1.1rem);
}

.nav-link {
  font-family: var(--title);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.035em;
  color: #b8b8b8;
  position: relative;
  padding: 4px 7px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 4px;
  transition: color 0.22s ease;
  cursor: pointer;
  user-select: none;
}

.nav-link:hover {
  color: #ffffff;
}

/* Wet Sumi Ink Bloom expanding around link on hover (refined, 20% gentler) */
.nav-link::before {
  content: "";
  position: absolute;
  inset: -2px -4px;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(214, 40, 40, 0.18) 0%, rgba(247, 127, 0, 0.05) 50%, transparent 75%);
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.25s ease, transform 0.25s var(--ease-soft);
  pointer-events: none;
  z-index: -1;
  filter: blur(3px);
}

.nav-link:hover::before {
  opacity: 1;
  transform: scale(1);
}

/* Calligraphy Brush Underline that paints itself across the link */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 6px;
  right: 6px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, var(--red) 30%, var(--orange) 70%, transparent 100%);
  border-radius: 1px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-soft), opacity 0.2s ease;
  pointer-events: none;
  filter: drop-shadow(0 0 3px rgba(214, 40, 40, 0.7));
}

.nav-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-link__label {
  display: inline-flex;
  align-items: center;
}

/* Individual Interactive Liquid Ink Characters */
.ink-char {
  display: inline-block;
  will-change: transform, color, text-shadow, filter;
  transition: transform 0.2s cubic-bezier(0.2, 0.85, 0.3, 1.2), color 0.15s ease, text-shadow 0.15s ease, filter 0.15s ease;
  transform-origin: center bottom;
  pointer-events: none;
}

/* ONLY characters directly touched by the mouse receive liquid ink distortion */
.ink-char.is-ink-touched {
  filter: url(#liquid-ink-filter);
}

.nav-link__dot {
  width: 3px;
  height: 3px;
  background-color: var(--red);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.2s ease, transform 0.2s var(--ease-soft), box-shadow 0.2s ease;
  flex-shrink: 0;
}

.nav-link:hover .nav-link__dot {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 0 6px var(--red);
}

.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

/* Postcard CTA Button */
.contact-postcard-cta {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  color: #ffffff;
  display: inline-flex;
  font-family: var(--title);
  font-size: clamp(13px, 0.9vw, 15px);
  gap: 12px;
  justify-content: space-between;
  line-height: 1.2;
  min-height: 42px;
  padding: 6px 18px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s var(--ease-soft);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.contact-postcard-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--red);
  transform: translateX(-100%);
  transition: transform 0.3s var(--ease-soft);
  z-index: -1;
}

.contact-postcard-cta:hover {
  border-color: var(--red);
  color: #ffffff;
}

.contact-postcard-cta:hover::before {
  transform: translateX(0);
}

.contact-postcard-cta__label {
  font-weight: 600;
}

.contact-postcard-cta__kanji {
  color: var(--red);
  flex-shrink: 0;
  font-family: var(--brush);
  font-size: 24px;
  letter-spacing: -0.08em;
  line-height: 1;
  transition: color 0.3s ease, transform 0.3s ease;
}

.contact-postcard-cta:hover .contact-postcard-cta__kanji {
  color: #ffffff;
  transform: scale(1.15) rotate(5deg);
}

/* Audio toggle button */
.sound-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0;
  color: #ffffff;
  transition: all 0.25s ease;
}

.sound-toggle-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Mobile Menu Button */
.header__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}

.header__menu-btn span {
  display: block;
  height: 2px;
  width: 22px;
  background: #ffffff;
  transition: all 0.3s ease;
}

/* ==========================================================================
   MOBILE NAV — PAINTING (AQUARELA SOBRE WASHI)
   Escuro = room; Papel = painel orgânico com sangria de tinta; clique = pingo no lago
   ========================================================================== */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  overflow: hidden;
  background:
    radial-gradient(90% 60% at 50% -10%, rgba(212, 90, 90, 0.10), transparent 70%),
    radial-gradient(80% 55% at 85% 110%, rgba(0, 48, 73, 0.35), transparent 72%),
    #0a0a0a;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  visibility: hidden;
}

.mobile-nav.is-open {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
}

/* Washes de aquarela no pano de fundo escuro */
.mobile-nav__wash {
  position: absolute;
  border-radius: 50%;
  filter: url(#wcBleed);
  mix-blend-mode: screen;
  pointer-events: none;
}

.mobile-nav__wash--aizome {
  width: 72vmax;
  height: 52vmax;
  right: -22vmax;
  bottom: -18vmax;
  background: radial-gradient(closest-side, rgba(0, 48, 73, 0.5) 0%, rgba(0, 48, 73, 0.22) 52%, rgba(0, 48, 73, 0) 74%);
}

.mobile-nav__wash--gold {
  width: 48vmax;
  height: 34vmax;
  left: -16vmax;
  top: -12vmax;
  background: radial-gradient(closest-side, rgba(234, 226, 183, 0.14) 0%, rgba(234, 226, 183, 0.06) 55%, rgba(234, 226, 183, 0) 75%);
}

.mobile-nav__wash--vermilion {
  width: 40vmax;
  height: 30vmax;
  right: -12vmax;
  top: -8vmax;
  background: radial-gradient(closest-side, rgba(214, 40, 40, 0.16) 0%, rgba(214, 40, 40, 0.07) 55%, rgba(214, 40, 40, 0) 75%);
}

/* O papel washi: base + manchas de aquarela (sangria) + grão */
.mobile-nav__panel {
  position: relative;
  width: min(420px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 13.5vw, 4.2rem) clamp(1.5rem, 6.5vw, 2.6rem) clamp(3rem, 12vw, 3.8rem);
  background: linear-gradient(168deg, #f7f0df 0%, #efe4cd 58%, #e9dcc2 100%);
  border-radius: 1.1rem 2rem 1.4rem 3.4rem / 2.8rem 1.3rem 3rem 1.1rem;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.65),
    0 6px 24px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5),
    inset 0 0 46px rgba(120, 90, 40, 0.16);
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition: transform 0.5s var(--ease-soft), opacity 0.4s ease;
}

.mobile-nav.is-open .mobile-nav__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.mobile-nav__panel::before {
  content: "";
  position: absolute;
  inset: -18%;
  pointer-events: none;
  background:
    radial-gradient(30% 24% at 80% 10%, rgba(234, 226, 183, 0.9) 0%, rgba(234, 226, 183, 0.4) 46%, rgba(234, 226, 183, 0) 66%),
    radial-gradient(34% 26% at 10% 20%, rgba(214, 40, 40, 0.42) 0%, rgba(214, 40, 40, 0.2) 44%, rgba(214, 40, 40, 0) 64%),
    radial-gradient(30% 24% at 88% 78%, rgba(0, 48, 73, 0.34) 0%, rgba(0, 48, 73, 0.16) 46%, rgba(0, 48, 73, 0) 64%),
    radial-gradient(38% 28% at 26% 92%, rgba(247, 127, 0, 0.36) 0%, rgba(247, 127, 0, 0.16) 44%, rgba(247, 127, 0, 0) 64%);
  filter: url(#wcBleed);
  opacity: 0.9;
}

.mobile-nav__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: url('/images/static_grain.png') repeat;
  background-size: 220px;
  mix-blend-mode: multiply;
  opacity: 0.24;
}

/* Respingos de tinta (tinta molhada: pontos distorcidos pelo bleed) */
.mobile-nav__splatter {
  position: absolute;
  inset: 0;
  pointer-events: none;
  filter: url(#wcBleed);
}

.mobile-nav__splatter::before,
.mobile-nav__splatter::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  border-radius: 50%;
}

.mobile-nav__splatter::before {
  box-shadow:
    30px 64px 0 1.5px rgba(214, 40, 40, 0.8),
    58px 78px 0 0.5px rgba(214, 40, 40, 0.65),
    22px 96px 0 0.5px rgba(214, 40, 40, 0.5),
    300px 132px 0 2.5px rgba(214, 40, 40, 0.85),
    322px 148px 0 0.5px rgba(214, 40, 40, 0.6),
    270px 52px 0 1px rgba(214, 40, 40, 0.55),
    54px 342px 0 2px rgba(214, 40, 40, 0.75),
    80px 358px 0 0.5px rgba(214, 40, 40, 0.5),
    330px 384px 0 1.5px rgba(214, 40, 40, 0.7),
    322px 400px 0 0.5px rgba(214, 40, 40, 0.55),
    40px 150px 0 0.5px rgba(0, 48, 73, 0.55),
    300px 470px 0 1.5px rgba(0, 48, 73, 0.6),
    280px 490px 0 0.5px rgba(0, 48, 73, 0.5),
    34px 480px 0 1.5px rgba(247, 127, 0, 0.65),
    60px 500px 0 0.5px rgba(247, 127, 0, 0.5),
    300px 224px 0 1px rgba(247, 127, 0, 0.6);
}

.mobile-nav__splatter::after {
  box-shadow:
    168px 30px 0 1px rgba(234, 226, 183, 0.85),
    196px 18px 0 0.5px rgba(234, 226, 183, 0.7),
    250px 300px 0 1px rgba(234, 226, 183, 0.8),
    130px 320px 0 0.5px rgba(214, 40, 40, 0.4);
}

/* Marca d'água em tinta de pincel + assinatura */
.mobile-nav__watermark {
  position: absolute;
  right: 0.35rem;
  top: 44%;
  font-family: var(--brush);
  font-size: clamp(6rem, 34vw, 9.5rem);
  line-height: 1;
  color: rgba(0, 48, 73, 0.16);
  transform: translateY(-50%) rotate(-6deg);
  pointer-events: none;
  filter: url(#wcBleed);
  user-select: none;
}

.mobile-nav__signature {
  position: absolute;
  bottom: clamp(0.9rem, 4vw, 1.4rem);
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--brush);
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  color: rgba(0, 48, 73, 0.5);
  pointer-events: none;
  user-select: none;
}

.mobile-nav__signature em {
  font-style: normal;
  color: rgba(214, 40, 40, 0.55);
  margin-left: 0.4rem;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  padding-inline: 0.28rem;
  font-size: 0.85rem;
}

/* Selo de fechamento (hanko) */
.mobile-nav__close {
  position: absolute;
  top: 1.35rem;
  right: 1.4rem;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  font-family: var(--title);
  line-height: 1;
  color: #a41414;
  background: rgba(214, 40, 40, 0.1);
  border: 1.5px solid rgba(214, 40, 40, 0.75);
  border-radius: 42% 58% 46% 54% / 55% 42% 58% 45%;
  cursor: pointer;
  z-index: 3;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-nav__close:hover,
.mobile-nav__close:active,
.mobile-nav__close:focus-visible {
  background: rgba(214, 40, 40, 0.85);
  color: #f7f0df;
  transform: rotate(90deg);
  box-shadow: 0 0 0 6px rgba(214, 40, 40, 0.16);
  filter: none;
}

/* Lista / estilo de tinta */
.mobile-nav__list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  transform: translateZ(0);
  animation: none;
}

.mobile-nav__link {
  font-family: var(--title);
  font-size: clamp(1.3rem, 5.4vw, 1.66rem);
  font-weight: 600;
  color: #2b1d16;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0.35rem;
  position: relative;
  opacity: 0;
  transform: translateX(30px);
  filter: blur(7px);
  transition:
    opacity 0.48s ease var(--entry-delay, 0ms),
    transform 0.55s var(--ease-soft) var(--entry-delay, 0ms),
    filter 0.48s ease var(--entry-delay, 0ms);
}

.mobile-nav.is-open .mobile-nav__link {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
}

/* Quinas de letras levemente borradas (tinta absorvida pelo papel) */
.mobile-nav__link .nav-link__label {
  color: inherit;
  position: relative;
  text-shadow:
    0 0 1.5px rgba(43, 29, 22, 0.5),
    0 0 8px rgba(214, 40, 40, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.4);
  filter: blur(0.35px);
  transition: color 0.25s ease, text-shadow 0.25s ease, filter 0.25s ease;
}

/* pincelada de aquarela sob o texto */
.mobile-nav__link::after {
  content: "";
  position: absolute;
  left: 0.35rem;
  bottom: 0.05rem;
  height: 0.42em;
  width: calc(100% - 0.7rem);
  background: linear-gradient(90deg, rgba(214, 40, 40, 0.32), rgba(247, 127, 0, 0.36), rgba(0, 48, 73, 0.3));
  filter: url(#wcBleed);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s var(--ease-soft);
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
}

.mobile-nav__link:hover .nav-link__label,
.mobile-nav__link:focus-visible .nav-link__label,
.mobile-nav__link:active .nav-link__label {
  color: #a41414;
  text-shadow:
    0 0 2px rgba(164, 20, 20, 0.55),
    0 0 14px rgba(214, 40, 40, 0.4),
    0 1px 0 rgba(255, 255, 255, 0.45);
}

.mobile-nav__link:hover::after,
.mobile-nav__link:focus-visible::after,
.mobile-nav__link:active::after {
  transform: scaleX(1);
}

.mobile-nav__link:focus-visible {
  outline: none;
}

.mobile-nav__link .hanko-seal {
  filter: saturate(1.15);
  flex-shrink: 0;
}

/* Camada do rastro de tinta no lago */
.mobile-nav__ripple-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
}

.water-ripple {
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.35);
  z-index: 1;
}

/* Rastro: véu de tinta que nasce no toque, se espalha e dissolve devagar */
.water-ripple {
  background:
    radial-gradient(circle, rgba(43, 29, 22, 0.34) 0%, rgba(214, 40, 40, 0.2) 34%, rgba(0, 48, 73, 0.14) 58%, rgba(0, 48, 73, 0) 72%);
  animation: wcBlot 2s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

@keyframes wcBlot {
  0% { transform: translate(-50%, -50%) scale(0.35); opacity: 0; }
  14% { opacity: 0.62; }
  48% { opacity: 0.4; }
  78% { opacity: 0.16; }
  100% { transform: translate(-50%, -50%) scale(4.6); opacity: 0; }
}

/* Respeitar preferências de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  .water-ripple {
    animation: none;
    display: none;
  }

  .mobile-nav__panel,
  .mobile-nav__link {
    transform: none !important;
    filter: none !important;
    transition-duration: 0.01s !important;
    transition-delay: 0s !important;
  }
}

/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(3rem, 6vw, 6rem);
  overflow: hidden;
}

.hero__landscape {
  position: absolute;
  inset: 0;
  background-image: url('/images/japanese_koi_river_fullbleed.jpg?v=2');
  background-size: cover;
  background-position: 55% center;
  opacity: 0.42;
  filter: contrast(1.15) saturate(1.22) brightness(0.9);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.5s ease;
}

.hero__landscape::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 55% 52%, rgba(10, 10, 10, 0.12) 0%, rgba(10, 10, 10, 0.65) 60%, rgba(10, 10, 10, 0.98) 95%),
    linear-gradient(to right, rgba(10, 10, 10, 0.88) 0%, rgba(10, 10, 10, 0.65) 38%, transparent 70%),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.8) 0%, transparent 16%, transparent 80%, #0a0a0a 100%);
}

#sakuraCanvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  width: 100%;
  height: 100%;
}

.hero__content {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.hero-kicker-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--title);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-kicker-bar .hanko-seal {
  font-size: 1rem;
}

.hero-main-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero-title-wrap {
  max-width: 950px;
}

.hero-title {
  font-family: var(--title);
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-title em {
  font-family: var(--italic-accent);
  font-style: italic;
  font-weight: 700;
  color: var(--gold);
  text-transform: none;
  letter-spacing: -0.01em;
}

.hero-title .rotating-text {
  color: var(--red);
  display: inline-block;
  border-bottom: 3px solid var(--red);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  color: #b5b5b5;
  font-weight: 300;
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero-subtitle strong {
  color: #ffffff;
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--title);
  font-size: clamp(13px, 0.9vw, 15px);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cfcfcf;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.hero-vertical-banner {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-vertical-banner .jp-vertical {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.1rem;
  font-weight: 300;
}

.hero-vertical-banner .hanko-seal {
  font-size: 1.2rem;
  padding: 6px 4px;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 2rem;
  margin-top: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-family: var(--title);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.stat-value span {
  color: var(--red);
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   CLIENT REEL & TECH MARQUEE
   -------------------------------------------------------------------------- */
.home-clients {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  background: #0f0f0f;
  padding-block: 2rem;
  overflow: hidden;
  position: relative;
}

.marquee-container {
  overflow: hidden;
  position: relative;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  white-space: nowrap;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--title);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888888;
  transition: color 0.3s ease;
}

.marquee-item:hover {
  color: #ffffff;
}

.marquee-item .sep {
  color: var(--red);
  font-family: var(--brush);
  font-size: 1.4rem;
}

/* --------------------------------------------------------------------------
   SPECIALIZATIONS / SERVICES POSTERS
   -------------------------------------------------------------------------- */
.section-header {
  margin-bottom: 3.5rem;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--title);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--title);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.section-title em {
  font-family: var(--italic-accent);
  font-style: italic;
  font-weight: 700;
  color: var(--gold);
  text-transform: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-poster-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.25rem;
  overflow: hidden;
  transition: transform 0.35s var(--ease-soft), border-color 0.35s ease;
  cursor: pointer;
}

.service-poster-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.4);
}

.service-poster-card__kanji-watermark {
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-family: var(--brush);
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  pointer-events: none;
  z-index: 2;
  transition: color 0.3s ease;
}

.service-poster-card:hover .service-poster-card__kanji-watermark {
  color: rgba(214, 40, 40, 0.18);
}

.service-poster-card__content {
  position: relative;
  z-index: 5;
}

.service-metric-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--title);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  background: rgba(148, 230, 105, 0.12);
  border: 1px solid rgba(148, 230, 105, 0.25);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.service-card-title {
  font-family: var(--title);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.service-card-desc {
  font-size: 0.95rem;
  color: #c2c2c2;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-pill {
  font-size: 0.75rem;
  font-family: var(--title);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 3px 8px;
  color: #e0e0e0;
}

/* --------------------------------------------------------------------------
   FLAGSHIP WORK POSTCARDS (PROJETOS)
   -------------------------------------------------------------------------- */
.home-work {
  position: relative;
  background-color: var(--color-background);
}

.work-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 5;
}

.filter-btn {
  font-family: var(--title);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  color: #888888;
  background: transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}

.filter-btn.active, .filter-btn:hover {
  border-color: var(--red);
  color: #ffffff;
  background: rgba(214, 40, 40, 0.1);
}

.home-work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  position: relative;
  z-index: 5;
}

.work-postcard {
  position: relative;
  background: #141414;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-soft), border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  cursor: pointer;
}

.work-postcard:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.project-card-marks {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 8;
  pointer-events: none;
}

.project-card-marks__kanji {
  font-family: var(--brush);
  font-size: 26px;
  color: var(--red);
  line-height: 1;
}

.project-card-marks__arrow {
  width: 22px;
  height: 22px;
  color: #ffffff;
  transform: rotate(-45deg);
  transition: transform 0.3s var(--ease-soft), color 0.3s ease;
}

.work-postcard:hover .project-card-marks__arrow {
  transform: translate(3px, -3px) rotate(-45deg);
  color: var(--red);
}

.work-postcard__art {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #1c1c1c;
  border-bottom: 1px solid var(--color-border);
}

.work-postcard__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--ease-soft), filter 0.5s ease;
}

.work-postcard:hover .work-postcard__art img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.work-postcard__copy {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.work-postcard__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--title);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.work-postcard__title {
  font-family: var(--title);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.work-postcard__client {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.work-postcard__description {
  font-size: 0.95rem;
  color: #a8a8a8;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.work-postcard__scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   CONFIDENTIAL WORK POSTCARD (CLASSIFIED & REDACTED SUMI-E AESTHETIC)
   -------------------------------------------------------------------------- */
.work-postcard--confidential {
  background: #0d0d0d;
  border: 1px dashed rgba(214, 40, 40, 0.45);
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.85);
}

.work-postcard--confidential:hover {
  border-color: var(--red);
  box-shadow: 0 20px 45px rgba(214, 40, 40, 0.22), inset 0 0 30px rgba(214, 40, 40, 0.1);
}

.work-postcard--confidential .work-postcard__art {
  background: #080808;
  position: relative;
  overflow: hidden;
}

.work-postcard--confidential .work-postcard__art img {
  filter: grayscale(100%) brightness(0.22) contrast(140%) blur(2.5px);
  transform: scale(1.08);
  transition: filter 0.6s var(--ease-soft), transform 0.6s var(--ease-soft);
}

.work-postcard--confidential:hover .work-postcard__art img {
  filter: grayscale(80%) brightness(0.32) contrast(150%) blur(1.5px);
  transform: scale(1.12);
}

/* Giant Red Proibido Kanji Stamp & Watermark */
.confidential-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(214, 40, 40, 0.15) 0%, rgba(10, 10, 10, 0.68) 65%, rgba(5, 5, 5, 0.94) 100%);
  z-index: 3;
}

.confidential-kanji-stamp {
  font-family: var(--brush), var(--haiku);
  font-size: clamp(5.2rem, 7.5vw, 7.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--red);
  text-shadow: 0 0 25px rgba(214, 40, 40, 0.95), 0 0 50px rgba(180, 0, 0, 0.6);
  transform: rotate(-6deg);
  border: 4px solid var(--red);
  padding: 4px 24px;
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(214, 40, 40, 0.5), inset 0 0 20px rgba(214, 40, 40, 0.25);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.9));
  position: relative;
  letter-spacing: -0.05em;
  transition: transform 0.4s var(--ease-soft), text-shadow 0.4s ease;
}

.work-postcard--confidential:hover .confidential-kanji-stamp {
  transform: rotate(-3deg) scale(1.04);
  text-shadow: 0 0 35px rgba(214, 40, 40, 1), 0 0 60px rgba(247, 127, 0, 0.7);
}

.confidential-stamp-badge {
  margin-top: 10px;
  font-family: var(--title);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: #ff9999;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(214, 40, 40, 0.5);
  padding: 3px 10px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
}

/* Redacted / Confidential Title & Subtitle */
.confidential-title-main {
  font-family: var(--title);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
  display: block;
  text-transform: uppercase;
  margin-top: 2px;
}

.confidential-subtitle {
  display: inline-block;
  font-family: var(--haiku);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 6px;
  padding: 2px 8px;
  background: rgba(247, 127, 0, 0.1);
  border-left: 2px solid var(--gold);
}

.confidential-desc {
  color: #8c8c8c;
  font-style: italic;
  position: relative;
}

/* Stained / Blurred Confidential Tech Badges */
.tech-pill--confidential {
  background: rgba(214, 40, 40, 0.12) !important;
  border-color: rgba(214, 40, 40, 0.45) !important;
  color: #ffaaaa !important;
  filter: blur(1.1px);
  opacity: 0.78;
  position: relative;
  transition: filter 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, transform 0.2s ease;
  user-select: none;
}

.work-postcard--confidential:hover .tech-pill--confidential {
  filter: blur(0.4px);
  opacity: 0.95;
  color: #ffffff !important;
}

.tech-pill--confidential:hover {
  filter: blur(0px) !important;
  opacity: 1 !important;
  transform: translateY(-2px);
  background: rgba(214, 40, 40, 0.3) !important;
  border-color: var(--red) !important;
  box-shadow: 0 0 10px rgba(214, 40, 40, 0.5);
}

/* --------------------------------------------------------------------------
   ABOUT SECTION / THE SHOKUNIN (04 / A PESSOA POR TRÁS)
   Ancient Japanese Scroll (Makimono) & Floating Watercolor Sanctuary
   -------------------------------------------------------------------------- */
.team {
  position: relative;
  background: radial-gradient(ellipse at 35% 50%, #141311 0%, #0a0a0a 80%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  padding-block: clamp(3.5rem, 5vw, 5rem);
}

.about-watermark-bg {
  position: absolute;
  top: 50%;
  left: 18%;
  transform: translate(-50%, -50%);
  font-family: var(--brush);
  font-size: clamp(16rem, 26vw, 30rem);
  color: rgba(255, 255, 255, 0.02);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* Section Header on top of Section 04 */
.about-section-lead {
  max-width: 900px;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
  position: relative;
  z-index: 10;
}

.ink-wash-manifesto {
  font-family: var(--title);
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  line-height: 1.55;
  color: #cfcfcf;
  font-weight: 400;
  padding: 0.9rem 1.4rem;
  border-left: 3px solid var(--red);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 0 4px 4px 0;
  position: relative;
  letter-spacing: 0.01em;
}

.ink-wash-manifesto em {
  font-family: var(--italic-accent);
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

/* Master Layout: Stage (Left) & Scrolls (Right) */
.about-content-layout {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(2rem, 3.5vw, 3.5rem);
  align-items: center;
}

/* Left Column: Floating Watercolor Sanctuary */
.about-floating-art-stage {
  position: relative;
  width: 100%;
  min-height: 480px;
  max-height: 520px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.about-art-ambient-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 40, 40, 0.18) 0%, rgba(247, 127, 0, 0.08) 50%, transparent 70%);
  filter: blur(45px);
  pointer-events: none;
  z-index: 2;
}

.floating-layer {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

/* Main Seated Shokunin Artisan (Luan Chicale) */
.floating-layer--shokunin {
  position: relative;
  width: 100%;
  max-width: 400px;
  z-index: 5;
  filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 35px rgba(214, 40, 40, 0.18));
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
}

.floating-layer--shokunin img {
  width: 100%;
  height: auto;
  display: block;
}

/* Ceremonial Kitsune Mask with Ribbons */
.floating-layer--mask {
  top: 2%;
  right: -2%;
  width: clamp(110px, 28%, 150px);
  z-index: 6;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 20px rgba(247, 127, 0, 0.2));
}

.floating-layer--mask img {
  width: 100%;
  height: auto;
  display: block;
}

/* Calligraphy Inkstone & Brushes */
.floating-layer--brushes {
  bottom: 2%;
  left: -6%;
  width: clamp(120px, 30%, 165px);
  z-index: 7;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.95));
}

.floating-layer--brushes img {
  width: 100%;
  height: auto;
  display: block;
}

/* Right Column: Ancient Japanese Scrolls & Manifesto */
.makimono-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.makimono-deck {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

/* Single Japanese Scroll (Makimono) */
.makimono-scroll {
  position: relative;
  background: linear-gradient(145deg, #181715 0%, #121110 100%);
  border: 1px solid rgba(234, 226, 183, 0.18);
  border-left: 4px solid var(--red);
  padding: 1.15rem 1.35rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
  transition: transform 0.25s var(--ease-soft), border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

/* Wooden Scroll Roller Rods on Top and Bottom */
.makimono-scroll::before,
.makimono-scroll::after {
  content: "";
  position: absolute;
  left: -5px;
  right: -5px;
  height: 4px;
  background: linear-gradient(90deg, #2b1d11 0%, #5a3c22 30%, #7d5431 50%, #5a3c22 70%, #2b1d11 100%);
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.8);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}

.makimono-scroll::before {
  top: -2px;
}

.makimono-scroll::after {
  bottom: -2px;
}

.makimono-scroll:hover {
  transform: translateY(-4px);
  border-color: rgba(234, 226, 183, 0.45);
  border-left-color: var(--gold);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.85), 0 0 20px rgba(214, 40, 40, 0.15);
}

.makimono-scroll__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.makimono-scroll__tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--title);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.makimono-scroll__kanji-stamp {
  font-family: var(--brush);
  font-size: 1.4rem;
  color: var(--red);
  line-height: 1;
  transition: transform 0.25s ease;
}

.makimono-scroll:hover .makimono-scroll__kanji-stamp {
  transform: scale(1.15) rotate(5deg);
}

.makimono-scroll__title {
  font-family: var(--title);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.makimono-scroll__text {
  font-size: clamp(0.85rem, 0.95vw, 0.92rem);
  color: #b8b8b8;
  line-height: 1.55;
  font-weight: 300;
}

.makimono-scroll__text strong {
  color: #ffffff;
  font-weight: 600;
}

/* Colophon Bottom Bar in Section 04 */
.about-colophon {
  margin-top: clamp(2rem, 3.5vw, 3rem);
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.about-colophon__author {
  display: flex;
  flex-direction: column;
}

.about-colophon__name {
  font-family: var(--title);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.about-colophon__role {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Discreet CV download link — reads as part of the colophon, not a CTA
   (+15% apenas no mobile; desktop na medida original) */
.about-colophon__cv {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 0.55rem;
  padding: 3px 0 2px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 1px dashed rgba(234, 226, 183, 0.25);
  opacity: 0.75;
  transition: color 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
}

@media (max-width: 768px) {
  .about-colophon__cv {
    gap: 7px;
    margin-top: 0.65rem;
    padding: 4px 0 3px;
    font-size: 0.8rem;
  }
}

.about-colophon__cv:hover,
.about-colophon__cv:focus-visible {
  color: var(--gold);
  opacity: 1;
  border-bottom-color: var(--gold);
  outline: none;
}

.about-colophon__cv svg {
  transition: transform 0.3s ease;
}

.about-colophon__cv:hover svg {
  transform: translateY(1px);
}

.about-colophon__seal {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--haiku);
  font-size: 0.95rem;
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   ILLUSTRATED FAQ & OMAMORI
   -------------------------------------------------------------------------- */
.service-faq {
  position: relative;
  background-color: var(--color-background);
}

.faq-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.faq-intro-sidebar {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-omamori-card {
  width: 220px;
  padding: 24px 18px;
  background: #161616;
  border: 2px solid var(--red);
  position: relative;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  animation: subtle-float 7s ease-in-out infinite;
}

.faq-omamori-card::before {
  content: "";
  position: absolute;
  top: -12px;
  width: 40px;
  height: 12px;
  background: var(--gold);
  border-radius: 2px;
}

.omamori-kanji-big {
  font-family: var(--brush);
  font-size: 2.8rem;
  color: var(--red);
  line-height: 1.1;
  text-align: center;
}

.omamori-sub {
  font-family: var(--haiku);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-top: 8px;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: border-color 0.3s ease;
}

.faq-item.is-active {
  border-color: rgba(255, 255, 255, 0.35);
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem;
  text-align: left;
  font-family: var(--title);
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  gap: 1.25rem;
  cursor: pointer;
}

.faq-icon-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.faq-kamon-badge {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}

.faq-toggle-cross {
  width: 20px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
}

.faq-toggle-cross span {
  position: absolute;
  background: #ffffff;
  transition: transform 0.3s ease;
}

.faq-toggle-cross .h-bar {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}

.faq-toggle-cross .v-bar {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}

.faq-item.is-active .faq-toggle-cross .v-bar {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-soft);
  padding-inline: 1.75rem;
}

.faq-item.is-active .faq-answer {
  max-height: 400px;
}

.faq-answer-inner {
  padding-bottom: 1.75rem;
  padding-top: 0.5rem;
  color: #b8b8b8;
  font-size: 1rem;
  line-height: 1.7;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* --------------------------------------------------------------------------
   FOOTER (RISING SUN, PINE TREE & CONTACT POSTCARD)
   -------------------------------------------------------------------------- */
.footer {
  position: relative;
  background: #090909;
  border-top: 1px solid var(--color-border);
  padding-block: clamp(4rem, 8vw, 8rem) 3rem;
  overflow: hidden;
}

.footer__art-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.footer-vector-sun {
  position: absolute;
  bottom: 10%;
  right: 5%;
  width: clamp(260px, 30vw, 480px);
  height: clamp(260px, 30vw, 480px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214, 40, 40, 0.9) 0%, rgba(214, 40, 40, 0.4) 65%, transparent 75%);
  filter: blur(12px);
  opacity: 0.8;
  animation: sun-glow 8s ease-in-out infinite;
}

.footer-vector-matsu {
  position: absolute;
  bottom: 0;
  right: 8%;
  width: clamp(220px, 26vw, 420px);
  height: auto;
  opacity: 0.7;
  z-index: 2;
  color: rgba(255, 255, 255, 0.85);
}

.footer__content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.footer__headline {
  font-family: var(--title);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: #ffffff;
  max-width: 900px;
}

.footer__headline em {
  font-family: var(--italic-accent);
  font-style: italic;
  font-weight: 700;
  color: var(--red);
  text-transform: none;
}

.footer-contact-box {
  background: rgba(22, 22, 22, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border);
  padding: clamp(2rem, 4vw, 3rem);
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-direct-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
}

/* Desktop (seção 6): e-mail compacto no próprio conteúdo (termina 1.25rem após o texto,
   a mesma medida do gap entre os botões), sozinho na linha de cima; LinkedIn + Behance juntos embaixo.
   Mobile empilha (media query no fim do arquivo) — display: contents faz o grupo sumir da árvore de layout. */
.contact-direct-links__socials {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.contact-email-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  background: var(--red);
  color: #ffffff;
  font-family: var(--title);
  font-size: 1.05rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 12px 20px;
  transition: all 0.3s ease;
  letter-spacing: 0.05em;
}

.contact-email-btn:hover {
  background: #b51e1e;
  transform: translateY(-2px);
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: var(--title);
  font-size: 0.95rem;
  padding: 10px 18px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.contact-social-link:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: #777777;
}

.footer-hanko {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--haiku);
  color: #aaaaaa;
}

/* --------------------------------------------------------------------------
   TOAST NOTICE
   -------------------------------------------------------------------------- */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #ffffff;
  color: #0a0a0a;
  font-family: var(--title);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 2px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s var(--ease-soft), opacity 0.3s ease;
  z-index: 10001;
}

.toast-notice.is-visible {
  transform: translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   RESPONSIVE QUERIES & MOBILE ARCHITECTURE
   -------------------------------------------------------------------------- */

/* TABLET & SMALL LAPTOP (<= 1024px) */
@media (max-width: 1024px) {
  #customCursor {
    display: none !important;
  }

  .header__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .header__nav {
    display: none;
  }

  .header__menu-btn {
    display: flex;
  }

  .hero-main-layout {
    grid-template-columns: 1fr;
  }

  .hero-vertical-banner {
    display: none;
  }

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

  .about-content-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .faq-layout-grid {
    grid-template-columns: 1fr;
  }

  .faq-intro-sidebar {
    position: static;
  }
}

/* TABLET PORTRAIT & PHABLETS (<= 768px) */
@media (max-width: 768px) {
  :root {
    --section-spacing: clamp(3.5rem, 6vw, 5rem);
    --edge-padding: clamp(1rem, 3.5vw, 2rem);
  }

  /* Section 04: The Shokunin on Mobile / Tablet */
  .about-floating-art-stage {
    min-height: 280px;
    max-height: 320px;
    width: 100%;
    margin-inline: auto;
  }

  .floating-layer--shokunin {
    width: 65%;
    max-width: 250px;
  }

  .floating-layer--mask {
    width: clamp(70px, 22%, 105px);
    top: -3%;
    right: 8%;
  }

  .floating-layer--brushes {
    width: clamp(80px, 24%, 115px);
    bottom: -4%;
    left: 8%;
  }

  /* Scrolls stack in 1 column on mobile for full width and readability */
  .makimono-deck {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .makimono-scroll {
    padding: 1.15rem 1.25rem;
  }

  .about-colophon {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding-top: 1.25rem;
    margin-top: 2rem;
  }

  .about-colophon__author {
    align-items: flex-start;
  }

  .about-colophon__seal {
    font-size: 0.85rem;
  }

  /* Services & Works */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .home-work__grid {
    grid-template-columns: 1fr;
  }

  /* Filter pills horizontal scroll */
  .filter-pills-row {
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
  }
  .filter-pills-row::-webkit-scrollbar {
    display: none;
  }

  /* Footer */
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-vector-sun {
    opacity: 0.45;
    right: -10%;
    width: 300px;
    height: 300px;
  }

  .footer-vector-matsu {
    opacity: 0.45;
    right: 0;
    width: 260px;
  }
}

/* SMARTPHONES & SMALL SCREENS (<= 480px) */
@media (max-width: 480px) {
  :root {
    --section-spacing: 3rem;
    --edge-padding: 1rem;
    --header-height: 64px;
  }

  /* Header Bar */
  .header {
    height: 64px;
  }

  .header__wrapper {
    padding-inline: 1rem;
  }

  .header__logo-text {
    font-size: 1.15rem;
    gap: 6px;
  }

  .header__logo-sub {
    font-size: 0.72rem;
  }

  /* Hide header text CTA on small mobile to give logo and controls ample breathing room */
  .header__actions .contact-postcard-cta {
    display: none;
  }

  .header__actions {
    gap: 0.5rem;
  }

  .sound-toggle-btn {
    width: 36px;
    height: 36px;
  }

  .header__menu-btn {
    width: 38px;
    height: 38px;
  }

  /* Hero Section */
  .hero {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 3.5rem;
  }

  .hero-kicker-bar {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    gap: 6px;
  }

  .hero-title {
    font-size: clamp(2rem, 9.5vw, 2.75rem);
    line-height: 1.12;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-ctas .contact-postcard-cta,
  .hero-ctas .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 18px;
    font-size: 0.92rem;
  }

  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 0.85rem;
    padding-top: 1.5rem;
  }

  .stat-value {
    font-size: 1.7rem;
  }

  .stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }

  /* Section Headers */
  .section-header {
    margin-bottom: 1.75rem;
  }

  .section-tag {
    font-size: 0.75rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 7.5vw, 2.1rem);
    line-height: 1.2;
  }

  /* Service Posters */
  .service-poster-card {
    padding: 1.5rem 1.25rem;
  }

  .service-card-title {
    font-size: 1.25rem;
  }

  .service-card-desc {
    font-size: 0.88rem;
  }

  /* Work Postcards */
  .work-postcard__cover {
    height: 200px;
  }

  .work-postcard__copy {
    padding: 1.25rem;
  }

  .work-postcard__title {
    font-size: 1.15rem;
  }

  .work-postcard__description {
    font-size: 0.88rem;
  }

  /* Section 04: The Shokunin */
  .about-section-lead {
    margin-bottom: 1.5rem;
  }

  .about-floating-art-stage {
    min-height: 250px;
    max-height: 270px;
  }

  .floating-layer--shokunin {
    width: 68%;
    max-width: 210px;
  }

  .floating-layer--mask {
    width: 72px;
    top: -2%;
    right: 5%;
  }

  .floating-layer--brushes {
    width: 78px;
    bottom: -4%;
    left: 5%;
  }

  .makimono-scroll {
    padding: 1rem 1.15rem;
  }

  .makimono-scroll__title {
    font-size: 1.05rem;
  }

  .makimono-scroll__text {
    font-size: 0.85rem;
    line-height: 1.55;
  }

  .ink-wash-manifesto {
    font-size: 0.9rem;
    line-height: 1.55;
    padding: 0.75rem 1rem;
  }

  /* FAQ */
  .faq-accordion__button {
    padding: 1.15rem 1.25rem;
    font-size: 1rem;
  }

  .faq-accordion__content p {
    font-size: 0.88rem;
    padding: 0 1.25rem 1.15rem;
  }

  /* Footer & Contact */
  .footer__content {
    gap: 2rem;
  }

  .footer__headline {
    font-size: clamp(2rem, 9.5vw, 2.75rem);
  }

  .footer-contact-box {
    padding: 1.5rem 1.25rem;
  }

  .contact-direct-links {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .contact-direct-links__socials {
    display: contents; /* no mobile os dois links voltam a empilhar sozinhos, sem o grupo */
  }

  .contact-email-btn,
  .contact-social-link {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.92rem;
  }

  /* Mobile Drawer: dimensionamento tratado no bloco principal (PC clamp) */

  .toast-notice {
    bottom: 1.25rem;
    left: 1rem;
    right: 1rem;
    justify-content: center;
    padding: 10px 16px;
    font-size: 0.85rem;
  }

  /* Cerimônia de Entrada no Mobile */
  .shokunin-intro__hud {
    inset: 0.85rem;
  }

  .shokunin-intro__meta--tl {
    top: 10px;
    left: 10px;
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    gap: 6px;
  }

  .shokunin-intro__meta--tr {
    top: 10px;
    right: 10px;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    gap: 6px;
  }

  .shokunin-intro__meta--tr .shokunin-intro__meta-label,
  .shokunin-intro__meta--tr .shokunin-intro__meta-sep {
    display: none;
  }

  .shokunin-intro__meta--bl {
    bottom: 12px;
    left: 10px;
  }

  .shokunin-intro__progress-wrap {
    width: 148px;
  }

  .shokunin-intro__progress-tag {
    font-size: 0.56rem;
    letter-spacing: 0.12em;
  }

  .shokunin-intro__meta--br {
    bottom: 10px;
    right: 10px;
  }

  .shokunin-intro__skip {
    padding: 5px 10px;
    font-size: 0.62rem;
    letter-spacing: 0.14em;
  }

  .shokunin-intro__emblem {
    width: 142px;
    height: 142px;
  }

  .shokunin-intro__hanko {
    width: 46px;
    height: 46px;
  }

  .shokunin-intro__hanko-kanji {
    font-size: 1.55rem;
  }

  .shokunin-intro__brand {
    font-size: 1.05rem;
    letter-spacing: 0.24em;
    padding-left: 0.24em;
  }

  .shokunin-intro__sub {
    font-size: 0.72rem;
    gap: 6px;
  }
}
