/*
Theme Name: Katarienumono v3
Theme URI: https://katarienumono.com/
Description: Sydney child theme for the Katarienumono corporate site.
Author: Katarienumono Inc.
Template: sydney
Version: 1.0.0
Text Domain: katarienumono-v3
*/

:root {
  --ink: #12141a;
  --paper: #f5f6f8;
  --cream: #e7e9ef;
  --gold: #4964dc;
  --gold-light: #9eb1ff;
  --green: #1c2442;
  --line: rgba(18, 20, 26, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.skip-link {
  position: fixed;
  z-index: 9999;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: #000;
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: absolute;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 4vw;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.site-header--solid { position: absolute; background: rgba(17, 21, 34, 0.96); }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0;
}
.desktop-nav { display: flex; align-items: center; gap: 30px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.desktop-nav a:not(.nav-contact) { padding-block: 9px; border-bottom: 1px solid transparent; }
.desktop-nav a:not(.nav-contact):hover,
.desktop-nav a:not(.nav-contact):focus-visible { border-color: var(--gold-light); }
.nav-contact { padding: 10px 18px; color: var(--ink); background: var(--gold-light); border-radius: 999px; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav {
  position: absolute;
  top: 38px;
  right: 0;
  width: min(280px, calc(100vw - 40px));
  display: grid;
  padding: 14px;
  color: #fff;
  background: #12141a;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.mobile-nav nav a { padding: 12px 10px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 12px; letter-spacing: .1em; }
.mobile-nav nav a:last-child { border-bottom: 0; }

.hero {
  position: relative;
  min-height: 780px;
  height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: center;
  padding: 110px 8vw 60px;
  color: #f8f3e7;
  background: radial-gradient(circle at 70% 45%, rgba(88,108,224,.3), transparent 26%), linear-gradient(125deg, #111522 0%, #1a2240 48%, #11131b 100%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: .26;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to right, black, transparent 82%);
}
.hero-copy { position: relative; z-index: 2; max-width: 670px; }
.eyebrow { margin: 0 0 14px; font-family: Arial, sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .24em; }
.eyebrow.light { color: var(--gold-light); }
.coming-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  padding: 9px 14px 8px;
  color: var(--gold-light);
  border: 1px solid rgba(158,177,255,.7);
  border-radius: 2px;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
}
.hero h1 { margin: 18px 0 26px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(64px, 8vw, 126px); font-weight: 400; line-height: .78; letter-spacing: -.045em; }
.hero h1 span { margin-left: .54em; color: var(--gold-light); font-style: italic; }
.hero-lead { margin: 0; font-size: clamp(15px, 1.3vw, 19px); line-height: 1.95; letter-spacing: .08em; }
.hero-status { display: flex; align-items: center; gap: 10px; width: fit-content; margin-top: 34px; padding-top: 16px; color: rgba(255,255,255,.58); border-top: 1px solid rgba(255,255,255,.2); font-family: Arial, sans-serif; font-size: 9px; letter-spacing: .18em; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 16px var(--gold-light); }
.arcana-visual { position: relative; z-index: 1; justify-self: center; width: min(42vw, 610px); height: min(74vh, 650px); }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px solid rgba(158,177,255,.3); border-radius: 50%; transform: translate(-50%,-50%); }
.orbit-one { width: 100%; aspect-ratio: 1; }
.orbit-two { width: 76%; aspect-ratio: 1; border-style: dashed; transform: translate(-50%,-50%) rotate(18deg); }
.arcana-card { position: absolute; top: 50%; left: 50%; width: min(24vw,330px); aspect-ratio: .61; border-radius: 10px; }
.card-back { background: #3d4eaa; border: 1px solid var(--gold-light); transform: translate(-44%,-48%) rotate(8deg); opacity: .55; }
.card-front { overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--gold-light); background: radial-gradient(circle at 50% 38%, rgba(126,149,255,.2), transparent 31%), #171d35; border: 1px solid rgba(158,177,255,.86); box-shadow: 0 34px 80px rgba(0,0,0,.48); transform: translate(-56%,-52%) rotate(-6deg); }
.card-front::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(158,177,255,.5); border-radius: 5px; }
.card-corner { position: absolute; z-index: 2; font-family: Georgia,serif; font-size: 16px; }
.card-corner.top { top: 24px; left: 28px; }
.card-corner.bottom { right: 28px; bottom: 24px; transform: rotate(180deg); }
.card-sun { position: relative; width: 104px; height: 104px; border: 1px solid currentColor; border-radius: 50%; }
.card-sun::before, .card-sun::after { content: ""; position: absolute; inset: 13px; border: 1px dashed currentColor; border-radius: 50%; }
.card-sun::after { inset: 34px; border-style: solid; background: var(--gold-light); box-shadow: 0 0 26px rgba(126,149,255,.68); }
.harvest-lines { position: relative; width: 72%; height: 90px; margin-top: -4px; border-bottom: 1px solid currentColor; }
.harvest-lines i { position: absolute; bottom: 0; width: 1px; height: 78px; background: currentColor; transform-origin: bottom; }
.harvest-lines i:nth-child(1) { left: 23%; transform: rotate(-23deg); }
.harvest-lines i:nth-child(2) { left: 37%; height: 62px; transform: rotate(-11deg); }
.harvest-lines i:nth-child(3) { left: 50%; height: 82px; }
.harvest-lines i:nth-child(4) { left: 63%; height: 62px; transform: rotate(11deg); }
.harvest-lines i:nth-child(5) { left: 77%; transform: rotate(23deg); }
.card-title { position: relative; z-index: 2; margin-top: 24px; font-family: Georgia,serif; font-size: 14px; letter-spacing: .19em; }
.spark { position: absolute; color: var(--gold-light); font-size: 23px; }
.spark-one { top: 12%; right: 5%; }
.spark-two { bottom: 13%; left: 5%; font-size: 15px; }
.spark-three { top: 43%; left: 1%; font-size: 9px; }
.hero-scroll { position: absolute; right: 3vw; bottom: 76px; margin: 0; color: rgba(255,255,255,.4); font-family: Arial,sans-serif; font-size: 8px; letter-spacing: .22em; writing-mode: vertical-rl; }

.section-dark { color: #f5f1e6; background: var(--ink); }
.games { padding: 120px 6vw 140px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; margin-bottom: 58px; }
.section-heading h2, .data-intro h2 { margin: 0; font-family: Arial,sans-serif; font-size: clamp(62px,9vw,138px); font-weight: 800; line-height: .82; letter-spacing: -.07em; }
.section-heading > p { max-width: 460px; margin: 0 0 8px auto; color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.9; }
.game-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 54px 22px; }
.game-card { min-width: 0; }
.featured-game { grid-column: 1 / -1; }
.game-art { position: relative; overflow: hidden; min-height: 340px; border: 1px solid rgba(255,255,255,.12); }
.featured-game .game-art { min-height: min(55vw,610px); }
.harvest-art { display: grid; place-items: center; background: radial-gradient(circle at 50% 45%, rgba(127,151,255,.42), transparent 16%), repeating-radial-gradient(circle at 50% 45%, transparent 0 69px, rgba(158,177,255,.12) 70px 71px), linear-gradient(135deg,#202a55,#0d101b); }
.harvest-art::before, .harvest-art::after { content: ""; position: absolute; width: 1px; height: 140%; background: rgba(158,177,255,.28); transform: rotate(35deg); }
.harvest-art::after { transform: rotate(-35deg); }
.harvest-art p { position: relative; z-index: 2; margin: 0; color: var(--gold-light); font-family: Georgia,serif; font-size: clamp(50px,8vw,112px); line-height: .83; text-align: center; letter-spacing: -.03em; }
.mini-sun { position: absolute; width: 190px; height: 190px; border: 1px solid rgba(158,177,255,.62); border-radius: 50%; box-shadow: 0 0 90px rgba(126,149,255,.28); }
.fruit-store-art { background: #090b11; }
.fruit-gameplay { width: 100%; height: 100%; min-height: 340px; object-fit: cover; transition: transform .45s ease; }
.game-card:hover .fruit-gameplay, .game-card:focus-visible .fruit-gameplay { transform: scale(1.025); }
.fruit-store-overlay { position: absolute; right: 22px; bottom: 22px; width: min(52%,310px); padding: 10px; background: rgba(8,9,13,.88); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 16px 36px rgba(0,0,0,.34); backdrop-filter: blur(10px); }
.fruit-store-overlay img { display: block; width: 100%; height: auto; }
.fruit-store-overlay span { display: block; padding: 9px 3px 1px; color: rgba(255,255,255,.72); font-family: Arial,sans-serif; font-size: 8px; letter-spacing: .18em; }
.abyss-art { display: grid; place-items: center; background: radial-gradient(circle,#34216f 0,#191334 38%,#08070f 72%); }
.abyss-art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(112deg,transparent 0 27px,rgba(120,99,255,.09) 28px 29px); }
.abyss-ring { position: absolute; width: 230px; height: 230px; border: 1px solid #9c8cff; border-radius: 50%; box-shadow: 0 0 60px rgba(105,78,255,.45), inset 0 0 50px rgba(105,78,255,.25); }
.abyss-art p { z-index: 2; margin: 0; color: #e6e0ff; font-family: Arial,sans-serif; font-size: clamp(28px,4vw,56px); font-weight: 900; line-height: .8; text-align: center; letter-spacing: -.06em; }
.abyss-art p span { color: #9c8cff; font-size: .48em; letter-spacing: .16em; }
.game-meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 18px; }
.game-index { display: block; margin-bottom: 6px; color: rgba(255,255,255,.4); font-family: Arial,sans-serif; font-size: 8px; letter-spacing: .18em; }
.game-meta h3 { margin: 0; font-family: Georgia,serif; font-size: clamp(22px,2.7vw,36px); font-weight: 400; }
.game-summary { max-width: 520px; margin: 10px 0 0; color: rgba(255,255,255,.48); font-size: 11px; line-height: 1.8; }
.status-pill { padding: 8px 12px; color: var(--gold-light); border: 1px solid var(--gold); border-radius: 999px; font-family: Arial,sans-serif; font-size: 8px; letter-spacing: .16em; }
.arrow { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; font-size: 16px; }

.data-section { padding: 0; background: #f5f4ef; }
.data-intro { display: grid; grid-template-columns: 1fr .84fr; gap: 9vw; padding: 140px 6vw 100px; color: #fff; background: #0d0e12; }
.data-intro h2 { color: #fff; font-size: clamp(66px,9vw,138px); }
.data-copy { align-self: end; max-width: 520px; }
.data-copy > p:last-child { max-width: 500px; margin: 34px 0 0; color: rgba(255,255,255,.6); font-size: 15px; line-height: 2.05; }
.data-lead { margin: 0; font-family: Georgia,"Yu Mincho",serif; font-size: clamp(38px,4.4vw,64px); line-height: 1.3; }
.service-list { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 0 6vw 120px; color: #fff; background: #0d0e12; }
.service-item { min-height: 230px; padding: 26px 28px 30px; border-top: 1px solid rgba(255,255,255,.22); border-right: 1px solid rgba(255,255,255,.16); }
.service-item:first-child { border-left: 1px solid rgba(255,255,255,.16); }
.service-item span { color: #8e82ff; font-family: Arial,sans-serif; font-size: 9px; letter-spacing: .16em; }
.service-item h3 { margin: 56px 0 18px; font-family: Arial,sans-serif; font-size: clamp(24px,2.4vw,36px); font-weight: 700; letter-spacing: -.04em; }
.service-item p { margin: 0; color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.8; }
.cases { padding: 130px 6vw 150px; background: #f5f4ef; }
.case-heading { display: flex; align-items: flex-end; justify-content: space-between; padding-bottom: 42px; }
.case-heading .eyebrow { margin-bottom: 12px; }
.case-heading h3 { margin: 0; font-family: Georgia,"Yu Mincho",serif; font-size: clamp(58px,7vw,96px); font-weight: 400; line-height: 1; }
.case-heading > p { margin: 0 0 9px; color: #606168; font-size: 13px; }
.case-grid { border-top: 1px solid var(--ink); }
.case-card { display: grid; grid-template-columns: 100px minmax(0,1fr) minmax(280px,360px); gap: 48px; align-items: stretch; padding: 46px 0; border-bottom: 1px solid rgba(18,20,26,.35); }
.case-id { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; font-family: Arial,sans-serif; }
.case-id span { color: #6b6c72; font-size: 8px; letter-spacing: .2em; }
.case-id strong { color: #6b4eff; font-size: 42px; font-weight: 500; letter-spacing: -.06em; }
.case-body { max-width: 720px; }
.case-category { margin: 0 0 18px; color: #6b4eff; font-family: Arial,sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .17em; }
.case-card h4 { margin: 0; font-family: Georgia,"Yu Mincho",serif; font-size: clamp(28px,3.3vw,48px); font-weight: 400; line-height: 1.35; letter-spacing: -.025em; }
.case-description { max-width: 690px; margin: 28px 0 0; color: #55565d; font-size: 14px; line-height: 2; }
.case-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 28px 0 0; padding: 0; list-style: none; }
.case-tags li { padding: 7px 11px; color: #4d4e55; border: 1px solid rgba(18,20,26,.25); border-radius: 999px; font-size: 9px; }
.case-impact { position: relative; display: flex; flex-direction: column; min-height: 220px; padding: 30px; background: #e8e5ff; }
.case-card:nth-child(2) .case-impact { background: #ffe8dc; }
.case-card:nth-child(3) .case-impact { background: #e7e9ef; }
.case-impact > span { color: #5b5682; font-family: Arial,sans-serif; font-size: 8px; font-weight: 700; letter-spacing: .18em; }
.case-impact p { margin: auto 0; font-family: Georgia,"Yu Mincho",serif; font-size: clamp(20px,2vw,28px); line-height: 1.55; }
.case-impact i { align-self: flex-end; font-family: Arial,sans-serif; font-size: 18px; font-style: normal; }

.about-section { display: grid; grid-template-columns: 1.2fr .8fr; gap: 8vw; align-items: end; padding: 120px 8vw; color: #f6f2e6; background: var(--green); }
.about-section h2 { margin: 0; font-family: Georgia,"Yu Mincho",serif; font-size: clamp(42px,6vw,82px); font-weight: 400; line-height: 1.4; }
.about-section > p { margin: 0 0 16px; color: rgba(255,255,255,.7); font-size: 14px; line-height: 2; }
.contact-section { padding: 120px 8vw 130px; text-align: center; background: var(--gold-light); }
.contact-section h2 { margin: 0; font-family: Georgia,"Yu Mincho",serif; font-size: clamp(50px,7vw,92px); font-weight: 400; line-height: 1.25; }
.contact-section > p:not(.eyebrow) { margin: 32px auto; font-size: 13px; line-height: 2; }
.contact-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 80px; min-width: 320px; padding: 18px 20px 18px 28px; color: #fff; background: var(--ink); border: 0; border-radius: 999px; font-size: 13px; }
.contact-button span { font-size: 18px; }
.contact-button:hover, .contact-button:focus-visible { color: #fff; background: #242a3a; }

.inner-main { min-height: 70vh; background: #f5f4ef; }
.page-hero, .article-header { padding: 180px 8vw 100px; color: #fff; background: radial-gradient(circle at 72% 38%, rgba(88,108,224,.26), transparent 24%), linear-gradient(125deg,#111522,#1a2240 58%,#11131b); }
.compact-hero { padding-bottom: 80px; }
.page-hero h1, .article-header h1 { max-width: 1100px; margin: 12px 0 0; font-family: Georgia,"Yu Mincho",serif; font-size: clamp(52px,7vw,100px); font-weight: 400; line-height: 1.2; letter-spacing: -.035em; }
.page-hero > p:last-child { max-width: 680px; margin: 24px 0 0; color: rgba(255,255,255,.64); font-size: 14px; line-height: 2; }
.content-section { width: min(1180px,calc(100% - 12vw)); margin: 0 auto; padding: 110px 0 130px; }
.content-heading { margin-bottom: 40px; }
.content-heading h2 { margin: 0; font-family: Georgia,"Yu Mincho",serif; font-size: clamp(40px,5vw,68px); font-weight: 400; }
.company-profile { margin: 0; border-top: 1px solid var(--ink); }
.company-profile > div { display: grid; grid-template-columns: 220px 1fr; gap: 40px; padding: 30px 0; border-bottom: 1px solid rgba(18,20,26,.3); }
.company-profile dt { color: #65666d; font-family: Arial,sans-serif; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.company-profile dd { margin: 0; font-size: 16px; line-height: 2; }
.company-profile a { border-bottom: 1px solid currentColor; }

.news-list { border-top: 1px solid var(--ink); }
.news-card { margin: 0; border-bottom: 1px solid rgba(18,20,26,.3); }
.news-card > a { position: relative; display: grid; grid-template-columns: 140px minmax(260px,.8fr) 1fr 42px; gap: 38px; align-items: center; padding: 36px 0; }
.news-card time { color: #6b6c72; font-family: Arial,sans-serif; font-size: 10px; letter-spacing: .12em; }
.news-card h2 { margin: 0; font-family: Georgia,"Yu Mincho",serif; font-size: clamp(24px,2.6vw,38px); font-weight: 400; line-height: 1.45; }
.news-card p { margin: 0; color: #5b5c63; font-size: 13px; line-height: 1.9; }
.news-card > a > span { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(18,20,26,.25); border-radius: 50%; }
.news-card a:hover h2, .news-card a:focus-visible h2 { color: #4964dc; }
.navigation.pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 42px; min-height: 42px; padding: 8px 12px; border: 1px solid rgba(18,20,26,.25); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.page-numbers.current { color: #fff; background: var(--ink); }
.empty-state { margin: 0; padding: 40px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }

.article-header time { display: block; margin-top: 22px; color: rgba(255,255,255,.58); font-family: Arial,sans-serif; font-size: 10px; letter-spacing: .13em; }
.article-header h1 { max-width: 980px; margin-top: 18px; font-size: clamp(42px,5.6vw,78px); }
.article-content, .legal-content, .contact-content, .entry-content { overflow-wrap: anywhere; }
.article-content { width: min(860px,calc(100% - 12vw)); margin: 0 auto; padding: 100px 0 110px; }
.entry-content { color: #30323a; font-size: 15px; line-height: 2.1; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { margin: 64px 0 20px; font-family: Georgia,"Yu Mincho",serif; font-size: clamp(28px,3vw,42px); font-weight: 400; line-height: 1.45; }
.entry-content h3 { margin: 46px 0 16px; font-size: 22px; }
.entry-content p, .entry-content ul, .entry-content ol { margin: 0 0 24px; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; }
.entry-content a { color: #3e58cf; text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { display: block; margin: 40px auto; }
.entry-content figure { margin: 40px 0; }
.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; width: min(1180px,calc(100% - 12vw)); margin: 0 auto; padding: 36px 0 100px; border-top: 1px solid rgba(18,20,26,.3); font-family: Georgia,"Yu Mincho",serif; font-size: 16px; }
.post-navigation > div:last-child { text-align: right; }

.legal-section { max-width: 900px; }
.legal-content h2 { padding-top: 10px; border-top: 1px solid rgba(18,20,26,.22); }
.form-section { max-width: 780px; }
.contact-content > p:empty { display: none; }
.wpcf7-form p { margin: 0 0 28px; }
.wpcf7-form label { display: block; color: #2f3037; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.wpcf7-form-control-wrap { display: block; margin-top: 9px; }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="url"], .wpcf7-form textarea {
  width: 100%;
  padding: 16px 17px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(18,20,26,.28);
  border-radius: 0;
  outline: none;
}
.wpcf7-form textarea { min-height: 220px; resize: vertical; }
.wpcf7-form input:focus, .wpcf7-form textarea:focus { border-color: #4964dc; box-shadow: 0 0 0 3px rgba(73,100,220,.12); }
.wpcf7-form input[type="submit"] { min-width: 220px; padding: 16px 28px; color: #fff; background: var(--ink); border: 0; border-radius: 999px; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.wpcf7-form input[type="submit"]:hover, .wpcf7-form input[type="submit"]:focus-visible { background: #2b3351; }
.wpcf7-not-valid-tip { margin-top: 7px; font-size: 12px; }
.wpcf7 form .wpcf7-response-output { margin: 28px 0 0; padding: 14px 16px; }
.error-hero { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; }
.error-hero .contact-button { width: fit-content; margin-top: 34px; }

.site-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 42px; padding: 44px 6vw; color: #fff; background: var(--ink); }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; }
.site-footer nav a { color: rgba(255,255,255,.6); font-family: Arial,sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.site-footer nav a:hover, .site-footer nav a:focus-visible { color: #fff; }
.site-footer p { margin: 0; color: rgba(255,255,255,.42); font-family: Arial,sans-serif; font-size: 8px; letter-spacing: .14em; }

@media (max-width: 900px) {
  body.admin-bar .site-header { top: 46px; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero { grid-template-columns: 1fr; min-height: 860px; height: auto; padding-top: 150px; }
  .hero-copy { z-index: 3; }
  .arcana-visual { position: absolute; right: -9vw; bottom: 1%; width: 68vw; height: 62vw; opacity: .62; }
  .arcana-card { width: 38vw; }
  .hero-scroll { display: none; }
  .section-heading, .data-intro, .about-section { grid-template-columns: 1fr; }
  .section-heading > p { margin-left: 0; }
  .game-grid { grid-template-columns: 1fr; }
  .service-list { grid-template-columns: repeat(2,1fr); }
  .service-item:nth-child(odd) { border-left: 1px solid rgba(255,255,255,.16); }
  .case-heading { padding-bottom: 24px; }
  .case-card { grid-template-columns: 72px minmax(0,1fr); gap: 28px; }
  .case-impact { grid-column: 2; min-height: 180px; }
  .news-card > a { grid-template-columns: 110px 1fr 42px; gap: 24px; }
  .news-card p { grid-column: 2; }
  .news-card > a > span { grid-column: 3; grid-row: 1 / span 2; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
}

@media (max-width: 600px) {
  #wpadminbar { position: fixed; }
  .site-header { padding: 20px; }
  .brand { font-size: 9px; }
  .hero { min-height: 760px; padding: 130px 22px 50px; }
  .hero h1 { font-size: clamp(55px,20vw,86px); }
  .hero h1 span { margin-left: .13em; }
  .hero-lead { font-size: 14px; }
  .arcana-visual { right: -32vw; bottom: 7%; width: 105vw; height: 105vw; }
  .arcana-card { width: 58vw; }
  .games { padding: 90px 22px; }
  .data-intro { padding: 90px 22px 70px; }
  .section-heading h2, .data-intro h2 { font-size: clamp(54px,20vw,84px); }
  .game-art, .featured-game .game-art { min-height: 300px; }
  .game-grid { gap: 42px; }
  .fruit-store-overlay { right: 14px; bottom: 14px; width: 62%; }
  .service-list { grid-template-columns: 1fr; padding: 0 22px 80px; }
  .service-item, .service-item:nth-child(odd) { min-height: 0; padding: 26px 0 32px; border-right: 0; border-left: 0; }
  .service-item h3 { margin: 34px 0 14px; }
  .cases { padding: 80px 22px 100px; }
  .case-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .case-heading > p { margin: 0; }
  .case-card { grid-template-columns: 1fr; gap: 24px; padding: 36px 0; }
  .case-id { flex-direction: row; align-items: baseline; gap: 10px; }
  .case-id strong { font-size: 32px; }
  .case-card h4 { font-size: 30px; }
  .case-impact { grid-column: 1; min-height: 165px; }
  .about-section, .contact-section { padding: 90px 22px; }
  .about-section h2 { font-size: 42px; }
  .contact-section h2 { font-size: 48px; }
  .contact-button { min-width: min(320px,100%); gap: 44px; }
  .page-hero, .article-header { padding: 150px 22px 72px; }
  .page-hero h1, .article-header h1 { font-size: 46px; }
  .content-section, .article-content, .post-navigation { width: calc(100% - 44px); }
  .content-section { padding: 74px 0 90px; }
  .article-content { padding: 74px 0 86px; }
  .company-profile > div { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .news-card > a { grid-template-columns: 1fr 38px; gap: 14px 18px; padding: 28px 0; }
  .news-card time { grid-column: 1; }
  .news-card h2 { grid-column: 1; font-size: 26px; }
  .news-card p { grid-column: 1 / -1; }
  .news-card > a > span { grid-column: 2; grid-row: 1 / span 2; width: 38px; height: 38px; }
  .post-navigation { grid-template-columns: 1fr; }
  .post-navigation > div:last-child { text-align: left; }
  .site-footer { grid-template-columns: 1fr; align-items: flex-start; gap: 24px; padding: 34px 22px; }
  .site-footer nav { grid-column: 1; grid-row: auto; justify-content: flex-start; }
  .footer-brand { max-width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fruit-gameplay { transition: none; }
}

.brand { white-space: nowrap; }
.go-top { position: fixed !important; right: 20px; bottom: -45px; display: block; padding: 15px; color: #fff; background: var(--ink); line-height: 1; text-align: center; visibility: hidden; opacity: 0; z-index: 9999; cursor: pointer; transition: opacity .25s ease, bottom .25s ease, visibility .25s ease; }
.go-top.position-left { right: auto; left: 20px; }
.go-top.show { bottom: 11px; visibility: visible; opacity: 1; }
.go-top svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; }
.go-top:hover, .go-top:focus-visible { color: var(--ink); background: #fff; }
.go-top:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* HARVEST ARCANA official visual refresh */
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 780px;
    height: 100svh;
    overflow: hidden;
    padding: 110px 8vw 60px;
    color: #f8f3e7;
    background: #0d121d;
}
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    overflow: hidden;
}
.hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(180deg, rgba(9, 14, 26, .52) 0%, rgba(9, 14, 26, .08) 38%, rgba(9, 14, 26, .76) 100%);
}
.hero-scroll {
    z-index: 3;
}
.hero-copy {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(1080px, 86vw);
    max-width: none;
    text-align: center;
    text-shadow: 0 2px 18px rgba(8, 12, 24, .52);
}
.hero-logo {
    display: block;
    width: min(940px, 74vw);
    height: auto;
    margin: -70px 0 -82px;
    filter: drop-shadow(0 12px 26px rgba(7, 11, 22, .36));
}
.hero-lead {
    margin: 0;
    font-size: clamp(15px, 1.3vw, 19px);
    line-height: 1.95;
    letter-spacing: .08em;
}
.hero-status {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-top: 24px;
    padding: 14px 20px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 999px;
    background: rgba(9, 14, 26, .62);
    backdrop-filter: blur(10px);
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: .18em;
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.hero-status:hover,
.hero-status:focus-visible {
    color: #111522;
    border-color: #fff;
    background: #fff;
}
.harvest-official-art,
.featured-game .game-art.harvest-official-art {
    min-height: 0;
    aspect-ratio: 1232 / 706;
    background: #111522;
}
.harvest-capsule {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.featured-game:hover .harvest-capsule,
.featured-game:focus-visible .harvest-capsule {
    transform: scale(1.018);
}
.harvest-arcana-article .article-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 620px;
    padding: 170px 8vw 74px;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(8, 13, 25, .28) 0%, rgba(8, 13, 25, .45) 54%, rgba(8, 13, 25, .92) 100%),
        url("assets/harvest-arcana-library-hero.webp") center 58% / cover no-repeat;
}
.harvest-arcana-article .article-header h1 {
    max-width: 1500px;
    margin-top: 18px;
    font-size: clamp(44px, 4.5vw, 68px);
    line-height: 1.16;
    letter-spacing: -.025em;
    overflow-wrap: normal;
    text-wrap: balance;
}
.article-title-product,
.article-title-subject {
    display: block;
}
.article-title-product {
    white-space: nowrap;
}
.article-title-subject {
    margin-top: .15em;
    text-wrap: balance;
}
.harvest-arcana-article .article-content {
    width: min(1080px, calc(100% - 10vw));
    padding: 82px 0 104px;
    font-size: 17px;
    line-height: 2;
}

@media (max-width: 600px) {
    .hero {
        display: block;
        min-height: 0;
        height: auto;
        padding: 72px 0 0;
        background: #0d121d;
    }
    .hero-media {
        position: relative;
        inset: auto;
        z-index: 0;
        width: 100%;
        aspect-ratio: 748 / 896;
    }
    .hero-media img {
        object-position: center;
    }
    .hero-overlay {
        display: none;
    }
    .hero-copy {
        align-items: flex-start;
        width: 100%;
        padding: 24px 22px 34px;
        text-align: left;
        text-shadow: none;
        background: linear-gradient(180deg, #151b2c, #0d121d);
    }
    .hero-logo {
        display: none;
    }
    .hero-copy .eyebrow,
    .hero-copy .coming-badge {
        display: none;
    }
    .hero-lead {
        font-size: 14px;
    }
    .hero-status {
        margin-top: 18px;
    }
    .hero-scroll {
        display: none;
    }
    .harvest-official-art,
    .featured-game .game-art.harvest-official-art {
        min-height: 0;
    }
    .harvest-arcana-article .article-header {
        min-height: 500px;
        padding: 140px 16px 48px;
        background-position: center 58%;
    }
    .harvest-arcana-article .article-header h1 {
        max-width: 100%;
        font-size: clamp(24px, 7vw, 34px);
        line-height: 1.35;
        letter-spacing: -.02em;
    }
    .harvest-arcana-article .article-content {
        width: calc(100% - 32px);
        padding: 64px 0 82px;
        font-size: 16px;
        line-height: 1.95;
    }
}

@media (prefers-reduced-motion: reduce) {
    .harvest-capsule,
    .hero-status {
        transition: none;
    }
}
