/* =========================================================
   Tyler — Website Styles
   Frameless / borderless design (no "枠" UI)
   ========================================================= */

:root{
  --bg: #0b0f14;
  --bg2:#0a0d12;
  --text:#f3f3f4;
  --muted:#b8bcc3;
  --soft:#8a919b;
  --accent:#c9ab6a; /* champagne gold */
  --accent2:#8fd3ff;
  --surface: rgba(255,255,255,.035);
  --surface-soft: rgba(255,255,255,.055);
  --surface-alt: rgba(255,255,255,.075);
  --line: rgba(255,255,255,.10);
  --line-strong: rgba(255,255,255,.18);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --shadow2: 0 10px 32px rgba(0,0,0,.35);
  --container: 1160px;
  --radius: 18px;
  --radius2: 26px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --header-h: 68px;
}

/* --------------------------------
   Typography helpers (line breaks)
--------------------------------- */
body{
  line-break: strict;
  overflow-wrap: break-word;
}

.nowrap{ white-space: nowrap; }
.paren{ white-space: nowrap; }

/* Inline service list (mobile-friendly)
   - Desktop: keeps the original "A／B／C" style
   - Mobile: stacks items and keeps parenthetical notes together */
.services__summary{ word-break: auto-phrase; }
.services__summary .services__item{ display: inline; }
.services__summary .services__sep{ margin: 0 .2em; }
.services__summary .services__note{ display: inline; }

@media (max-width: 520px){
  .services__summary{ line-height: 1.75; }
  .services__summary .services__item{ display: block; }
  .services__summary .services__sep{ display: none; }
  .services__summary .services__note{ display: block; margin-top: .55em; }
}
.sp-only{ display: none; }
.pc-only{ display: inline; }

.h1, .h2, .h3, .hero-tagline, .lead{
  text-wrap: balance;
  word-break: auto-phrase; /* progressive enhancement (supported browsers only) */
}

p, li{
  text-wrap: pretty; /* progressive enhancement */
}

@media (max-width: 520px){
  .sp-only{ display: block; }
  .pc-only{ display: none; }

  .h1{ font-size: clamp(2.05rem, 9.5vw, 2.7rem); letter-spacing: .06em; line-height: 1.16; }
  .h2{ font-size: clamp(1.35rem, 6.5vw, 1.9rem); letter-spacing: .07em; line-height: 1.18; }
  .h3{ font-size: clamp(1.1rem, 5.4vw, 1.4rem); letter-spacing: .08em; }
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  color:var(--text);
  background:
    url('../img/noise.png') repeat,
    radial-gradient(1100px 700px at 10% -10%, rgba(201,171,106,.08), transparent 60%),
    radial-gradient(900px 600px at 90% 0%, rgba(143,211,255,.07), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  font-family: "Noto Serif JP", serif;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 2px solid rgba(201,171,106,.75);
  outline-offset: 3px;
  border-radius: 8px;
}

.container{
  width:min(var(--container), calc(100% - 48px));
  margin:0 auto;
}

.kicker{
  font-family: "Montserrat", sans-serif;
  letter-spacing:.26em;
  text-transform: uppercase;
  font-size: .78rem;
  color: rgba(201,171,106,.95);
}

.h1{
  font-family: "Cinzel", "Noto Serif JP", serif;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: .08em;
  font-size: clamp(2.1rem, 3.6vw, 3.35rem);
  margin: .55rem 0 0;
}

.h2{
  font-family: "Cinzel", "Noto Serif JP", serif;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.2;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  margin: 0;
}

.h3{
  font-family: "Noto Serif JP", serif;
  font-weight: 600;
  letter-spacing: .05em;
  line-height: 1.35;
  font-size: 1.18rem;
  margin: 0;
}

.lead{
  color: rgba(243,243,244,.88);
  font-size: 1.05rem;
  margin: 1rem 0 0;
}

.muted{ color: var(--muted); }
.small{ font-size: .95rem; color: var(--muted); }

.section{
  padding: 92px 0;
  position: relative;
  overflow: hidden;
}

/* -----------------------------------------
   Ghost typography (kazera-lp-sample2 taste)
----------------------------------------- */
.section[data-ghost]::before{
  content: attr(data-ghost);
  position: absolute;
  left: clamp(-40px, -4vw, -10px);
  top: 50%;
  transform: translateY(calc(-55% + 90px)) scale(1.10);
  transform-origin: 0 50%;
  opacity: 0;
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: min(16vw, 240px);
  letter-spacing: .12em;
  color: rgba(243,243,244,.045);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: opacity 2.8s cubic-bezier(0.22, 1, 0.36, 1), transform 3.0s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.section.is-ghost-visible::before{
  opacity: 1;
  transform: translateY(-55%) scale(1);
}

.section > .container{
  position: relative;
  z-index: 1;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 18px;
  margin-bottom: 32px;
}

.section-head .sub{
  max-width: 62ch;
  color: rgba(184,188,195,.95);
  font-size: 1rem;
  margin: 10px 0 0;
}

.section-cta{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items:center;
}

.btn{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-wrap:nowrap;
  white-space:nowrap;
  flex-shrink:0;
  gap: 10px;
  padding: 14px 22px;
  font-family: "Montserrat", sans-serif;
  letter-spacing:.08em;
  font-size: .92rem;
  border: none;
  cursor:pointer;
  transition: transform .2s var(--ease), filter .2s var(--ease), opacity .2s var(--ease);
  color: var(--text);
  background: transparent;
}

/* Buttons: avoid awkward 1-character wraps on mobile */
.btn span{
  display:inline-block;
  white-space: nowrap;
  word-break: keep-all;
  min-width: max-content;
}

.btn--primary{
  background: linear-gradient(135deg, rgba(201,171,106,1), rgba(201,171,106,.72));
  color: #111;
  box-shadow: 0 18px 46px rgba(201,171,106,.16), 0 14px 44px rgba(0,0,0,.35);
  border-radius: 999px;
}
.btn--primary:hover{ transform: translateY(-1px); filter: brightness(1.03); }

.btn--text{
  color: rgba(243,243,244,.92);
  padding: 12px 6px;
}
.btn--text span{
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
  text-decoration-color: rgba(201,171,106,.65);
}
.btn--text:hover{ opacity: .86; }

.tagline{
  color: rgba(184,188,195,.95);
  font-size: 1rem;
  margin: .65rem 0 0;
}

/* -----------------------------------------
   Header
----------------------------------------- */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 50;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.62) 0%,
    rgba(0,0,0,.28) 52%,
    rgba(0,0,0,0) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}

