/*
Theme Name: TALON Original Theme
Theme URI: https://talon.photo/
Author: TALON
Author URI: https://talon.photo/
Description: TALONのトップページ用に、アップロードされたHTMLをもとに作成したオリジナルWordPressテーマです。
Version: 1.0.0
Text Domain: talon-theme
*/

/* ─── カスタムプロパティ ─── */
:root {
  --bg:       #faf8f4;
  --bg2:      #f3f0ea;
  --bg3:      #ece8df;
  --white:    #ffffff;
  --ink:      #1f1e1b;
  --ink2:     #2b5f8e;
  --ink3:     #8a8680;
  --accent:   #2b5f8e;
  --accent2:  #3a7ab5;
  --accent-l: #e8f0f8;
  --gold:     #b5882a;
  --gold-l:   #fdf3e0;
  --line:     #e2ddd4;
  --line2:    #ccc8be;
  --f-dis: 'Bebas Neue', sans-serif;
  --f-bod: 'Noto Sans JP', sans-serif;
  --f-mon: 'DM Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--f-bod); font-weight: 300; line-height: 1.85;
  overflow-x: hidden; cursor: none;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ─── カスタムカーソル ─── */
.cursor-dot {
  width: 6px; height: 6px; background: var(--ink); border-radius: 50%;
  position: fixed; top: 0; left: 0; transform: translate(-50%,-50%);
  pointer-events: none; z-index: 9999; mix-blend-mode: multiply;
}
.cursor-ring {
  width: 36px; height: 36px; border: 1.5px solid rgba(43,95,142,0.35); border-radius: 50%;
  position: fixed; top: 0; left: 0; transform: translate(-50%,-50%);
  pointer-events: none; z-index: 9998;
  transition: width .35s cubic-bezier(.16,1,.3,1), height .35s cubic-bezier(.16,1,.3,1), border-color .3s;
}
body.hovering .cursor-ring { width: 52px; height: 52px; border-color: var(--accent); }

/* ─── カーテン ─── */
#curtain {
  position: fixed; inset: 0; z-index: 8000; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
#curtain-panel {
  position: absolute; inset: 0; background: var(--bg); transform-origin: top;
  animation: curtainOpen 1.0s cubic-bezier(.76,0,.24,1) 0.5s forwards;
}
@keyframes curtainOpen { from{transform:scaleY(1)} to{transform:scaleY(0)} }
#curtain-logo {
  position: relative; z-index: 1;
  font-family: var(--f-dis); font-size: 52px; letter-spacing: .2em;
  color: var(--ink); animation: logoFade .4s ease .4s forwards;
}
@keyframes logoFade { to{opacity:0} }
#curtain-logo span { color: var(--accent); }

/* ─── ヒーロー要素アニメーション（CSS driven） ─── */
.h-anim { opacity: 0; }
#heroLocation  { animation: fadeUp .7s ease 1.7s  forwards; }
#heroSubCopy   { animation: fadeUp .7s ease 1.85s forwards; }
#heroActions   { animation: fadeUp .7s ease 2.2s  forwards; }
#heroBadges    { animation: fadeUp .7s ease 2.4s  forwards; }
#heroImgArea   { animation: fadeUp .9s cubic-bezier(.16,1,.3,1) 1.8s forwards; }
@keyframes fadeUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:translateY(0)} }

/* タイトルのクリップアニメーション */
.clip-anim { transform: translateY(110%); display: block; }
#l1 { animation: clipUp 1s cubic-bezier(.16,1,.3,1) 1.9s  forwards; }
#l2 { animation: clipUp 1s cubic-bezier(.16,1,.3,1) 2.08s forwards; }
#l3 { animation: clipUp .8s cubic-bezier(.16,1,.3,1) 2.22s forwards; }
@keyframes clipUp { from{transform:translateY(110%)} to{transform:translateY(0)} }

/* ナビのフェードイン */
.nav-anim { opacity: 0; transform: translateY(-8px); }
#navLogo { animation: fadeD .6s ease 1.6s  forwards; }
#nI1     { animation: fadeD .5s ease 1.78s forwards; }
#nI2     { animation: fadeD .5s ease 1.84s forwards; }
#nI3     { animation: fadeD .5s ease 1.90s forwards; }
#nI4     { animation: fadeD .5s ease 1.96s forwards; }
#nI5     { animation: fadeD .5s ease 2.02s forwards; }
@keyframes fadeD { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }

