/* SOJ HEADER V2 — premium logo-led sticky navigation */
:root{
  --soj-header-deep:#03281b;
  --soj-header-deeper:#021a12;
  --soj-header-gold:#e4c762;
  --soj-header-red:#c91938;
}

/* The real logo is the brand. Hide the redundant wordmark copy in the header only. */
body .site-header .brand>span{display:none!important}

body .site-header{
  position:sticky;
  top:0;
  z-index:950;
  height:110px;
  padding:0 20px 0 14px;
  overflow:visible;
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:
    radial-gradient(circle at 7% 25%,rgba(228,199,98,.12),transparent 19%),
    linear-gradient(110deg,var(--soj-header-deeper) 0%,#053524 52%,#03271b 100%);
  color:#fff9e9;
  border:0;
  border-bottom:1px solid rgba(228,199,98,.52);
  box-shadow:0 14px 34px rgba(0,0,0,.22);
  transition:height .34s cubic-bezier(.2,.75,.2,1),background .28s ease,box-shadow .28s ease;
}
body .site-header:before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:3px;
  pointer-events:none;
  background:linear-gradient(90deg,#8c0d23 0 15%,#e1c35f 15% 32%,#5c7f36 32% 48%,#12805a 48% 72%,transparent 92%);
  opacity:.95;
}
body .site-header:after{
  content:"";
  position:absolute;
  pointer-events:none;
  left:0;right:0;bottom:-1px;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(242,216,126,.78) 17%,rgba(242,216,126,.24) 64%,transparent);
}

/* Large, left-biased logo that hangs outside the bar on first load. */
body .site-header .brand{
  position:relative;
  z-index:4;
  flex:0 0 166px;
  width:166px;
  height:100%;
  min-width:0;
  margin:0;
  transition:flex-basis .34s cubic-bezier(.2,.75,.2,1),width .34s cubic-bezier(.2,.75,.2,1);
}
body .site-header .brand img{
  position:absolute;
  left:-6px;
  top:56%;
  width:150px;
  height:150px;
  max-width:none;
  object-fit:contain;
  transform:translate(0,-50%) scale(1) rotate(0);
  transform-origin:45% 50%;
  filter:drop-shadow(0 15px 24px rgba(0,0,0,.38)) drop-shadow(0 0 13px rgba(228,199,98,.14));
  transition:
    width .34s cubic-bezier(.2,.75,.2,1),
    height .34s cubic-bezier(.2,.75,.2,1),
    top .34s cubic-bezier(.2,.75,.2,1),
    left .34s cubic-bezier(.2,.75,.2,1),
    filter .28s ease,
    transform .28s ease;
  animation:none;
}
body .site-header .brand:hover img{
  transform:translate(0,-50%) scale(1.035) rotate(-1deg);
  filter:drop-shadow(0 17px 27px rgba(0,0,0,.42)) drop-shadow(0 0 20px rgba(228,199,98,.23));
}

/* Button-based navigation instead of bare text links. */
body .site-header #primary-nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  min-width:0;
  margin-left:auto;
}
body .site-header #primary-nav>a{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 12px;
  border:1px solid rgba(240,218,145,.16);
  border-radius:7px;
  background:linear-gradient(180deg,rgba(255,255,255,.052),rgba(255,255,255,.018));
  color:#fff8e8;
  font-size:13px;
  font-weight:800;
  line-height:1;
  letter-spacing:.012em;
  white-space:nowrap;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease;
}
body .site-header #primary-nav>a:after{display:none!important}
body .site-header #primary-nav>a:hover{
  color:#fff;
  border-color:rgba(228,199,98,.68);
  background:linear-gradient(180deg,#741124,#570a18);
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.08);
}
body .site-header #primary-nav>a[aria-current="page"]{
  color:#fff;
  border-color:#8a1b31;
  background:linear-gradient(180deg,#741124,#570a18);
  box-shadow:0 10px 24px rgba(79,5,22,.26),inset 0 1px 0 rgba(255,255,255,.10);
}
body .site-header #primary-nav .small-button{
  min-height:45px;
  padding:0 17px;
  margin-left:3px;
  gap:14px;
  border:1px solid #df2544;
  border-radius:7px;
  background:linear-gradient(180deg,#dc1e3f,#bd1432);
  color:#fff;
  font-size:13px;
  font-weight:900;
  line-height:1;
  letter-spacing:.012em;
  box-shadow:0 10px 24px rgba(131,5,29,.26),inset 0 1px 0 rgba(255,255,255,.13);
}
body .site-header #primary-nav .small-button:hover{
  background:linear-gradient(180deg,#ed2a4c,#c71535);
  transform:translateY(-2px);
  box-shadow:0 13px 28px rgba(131,5,29,.32),0 0 0 1px rgba(240,215,122,.16);
}
body .site-header #primary-nav .small-button svg{width:18px;height:18px}