.site-header.is-scrolled{
  background: rgba(10,13,18,.92);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 14px 0;
  transition: padding .34s var(--ease), gap .34s var(--ease);
}

.site-header.is-scrolled .header-inner{
  padding: 11px 0;
}

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

.brand svg{ width: 34px; height: 34px; }
.brand-title{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand-title .name{
  font-family: "Cinzel", serif;
  letter-spacing: .12em;
  font-weight: 600;
  font-size: 1.05rem;
}
.brand-title .sub{
  font-family: "Montserrat", sans-serif;
  letter-spacing: .22em;
  font-size: .68rem;
  color: rgba(201,171,106,.92);
  margin-top: 4px;
}

.site-nav{
  position:relative;
  display:flex;
  gap: 14px;
  align-items:center;
  font-family:"Montserrat", sans-serif;
  letter-spacing:.12em;
  font-size: .82rem;
  padding-bottom: 2px;
  --nav-text: rgba(243,243,244,.88);
  --nav-text-strong: rgba(255,255,255,.98);
  --nav-dim: .54;
  --nav-glow: rgba(201,171,106,.20);
  --nav-line-soft: rgba(201,171,106,.16);
  --nav-line-strong: rgba(201,171,106,.92);
  --nav-indicator-x: 0px;
  --nav-indicator-w: 0px;
}

.site-nav::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:4px;
  height:1px;
  background: linear-gradient(90deg, transparent, var(--nav-line-soft) 18%, var(--nav-line-soft) 82%, transparent);
  opacity:.35;
  pointer-events:none;
}

.site-nav a{
  position:relative;
  padding: 10px 6px 16px;
  color: var(--nav-text);
  transition:
    color .28s ease,
    opacity .28s ease,
    transform .38s cubic-bezier(0.22, 1, 0.36, 1),
    letter-spacing .28s ease,
    text-shadow .28s ease;
  will-change: transform;
}

.site-nav a::before{
  content:"";
  position:absolute;
  left:-10px;
  right:-10px;
  bottom:0;
  height:20px;
  background: radial-gradient(68% 88% at 50% 100%, var(--nav-glow), transparent 72%);
  opacity:0;
  transform: translate3d(0, 6px, 0) scale(.88);
  transition: opacity .32s ease, transform .42s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events:none;
  filter: blur(4px);
}

.site-nav a::after{
  content:none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-current{
  color: var(--nav-text-strong);
  transform: translate3d(0, -2px, 0);
  letter-spacing: .16em;
  text-shadow: 0 0 18px rgba(201,171,106,.14);
}

.site-nav a:hover::before,
.site-nav a:focus-visible::before,
.site-nav a.is-current::before{
  opacity:1;
  transform: translate3d(0, 0, 0) scale(1);
}

.site-nav.is-hovering a:not(:hover):not(:focus-visible):not(.is-current){
  opacity: var(--nav-dim);
}

.site-nav-indicator{
  position:absolute;
  left:0;
  bottom:4px;
  width: var(--nav-indicator-w);
  min-width: 18px;
  height:1px;
  transform: translate3d(var(--nav-indicator-x), 0, 0);
  background: linear-gradient(90deg, transparent 0%, var(--nav-line-strong) 20%, rgba(255,255,255,.92) 50%, var(--nav-line-strong) 80%, transparent 100%);
  opacity:0;
  pointer-events:none;
  transition:
    transform .42s cubic-bezier(0.22, 1, 0.36, 1),
    width .42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity .24s ease;
}

.site-nav-indicator::after{
  content:"";
  position:absolute;
  left:4px;
  right:4px;
  top:-3px;
  height:7px;
  background: inherit;
  filter: blur(7px);
  opacity:.56;
}

.site-nav.has-indicator .site-nav-indicator{ opacity:1; }

.site-nav a:focus-visible{ outline:none; }

.header-cta{
  display:flex;
  align-items:center;
  gap: 12px;
}

.burger{
  display:none;
  align-items:center;
  justify-content:center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  border: none;
  color: rgba(243,243,244,.9);
  cursor:pointer;
  transition: transform .34s var(--ease), background .24s ease, box-shadow .24s ease, color .24s ease;
}

.burger:hover,
.burger:focus-visible{
  transform: translateY(-1px) rotate(3deg);
}

.burger.is-open{
  transform: rotate(90deg);
}

.burger:focus-visible{ outline:none; }

/* -----------------------------------------
   Mobile Navigation
----------------------------------------- */
.mnav{
  position: fixed;
  inset: 0;
  display:none;
  z-index: 60;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.mnav.is-open{ display:block; }

.mnav-inner{
  position:absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(420px, 92vw);
  background:
    radial-gradient(900px 600px at 50% 10%, rgba(201,171,106,.14), transparent 60%),
    linear-gradient(180deg, rgba(10,13,18,.96), rgba(10,13,18,.86));
  padding: 22px;
  transform: translateX(14px);
  opacity: 0;
  transition: transform .26s var(--ease), opacity .26s var(--ease);
  box-shadow: var(--shadow);
}

.mnav.is-open .mnav-inner{
  transform: translateX(0);
  opacity: 1;
}

.mnav-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.mnav-close{
  width: 44px; height: 44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  border:none;
  color: rgba(243,243,244,.9);
  cursor:pointer;
  transition: transform .34s var(--ease), background .24s ease, box-shadow .24s ease, color .24s ease;
}

.mnav-close:hover,
.mnav-close:focus-visible{
  transform: rotate(90deg) scale(1.04);
}

.mnav-close:focus-visible{ outline:none; }

.mnav-links{
  display:flex;
  flex-direction:column;
  gap: 12px;
  padding: 18px 0;
  --mnav-text: rgba(243,243,244,.92);
  --mnav-text-strong: rgba(255,255,255,.98);
  --mnav-line: rgba(201,171,106,.82);
  --mnav-glow: rgba(201,171,106,.18);
}

.mnav-links a{
  position:relative;
  font-family: "Montserrat", sans-serif;
  letter-spacing:.16em;
  padding: 10px 4px 14px;
  color: var(--mnav-text);
  text-decoration: none;
  opacity:0;
  transform: translate3d(0, 16px, 0);
  filter: blur(6px);
  transition:
    opacity .38s ease var(--nav-delay, 0ms),
    transform .62s cubic-bezier(0.22, 1, 0.36, 1) var(--nav-delay, 0ms),
    filter .62s cubic-bezier(0.22, 1, 0.36, 1) var(--nav-delay, 0ms),
    color .28s ease,
    letter-spacing .28s ease,
    text-shadow .28s ease;
}

.mnav-links a::before{
  content:"";
  position:absolute;
  left:-4px;
  right:28%;
  bottom:-2px;
  height:22px;
  background: radial-gradient(80% 90% at 0% 100%, var(--mnav-glow), transparent 72%);
  opacity:0;
  transform: translate3d(0, 6px, 0);
  transition: opacity .36s ease, transform .46s cubic-bezier(0.22, 1, 0.36, 1);
  filter: blur(6px);
  pointer-events:none;
}

.mnav-links a::after{
  content:"";
  position:absolute;
  left:4px;
  bottom:2px;
  width:0;
  height:1px;
  background: linear-gradient(90deg, var(--mnav-line), transparent);
  opacity:.84;
  transition:
    width .46s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--nav-delay, 0ms) + 48ms),
    opacity .28s ease;
}