/* ─── マスク開放 ─── */
.mask-reveal { position: relative; overflow: hidden; }
.mask-reveal::after {
  content: ''; position: absolute; inset: 0;
  background: var(--accent);
  transform: translateX(-102%); z-index: 2; pointer-events: none;
}
.mask-reveal .mr { display: block; opacity: 0; }
.mask-reveal.in::after { animation: maskPass 1.0s cubic-bezier(.76,0,.24,1) forwards; }
.mask-reveal.in .mr   { animation: textShow 0s .48s forwards; }
@keyframes maskPass {
  0%  { transform: translateX(-102%); }
  48% { transform: translateX(0%);    }
  100%{ transform: translateX(102%);  }
}
@keyframes textShow { to { opacity: 1; } }

/* ─── スクロールreveal ─── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .85s cubic-bezier(.16,1,.3,1), transform .85s cubic-bezier(.16,1,.3,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.d1{transition-delay:.08s} .d2{transition-delay:.16s} .d3{transition-delay:.24s}
.d4{transition-delay:.32s} .d5{transition-delay:.40s}

/* ─── NAV ─── */
#site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  padding: 0 56px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(250,248,244,0); border-bottom: 1px solid rgba(226,221,212,0);
  transition: background .45s, backdrop-filter .45s, border-color .45s, box-shadow .45s;
}
#site-nav.scrolled {
  background: rgba(250,248,244,0.96); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); box-shadow: 0 2px 16px rgba(31,30,27,.06);
}
.nav-logo {
  font-family: var(--f-dis);
  font-size: 30px;
  letter-spacing: .2em;
  color: var(--ink);
  line-height: 1;
  z-index: 2;
  text-decoration: none;
}
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a { font-size: 13px; color: var(--ink2); letter-spacing: .05em; transition: color .25s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  background: var(--accent); color: white !important;
  padding: 9px 22px; border-radius: 100px; font-weight: 500 !important;
  font-size: 13px !important; transition: background .25s, transform .2s !important;
}
.nav-cta:hover { background: var(--accent2) !important; transform: translateY(-1px); }

.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  width: 44px; height: 44px; gap: 6px; cursor: pointer;
  background: none; border: none; padding: 0; z-index: 1001;
}
.nav-hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--ink); border-radius: 2px;
  transition: transform .35s cubic-bezier(.76,0,.24,1), opacity .25s;
}
body.menu-open .nav-hamburger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.menu-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.menu-open .nav-hamburger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ドロワー */
.nav-drawer {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; flex-direction: column;
  background: var(--bg);
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.76,0,.24,1);
  padding: 88px 40px 48px;
}
body.menu-open .nav-drawer { transform: translateX(0); }

.nav-drawer-links { list-style: none; flex: 1; }
.nav-drawer-links li {
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateX(16px);
  transition: opacity .3s, transform .3s;
}
body.menu-open .nav-drawer-links li { opacity: 1; transform: translateX(0); }
body.menu-open .nav-drawer-links li:nth-child(1) { transition-delay: .15s; }
body.menu-open .nav-drawer-links li:nth-child(2) { transition-delay: .20s; }
body.menu-open .nav-drawer-links li:nth-child(3) { transition-delay: .25s; }
body.menu-open .nav-drawer-links li:nth-child(4) { transition-delay: .30s; }
body.menu-open .nav-drawer-links li:nth-child(5) { transition-delay: .35s; }

.nav-drawer-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; font-family: var(--f-dis);
  font-size: 22px; font-weight: 600; color: var(--ink);
  letter-spacing: .02em; text-decoration: none; transition: color .25s;
}
.nav-drawer-links a::after { content: '→'; font-size: 16px; color: var(--ink3); transition: transform .25s, color .25s; }
.nav-drawer-links a:hover { color: var(--accent); }
.nav-drawer-links a:hover::after { transform: translateX(4px); color: var(--accent); }

.nav-drawer-cta {
  margin-top: 32px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s .4s, transform .3s .4s;
}
body.menu-open .nav-drawer-cta { opacity: 1; transform: translateY(0); }
.nav-drawer-cta .btn-primary { width: 100%; text-align: center; border-radius: 100px; display: block; font-size: 15px; padding: 16px; }
.nav-drawer-note { margin-top: 12px; font-size: 11px; color: var(--ink3); text-align: center; font-family: var(--f-mon); letter-spacing: .08em; }