/* Shrink to a still-readable mark once the page becomes sticky. */
body.header-scrolled .site-header{
  height:82px;
  background:linear-gradient(110deg,#021d14 0%,#043021 55%,#022219 100%);
  box-shadow:0 12px 28px rgba(0,0,0,.28);
}
body.header-scrolled .site-header .brand{
  flex-basis:104px;
  width:104px;
}
body.header-scrolled .site-header .brand img{
  left:0;
  top:50%;
  width:88px;
  height:88px;
  filter:drop-shadow(0 9px 15px rgba(0,0,0,.35));
}
body.header-scrolled .site-header #primary-nav>a{min-height:38px}
body.header-scrolled .site-header #primary-nav .small-button{min-height:41px}

/* Desktop compression: keep the richer header without squeezing labels into unreadability. */
@media(max-width:1180px) and (min-width:1051px){
  body .site-header{padding-right:13px}
  body .site-header .brand{flex-basis:132px;width:132px}
  body .site-header .brand img{width:128px;height:128px}
  body .site-header #primary-nav{gap:5px}
  body .site-header #primary-nav>a{padding-inline:9px;font-size:12px}
  body .site-header #primary-nav .small-button{padding-inline:12px;font-size:12px}
  body.header-scrolled .site-header .brand{flex-basis:94px;width:94px}
  body.header-scrolled .site-header .brand img{width:82px;height:82px}
}

/* Tablet / mobile: preserve the big mark, then use a premium button drawer. */
@media(max-width:1050px){
  body .site-header{
    height:90px;
    padding:0 16px 0 10px;
  }
  body .site-header .brand{
    flex-basis:108px;
    width:108px;
  }
  body .site-header .brand img{
    left:-2px;
    top:53%;
    width:104px;
    height:104px;
  }
  body.header-scrolled .site-header{height:74px}
  body.header-scrolled .site-header .brand{flex-basis:82px;width:82px}
  body.header-scrolled .site-header .brand img{width:72px;height:72px;left:0;top:50%}
  body .site-header .nav-toggle{
    display:flex;
    align-items:center;
    justify-content:center;
    width:48px;
    height:48px;
    border:1px solid rgba(228,199,98,.42);
    border-radius:8px;
    background:rgba(255,255,255,.045);
    color:#f4d976;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04);
  }
  body .site-header #primary-nav{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    margin:0;
    padding:14px 14px 18px;
    grid-template-columns:1fr 1fr;
    gap:8px;
    background:linear-gradient(180deg,#052e20,#031d15);
    border-top:1px solid rgba(228,199,98,.22);
    border-bottom:1px solid rgba(228,199,98,.42);
    box-shadow:0 22px 35px rgba(0,0,0,.32);
  }
  body .site-header #primary-nav.nav-open{display:grid}
  body .site-header #primary-nav>a{
    width:100%;
    min-height:48px;
    padding:0 13px;
    justify-content:flex-start;
    border-color:rgba(228,199,98,.2);
    font-size:14px;
  }
  body .site-header #primary-nav .small-button{
    width:100%;
    min-height:50px;
    margin:0;
    grid-column:1/-1;
    justify-content:space-between;
    font-size:14px;
  }
}
@media(max-width:560px){
  body .site-header{height:84px;padding-left:8px}
  body .site-header .brand{flex-basis:90px;width:90px}
  body .site-header .brand img{width:88px;height:88px}
  body.header-scrolled .site-header{height:70px}
  body.header-scrolled .site-header .brand{flex-basis:70px;width:70px}
  body.header-scrolled .site-header .brand img{width:64px;height:64px}
  body .site-header #primary-nav{grid-template-columns:1fr}
  body .site-header #primary-nav .small-button{grid-column:auto}
  body .site-header #primary-nav>a{font-size:15px}
}