.mnav.is-open .mnav-links a{
  opacity:1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.mnav.is-open .mnav-links a::after{
  width: clamp(48px, 34%, 96px);
}

.mnav-links a:hover,
.mnav-links a:focus-visible,
.mnav-links a.is-current{
  color: var(--mnav-text-strong);
  letter-spacing: .20em;
  text-shadow: 0 0 18px rgba(201,171,106,.14);
}

.mnav-links a:hover::before,
.mnav-links a:focus-visible::before,
.mnav-links a.is-current::before{
  opacity:.96;
  transform: translate3d(0, 0, 0);
}

.mnav-links a.is-current::after{
  width: clamp(64px, 42%, 112px);
  opacity:1;
}

.mnav-links a:focus-visible{ outline:none; }

.mnav-cta{
  display:flex;
  flex-direction:column;
  gap: 10px;
  margin-top: 8px;
  opacity:0;
  transform: translate3d(0, 18px, 0);
  transition: opacity .34s ease 240ms, transform .54s cubic-bezier(0.22, 1, 0.36, 1) 240ms;
}

.mnav.is-open .mnav-cta{
  opacity:1;
  transform: translate3d(0, 0, 0);
}

/* -----------------------------------------
   Hero
----------------------------------------- */
.hero{
  position: relative;
  min-height: 92vh;
  display:flex;
  align-items: stretch;
  padding-top: var(--header-h);
  overflow: hidden;

  /*
    Hero tuning (kazera-lp-sample2 taste)
    - Upper area: elegant brightness
    - Lower area: deep fade to page black
  */
  --hero-bright: .92;
  --hero-contrast: 1.10;
  --hero-sat: .92;
  --hero-top: .12;
  --hero-mid: .30;
  --hero-bottom: .94;
  --hero-vignette: .66;
}

.hero--home{
  /* Home hero = “site face” (AERIA-like center composition) */
  --hero-bright: 1.02;
  --hero-sat: .94;
  --hero-top: .04;
  --hero-mid: .14;
  --hero-bottom: .95;
  --hero-vignette: .58;
}

.hero[data-ghost]::before{
  content: attr(data-ghost);
  position: absolute;
  left: 50%;
  bottom: clamp(-120px, -12vw, -60px);
  transform: translateX(-50%) translateY(90px) scale(1.10);
  transform-origin: 50% 50%;
  opacity: 0;
  font-family: "Cinzel", serif;
  font-weight: 600;
  font-size: min(18vw, 320px);
  letter-spacing: .12em;
  color: rgba(243,243,244,.040);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 2;
  transition: opacity 2.8s cubic-bezier(0.22, 1, 0.36, 1), transform 3.0s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.hero.is-ghost-visible::before{
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
}

.hero-media{
  position:absolute;
  inset:-1px;
  z-index:0;
}

.hero-media img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: var(--hero-pos, center 50%);
  filter: saturate(var(--hero-sat)) contrast(var(--hero-contrast)) brightness(var(--hero-bright));
  transform: scale(1.035);
}

.hero-overlay{
  position:absolute;
  inset:-1px;
  z-index:1;
  background:
    radial-gradient(900px 520px at 20% 18%, rgba(201,171,106,.12), transparent 62%),
    radial-gradient(900px 520px at 18% 25%, rgb(0 0 0 / 0.02), rgb(0 0 0 / var(--hero-vignette)) 72%),
    linear-gradient(180deg,
      rgb(0 0 0 / var(--hero-top)) 0%,
      rgb(0 0 0 / var(--hero-mid)) 46%,
      rgb(11 15 20 / var(--hero-bottom)) 80%,
      var(--bg) 100%
    );
}

.hero-inner{
  position: relative;
  z-index: 2;
  display:grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 54px;
  padding: 56px 0 64px;
  align-items: end;
}

.hero-side{
  padding-left: 18px;
  position: relative;
}

.hero-side::before{
  content:"";
  position:absolute;
  left:0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, rgba(201,171,106,.0), rgba(201,171,106,.8), rgba(201,171,106,.0));
  opacity:.9;
}

.hero-side h3{
  font-size: 1rem;
  letter-spacing:.08em;
  margin-bottom: 12px;
  color: rgba(243,243,244,.92);
}