/* ─── HERO ─── */
.hero {
  padding-top: 68px; min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative; overflow: hidden;
}
.hero-left {
  padding: 80px 56px 80px 72px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; z-index: 2;
}
.hero-location {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-l); color: var(--accent);
  font-size: 12px; font-weight: 500; letter-spacing: .06em;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 32px; width: fit-content;
}
h1.hero-title {
  font-family: var(--f-dis); font-size: clamp(33px,5vw,68px);
  font-weight: 700; line-height: 1.25; color: var(--ink);
  letter-spacing: -.01em; margin-bottom: 0; overflow: hidden;
}
.line-clip { overflow: hidden; display: block; }
.hero-title .accent { color: var(--accent); }
.hero-thin {
  font-weight: 400; font-size: clamp(16px,1.6vw,22px); display: block;
  color: var(--ink2); letter-spacing: .02em; margin-top: 10px;
  font-family: var(--f-dis);
}
.hero-desc {
  font-size: 15px; color: var(--ink2); line-height: 1.95;
  margin: 32px 0 44px; max-width: 400px;
}
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--accent); color: white;
  padding: 14px 32px; border-radius: 100px;
  font-size: 14px; font-weight: 500; letter-spacing: .04em;
  transition: background .25s, transform .2s, box-shadow .25s;
  box-shadow: 0 4px 16px rgba(43,95,142,.22); display: inline-block;
}
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(43,95,142,.3); color: white; }
.btn-secondary {
  color: var(--ink2); font-size: 13px; letter-spacing: .04em;
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--line2); padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}
.btn-secondary:hover { color: var(--accent); border-color: var(--accent); }

/* ヒーロー右側 */
.hero-right {
  position: relative; overflow: hidden; background: var(--bg2);
}
#heroImgArea {
  position: absolute; inset: -15%; width: 130%; height: 130%;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px;
  background: linear-gradient(135deg, #e8f0f8 0%, #dce8f4 40%, #f0ede6 100%);
  will-change: transform;
}
.hero-img-ph-icon { font-size: 56px; opacity: .3; }
.hero-img-ph-text { font-family: var(--f-mon); font-size: 11px; color: var(--ink3); letter-spacing: .1em; }