/* Home: the header itself is now the only logo entrance animation. */
body[data-page="home"] .home-logo-reveal{display:none!important}

@media(prefers-reduced-motion:reduce){
  body .site-header,
  body .site-header .brand,
  body .site-header .brand img,
  body .site-header #primary-nav>a,
  body .site-header #primary-nav .small-button{
    animation:none!important;
    transition:none!important;
  }
}

/* Header logo interaction affordance */
body .site-header .brand{cursor:pointer}


/* HEADER LOGO POSITION V3 — sit the mark farther into the horizontal header band */
@media(min-width:1181px){
  body .site-header .brand img{left:16px}
  body.header-scrolled .site-header .brand img{left:10px}
}
@media(max-width:1180px) and (min-width:1051px){
  body .site-header .brand img{left:6px}
  body.header-scrolled .site-header .brand img{left:6px}
}
@media(max-width:1050px){
  body .site-header .brand img{left:8px}
  body.header-scrolled .site-header .brand img{left:6px}
}
@media(max-width:560px){
  body .site-header .brand img{left:6px}
  body.header-scrolled .site-header .brand img{left:5px}
}


/* SOJ JAPAN CANVAS V1 — page-specific full-viewport backdrops behind the 1400px site canvas */
html[data-soj-backdrop]{
  --soj-page-bg:none;
  --soj-page-position:center center;
  background-color:#050b08!important;
  background-image:
    linear-gradient(rgba(2,10,7,.08),rgba(2,10,7,.17)),
    var(--soj-page-bg)!important;
  background-repeat:no-repeat!important;
  background-size:cover!important;
  background-position:var(--soj-page-position)!important;
  background-attachment:fixed!important;
}
html[data-soj-backdrop="fuji-lake"]{
  --soj-page-bg:url('/assets/backgrounds/twilight_sakura_lake_and_mount_fuji.webp');
  --soj-page-position:center 48%;
}
html[data-soj-backdrop="kyoto-street"]{
  --soj-page-bg:url('/assets/backgrounds/lanterns_along_a_maple_lined_kyoto_street.webp');
  --soj-page-position:center 42%;
}
html[data-soj-backdrop="kyoto-panorama"]{
  --soj-page-bg:url('/assets/backgrounds/lantern_lit_kyoto_sunset_panorama.webp');
  --soj-page-position:center 47%;
}
html[data-soj-backdrop="sakura-garden"]{
  --soj-page-bg:url('/assets/backgrounds/lanternlit_sakura_temple_garden_at_night.webp');
  --soj-page-position:center 50%;
}
html[data-soj-backdrop="festival-night"]{
  --soj-page-bg:url('/assets/backgrounds/lanternlit_fuji_festival_night.webp');
  --soj-page-position:center 48%;
}
html[data-soj-backdrop="tokyo-twilight"]{
  --soj-page-bg:url('/assets/backgrounds/tokyo_twilight_with_mount_fuji_and_cherry_blossoms.webp');
  --soj-page-position:center 46%;
}
html[data-soj-backdrop="garden-banquet"]{
  --soj-page-bg:url('/assets/backgrounds/twilight_sakura_garden_banquet.webp');
  --soj-page-position:center 52%;
}
html[data-soj-backdrop="temple-town"]{
  --soj-page-bg:url('/assets/backgrounds/twilight_temple_town_beneath_fuji.webp');
  --soj-page-position:center 48%;
}
html[data-soj-backdrop="neon-canal"]{
  --soj-page-bg:url('/assets/backgrounds/neon_noir_kyoto_canal_at_night.webp');
  --soj-page-position:center 48%;
}
html[data-soj-backdrop="goldwave"]{
  --soj-page-bg:url('/assets/backgrounds/midnight_japanese_goldwave_background.webp');
  --soj-page-position:center center;
}
html[data-soj-backdrop] body{
  box-shadow:0 0 92px rgba(0,0,0,.66),0 0 0 1px rgba(224,195,93,.12);
}
@media(max-width:1400px){
  html[data-soj-backdrop] body{box-shadow:none}
}
@media(max-width:900px){
  html[data-soj-backdrop]{background-attachment:scroll!important}
}