.hero-points{
  margin: 14px 0 0;
  padding: 0;
  list-style:none;
  display:grid;
  gap: 10px;
}

.hero-points li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: rgba(243,243,244,.9);
}

.dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgba(201,171,106,.9);
  margin-top: 10px;
  flex: 0 0 auto;
  box-shadow: 0 0 0 6px rgba(201,171,106,.08);
}

.hero-cta{
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.scroll-hint{
  position:absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 2;
  font-family: "Montserrat", sans-serif;
  letter-spacing: .26em;
  font-size: .7rem;
  color: rgba(243,243,244,.62);
  display:flex;
  flex-direction: column;
  align-items:center;
  gap: 10px;
}

.scroll-hint::after{
  content:"";
  width: 1px;
  height: 34px;
  background: linear-gradient(180deg, rgba(243,243,244,.0), rgba(243,243,244,.55), rgba(243,243,244,.0));
  animation: scrollLine 1.8s var(--ease) infinite;
}

@keyframes scrollLine{
  0%{ transform: translateY(-6px); opacity: .2; }
  50%{ opacity: .85; }
  100%{ transform: translateY(6px); opacity: .2; }
}


/* -----------------------------------------
   Hero Center (AERIA taste)
----------------------------------------- */
.hero--center{ min-height: 100vh; }

.hero--center .hero-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 0;
  min-height: calc(100vh - var(--header-h));
}

.hero-center{
  max-width: 980px;
  margin: 0 auto;
  padding: 74px 0 94px;
}

.hero-mark{
  font-family:"Cinzel", serif;
  font-weight: 600;
  letter-spacing: .18em;
  /* Preserve the casing in the HOME hero (e.g. "Tyler"). */
  text-transform: none;
  font-size: clamp(3.05rem, 7.8vw, 6.2rem);
  line-height: 1.04;
  margin-top: 12px;
}

.hero-mark-sub{
  font-family:"Montserrat", sans-serif;
  letter-spacing: .46em;
  text-transform: uppercase;
  font-size: .68rem;
  color: rgba(243,243,244,.40);
  margin-top: 12px;
}

.hero-divider{
  width: 86px;
  height: 1px;
  margin: 28px auto 18px;
  background: linear-gradient(90deg, transparent, rgba(243,243,244,.60), transparent);
}

.hero-tagline{
  margin: 0;
  color: rgba(243,243,244,.92);
  font-size: 1.08rem;
  letter-spacing: .03em;
  line-height: 1.95;
  text-shadow: 0 22px 40px rgba(0,0,0,.46);
}

.hero--center .hero-cta{
  justify-content:center;
  margin-top: 22px;
}

.hero-note{
  margin-top: 16px;
  max-width: 72ch;
}

/* -----------------------------------------
   Overview (hero-follow section)
----------------------------------------- */
.section--tight{
  padding: 78px 0;
}

.overview-grid{
  display:grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 54px;
  align-items: start;
}

.overview-desc{
  max-width: 72ch;
  color: rgba(184,188,195,.95);
  font-size: 1rem;
  margin: 14px 0 0;
}

.overview-cta{
  margin-top: 16px;
}

/* -----------------------------------------
   Feature / Concept
----------------------------------------- */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature{
  padding: 8px 2px;
}

.feature .num{
  font-family:"Montserrat", sans-serif;
  letter-spacing:.28em;
  font-size:.78rem;
  color: rgba(201,171,106,.95);
}

.feature h3{ margin: 10px 0 0; }
.feature p{ margin: 10px 0 0; color: rgba(184,188,195,.95); }

/* -----------------------------------------
   Services (frameless)
----------------------------------------- */
.service-list{
  display:grid;
  gap: 42px;
}

.service-item{
  display:grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 28px;
  align-items: center;
}

.service-media{
  position: relative;
  overflow:hidden;
  border-radius: 0;
  box-shadow: none;
}

.service-media::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(600px 360px at 22% 18%, rgba(201,171,106,.12), transparent 60%),
    linear-gradient(180deg,
      rgba(0,0,0,.02) 0%,
      rgba(0,0,0,.18) 48%,
      rgba(0,0,0,.46) 78%,
      var(--bg) 100%
    );
  pointer-events:none;
  opacity: .92;
}

.service-media img{
  width:100%;
  height: 340px;
  object-fit: cover;
  transform: scale(1.035);
  transition: transform 1.35s var(--ease), filter 1.35s var(--ease), opacity 1.35s var(--ease);
  filter: grayscale(.22) saturate(.66) contrast(1.10) brightness(1.04);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 76%, transparent 100%);
}

.service-item:hover .service-media img{
  transform: scale(1.06);
  filter: grayscale(.04) saturate(.84) contrast(1.12) brightness(1.06);
}

.service-body .eyebrow{
  font-family:"Montserrat", sans-serif;
  letter-spacing:.26em;
  font-size:.78rem;
  color: rgba(201,171,106,.92);
}

.service-body h3{
  margin-top: 10px;
  font-size: 1.32rem;
  letter-spacing:.08em;
}

.service-body p{
  margin-top: 10px;
  color: rgba(184,188,195,.95);
}

.service-meta{
  margin-top: 14px;
  display:flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  color: rgba(243,243,244,.86);
  font-size: .95rem;
}

.service-meta span{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-family:"Montserrat", sans-serif;
  letter-spacing: .06em;
  opacity: .95;
}

.service-actions{
  margin-top: 16px;
}

/* -----------------------------------------
   Strengths
----------------------------------------- */
.strength-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.strength-item{
  padding: 6px 2px;
}

.strength-item .top{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 10px;
}

.strength-item .no{
  font-family:"Montserrat", sans-serif;
  letter-spacing:.26em;
  color: rgba(201,171,106,.92);
  font-size:.78rem;
}

.strength-item h3{
  margin-top: 12px;
}

.strength-item p{
  margin-top: 10px;
  color: rgba(184,188,195,.95);
}

/* -----------------------------------------
   Flow / Timeline
----------------------------------------- */
.timeline{
  display:grid;
  gap: 18px;
  max-width: 920px;
}