/* ヒーローデコ */
.hero-dots {
  position: absolute; top: 48px; right: 48px; width: 80px; height: 80px;
  background-image: radial-gradient(circle, var(--accent) 1.5px, transparent 1.5px);
  background-size: 12px 12px; opacity: .18; z-index: 3; pointer-events: none;
}
.hero-scroll {
  position: absolute; bottom: 36px; left: 30px; z-index: 3;
  display: flex; align-items: center; gap: 12px;
}
.scroll-bar {
  width: 1px; height: 52px; background: rgba(43,95,142,.15); overflow: hidden; position: relative;
}
.scroll-bar::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--accent); animation: sPulse 2.2s cubic-bezier(.4,0,.6,1) infinite 3s;
}
@keyframes sPulse { 0%{top:-100%} 45%{top:100%} 100%{top:200%} }
.scroll-label {
  font-family: var(--f-mon); font-size: 9px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--ink3); writing-mode: vertical-rl;
}
.hero-badges {
  position: absolute; bottom: 0; left: 72px;
  display: flex; gap: 12px; padding-bottom: 48px; z-index: 3; flex-wrap: wrap;
}
.hero-badge {
  min-width: 205px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 18px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 2px 12px rgba(31,30,27,.07);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.hero-badge:hover { border-color: rgba(43,95,142,.3); box-shadow: 0 6px 24px rgba(43,95,142,.1); transform: translateY(-2px); }
.hero-badge .icon { font-size: 18px; }
.hero-badge-text strong { display: block; font-size: 12px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.hero-badge-text span  { font-size: 10px; color: var(--ink3); }

/* ─── マーキー（Trusted by） ─── */
.marquee-bar {
  background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  /* padding: 22px 0; */overflow: hidden; position: relative;
}
.marquee-bar::before,.marquee-bar::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1;
}
.marquee-bar::before { left: 0; background: linear-gradient(to right,var(--white),transparent); }
.marquee-bar::after  { right: 0; background: linear-gradient(to left,var(--white),transparent); }
.marquee-label {
  font-family: var(--f-mon); font-size: 10px; letter-spacing: .2em;
  color: var(--ink3); text-transform: uppercase;
  position: absolute; left: 56px; top: 50%; transform: translateY(-50%); z-index: 2;
}
.marquee-track { display: flex; width: max-content; animation: marquee 22s linear infinite; padding-left: 180px; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.m-item { display: flex; align-items: center; gap: 6px; padding: 0 28px; white-space: nowrap; font-size: 13px; color: var(--ink2); }
.m-sep  { width: 1px; height: 16px; background: var(--line); flex-shrink: 0; }

/* ─── 共通セクション ─── */
.sec-label {
  font-family: var(--f-mon); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.sec-label::before { content: ''; display: block; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }
.sec-title {
  font-family: var(--f-dis); font-size: clamp(32px,3.5vw,48px);
  font-weight: 700; line-height: 1.25; color: var(--ink); letter-spacing: -.01em;
}
.sec-title .light { font-weight: 700; color: var(--ink2); }

/* ─── CONCERNS ─── */
.concerns { padding: 100px 72px; background: var(--bg); }
.concerns-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px;
}
.concerns-note { font-size: 14px; color: var(--ink2); line-height: 1.9; padding-bottom: 4px; }
.concerns-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.concern-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 0; transition: border-color .3s, box-shadow .3s, transform .3s;
  overflow: hidden;
}
.concern-illust {
  width: 100%; height: 150px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-l); position: relative; overflow: hidden;
}
.concern-illust svg { width: 100%; height: 100%; }
.concern-body { padding: 24px; }
.concern-card:hover { border-color: var(--accent); box-shadow: 0 8px 32px rgba(43,95,142,.1); transform: translateY(-4px); }
.concern-card:hover .concern-illust { background: var(--accent-l); filter: brightness(0.97); }
.concern-q    { font-size: 13px; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.concern-text { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.6; margin-bottom: 10px; }
.concern-ans  { font-size: 12px; color: var(--ink3); line-height: 1.7; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }

/* ─── SERVICES ─── */
.services { padding: 100px 72px; background: var(--bg2); border-top: 1px solid var(--line); }
.services-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.services-sub { font-size: 14px; color: var(--ink2); line-height: 1.9; padding-bottom: 4px; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: 32px 28px; transition: border-color .3s, box-shadow .3s, transform .3s;
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.service-card:hover { border-color: rgba(43,95,142,.3); box-shadow: 0 8px 32px rgba(43,95,142,.1); transform: translateY(-4px); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon  { font-size: 36px; margin-bottom: 18px; display: block; line-height: 1; }
.service-name  { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 10px; line-height: 1.4; }
.service-desc  { font-size: 13px; color: var(--ink2); line-height: 1.8; }
.service-link  {
  margin-top: 18px; font-size: 12px; color: var(--accent); font-weight: 500;
  letter-spacing: .04em; display: flex; align-items: center; gap: 4px;
  opacity: 0; transform: translateY(4px); transition: all .3s;
}
.service-card:hover .service-link { opacity: 1; transform: translateY(0); }

/* ─── WHY ─── */
.why { padding: 100px 72px; background: var(--white); border-top: 1px solid var(--line); }
.why-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.why-points { margin-top: 40px; }
.why-point {
  display: flex; gap: 20px; padding: 24px 0;
  border-bottom: 1px solid var(--line); align-items: flex-start;
}
.why-point:first-child { border-top: 1px solid var(--line); }
.why-num {
  width: 32px; height: 32px; background: var(--accent-l); color: var(--accent);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mon); font-size: 12px; font-weight: 500; flex-shrink: 0;
}
.why-body h4 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 6px; line-height: 1.4; }
.why-body p  { font-size: 13px; color: var(--ink2); line-height: 1.8; }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.stat-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
  padding: 28px 24px; text-align: center; transition: border-color .3s, box-shadow .3s;
}
.stat-card:hover { border-color: var(--accent); box-shadow: 0 4px 20px rgba(43,95,142,.08); }
.stat-num { font-family: var(--f-dis); font-size: 48px; font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: 8px; }
.stat-num sup { font-size: 20px; vertical-align: top; margin-top: 6px; display: inline-block; }
.stat-label { font-size: 12px; color: var(--ink2); line-height: 1.5; }