/* Locations title band: keep the compact typography, make the band pure black. */
body[data-page="map-beta"] .map-beta-intro{
  background:#030303!important;
  background-image:
    radial-gradient(circle at 50% 120%,rgba(221,190,88,.075),transparent 44%),
    linear-gradient(180deg,#050505,#010101)!important;
  border-top:1px solid rgba(224,194,93,.16);
  border-bottom:1px solid rgba(224,194,93,.26);
}


/* HEADER LOGO POSITION V4 — shift the mark closer to the left edge of the site canvas */
@media(min-width:1181px){
  body .site-header .brand img{left:-6px}
  body.header-scrolled .site-header .brand img{left:-4px}
}
@media(max-width:1180px) and (min-width:1051px){
  body .site-header .brand img{left:0}
  body.header-scrolled .site-header .brand img{left:0}
}
@media(max-width:1050px){
  body .site-header .brand img{left:2px}
  body.header-scrolled .site-header .brand img{left:1px}
}
@media(max-width:560px){
  body .site-header .brand img{left:0}
  body.header-scrolled .site-header .brand img{left:0}
}


/* HEADER POLISH V4 — cleaner chrome, larger left brand, calmer CTA red */
:root{
  --soj-cta-deep:#741124;
  --soj-cta-deeper:#570a18;
}
body .site-header{
  border-bottom:0!important;
}
body .site-header:before,
body .site-header:after{
  display:none!important;
  content:none!important;
}
@media(min-width:1181px){
  body .site-header .brand{
    flex-basis:184px;
    width:184px;
  }
  body .site-header .brand img{
    left:-22px;
    width:168px;
    height:168px;
  }
  body .site-header #primary-nav{
    gap:10px;
  }
  body .site-header #primary-nav>a{
    padding-inline:13px;
  }
  body.header-scrolled .site-header .brand{
    flex-basis:104px;
    width:104px;
  }
  body.header-scrolled .site-header .brand img{
    left:-8px;
    width:88px;
    height:88px;
  }
}
@media(max-width:1180px) and (min-width:1051px){
  body .site-header .brand{
    flex-basis:145px;
    width:145px;
  }
  body .site-header .brand img{
    left:-8px;
    width:140px;
    height:140px;
  }
  body .site-header #primary-nav{
    gap:7px;
  }
  body .site-header #primary-nav>a{
    padding-inline:10px;
  }
  body.header-scrolled .site-header .brand{
    flex-basis:94px;
    width:94px;
  }
  body.header-scrolled .site-header .brand img{
    left:-2px;
    width:82px;
    height:82px;
  }
}
body .site-header #primary-nav .small-button{
  border-color:#8a1b31;
  background:linear-gradient(180deg,var(--soj-cta-deep),var(--soj-cta-deeper));
  box-shadow:0 10px 24px rgba(79,5,22,.26),inset 0 1px 0 rgba(255,255,255,.10);
}
body .site-header #primary-nav .small-button:hover{
  border-color:#a5253f;
  background:linear-gradient(180deg,#81203a,#641022);
  box-shadow:0 13px 28px rgba(79,5,22,.30),0 0 0 1px rgba(240,215,122,.12);
}