.step{
  display:grid;
  grid-template-columns: 80px 1fr;
  gap: 18px;
  align-items:flex-start;
  padding: 14px 0;
}

.step .badge{
  font-family: "Montserrat", sans-serif;
  letter-spacing:.22em;
  color: rgba(201,171,106,.92);
  font-size:.8rem;
  padding-top: 6px;
}

.step .content h3{ margin: 0; }
.step .content p{ margin: 8px 0 0; color: rgba(184,188,195,.95); }

/* -----------------------------------------
   Testimonials
----------------------------------------- */
.testimonials{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.quote{
  padding: 8px 2px;
}

.quote .who{
  font-family:"Montserrat", sans-serif;
  letter-spacing:.14em;
  color: rgba(201,171,106,.88);
  font-size:.82rem;
  margin-top: 14px;
}

blockquote{
  margin:0;
  color: rgba(243,243,244,.92);
}

blockquote p{
  margin:0;
  color: rgba(243,243,244,.9);
}

blockquote::before{
  content:"“";
  font-family:"Cinzel", serif;
  font-size: 3.2rem;
  line-height: 1;
  color: rgba(201,171,106,.55);
  display:block;
  margin-bottom: 8px;
}

/* -----------------------------------------
   FAQ (details)
----------------------------------------- */
.faq{
  max-width: 920px;
  display:grid;
  gap: 14px;
}

.faq details{
  padding: 16px 2px;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.10);
}

.faq summary{
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 14px;
  font-weight: 600;
  letter-spacing:.04em;
}

.faq summary::-webkit-details-marker{ display:none; }

.faq summary .q{
  font-family:"Montserrat", sans-serif;
  letter-spacing:.18em;
  font-size: .82rem;
  color: rgba(201,171,106,.9);
  margin-right: 12px;
}

.faq summary .title{
  flex: 1;
}

.faq summary .icon{
  opacity:.75;
  margin-top: 4px;
  transition: transform .22s var(--ease);
}

.faq details[open] summary .icon{ transform: rotate(45deg); }

.faq .a{
  margin: 10px 0 0;
  color: rgba(184,188,195,.95);
}

/* -----------------------------------------
   Company Snapshot / Definition list
----------------------------------------- */
.profile{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 34px;
  margin-top: 22px;
  max-width: 980px;
}

.profile .row{
  display:grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  padding: 12px 0;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.10);
}

.profile .dt{
  color: rgba(201,171,106,.9);
  font-family:"Montserrat", sans-serif;
  letter-spacing:.16em;
  font-size:.78rem;
}

.profile .dd{
  color: rgba(243,243,244,.9);
}



/* -----------------------------------------
   Cards / Representative Photography
----------------------------------------- */
.card{
  padding: 24px 22px;
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
  border: 1px solid var(--line);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
}

.card-title{
  font-family:"Montserrat", sans-serif;
  letter-spacing:.24em;
  font-size:.78rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.representative-teaser,
.representative-message{
  display:grid;
  gap: 30px;
  align-items:center;
}

.representative-teaser{
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  margin-top: 22px;
}

.representative-message{
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  margin-top: 28px;
}

.representative-teaser__media,
.representative-message__media{
  min-width:0;
  overflow:hidden;
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow2);
}

.representative-message__media{
  max-width: 480px;
  justify-self:center;
  width:100%;
}

.representative-teaser__media img,
.representative-message__media img{
  width:100%;
  height:auto;
  display:block;
}

.representative-teaser__content p,
.representative-message__card p{
  margin: 12px 0 0;
}

.representative-signature{
  margin-top: 16px;
  font-family:"Montserrat", sans-serif;
  letter-spacing:.14em;
  font-size: .82rem;
  color: var(--accent);
}

#other.service-item .service-media img{
  object-position: center 42%;
}

@media (max-width: 980px){
  .representative-teaser,
  .representative-message{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .representative-message__media{
    max-width: 420px;
  }
}

@media (max-width: 520px){
  .card{
    padding: 22px 18px;
  }

  .representative-message{
    margin-top: 24px;
  }
}

/* -----------------------------------------
   Contact
----------------------------------------- */
.contact-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 46px;
  align-items:start;
}

.form{
  display:grid;
  gap: 16px;
  margin-top: 12px;
}

.field label{
  display:block;
  font-family:"Montserrat", sans-serif;
  letter-spacing:.14em;
  font-size:.78rem;
  color: rgba(201,171,106,.9);
  margin-bottom: 8px;
}

.input, .textarea, select{
  width:100%;
  padding: 14px 0;
  background: transparent;
  color: rgba(243,243,244,.92);
  font-size: 1rem;
  border: none;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.18);
}

.textarea{
  min-height: 140px;
  resize: vertical;
}

.input::placeholder, .textarea::placeholder{
  color: rgba(184,188,195,.55);
}

.input:focus, .textarea:focus, select:focus{
  box-shadow: inset 0 -2px 0 rgba(201,171,106,.9);
}

.checkbox{
  display:flex;
  align-items:flex-start;
  gap: 10px;
  color: rgba(184,188,195,.95);
  font-size: .95rem;
}

.checkbox input{
  width: 18px; height: 18px;
  margin-top: 6px;
  accent-color: var(--accent);
}

.contact-side{
  padding-left: 18px;
  position: relative;
}

.contact-side::before{
  content:"";
  position:absolute;
  left:0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, rgba(201,171,106,.0), rgba(201,171,106,.8), rgba(201,171,106,.0));
}

.contact-side .box{
  display:grid;
  gap: 10px;
  margin-top: 12px;
  color: rgba(243,243,244,.9);
}

.contact-side .box .item{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: rgba(243,243,244,.88);
}

.note{
  margin-top: 14px;
  color: rgba(184,188,195,.92);
  font-size: .92rem;
}

/* -----------------------------------------
   Footer
----------------------------------------- */
.footer{
  position: relative;
  overflow: hidden;
  padding: 54px 0 32px;
  background: linear-gradient(180deg, rgba(10,13,18,.70), rgba(10,13,18,1));
}

