/* Ghost Store content overrides; preserve Izanami layout and animation hooks. */
.nav_foot { display: none !important; }
.header_logo { display: inline-flex; align-items: center; gap: 12px; width: auto !important; height: auto !important; }
.header_brandName { color: currentColor; font-family: "Playfair Display", Georgia, serif; font-size: 14px; letter-spacing: .045em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.header_logo svg { width: 32px !important; height: 32px !important; flex: none; }
.header_lang { display: flex !important; }
.footer_location { min-width: 0; }
.header_langLink { min-width: 44px; min-height: 44px; }
.header_langLinkText { font-size: 12px; }
html[data-preview-locale="en"] .header_langLink[data-language-switch="vi"] .header_langLinkCircle,
html[data-preview-locale="vi"] .header_langLink[data-language-switch="en"] .header_langLinkCircle { opacity: 0 !important; }
html[data-preview-locale="en"] .header_langLink[data-language-switch="en"] .header_langLinkCircle,
html[data-preview-locale="vi"] .header_langLink[data-language-switch="vi"] .header_langLinkCircle { opacity: 1 !important; }
#nav .nav_link { min-height: 44px; }

/* Product sections return to Izanami's editorial copy-left, image-right composition. */
.stickySection_title { margin: 0 0 clamp(22px, 3vw, 44px) !important; }
.stickySection_lead,
.stickySection_description { max-width: 34ch; }
.stickySection_lead { margin-block-end: clamp(14px, 1.5vw, 24px) !important; }
.stickySection_description { margin-block-end: clamp(22px, 2.5vw, 36px) !important; }
.footer_privacyLink { display: flex; min-height: 44px; align-items: center; }
@media (hover: hover) {
}
@media (max-width: 767px) {
  .header_logo { gap: 8px; }
  .header_brandName { font-size: 10px; letter-spacing: .07em; }
  .header_logo svg { width: 24px !important; height: 24px !important; }
  .aside { display: grid !important; }
  .aside_time { flex-wrap: nowrap !important; }
  .aside_place { white-space: nowrap !important; }
  .stickySection_title { gap: 10px; margin-block-end: 18px !important; }
  .stickySection_titleText { font: 400 7vw/1.2 "Playfair Display", Georgia, serif; }
  .stickySection_lead { margin-block-end: 10px !important; }
  .stickySection_description { margin-block-end: 18px !important; }
  .footer_pageTopLink { min-width: 44px; min-height: 44px; justify-items: center; white-space: nowrap; }
  .footer_pageTopLinkText { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
}
/* Keep language controls interactive. */
.header_langLink,
.header_langLink.-disabled { pointer-events: auto !important; }
@media (max-width: 767px) {
  .nav_body { padding-inline-start: 22vw !important; }
  #nav .nav_link { width: fit-content; max-width: 70vw; }
  #nav .nav_linkText { display: block; max-width: 70vw; font-size: 4.4vw; line-height: 1.2; white-space: normal; }
  #nav .nav_subList { grid-template: none !important; grid-template-columns: minmax(0, 1fr) !important; gap: 0; margin-inline-start: 0; }
  #nav .nav_subItem { grid-area: auto !important; min-width: 0; }
  #nav .nav_subLink { min-height: 44px; }
  #nav .nav_subLinkText { max-width: 70vw; white-space: normal; }
}
@media (min-width: 768px) and (max-width: 900px) {
  .nav_body { padding-inline-start: 22vw !important; }
  #nav .nav_link { width: fit-content; max-width: 70vw; }
  #nav .nav_linkText { display: block; max-width: 70vw; font-size: clamp(20px, 3.5vw, 27px); line-height: 1.2; white-space: normal; }
  #nav .nav_subList { grid-template: none !important; grid-template-columns: minmax(0, 1fr) !important; gap: 0; margin-inline-start: 0; }
  #nav .nav_subItem { grid-area: auto !important; min-width: 0; }
}

/* Keep long footer labels on one line while retaining the source footer grid. */
.footer_privacyLink,
.footer_privacyLinkText { width: max-content; white-space: nowrap; }
.footer_privacyLinkText { font-size: clamp(9px, .72vw, 12px) !important; }
.footer_time { flex-wrap: nowrap !important; white-space: nowrap; }
.footer_clock,
.footer_place { width: auto !important; flex: none; white-space: nowrap !important; }
.footer_place { font-size: clamp(9px, .65vw, 12px) !important; }
@media (min-width: 768px) and (max-width: 900px) {
  .footer_times { grid-column: 6 / 27 !important; grid-template-columns: minmax(0, 1fr) !important; gap: 8px !important; }
  .footer_time:first-of-type,
  .footer_time:last-of-type { grid-column: 1 / -1 !important; }
}
@media (max-width: 767px) {
  .footer_times { grid-column: 7 / 24 !important; grid-template-columns: minmax(0, 1fr) !important; gap: 8px !important; }
  .footer_time:first-of-type,
  .footer_time:last-of-type { grid-column: 1 / -1 !important; }
  .footer_time { display: flex !important; align-items: baseline; gap: 5px !important; }
  .footer_clock { font-size: clamp(8px, 2.5vw, 10px) !important; }
  .footer_place { font-size: clamp(8px, 2.4vw, 9px) !important; }
}

/* Company hero actions follow the original editorial button style. */
.ghostHeroActions { display:flex; flex-wrap:wrap; gap:12px 32px; margin-top:28px; }
.ghostHeroActions .button { min-height:44px; }
.homeHeader_titleText { display:block; }
.homeHeader_contents { background:linear-gradient(90deg,rgba(8,12,12,.72),rgba(8,12,12,.08)); }
.homeHeader_title, .ghostHeroActions { text-shadow:0 1px 8px rgba(0,0,0,.6); }
.homeCompany_contents { background:linear-gradient(180deg,rgba(8,12,12,.25),rgba(8,12,12,.74)); }
.homeProjects_contents { background:rgba(8,12,12,.5); }
.homePhilosophy_description,
.homeProjects_description,
.stickySection_description,
.homeCompany_description { color:#f2eee4; font-size:clamp(16px,1.1vw,18px); line-height:1.8; text-align:start; text-shadow:0 2px 8px #080c0c; }
.homePhilosophy_descriptions { background:rgba(8,12,12,.82); padding:16px 20px; border-inline-start:1px solid rgba(212,184,136,.4); }
.homeCompany_descriptions { width:100%!important; max-width:65ch; margin-inline:auto; padding:16px 20px; background:rgba(8,12,12,.78); text-align:start; }
.stickySection_lead { text-align:start; }
.footer_snsList { flex-wrap:wrap; }
.ghostEmailLink { min-height:44px; display:flex; align-items:center; }
#contact { scroll-margin-top:100px; }
a:focus-visible { outline:2px solid #d4b888; outline-offset:5px; }
@media (max-width:767px) {
  .ghostHeroActions { gap:12px; margin-top:22px; }
  .ghostHeroActions .button_text { font-size:14px; }
  .stickySection_titleText { font-size:6vw; }
  .ghostEmailLink { font-family:Arial,sans-serif; font-size:12px; }
}
/* Static fallback for reduced motion or a failed animation module. */
html.landing-static, html.landing-static body { overflow:auto!important; height:auto!important; }
.landing-static .loader, .landing-static canvas, .landing-static .nav { display:none!important; }
.landing-static .header, .landing-static .main, .landing-static main, .landing-static .footer,
.landing-static [data-text-animation], .landing-static [data-text-animation="text"],
.landing-static .homeCompany_description, .landing-static .homeHeader_title,
.landing-static .button, .landing-static .button_textContent { opacity:1!important; visibility:visible!important; transform:none!important; }
.landing-static .paragraph_text { color:inherit!important; opacity:1!important; }
.landing-static .homeHeader_bg { position:absolute; inset:0; z-index:0; }
.landing-static .homeHeader_contents { position:relative; z-index:1; }
.landing-static [data-mesh-manager] > img { display:block; width:100%; height:100%; object-fit:cover; }
.landing-static .homeHeader_img { height:100%; }
.landing-static .homeHeader_img > div { height:100%; }
.landing-static .stickySection { position:relative!important; transform:none!important; }
.landing-static .header_nav { display:none!important; }
.landing-static .homeProjects, .landing-static .homeCompany { position:relative; }
.landing-static .homeProjects_bg, .landing-static .homeCompany_bg { position:absolute; inset:0; z-index:0; }
.landing-static .homeProjects_contents, .landing-static .homeCompany_contents { position:relative; z-index:1; }
.landing-static .button_line { transform:scaleX(1)!important; }
.landing-static .footer_nextLinkTextContent { opacity:1!important; }
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto!important; }
  *, *::before, *::after { animation:none!important; transition:none!important; }
}
.ghostHeroActions .button_lines, .landing-static .button_lines { display:none; }
.ghostHeroActions .button_block, .landing-static .button_block { padding-block:12px; border-bottom:1px solid rgba(242,238,228,.55); }
.landing-static .header_langLinkLine, .landing-static .openTrigger_line { display:none!important; }
.landing-static.ghost-nav-open .nav { display:block!important; position:fixed; inset:0; z-index:70; overflow:auto; opacity:1!important; visibility:visible!important; transform:none!important; background:#0b0901; }
.landing-static.ghost-nav-open .nav_body, .landing-static.ghost-nav-open .nav_contents { opacity:1!important; visibility:visible!important; transform:none!important; }
.landing-static.ghost-nav-open body { overflow:hidden!important; }
/* A static button has no animated line column; give its label the full width. */
.ghostHeroActions .button_block, .landing-static .button_block { grid-template-columns:1fr; gap:0; padding-inline-end:0; }
.ghostHeroActions .button { padding-inline:0; }
.ghostHeroActions .button_text, .landing-static .button_text { white-space:nowrap; }
.aside_time { display:flex!important; flex-wrap:nowrap!important; gap:4px; }
.aside_clock, .aside_place { width:auto!important; flex:none; white-space:nowrap!important; }
.aside_place { font-size:clamp(8px,.65vw,10px)!important; }

/* Keep the AI landing readable and aligned on narrow screens. */
@media (max-width: 767px) {
  .openTrigger { min-width:44px; min-height:44px; padding-inline:0; }
  .openTrigger_text { white-space:nowrap; }
  .header_brandName { max-width:100px; white-space:normal; line-height:1.3; }
  .header_langLink { display: flex; align-items: center; justify-content: center; }
  .homeHeader_title { width: 100%; }
  .homeHeader_titleText { font-size: clamp(22px, 6.2vw, 32px); }
  .ghostHeroActions { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 28px; }
  .ghostHeroActions .button { padding-block: 0; min-height: 44px; }
  .ghostHeroActions .button_text { font-size: 16px; }
  .homePhilosophy_description,
  .homeProjects_description,
  .stickySection_description,
  .homeCompany_description { font-size: 16px; line-height: 1.8; text-align: start; }
  .homePhilosophy_button,
  .homeProjects_button { margin-inline-start: 0; }
  .stickySection_titleText { font-size: clamp(24px, 6.2vw, 32px); line-height: 1.25; }
  .stickySection_lead { font-size: 16px; line-height: 1.6; text-align: start; }
  .stickySection_lead,
  .stickySection_description { max-width: none; }
  .footer_name { font-size: 13px; line-height: 1.5; }
  .footer_body,
  .footer_nav,
  .footer_address { padding-inline-start: 0; margin-inline-start: 0; }
  .footer_links { padding-inline-start: 0; }
  .footer_link { min-height: 44px; }
  .footer_snsLink { min-height: 44px; }
  .footer_info { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 36px; }
  .footer_location { grid-column: 1 / -1; }
  .footer_locationTitle { margin-bottom: 8px; font-size: 13px; }
  .footer_locationBody { max-width: 36ch; font-size: 12px; line-height: 1.7; }
  .aside_times { display: none; }
  .landing-static [data-header="close"] { display: none; }
  .landing-static.ghost-nav-open [data-header="menu"] { display: none; }
  .landing-static.ghost-nav-open [data-header="close"] { display: inline; }
  .landing-static .footer_linkLine,
  .landing-static .footer_snsLinkLine,
  .landing-static .footer_privacyLinkLine { display: none; }
}


/* The loader hands off to the same title, at the same size and position. */
.homeHeader_inner { position: relative; }
.homeHeader_titleText,
.loader_titleText { display: block; max-width: none; white-space: pre-line; font-size: clamp(32px, 3.4vw, 56px); line-height: 1.25; }
.ghostHeroActions { position: absolute; top: 100%; inset-inline: 17.5vw; }
@media (max-width: 767px) {
  .homeHeader_titleText,
  .loader_titleText { font-size: clamp(22px, 6.2vw, 32px); }
  .ghostHeroActions { inset-inline: 20.1492537313vw; }
}

/* ===== Ghost Store AI: vector motion graphics (motion-graphics.js) ===== */
.gx-defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.gx{position:relative;width:100%;height:100%;overflow:hidden;font-family:"JetBrains Mono","SF Mono",ui-monospace,Menlo,Consolas,monospace;-webkit-user-select:none;user-select:none}
.gx img{display:block;width:100%;height:100%;object-fit:cover}
.gx-svg{display:block;width:100%;height:100%}
.gx-card{border:1px solid rgba(212,184,136,.2);border-radius:10px;background:linear-gradient(160deg,#221a0e,#0a0801);box-shadow:0 30px 80px rgba(0,0,0,.55),inset 0 1px 0 rgba(255,236,200,.06)}
.gx-card::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 40%,rgba(246,234,208,.07) 50%,transparent 60%);transform:translateX(-120%);animation:gx-sheen 7s ease-in-out infinite}
.gx:not(.on)::after{animation-play-state:paused}
.gx-ready .gx{opacity:0;transform:translateY(18px) scale(.985);transition:opacity 1s cubic-bezier(.2,.7,.2,1),transform 1s cubic-bezier(.2,.7,.2,1)}
.gx-ready .gx.in{opacity:1;transform:none}
.gx:not(.on) *{animation-play-state:paused}

.gx-svg text{font-family:inherit}
.gx-svg .t,.gx-svg .tg{fill:#d4b888}
.gx-svg .td{fill:rgba(212,184,136,.5)}
.gx-svg .tb{fill:#f6ead0}
.gx-svg .l{fill:none;stroke:rgba(212,184,136,.28);stroke-width:1;vector-effect:non-scaling-stroke}
.gx-svg .l.d{stroke-dasharray:1.5 6;stroke:rgba(212,184,136,.4)}
.gx-svg .f{fill:rgba(18,14,7,.72);stroke:rgba(212,184,136,.22);stroke-width:1;vector-effect:non-scaling-stroke}
.gx-g{fill:url(#gx-gold)}
.gx-dot{fill:#d4b888;animation:gx-blink 2.2s ease-in-out infinite}
.gx-wd{fill:rgba(212,184,136,.3)}
.gx-sd{fill:#f6ead0}
.gx-sel{fill:rgba(212,184,136,.14);animation:gx-sel 8s ease-in-out infinite}
.gx-bar{fill:#d4b888;transform-box:fill-box;transform-origin:bottom;animation:gx-bar 2.4s ease-in-out infinite;animation-delay:calc(var(--i)*-.37s)}
.gx-area{fill:url(#gx-area)}
.gx-trace{fill:none;stroke:#d4b888;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.gx-comet{fill:none;stroke:#f6ead0;stroke-width:2;stroke-linecap:round;stroke-dasharray:14 100;stroke-dashoffset:14;animation:gx-run var(--d,3s) linear infinite}
.gx-cp{stroke-dasharray:14 var(--G);animation:gx-pipe var(--T) linear infinite;animation-delay:calc(var(--i)*var(--S))}
.gx-ping{fill:none;stroke:#d4b888;stroke-width:1;transform-box:fill-box;transform-origin:center;animation:gx-ping 2.8s ease-out infinite}
.gx-hub{fill:#0f0b06;stroke:#d4b888;stroke-width:1.2}
.gx-ln{fill:#f6ead0;font-size:10.5px;white-space:pre}
.gx-svg .ck{fill:#d4b888}
.gx-svg .cf{fill:#f6ead0}
.gx-svg .cp{fill:rgba(246,234,208,.55)}
.gx-svg .ct{fill:rgba(212,184,136,.65)}
.gx-svg .ca{fill:#b99a62}
.gx-caret{animation:gx-caretb 1s steps(1) infinite}

.gx-nrect{fill:rgba(18,14,7,.7);stroke:rgba(212,184,136,.22);stroke-width:1;vector-effect:non-scaling-stroke}
.gx-lit{fill:rgba(212,184,136,.1);stroke:#d4b888;stroke-width:1;vector-effect:non-scaling-stroke;opacity:0}
.gx-acc{fill:#d4b888;opacity:0}
.gx-st{fill:none;stroke:rgba(212,184,136,.4);stroke-width:1;vector-effect:non-scaling-stroke}
.gx-ck{fill:none;stroke:#f6ead0;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;opacity:0}
.gx-lit,.gx-acc,.gx-ck{animation:var(--kf) var(--T) linear infinite;animation-delay:calc(var(--i)*var(--S))}

.gx-spin{transform-box:fill-box;transform-origin:center;animation:gx-rot var(--t,90s) linear infinite}
.gx-sphere{fill:url(#gx-orb);stroke:rgba(212,184,136,.5);stroke-width:1;vector-effect:non-scaling-stroke}
.gx-mer{transform-box:fill-box;transform-origin:center;animation:gx-mer var(--T,8.8s) linear infinite;animation-delay:var(--d,0s)}
.gx-ripple{fill:none;stroke:#d4b888;stroke-width:1;vector-effect:non-scaling-stroke;transform-box:fill-box;transform-origin:center;animation:gx-ripple 5.7s ease-out infinite;animation-delay:var(--d,0s)}
.gx-grid{fill:none;stroke-width:1;vector-effect:non-scaling-stroke}
.gx-star{fill:#d4b888;animation:gx-tw 6s ease-in-out infinite;animation-delay:var(--d,0s)}
.gx-chip{fill:rgba(18,16,10,.28);stroke:rgba(212,184,136,.7);stroke-width:1;vector-effect:non-scaling-stroke}
.gx-an{fill:#15100a;stroke:rgba(212,184,136,.4);stroke-width:1;animation:gx-an var(--T) linear infinite;animation-delay:calc((var(--i) + 1)*var(--S))}
.gx-st2{stroke:rgba(212,184,136,.6)}
.gx-ck2{animation:gx-done var(--T) linear infinite;animation-delay:calc(var(--i)*var(--S)*2)}
.gx-track{fill:rgba(212,184,136,.16)}
.gx-fill{fill:#d4b888;transform-box:fill-box;transform-origin:left;animation:gx-fill var(--T) linear infinite;animation-delay:calc(var(--i)*var(--S)*2)}

@keyframes gx-sheen{0%,55%{transform:translateX(-120%)}100%{transform:translateX(120%)}}
@keyframes gx-blink{0%,100%{opacity:1}50%{opacity:.35}}
@keyframes gx-caretb{0%,100%{fill:#f6ead0}50%{fill:transparent}}
@keyframes gx-run{from{stroke-dashoffset:14}to{stroke-dashoffset:-100}}
@keyframes gx-pipe{from{stroke-dashoffset:14}to{stroke-dashoffset:calc(14 - var(--R))}}
@keyframes gx-ping{0%{transform:scale(.9);opacity:.55}100%{transform:scale(1.7);opacity:0}}
@keyframes gx-bar{0%,100%{transform:scaleY(.45)}50%{transform:scaleY(1)}}
@keyframes gx-sel{0%,24%{transform:translateY(0)}25%,49%{transform:translateY(16px)}50%,74%{transform:translateY(32px)}75%,100%{transform:translateY(48px)}}
@keyframes gx-rot{to{transform:rotate(360deg)}}
@keyframes gx-mer{0%,100%{transform:scaleX(1)}50%{transform:scaleX(.02)}}
@keyframes gx-ripple{0%{transform:scale(1);opacity:.4}100%{transform:scale(1.9);opacity:0}}
@keyframes gx-tw{0%,100%{opacity:.12}50%{opacity:.85}}
@keyframes gx-lit4{0%{opacity:0}3%{opacity:1}34%{opacity:1}42%,100%{opacity:0}}
@keyframes gx-lit5{0%{opacity:0}3%{opacity:1}27%{opacity:1}34%,100%{opacity:0}}
@keyframes gx-lit6{0%{opacity:0}3%{opacity:1}22%{opacity:1}30%,100%{opacity:0}}
@keyframes gx-an{0%{fill:#2c2214;stroke:#f6ead0}3%{fill:#2c2214;stroke:#f6ead0}20%{fill:#15100a;stroke:rgba(212,184,136,.4)}100%{fill:#15100a;stroke:rgba(212,184,136,.4)}}
@keyframes gx-fill{0%{transform:scaleX(0)}30%{transform:scaleX(1)}48%{transform:scaleX(1)}49%,100%{transform:scaleX(0)}}
@keyframes gx-done{0%,28%{opacity:0}32%{opacity:1}48%{opacity:1}49%,100%{opacity:0}}

.gx-still *,.gx-still ::after{animation:none!important;transition:none!important}
.gx-still .gx{opacity:1;transform:none}
.gx-still .gx-acc,.gx-still .gx-ck,.gx-still .gx-ck2{opacity:.9}