/* SOJ PAGE IDENTIFIER STANDARD V1 — reusable compact black title band for public pages */
.soj-page-identifier{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:0;
  padding:16px var(--space) 17px;
  background:
    radial-gradient(circle at 50% 120%,rgba(223,196,94,.08),transparent 42%),
    linear-gradient(180deg,#050505,#010101);
  color:#fff;
  border-top:1px solid rgba(223,196,94,.14);
  border-bottom:1px solid rgba(223,196,94,.24);
}
.soj-page-identifier-copy{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  text-align:center;
}
.soj-page-identifier h1{
  margin:0;
  color:#fff8ee;
  font:700 clamp(38px,3.6vw,52px)/.95 var(--editorial);
  letter-spacing:-.035em;
}
.soj-page-identifier h1 em{color:#dfc45e;font-style:normal}
.soj-page-identifier p{
  margin:7px 0 0;
  color:#e8dfd7;
  font-size:14px;
  line-height:1.25;
  white-space:nowrap;
}
@media(max-width:760px){
  .soj-page-identifier{padding:13px 18px 14px}
  .soj-page-identifier h1{font-size:36px}
  .soj-page-identifier p{font-size:12px;line-height:1.35;white-space:normal}
}


/* FOOTER V3 — compact premium finish, no location carousel */
.site-footer.soj-footer-v2 .soj-footer-main{
  grid-template-columns:minmax(300px,1.45fr) minmax(150px,.55fr) minmax(150px,.55fr);
  gap:58px;
}
.site-footer.soj-footer-v2 .soj-footer-cta-actions>a.soj-footer-order{
  border-color:#8a1b31;
  background:linear-gradient(180deg,#741124,#570a18);
  color:#fff;
  box-shadow:0 10px 28px rgba(79,5,22,.25);
}
.site-footer.soj-footer-v2 .soj-footer-cta-actions>a.soj-footer-order:hover{
  background:linear-gradient(180deg,#81203a,#641022);
}
@media(min-width:1181px){
  body .site-header #primary-nav{gap:8px}
  body .site-header #primary-nav>a{padding-inline:11px}
}
@media(max-width:1150px){
  .site-footer.soj-footer-v2 .soj-footer-main{
    grid-template-columns:1.3fr .6fr .6fr;
    gap:34px;
  }
}
@media(max-width:760px){
  .site-footer.soj-footer-v2 .soj-footer-main{
    grid-template-columns:1fr 1fr;
    gap:30px 22px;
  }
  .site-footer.soj-footer-v2 .soj-footer-brand-panel{grid-column:1/-1}
}


/* FOOTER V4 — premium institutional close */
.site-footer.soj-footer-v4{
  position:relative;
  overflow:hidden;
  padding:0;
  background:#050907;
  color:#f7f1e5;
  border-top:0;
  isolation:isolate;
}
.site-footer.soj-footer-v4:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 10% 18%,rgba(197,157,55,.09),transparent 25%),
    radial-gradient(circle at 90% 10%,rgba(100,18,35,.13),transparent 29%),
    repeating-linear-gradient(135deg,rgba(255,255,255,.012) 0 1px,transparent 1px 30px);
}
.site-footer.soj-footer-v4:after{
  content:"";
  position:absolute;
  inset:auto -5% 0 48%;
  height:58%;
  z-index:0;
  pointer-events:none;
  opacity:.12;
  transform:skewX(-12deg);
  background:linear-gradient(135deg,transparent 20%,rgba(223,196,94,.22),transparent 66%);
}
.soj-footer-v4>*{position:relative;z-index:1}
.soj-footer-v4 .soj-footer-spectrum{
  height:3px;
  background:linear-gradient(90deg,#741124 0 24%,#d7b94c 24% 45%,#315f30 45% 67%,#154936 67% 82%,#244f70 82% 100%);
  box-shadow:0 0 22px rgba(215,185,76,.18);
}

/* Signature / manifesto */
.soj-footer-signature{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr);
  min-height:390px;
  overflow:hidden;
  border-bottom:1px solid rgba(230,215,172,.12);
}
.soj-footer-signature-media{
  position:absolute;
  inset:0 48% 0 0;
  overflow:hidden;
}
.soj-footer-signature-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 53%;
  filter:brightness(.46) saturate(.86) contrast(1.05);
  transform:scale(1.015);
}
.soj-footer-signature-media:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(3,10,7,.22) 0%,rgba(3,10,7,.18) 55%,#050907 100%),
    linear-gradient(0deg,#050907 0%,transparent 31%,rgba(5,9,7,.08) 72%);
}
.soj-footer-signature-copy{
  grid-column:2;
  align-self:center;
  max-width:650px;
  padding:54px 74px 54px 38px;
}
.soj-footer-eyebrow{
  display:block;
  margin:0 0 14px;
  color:#d8ba55;
  font-size:9px;
  font-weight:900;
  letter-spacing:.22em;
  text-transform:uppercase;
}
.soj-footer-signature-copy>strong{
  display:block;
  color:#fff9ed;
  font:400 clamp(48px,5vw,72px)/.91 var(--editorial);
  letter-spacing:-.052em;
}
.soj-footer-signature-copy>strong em{
  display:block;
  color:#dfc45e;
  font-style:normal;
}
.soj-footer-signature-copy>p{
  max-width:590px;
  margin:20px 0 0;
  color:#b9c2bb;
  font-size:12px;
  line-height:1.78;
}
.soj-footer-proof{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0;
  margin-top:27px;
  border-top:1px solid rgba(223,196,94,.18);
  border-bottom:1px solid rgba(223,196,94,.12);
}
.soj-footer-proof>div{
  padding:17px 17px 16px 0;
  border-right:1px solid rgba(223,196,94,.14);
}
.soj-footer-proof>div+div{padding-left:18px}
.soj-footer-proof>div:last-child{border-right:0}
.soj-footer-proof b{
  display:block;
  color:#fff6df;
  font:400 31px/1 var(--editorial);
}
.soj-footer-proof small{
  display:block;
  margin-top:6px;
  color:#79897f;
  font-size:7.5px;
  font-weight:900;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.soj-footer-kizuna{
  position:absolute;
  left:37px;
  bottom:28px;
  z-index:2;
  display:flex;
  align-items:end;
  gap:12px;
  color:rgba(255,247,224,.9);
  text-shadow:0 5px 24px rgba(0,0,0,.65);
}
.soj-footer-kizuna span{
  font-family:serif;
  font-size:64px;
  line-height:.8;
}
.soj-footer-kizuna small{
  padding-bottom:4px;
  color:#d9bc5a;
  font-size:8px;
  font-weight:900;
  letter-spacing:.22em;
}

/* Four strategic actions */
.soj-footer-v4 .soj-footer-action-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  padding:0;
  border-left:1px solid rgba(236,222,178,.11);
  border-right:1px solid rgba(236,222,178,.11);
  border-bottom:1px solid rgba(236,222,178,.11);
}
.soj-footer-action{
  position:relative;
  display:flex;
  min-height:225px;
  flex-direction:column;
  padding:25px 24px 23px;
  overflow:hidden;
  border-right:1px solid rgba(236,222,178,.11);
  color:#fff;
  transition:background .22s ease,transform .22s ease;
}
.soj-footer-action:last-child{border-right:0}
.soj-footer-action:before{
  content:"";
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .22s ease;
  background:radial-gradient(circle at 88% 8%,rgba(223,196,94,.12),transparent 35%);
}
.soj-footer-action:hover:before{opacity:1}
.soj-footer-action:hover{background:rgba(255,255,255,.026)}
.soj-footer-action>span{
  position:relative;
  color:#c9aa4a;
  font:400 24px/1 var(--editorial);
}
.soj-footer-action>strong{
  position:relative;
  display:block;
  margin-top:29px;
  color:#fff8e8;
  font:400 25px/1.02 var(--editorial);
  letter-spacing:-.025em;
}
.soj-footer-action>p{
  position:relative;
  max-width:250px;
  margin:10px 0 0;
  color:#8e9a91;
  font-size:9.5px;
  line-height:1.7;
}
.soj-footer-action>em{
  position:relative;
  display:block;
  margin-top:auto;
  padding-top:17px;
  color:#e4ca70;
  font-size:8px;
  font-style:normal;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.soj-footer-action-order{
  background:linear-gradient(155deg,rgba(116,17,36,.22),rgba(5,9,7,0) 62%);
}
.soj-footer-action-franchise{
  background:linear-gradient(155deg,rgba(223,196,94,.08),rgba(5,9,7,0) 62%);
}

/* Navigation / brand block */
.soj-footer-v4 .soj-footer-main{
  display:grid;
  grid-template-columns:minmax(300px,1.3fr) repeat(3,minmax(130px,.47fr));
  gap:46px;
  padding:37px var(--space) 34px;
  border-bottom:1px solid rgba(232,223,196,.10);
}
.soj-footer-v4 .soj-footer-brand-panel{min-width:0}
.soj-footer-v4 .soj-footer-brand{
  display:flex;
  align-items:center;
  gap:16px;
  width:max-content;
  max-width:100%;
  color:#fff;
}
.soj-footer-v4 .soj-footer-brand img{
  width:88px;
  height:88px;
  object-fit:contain;
  filter:drop-shadow(0 12px 24px rgba(0,0,0,.36));
}
.soj-footer-v4 .soj-footer-brand>span{display:flex;flex-direction:column;gap:6px}
.soj-footer-v4 .soj-footer-brand strong{
  color:#fff8e8;
  font:400 27px/1 var(--editorial);
  letter-spacing:-.03em;
}
.soj-footer-v4 .soj-footer-brand small{
  color:#d5b956;
  font-size:8px;
  font-weight:900;
  letter-spacing:.18em;
}
.soj-footer-v4 .soj-footer-brand-panel>p{
  max-width:385px;
  margin:16px 0 0;
  color:#9ba79f;
  font-size:10px;
  line-height:1.75;
}
.soj-footer-v4 .soj-footer-socials{
  display:flex;
  gap:8px;
  margin-top:16px;
}
.soj-footer-v4 .soj-footer-socials a{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 12px;
  border:1px solid rgba(223,196,94,.2);
  border-radius:0;
  background:rgba(255,255,255,.02);
  color:#d8ddd8;
  font-size:8px;
  font-weight:900;
  letter-spacing:.04em;
}
.soj-footer-v4 .soj-footer-socials a:hover{
  border-color:#d3b44c;
  color:#efd875;
}
.soj-footer-v4 .soj-footer-column h3{
  margin:8px 0 14px;
  color:#d6ba58;
  font-size:8px;
  font-weight:900;
  letter-spacing:.2em;
  text-transform:uppercase;
}
.soj-footer-v4 .soj-footer-column a{
  display:block;
  width:max-content;
  max-width:100%;
  padding:5px 0;
  color:#c8cec8;
  font-size:10px;
  font-weight:650;
  transition:color .16s ease,transform .16s ease;
}
.soj-footer-v4 .soj-footer-column a:hover{
  color:#fff3c6;
  transform:translateX(3px);
}

/* Legal close */
.soj-footer-v4 .soj-footer-bottom{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:18px;
  align-items:center;
  padding:17px var(--space) 20px;
  color:#68766e;
  font-size:7.5px;
}
.soj-footer-v4 .soj-footer-bottom>span:nth-child(2){
  color:#8b998f;
  text-align:center;
  letter-spacing:.04em;
}
.soj-footer-v4 .soj-footer-bottom>button{
  justify-self:end;
  border:0;
  background:none;
  color:#d1b653;
  font-size:8px;
  font-weight:900;
  cursor:pointer;
}

@media(max-width:1100px){
  .soj-footer-signature{grid-template-columns:1fr 1fr}
  .soj-footer-signature-media{inset:0 50% 0 0}
  .soj-footer-signature-copy{padding-right:40px}
  .soj-footer-v4 .soj-footer-action-grid{grid-template-columns:1fr 1fr}
  .soj-footer-action:nth-child(2){border-right:0}
  .soj-footer-action:nth-child(-n+2){border-bottom:1px solid rgba(236,222,178,.11)}
  .soj-footer-v4 .soj-footer-main{grid-template-columns:1.25fr repeat(3,.5fr);gap:28px}
}
@media(max-width:760px){
  .site-footer.soj-footer-v4{padding-bottom:84px}
  .soj-footer-signature{
    display:block;
    min-height:0;
    padding-top:250px;
  }
  .soj-footer-signature-media{inset:0 0 auto 0;height:290px}
  .soj-footer-signature-media:after{
    background:linear-gradient(0deg,#050907 0%,transparent 50%),linear-gradient(90deg,rgba(3,10,7,.18),rgba(3,10,7,.05));
  }
  .soj-footer-signature-copy{padding:40px 24px 34px}
  .soj-footer-signature-copy>strong{font-size:48px}
  .soj-footer-signature-copy>p{font-size:11px}
  .soj-footer-kizuna{left:22px;top:196px;bottom:auto}
  .soj-footer-kizuna span{font-size:54px}
  .soj-footer-v4 .soj-footer-action-grid{grid-template-columns:1fr}
  .soj-footer-action{
    min-height:190px;
    border-right:0;
    border-bottom:1px solid rgba(236,222,178,.11)!important;
  }
  .soj-footer-action:last-child{border-bottom:0!important}
  .soj-footer-v4 .soj-footer-main{
    grid-template-columns:1fr 1fr;
    gap:30px 22px;
    padding:32px 24px;
  }
  .soj-footer-v4 .soj-footer-brand-panel{grid-column:1/-1}
  .soj-footer-v4 .soj-footer-brand-panel>p{max-width:480px}
  .soj-footer-v4 .soj-footer-bottom{
    grid-template-columns:1fr auto;
    padding-inline:24px;
  }
  .soj-footer-v4 .soj-footer-bottom>span:nth-child(2){
    grid-column:1/-1;
    grid-row:2;
    text-align:left;
  }
  .soj-footer-v4 .soj-footer-bottom>button{grid-column:2;grid-row:1}
}
@media(max-width:480px){
  .soj-footer-signature{padding-top:225px}
  .soj-footer-signature-media{height:260px}
  .soj-footer-signature-copy>strong{font-size:43px}
  .soj-footer-proof b{font-size:27px}
  .soj-footer-proof small{font-size:6.8px}
  .soj-footer-kizuna{top:174px}
  .soj-footer-v4 .soj-footer-main{grid-template-columns:1fr 1fr;gap:26px 18px}
  .soj-footer-v4 .soj-footer-brand img{width:76px;height:76px}
  .soj-footer-v4 .soj-footer-brand strong{font-size:24px}
}


/* FOOTER V4.1 — tighten the premium composition and enforce four-column nav */
.site-footer.soj-footer-v4 .soj-footer-signature{
  grid-template-columns:minmax(0,.98fr) minmax(0,1.02fr);
  min-height:420px;
}
.site-footer.soj-footer-v4 .soj-footer-signature-media{inset:0 51% 0 0}
.site-footer.soj-footer-v4 .soj-footer-signature-copy{
  max-width:none;
  padding:48px 64px 48px 42px;
}
.site-footer.soj-footer-v4 .soj-footer-signature-copy>strong{
  font-size:clamp(46px,4.1vw,59px);
  line-height:.92;
}
.site-footer.soj-footer-v4 .soj-footer-signature-copy>p{
  max-width:610px;
  margin-top:17px;
}
.site-footer.soj-footer-v4 .soj-footer-proof{margin-top:22px}
.site-footer.soj-footer-v4 .soj-footer-action{
  min-height:198px;
  padding:22px 22px 20px;
}
.site-footer.soj-footer-v4 .soj-footer-action>strong{margin-top:22px;font-size:23px}
.site-footer.soj-footer-v4 .soj-footer-action>p{margin-top:8px}
.site-footer.soj-footer-v4 .soj-footer-main{
  grid-template-columns:minmax(330px,1.28fr) repeat(3,minmax(120px,.54fr))!important;
  gap:38px!important;
  padding:32px var(--space) 30px!important;
}
.site-footer.soj-footer-v4 .soj-footer-brand img{width:80px;height:80px}
.site-footer.soj-footer-v4 .soj-footer-brand strong{font-size:25px}
.site-footer.soj-footer-v4 .soj-footer-brand-panel>p{margin-top:13px}
.site-footer.soj-footer-v4 .soj-footer-column h3{margin-top:5px}

@media(max-width:1150px){
  .site-footer.soj-footer-v4 .soj-footer-main{
    grid-template-columns:minmax(280px,1.15fr) repeat(3,minmax(110px,.52fr))!important;
    gap:26px!important;
  }
}
@media(max-width:900px){
  .site-footer.soj-footer-v4 .soj-footer-main{
    grid-template-columns:1.3fr .7fr .7fr!important;
  }
  .site-footer.soj-footer-v4 .soj-footer-column:last-child{
    grid-column:2/4;
    display:grid;
    grid-template-columns:repeat(2,max-content);
    column-gap:26px;
  }
  .site-footer.soj-footer-v4 .soj-footer-column:last-child h3{grid-column:1/-1}
}
@media(max-width:760px){
  .site-footer.soj-footer-v4 .soj-footer-signature{display:block;min-height:0;padding-top:250px}
  .site-footer.soj-footer-v4 .soj-footer-signature-media{inset:0 0 auto 0;height:290px}
  .site-footer.soj-footer-v4 .soj-footer-signature-copy{padding:38px 24px 32px}
  .site-footer.soj-footer-v4 .soj-footer-signature-copy>strong{font-size:46px}
  .site-footer.soj-footer-v4 .soj-footer-action{min-height:178px}
  .site-footer.soj-footer-v4 .soj-footer-main{
    grid-template-columns:1fr 1fr!important;
    gap:28px 20px!important;
    padding:30px 24px!important;
  }
  .site-footer.soj-footer-v4 .soj-footer-brand-panel{grid-column:1/-1}
  .site-footer.soj-footer-v4 .soj-footer-column:last-child{
    grid-column:auto;
    display:block;
  }
}

/* LIVE active-nav lock: match Order Online red gradient exactly. */
body .site-header #primary-nav>a[aria-current="page"]{
  color:#fff!important;
  border-color:#8a1b31!important;
  background:linear-gradient(180deg,#741124 0%,#570a18 100%)!important;
  box-shadow:0 10px 24px rgba(79,5,22,.26),inset 0 1px 0 rgba(255,255,255,.10)!important;
}