/* Wide image near the footer (modern-art mood) */
.footer::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:-10px;
  height: 360px;
  background: url('../img/footer-wide-premium.jpg') center 45% / cover no-repeat;
  filter: saturate(.92) contrast(1.06) brightness(.78);
  opacity: .92;
  transform: scale(1.03);
  z-index: 0;
}

.footer::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 600px at 30% 0%, rgba(201,171,106,.14), transparent 60%),
    linear-gradient(180deg,
      rgba(0,0,0,.06) 0%,
      rgba(0,0,0,.30) 34%,
      rgba(10,13,18,.94) 72%,
      rgba(10,13,18,1) 100%
    );
  pointer-events:none;
  z-index: 1;
}

.footer-inner,
.footer-bottom{
  position: relative;
  z-index: 2;
}

.footer-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items:start;
}

.footer-name{
  /* Keep the legal company name visibly mixed-case (株式会社Tyler). */
  font-family:"Noto Serif JP", serif;
  letter-spacing:.04em;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform:none;
  font-variant:normal;
  font-variant-caps:normal;
}

.footer-meta{
  margin-top: 10px;
  color: rgba(184,188,195,.92);
  font-size: .95rem;
}

.footer-links{
  display:grid;
  gap: 10px;
  justify-items: start;
  font-family:"Montserrat", sans-serif;
  letter-spacing:.14em;
  font-size: .82rem;
}

.footer-links a{
  color: rgba(243,243,244,.82);
  text-decoration: underline;
  text-decoration-color: rgba(201,171,106,.35);
  text-underline-offset: 8px;
  text-decoration-thickness: 1px;
}

.footer-bottom{
  margin-top: 26px;
  color: rgba(184,188,195,.72);
  font-family:"Montserrat", sans-serif;
  letter-spacing:.12em;
  font-size: .75rem;
}

/* -----------------------------------------
   Google Map (muted overlay)
----------------------------------------- */
.map-section{
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}
.map-wrap{
  position: relative;
  width: calc(100% - 80px);
  max-width: 1200px;
  margin: 0 auto 60px;
  height: 360px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);
}
.map-wrap iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(0.88) sepia(0.14) brightness(1.03) contrast(0.92);
}
.map-overlay{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(245,240,231,0.18) 0%, rgba(245,240,231,0.06) 50%, rgba(245,240,231,0.18) 100%);
  mix-blend-mode: multiply;
}
@media (max-width: 980px){
  .map-wrap{
    width: calc(100% - 40px);
    height: 300px;
    margin-bottom: 40px;
    border-radius: 10px;
  }
}
@media (max-width: 520px){
  .map-wrap{
    width: calc(100% - 24px);
    height: 260px;
    margin-bottom: 32px;
    border-radius: 8px;
  }
}

/* -----------------------------------------
   Pages
----------------------------------------- */
.page-hero{
  min-height: 56vh;
}
.page-hero .hero-inner{
  align-items: center;
  padding: 52px 0 56px;
  grid-template-columns: 1.2fr .8fr;
}
.page-hero .lead{ max-width: 60ch; }

.breadcrumb{
  font-family:"Montserrat", sans-serif;
  letter-spacing:.18em;
  font-size:.74rem;
  color: rgba(184,188,195,.75);
  margin-top: 10px;
}

.page-note{
  color: rgba(184,188,195,.95);
  max-width: 70ch;
}

/* -----------------------------------------
   Reveal animation (JS hooks)
----------------------------------------- */
.reveal{
  opacity: 0;
  transform: translate3d(0, 38px, 0);
  transition:
    opacity 1.3s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible{
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/*
  Cross-browser lightweight copy reveal.
  The previous clip-path based sweep looked good in Safari, but in some Chrome
  environments block text could remain clipped. Keep the premium feel while
  relying on safer properties (opacity / translate / blur).
*/
.copy-reveal{
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition:
    opacity .9s ease-out var(--copy-delay, 0ms),
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) var(--copy-delay, 0ms),
    filter 1.2s cubic-bezier(0.22, 1, 0.36, 1) var(--copy-delay, 0ms);
}

html.has-copy-reveal .copy-reveal{
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  filter: blur(6px);
  will-change: opacity, transform, filter;
}

html.has-copy-reveal .copy-reveal.is-copy-visible{
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce){
  .header-inner,
  .site-nav a,
  .site-nav-indicator,
  .burger,
  .mnav-close,
  .mnav-links a,
  .mnav-cta{
    transition-duration: .01ms !important;
    transition-delay: 0ms !important;
    animation: none !important;
  }

  .site-nav a,
  .mnav-links a,
  .mnav-cta{
    transform: none !important;
    filter: none !important;
  }

  .mnav-links a,
  .mnav-cta{
    opacity: 1;
  }
}

/* -----------------------------------------
   Responsive
----------------------------------------- */
@media (max-width: 980px){
  .site-nav{ display:none; }

  /*
    Mobile: keep the large faint section titles (OVERVIEW / SERVICE / ASSETS...)
    visible as part of the brand feel.
    Desktop used min(16vw, 240px) which becomes too small on mobile.
  */
  .section[data-ghost]::before{
    font-size: clamp(96px, 28vw, 180px);
    left: -24px;
    color: rgba(243,243,244,.06);
    letter-spacing: .10em;
  }

  /* Mobile header: allow brand block to shrink so the burger doesn't clip on narrow viewports */
  .brand{ min-width:0; }

  /*
    Mobile readability:
    Section headers are split (title / CTA) on desktop, but on narrow screens
    they can overflow and clip buttons (e.g. 「私たちについて」).
    Stack them vertically on mobile.
  */
  .section-head{
    flex-wrap: wrap;
    gap: 14px;
  }
  .section-content{ min-width: 0; }
  .section-cta{ margin-left: auto; }
  .section-cta .btn{ max-width: 100%; }

  .burger{ display:inline-flex; }
  .page-hero .hero-inner{ grid-template-columns: 1fr; gap: 28px; padding: 56px 0 64px; align-items: start; }
  .hero-side{ padding-left: 14px; }
  .hero--center .hero-inner{ padding: 0; min-height: calc(92vh - var(--header-h)); }
  .hero--center .hero-center{ padding: 66px 0 86px; }
  .overview-grid{ grid-template-columns: 1fr; gap: 28px; }

  .contact-grid{ grid-template-columns: 1fr; gap: 26px; }
  .grid-3{ grid-template-columns: 1fr; }
  .strength-grid{ grid-template-columns: 1fr; }
  .service-item{ grid-template-columns: 1fr; }
  .service-media img{ height: 280px; }
  .testimonials{ grid-template-columns: 1fr; }
  .profile{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }

  /* Page-hero: stack columns and reclaim width on mobile */
  .page-hero .hero-side{
    padding-left: 0;
    padding-top: 18px;
  }
  .page-hero .hero-side:before{
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(207,177,97,.55), rgba(207,177,97,.08));
  }

}