/* ─── WORKS ─── */
.works { padding: 100px 72px; background: var(--bg2); border-top: 1px solid var(--line); }
.works-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.works-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.work-card {
  border-radius: 16px; overflow: hidden; background: var(--white);
  border: 1px solid var(--line); transition: box-shadow .3s, transform .3s; cursor: pointer;
}
.work-card:first-child { grid-row: span 2; }
.work-card:hover { box-shadow: 0 12px 40px rgba(31,30,27,.12); transform: translateY(-4px); }
.work-img { width: 100%; overflow: hidden; position: relative; }
.work-card:first-child .work-img { aspect-ratio: 3/4; }
.work-card:not(:first-child) .work-img { aspect-ratio: 16/10; }
.work-img-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px;
  transition: transform .5s ease;
}
.work-card:hover .work-img-inner { transform: scale(1.04); }
.work-card:hover .work-img-inner img { transform: scale(1.04); }
.wph-icon { font-size: 32px; opacity: .25; }
.wph-text { font-family: var(--f-mon); font-size: 10px; color: var(--ink3); letter-spacing: .1em; }
.bg-blue   { background: linear-gradient(135deg,#dce8f4,#c8dded); }
.bg-warm   { background: linear-gradient(135deg,#f4e8d8,#edddc8); }
.bg-green  { background: linear-gradient(135deg,#daf0e4,#c8e8d8); }
.bg-purple { background: linear-gradient(135deg,#e8daf4,#d8c8e8); }
.work-body { padding: 20px 24px; }
.work-category { font-family: var(--f-mon); font-size: 10px; letter-spacing: .15em; color: var(--accent); text-transform: uppercase; margin-bottom: 6px; }
.work-title    { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.4; margin-bottom: 4px; }
.work-client   { font-size: 12px; color: var(--ink3); }
.works-link    { color: var(--ink2); font-size: 13px; border-bottom: 1px solid var(--line2); padding-bottom: 2px; transition: color .25s, border-color .25s; }
.works-link:hover { color: var(--accent); border-color: var(--accent); }

/* ─── TEAM ─── */
.team { padding: 100px 72px; background: var(--white); border-top: 1px solid var(--line); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.team-card {
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: var(--bg); transition: box-shadow .3s, transform .3s;
}
.team-card:hover { box-shadow: 0 8px 32px rgba(31,30,27,.1); transform: translateY(-4px); }
.team-photo {
  width: 100%; height: 200px;
  background: linear-gradient(135deg,#dce8f4,#c8dded);
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px;
  overflow: hidden; position: relative;
}
.team-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  filter: grayscale(30%); transition: filter .5s, transform .5s cubic-bezier(.16,1,.3,1);
}
.team-card:hover .team-photo img { filter: grayscale(0%); transform: scale(1.04); }
.tph-icon { font-size: 48px; opacity: .3; }
.tph-text { font-family: var(--f-mon); font-size: 10px; color: var(--ink3); letter-spacing: .1em; }
.team-body { padding: 28px; }
.team-role { font-family: var(--f-mon); font-size: 10px; letter-spacing: .18em; color: var(--accent); text-transform: uppercase; margin-bottom: 8px; }
.team-name { font-family: var(--f-dis); font-size: 28px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.team-desc { font-size: 13px; color: var(--ink2); line-height: 1.85; margin-bottom: 18px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.team-tag  { background: var(--accent-l); color: var(--accent); font-size: 11px; font-weight: 500; padding: 4px 12px; border-radius: 100px; }

/* ─── FLOW ─── */
.flow { padding: 100px 72px; background: var(--bg2); border-top: 1px solid var(--line); }
.flow-steps {
  display: grid; grid-template-columns: repeat(5,1fr); gap: 0; margin-top: 56px; position: relative;
}
.flow-steps::before {
  content: ''; position: absolute; top: 36px;
  left: calc(10% + 18px); right: calc(10% + 18px);
  height: 2px; background: linear-gradient(90deg,var(--accent-l),var(--accent),var(--accent-l)); z-index: 0;
}
.flow-step { padding: 0 16px; text-align: center; position: relative; z-index: 1; }
.flow-circle {
  width: 72px; height: 72px; background: var(--white);
  border: 2px solid var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; position: relative; z-index: 1;
  box-shadow: 0 4px 16px rgba(43,95,142,.15);
  transition: background .3s, box-shadow .3s;
}
.flow-step:hover .flow-circle { background: var(--accent-l); box-shadow: 0 6px 24px rgba(43,95,142,.2); }
.flow-circle span { font-family: var(--f-dis); font-size: 24px; font-weight: 700; color: var(--accent); }
.flow-title { font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.flow-desc  { font-size: 11px; color: var(--ink3); line-height: 1.7; }

/* ─── BLOG / NEWS ─── */
.blog-section { padding: 100px 72px; background: var(--white); border-top: 1px solid var(--line); }
.blog-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: inherit;
  transition: border-color .3s, box-shadow .4s, transform .35s cubic-bezier(.16,1,.3,1);
}
.blog-card:hover { border-color: rgba(43,95,142,.25); box-shadow: 0 12px 36px rgba(31,30,27,.1); transform: translateY(-5px); }
.blog-thumb { position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden; background: var(--bg2); }
.blog-thumb-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.blog-card:hover .blog-thumb-img { transform: scale(1.05); }
.blog-thumb-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg,var(--bg2),var(--bg3));
}
.blog-thumb-placeholder span { font-family: var(--f-dis); font-size: 28px; font-weight: 700; color: rgba(43,95,142,.15); letter-spacing: .1em; }
.blog-cat-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--accent); color: white;
  font-family: var(--f-mon); font-size: 9px; letter-spacing: .14em;
  padding: 3px 10px; border-radius: 100px; font-weight: 500;
}
.blog-body { padding: 22px 22px 16px; flex: 1; }
.blog-date { display: block; font-family: var(--f-mon); font-size: 10px; letter-spacing: .1em; color: var(--ink3); margin-bottom: 10px; }
.blog-title { font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.6; margin-bottom: 10px; transition: color .3s; }
.blog-card:hover .blog-title { color: var(--accent); }
.blog-excerpt { font-size: 12px; color: var(--ink2); line-height: 1.85; }
.blog-more {
  padding: 14px 22px; font-family: var(--f-mon); font-size: 10px; letter-spacing: .1em;
  color: var(--accent); border-top: 1px solid var(--line); transition: letter-spacing .3s;
}
.blog-card:hover .blog-more { letter-spacing: .18em; }

/* ─── AWARDS ─── */
.awards-bar {
  padding: 40px 0; background: var(--gold-l);
  border-top: 1px solid #e8d8b8; border-bottom: 1px solid #e8d8b8;
  overflow: hidden; position: relative;
}
.awards-label {
  position: absolute; left: 56px; top: 50%; transform: translateY(-50%); z-index: 2;
  font-family: var(--f-mon); font-size: 10px; letter-spacing: .2em;
  color: var(--gold); text-transform: uppercase; white-space: nowrap;
}
.awards-track { overflow: hidden; position: relative; padding-left: 180px; }
.awards-track::before,.awards-track::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 1; }
.awards-track::before { left: 0; background: linear-gradient(to right,var(--gold-l),transparent); }
.awards-track::after  { right: 0; background: linear-gradient(to left,var(--gold-l),transparent); }
.awards-items { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.aw-item { display: flex; align-items: center; gap: 8px; padding: 0 24px; white-space: nowrap; font-size: 12px; color: var(--ink2); }
.aw-item strong { color: var(--gold); }
.aw-sep { width: 1px; height: 16px; background: #e8d8b8; }

/* ─── FINAL CTA ─── */
.final-cta {
  padding: 120px 72px; background: var(--accent);
  text-align: center; position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 400px; height: 400px; background: rgba(255,255,255,.05); border-radius: 50%;
}
.final-cta::after {
  content: ''; position: absolute; bottom: -80px; left: -80px;
  width: 280px; height: 280px; background: rgba(255,255,255,.04); border-radius: 50%;
}
.cta-label { justify-content: center; color: rgba(255,255,255,.6); }
.cta-label::before { background: rgba(255,255,255,.4); }
.final-cta h2 {
  font-family: var(--f-dis); font-size: clamp(36px,4.5vw,56px); font-weight: 700;
  color: white; line-height: 1.3; margin: 18px 0 16px; position: relative; z-index: 1;
}
.final-cta p { font-size: 15px; color: rgba(255,255,255,.78); line-height: 1.9; margin-bottom: 44px; position: relative; z-index: 1; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.btn-white {
  background: white; color: var(--accent); padding: 14px 36px; border-radius: 100px;
  font-size: 14px; font-weight: 700; letter-spacing: .04em;
  box-shadow: 0 4px 20px rgba(0,0,0,.15); transition: transform .2s, box-shadow .25s; display: inline-block;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.2); color: var(--accent); }
.btn-line-cta {
  background: #06c755; color: white; padding: 14px 28px; border-radius: 100px;
  font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(6,199,85,.35); transition: filter .25s, transform .2s;
}
.btn-line-cta:hover { filter: brightness(1.08); transform: translateY(-2px); color: white; }
.cta-note { margin-top: 20px; font-size: 12px; color: rgba(255,255,255,.55); position: relative; z-index: 1; }

/* ─── FOOTER ─── */
footer {
  background: var(--ink); padding: 48px 72px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo { font-family: var(--f-dis); font-size: 32px; letter-spacing: .18em; line-height: 1; color: var(--bg); }
.footer-logo span { color: var(--accent2); }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { font-size: 12px; color: var(--ink3); letter-spacing: .05em; transition: color .25s; }
.footer-links a:hover { color: white; }
.footer-copy { font-family: var(--f-mon); font-size: 11px; color: var(--ink3); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  body,* { cursor: auto !important; }
  .cursor-dot,.cursor-ring { display: none !important; }
  #site-nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero { grid-template-columns: 1fr; }
  .hero { min-height: 100vh; height: 100vh; display: flex; flex-direction: column; }
  .hero-left { height: 60vh; flex: none; overflow: hidden; padding: 56px 24px 32px; }
  .hero-right { height: 40vh; flex: none; }
  #heroImgArea { inset: 0; width: 100%; height: 100%; }
  .hero-badges { left: 24px; padding-bottom: 24px; }
  .hero-scroll { display: none; }
  .concerns,.services,.why,.works,.team,.flow,.blog-section,.final-cta,footer { padding-left: 24px; padding-right: 24px; }
  .concerns-header,.services-intro,.why-inner { grid-template-columns: 1fr; }
  .concerns-grid,.services-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .work-card:first-child { grid-row: auto; }
  .work-card:first-child .work-img { aspect-ratio: 16/9; }
  .team-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .flow-steps::before { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  footer { flex-direction: column; gap: 20px; text-align: center; }

  .concern-card {min-height: 200px;}
}

/* WordPress */
body.admin-bar #site-nav { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar #site-nav { top: 46px; }
}

/* ─── SUB PAGE COMMON ─── */
.talon-page-shell {
  padding: 132px 72px 100px;
  min-height: 100vh;
}
.talon-page-hero {
  max-width: 980px;
  margin: 0 auto 48px;
}
.talon-page-hero-copy {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.95;
  margin-top: 22px;
}
.talon-page-meta {
  margin-top: 18px;
  font-family: var(--f-mon);
  font-size: 11px;
  letter-spacing: .1em;
  color: var(--ink3);
}

/* ─── BLOG ARCHIVE ─── */
.talon-blog-archive {
  max-width: 1280px;
  margin: 0 auto;
}
.talon-blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.talon-blog-card-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  height: 100%;
}
.talon-pagination {
  margin-top: 42px;
}
.talon-pagination .nav-links,
.talon-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  list-style: none;
}
.talon-pagination .page-numbers {
  font-size: 13px;
  color: var(--ink2);
}
.talon-pagination a,
.talon-pagination span {
  min-width: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  text-align: center;
}
.talon-pagination a {
  color: var(--ink2);
  transition: border-color .25s, color .25s, transform .25s;
}
.talon-pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.talon-pagination .current {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--white);
}
.talon-empty-box {
  padding: 52px 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  text-align: center;
}
.talon-empty-box h2 {
  font-size: 24px;
  margin-bottom: 12px;
}
.talon-empty-box p {
  color: var(--ink2);
}

/* ─── SINGLE POST ─── */
.talon-single-article {
  max-width: 1240px;
  margin: 0 auto;
}
.talon-single-header {
  max-width: 900px;
  margin-bottom: 32px;
}
.talon-single-meta-top {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.talon-single-title {
  font-family: var(--f-dis);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.28;
  margin-bottom: 16px;
}
.talon-single-lead {
  font-size: 15px;
  color: var(--ink2);
  line-height: 1.95;
}
.talon-single-thumbnail {
  margin-bottom: 36px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(31,30,27,.08);
}
.talon-single-thumbnail img {
  width: 100%;
  height: auto;
}
.talon-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}
.talon-single-main {
  min-width: 0;
}
.talon-entry-content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(31,30,27,.05);
}
.talon-entry-content > *:first-child {
  margin-top: 0;
}
.talon-entry-content > *:last-child {
  margin-bottom: 0;
}
.talon-entry-content p,
.talon-entry-content ul,
.talon-entry-content ol,
.talon-entry-content blockquote,
.talon-entry-content table {
  margin-bottom: 1.4em;
}
.talon-entry-content h2,
.talon-entry-content h3,
.talon-entry-content h4 {
  margin: 1.8em 0 .7em;
  line-height: 1.45;
}
.talon-entry-content h2 {
  font-size: 28px;
}
.talon-entry-content h3 {
  font-size: 22px;
}
.talon-entry-content h4 {
  font-size: 18px;
}
.talon-entry-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.talon-entry-content ul,
.talon-entry-content ol {
  padding-left: 1.5em;
}
.talon-entry-content blockquote {
  padding: 18px 20px;
  background: var(--bg2);
  border-left: 4px solid var(--accent);
  color: var(--ink2);
}
.talon-entry-content img {
  border-radius: 16px;
  height: auto;
}
.talon-entry-content table {
  width: 100%;
  border-collapse: collapse;
}
.talon-entry-content th,
.talon-entry-content td {
  border: 1px solid var(--line);
  padding: 10px 12px;
}
.talon-single-bottom-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
}
.talon-single-bottom-nav-item a {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink2);
  transition: border-color .25s, color .25s, transform .25s;
}
.talon-single-bottom-nav-item a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.talon-single-bottom-nav-archive {
  text-align: center;
}
.talon-single-bottom-nav-next {
  text-align: right;
}
.talon-single-sidebar {
  display: grid;
  gap: 20px;
}
.talon-sidebar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(31,30,27,.05);
}
.talon-sidebar-card h2 {
  font-size: 18px;
  margin-bottom: 14px;
}
.talon-sidebar-card p {
  color: var(--ink2);
  font-size: 13px;
  margin-bottom: 16px;
}
.talon-sidebar-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
}
.talon-sidebar-card li {
  display: grid;
  gap: 4px;
}
.talon-sidebar-card strong {
  font-size: 12px;
  color: var(--ink3);
}
.talon-sidebar-card span,
.talon-sidebar-card li a {
  font-size: 14px;
  color: var(--ink);
}

/* ─── MW WP FORM PAGE ─── */
.talon-form-wrap {
  max-width: 920px;
  margin: 0 auto;
}
.talon-form-header {
  margin-bottom: 32px;
}
.talon-form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 8px 32px rgba(31,30,27,.06);
}
.talon-form-content {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.talon-form-content input[type="text"],
.talon-form-content input[type="email"],
.talon-form-content input[type="tel"],
.talon-form-content input[type="url"],
.talon-form-content input[type="number"],
.talon-form-content input[type="date"],
.talon-form-content select,
.talon-form-content textarea {
  width: 100%;
  border: 1px solid var(--line2);
  border-radius: 12px;
  background: var(--bg);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ink);
}
.talon-form-content textarea {
  min-height: 180px;
}
.talon-form-content input[type="text"]:focus,
.talon-form-content input[type="email"]:focus,
.talon-form-content input[type="tel"]:focus,
.talon-form-content input[type="url"]:focus,
.talon-form-content input[type="number"]:focus,
.talon-form-content input[type="date"]:focus,
.talon-form-content select:focus,
.talon-form-content textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43,95,142,.12);
}
.talon-form-content input[type="checkbox"],
.talon-form-content input[type="radio"] {
  margin-right: 8px;
}
.talon-form-content .horizontal-item + .horizontal-item {
  margin-left: 16px;
}
.talon-form-content .mwform-checkbox-field,
.talon-form-content .mwform-radio-field {
  display: inline-flex;
  align-items: center;
  margin-right: 18px;
  margin-bottom: 8px;
}
.talon-form-content .mw_wp_form_confirm table,
.talon-form-content .mw_wp_form_input table {
  width: 100%;
}
.talon-form-content input[type="submit"],
.talon-form-content input[type="button"],
.talon-form-content button,
.talon-form-content .mwform-back-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .25s, filter .25s;
}
.talon-form-content input[type="submit"]:hover,
.talon-form-content input[type="button"]:hover,
.talon-form-content button:hover,
.talon-form-content .mwform-back-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}
.talon-form-content .mwform-back-btn {
  background: var(--ink3);
}
.talon-form-content .error,
.talon-form-content .mwform-error,
.talon-form-content .error-message {
  color: #b42318;
  font-size: 12px;
  margin-top: 6px;
  display: block;
}

@media (max-width: 1024px) {
  .talon-page-shell {
    padding: 112px 24px 72px;
  }
  .talon-blog-grid {
    grid-template-columns: 1fr;
  }
  .talon-single-layout {
    grid-template-columns: 1fr;
  }
  .talon-entry-content {
    padding: 26px 22px;
  }
  .talon-single-bottom-nav {
    grid-template-columns: 1fr;
  }
  .talon-single-bottom-nav-next,
  .talon-single-bottom-nav-archive {
    text-align: left;
  }
}

/* ─── STANDARD PAGE / GENERIC ARCHIVE ─── */
.talon-standard-page-wrap,
.talon-archive-page {
  max-width: 1240px;
  margin: 0 auto;
}
.talon-standard-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}
.talon-standard-page-main {
  min-width: 0;
}
.talon-page-content-card {
  min-height: 240px;
}
.talon-standard-page-side {
  display: grid;
  gap: 20px;
}
.talon-standard-page-side .talon-sidebar-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}
.talon-standard-page-side .talon-sidebar-card a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.talon-archive-description > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .talon-standard-page-layout {
    grid-template-columns: 1fr;
  }
}