@media (max-width: 520px){
  .section[data-ghost]::before{
    font-size: clamp(88px, 34vw, 160px);
    left: -28px;
  }

  .container{ width: calc(100% - 34px); }
  .btn{ padding: 13px 18px; }
  .h1{ letter-spacing:.06em; }
  .hero{ min-height: 92vh; }
  .hero--center{ min-height: 100vh; }
  .paren{ display:block; margin-top: 4px; }
}


/* -----------------------------------------
   Cursor FX (Elegant / Noble)
   - enabled only when body.has-cursor-fx exists
----------------------------------------- */
@media (hover: hover) and (pointer: fine){
  body.has-cursor-fx{ cursor: none; }
  body.has-cursor-fx a,
  body.has-cursor-fx button,
  body.has-cursor-fx .btn,
  body.has-cursor-fx [role="button"],
  body.has-cursor-fx summary{
    cursor: none;
  }
  /* Keep native caret for form fields */
  body.has-cursor-fx input,
  body.has-cursor-fx textarea,
  body.has-cursor-fx select{
    cursor: text;
  }
}

.cursor-fx{
  --x: -40px;
  --y: -40px;
  --scale: 1;
  position: fixed;
  left: 0;
  top: 0;
  transform: translate3d(var(--x), var(--y), 0) translate(-50%, -50%) scale(var(--scale));
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity .25s var(--ease);
  will-change: transform;
}
.cursor-fx.is-visible{ opacity: 1; }

.cursor-fx--dot{
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(201,171,106,.95);
  box-shadow:
    0 0 0 10px rgba(201,171,106,.06),
    0 0 28px rgba(201,171,106,.18);
}
.cursor-fx--dot.is-hover{
  --scale: 1.18;
  background: rgba(255,248,235,.95);
  box-shadow:
    0 0 0 14px rgba(201,171,106,.08),
    0 0 46px rgba(201,171,106,.26);
}
.cursor-fx--dot.is-down{ --scale: .84; }

.cursor-fx--ring{
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
  box-shadow:
    0 0 0 1px rgba(201,171,106,.16) inset,
    0 0 34px rgba(201,171,106,.12);
  background: radial-gradient(circle at 30% 30%, rgba(201,171,106,.08), transparent 58%);
}
.cursor-fx--ring.is-hover{
  /* More obvious hover: a slightly larger ring + richer glow.
     Keep it classy (no hard edges), but unmistakably "clickable". */
  --scale: 1.16;
  border-color: rgba(201,171,106,.78);
  background: radial-gradient(circle at 30% 30%, rgba(201,171,106,.22), rgba(201,171,106,.08) 42%, transparent 74%);
  box-shadow:
    0 0 0 1px rgba(201,171,106,.30) inset,
    0 0 64px rgba(201,171,106,.26),
    0 0 0 8px rgba(201,171,106,.08);
}
.cursor-fx--ring.is-down{
  --scale: .94;
  border-color: rgba(201,171,106,.86);
}

.cursor-ripple{
  --x: 0px;
  --y: 0px;
  position: fixed;
  left: 0;
  top: 0;
  transform: translate3d(var(--x), var(--y), 0) translate(-50%, -50%) scale(.22);
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 1px solid rgba(201,171,106,.55);
  box-shadow: 0 0 32px rgba(201,171,106,.18);
  pointer-events: none;
  z-index: 9998;
  opacity: 0;
  animation: cursorRipple .78s var(--ease) forwards;
}

@keyframes cursorRipple{
  0%   { opacity: 0; transform: translate3d(var(--x), var(--y), 0) translate(-50%, -50%) scale(.18); }
  18%  { opacity: .92; }
  100% { opacity: 0; transform: translate3d(var(--x), var(--y), 0) translate(-50%, -50%) scale(6.0); }
}


/* --------------------------------------------------
   Typewriter headline effect
-------------------------------------------------- */
/* Hide text during JS wrapping to prevent flash */
.tw-preparing {
  opacity: 0 !important;
}

.js-typewriter .tw-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.12em);
  filter: blur(1px);
  will-change: opacity, transform, filter;
}

.js-typewriter.is-typing .tw-char {
  animation: twReveal 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--d);
}

@keyframes twReveal {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js-typewriter .tw-char {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
  }

  .copy-reveal,
  .reveal{
    opacity: 1 !important;
    -webkit-clip-path: none !important;
    clip-path: none !important;
    transform: none !important;
    transition: none !important;
  }

  .section[data-ghost]::before,
  .hero[data-ghost]::before{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .section.is-ghost-visible::before{
    transform: translateY(-55%) scale(1) !important;
  }

  .hero.is-ghost-visible::before{
    transform: translateX(-50%) translateY(0) scale(1) !important;
  }
}

/* -----------------------------------------
   Brand assets (official gold logo)
----------------------------------------- */
.brand{
  gap: 10px;
  min-width: 228px;
}

.brand-mark{
  width: 42px;
  flex: 0 0 42px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.brand-mark img{
  display:block;
  width:100%;
  height:auto;
  filter: drop-shadow(0 8px 18px rgba(201,171,106,.16));
}

.hero-emblem{
  position: relative;
  width: clamp(84px, 10vw, 130px);
  margin: 0 auto 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
}

.hero-emblem::after{
  content:"";
  position:absolute;
  inset: 8% -12% -18%;
  z-index: -1;
  background: radial-gradient(circle at 50% 45%, rgba(201,171,106,.26), rgba(201,171,106,.08) 44%, transparent 72%);
  filter: blur(20px);
  opacity: .82;
}

.hero-emblem img{
  display:block;
  width:100%;
  height:auto;
  filter: drop-shadow(0 16px 36px rgba(201,171,106,.22));
}

.footer-brand{
  display:flex;
  align-items:center;
  gap: 14px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.footer-emblem{
  width: 42px;
  height: auto;
  display:block;
  filter: drop-shadow(0 8px 18px rgba(201,171,106,.14));
}

/* CTA sheen only */
.btn{
  position: relative;
  isolation: isolate;
}

.btn--primary{
  overflow: hidden;
}

.btn--primary::before{
  content:"";
  position:absolute;
  top:-28%;
  bottom:-28%;
  left:-125%;
  width: 46%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.45), rgba(255,255,255,0));
  transform: skewX(-24deg);
  opacity: 0;
  pointer-events:none;
  transition: transform .85s var(--ease), opacity .35s var(--ease);
  z-index: 0;
}

.btn--primary > *{
  position: relative;
  z-index: 1;
}

.btn--primary:hover::before,
.btn--primary:focus-visible::before{
  opacity: .92;
  transform: translateX(360%) skewX(-24deg);
}

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

@media (max-width: 980px){
  .brand{
    gap: 8px;
    min-width: 0;
  }

  .brand-mark{
    width: 38px;
    flex-basis: 38px;
  }

  .footer-brand{
    gap: 12px;
  }

  .footer-emblem{
    width: 38px;
  }
}

/* =========================================
   Hero Premium Entrance Effects
   — Triggered by .hero-fx-go class (added via JS after OP ends)
   ========================================= */

/* ── Keyframes ── */
@keyframes textShimmer{
  0%{ background-position: 120% center; }
  100%{ background-position: -20% center; }
}
@keyframes emblemReveal{
  0%{ opacity: 0; transform: scale(0.82); filter: drop-shadow(0 0 0 transparent) brightness(0.7); }
  45%{ opacity: 1; transform: scale(1.08); filter: drop-shadow(0 0 40px rgba(210,180,100,.65)) brightness(1.35); }
  75%{ transform: scale(0.98); filter: drop-shadow(0 0 20px rgba(210,180,100,.35)) brightness(1.1); }
  100%{ opacity: 1; transform: scale(1); filter: drop-shadow(0 16px 36px rgba(201,171,106,.22)) brightness(1); }
}
@keyframes haloReveal{
  0%{ opacity: 0; transform: scale(0.5); }
  40%{ opacity: 1; transform: scale(1.40); }
  70%{ transform: scale(0.95); }
  100%{ opacity: 0.82; transform: scale(1); }
}
@keyframes subEntrance{
  from{ letter-spacing: .72em; opacity: 0; }
  to{ letter-spacing: .46em; opacity: 1; }
}
@keyframes dividerGrow{
  from{ width: 0; opacity: 0; }
  to{ width: 86px; opacity: 1; }
}
@keyframes taglineRise{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* ── TYLER text shimmer (always set up gradient, animate on trigger) ── */
html[data-theme="light-clean"] .hero .hero-mark{
  color: transparent !important;
  text-shadow: none !important;
  background: linear-gradient(
    105deg,
    rgba(255,249,241,.97) 0%,
    rgba(255,249,241,.97) 25%,
    rgba(235,205,120,1) 38%,
    rgba(255,252,230,1) 44%,
    rgba(235,205,120,1) 50%,
    rgba(255,249,241,.97) 63%,
    rgba(255,249,241,.97) 100%
  );
  background-size: 250% 100%;
  background-position: -20% center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 16px 34px rgba(0,0,0,.28));
}

/* ── Triggered animations (start with OP fadeout for seamless transition) ── */

/* Pre-animation state: elements start hidden to prevent visible jump when FX triggers */
.hero--home .hero-emblem img{
  opacity: 0;
  transform: scale(0.82);
}
.hero--home .hero-emblem::after{
  opacity: 0;
  transform: scale(0.5);
}
.hero--home .hero-mark-sub{
  opacity: 0;
}
.hero--home .hero-divider{
  opacity: 0;
  width: 0;
}
.hero--home .hero-tagline{
  opacity: 0;
}

html[data-theme="light-clean"] .hero.hero-fx-go .hero-mark{
  animation: textShimmer 2.0s cubic-bezier(0.25,0.46,0.45,0.94) 0.4s 1 both;
}
.hero.hero-fx-go .hero-emblem img{
  animation: emblemReveal 2.2s cubic-bezier(0.22, 1, 0.36, 1) 0s 1 both;
}
.hero.hero-fx-go .hero-emblem::after{
  animation: haloReveal 2.4s cubic-bezier(0.22, 1, 0.36, 1) 0s 1 both;
}
.hero.hero-fx-go .hero-mark-sub{
  animation: subEntrance 2.0s cubic-bezier(0.22, 1, 0.36, 1) 0.8s 1 both;
}
.hero.hero-fx-go .hero-divider{
  animation: dividerGrow 1.4s cubic-bezier(0.22, 1, 0.36, 1) 1.2s 1 both;
}
.hero.hero-fx-go .hero-tagline{
  animation: taglineRise 1.6s cubic-bezier(0.22, 1, 0.36, 1) 1.4s 1 both;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  html[data-theme="light-clean"] .hero .hero-mark{
    color: rgba(255,249,241,.97) !important;
    background: none !important;
    -webkit-text-fill-color: unset !important;
    filter: none !important;
    text-shadow: 0 16px 34px rgba(0,0,0,.28) !important;
    animation: none !important;
  }
  .hero-emblem img,
  .hero-emblem::after,
  .hero-mark-sub,
  .hero-divider,
  .hero-tagline{
    animation: none !important;
  }
}
