:root{
  --bg:#FAF8F4;
  --bg-alt:#F3EFE7;
  --surface:#FFFFFF;
  --ink:#181A16;
  --ink-soft:#3C4038;
  --muted:#6B6F66;
  --border:#E6E1D6;
  --accent:#1F5E4A;
  --accent-ink:#123B2E;
  --accent-soft:#E4EEE8;
  --gold:#A9824F;
  --gold-soft:#F3E9D8;
  --accent-bright:#4CD6A0;
  --shadow-sm: 0 1px 2px rgba(24,26,22,0.04), 0 1px 1px rgba(24,26,22,0.03);
  --shadow-md: 0 8px 24px rgba(24,26,22,0.06), 0 2px 8px rgba(24,26,22,0.04);
  --shadow-lg: 0 24px 64px rgba(24,26,22,0.10), 0 8px 24px rgba(24,26,22,0.06);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --container: 1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'Inter', system-ui, sans-serif;
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
::selection{ background:var(--accent); color:#fff; }

h1,h2,h3,h4{ font-family:'Fraunces', serif; font-weight:500; margin:0; color:var(--ink); letter-spacing:-0.01em; }
p{ margin:0; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
button{ font-family:inherit; cursor:pointer; }

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

.wrap{ max-width:var(--container); margin:0 auto; padding:0 32px; }
@media (max-width:640px){ .wrap{ padding:0 20px; } }

section{ position:relative; }

/* focus states */
a:focus-visible, button:focus-visible, input:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:3px;
  border-radius:6px;
}

/* ---------- custom cursor ---------- */
.cursor-dot, .cursor-ring{
  position:fixed; top:0; left:0; pointer-events:none; z-index:9999;
  border-radius:50%; transform:translate(-50%,-50%);
  will-change:transform;
}
.cursor-dot{ width:6px; height:6px; background:var(--accent-ink); }
.cursor-ring{ width:34px; height:34px; border:1.5px solid var(--accent); opacity:.5; transition:width .25s,height .25s,opacity .25s,border-color .25s; }
.cursor-ring.is-active{ width:56px; height:56px; opacity:.9; border-color:var(--gold); }
@media (hover:none), (pointer:coarse){ .cursor-dot,.cursor-ring{ display:none; } }

/* ---------- nav ---------- */
.nav{
  position:fixed; top:16px; left:50%; transform:translateX(-50%);
  width:calc(100% - 32px); max-width:920px;
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 12px 10px 22px;
  background:rgba(250,248,244,0.7);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border:1px solid var(--border);
  border-radius:100px;
  z-index:1000;
  box-shadow:var(--shadow-sm);
}
.nav-logo{ font-family:'Fraunces', serif; font-weight:500; font-size:17px; letter-spacing:-0.01em; display:flex; align-items:center; gap:8px; }
.nav-logo .dot{ width:7px; height:7px; border-radius:50%; background:var(--accent); }
.nav-links{ display:flex; align-items:center; gap:28px; list-style:none; margin:0; padding:0; }
.nav-links a{ font-size:14px; font-weight:500; color:var(--ink-soft); position:relative; padding:4px 0; }
.nav-links a::after{ content:''; position:absolute; left:0; bottom:-2px; width:0; height:1.5px; background:var(--accent); transition:width .3s ease; }
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.nav-cta{
  background:var(--ink); color:#fff; font-size:14px; font-weight:600;
  padding:10px 20px; border-radius:100px; border:none; white-space:nowrap;
  transition:transform .3s cubic-bezier(.2,.8,.2,1), background .3s;
}
.nav-cta:hover{ background:var(--accent-ink); }
.nav-burger{ display:none; width:40px; height:40px; border-radius:50%; border:1px solid var(--border); background:#fff; align-items:center; justify-content:center; position:relative; z-index:1100; flex-shrink:0; }
.nav-burger svg{ width:18px; height:18px; }
.nav-burger .icon-close{ display:none; }
.nav-burger.is-open .icon-menu{ display:none; }
.nav-burger.is-open .icon-close{ display:block; }
@media (max-width:820px){
  .nav-links{ display:none; }
  .nav-burger{ display:flex; }
}

.mobile-menu{
  position:fixed; inset:0; z-index:1050;
  background:var(--bg); display:flex; flex-direction:column;
  align-items:flex-start; justify-content:center; gap:6px; padding:32px;
  visibility:hidden; opacity:0;
}
.mobile-menu a{
  font-family:'Fraunces', serif; font-size:clamp(2rem,9vw,3rem);
  padding:10px 0; color:var(--ink); opacity:0; transform:translateY(24px);
}
.mobile-menu .mm-cta{ margin-top:24px; }

/* ---------- hero ---------- */
.hero{
  min-height:100svh;
  display:flex; flex-direction:column; justify-content:center;
  padding-top:140px; padding-bottom:80px;
  position:relative;
}
.hero-eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  color:var(--accent-ink); background:var(--accent-soft);
  padding:7px 14px; border-radius:100px; margin-bottom:28px; width:fit-content;
  overflow:hidden;
}
.hero-eyebrow span.pulse{ width:6px; height:6px; border-radius:50%; background:var(--accent); flex-shrink:0; }

.hero-name{
  font-size:clamp(2.6rem, 7vw, 6rem);
  line-height:.98;
  display:flex; flex-wrap:wrap;
}
.hero-name .word{ display:inline-flex; margin-right:0.28em; overflow:hidden; }
.hero-name .word:last-child{ margin-right:0; color:var(--accent-ink); font-style:italic; }
.hero-name .char{ display:inline-block; }

.hero-role{
  margin-top:26px;
  font-size:clamp(1.05rem, 2.2vw, 1.4rem);
  color:var(--ink-soft);
  max-width:640px;
  font-weight:500;
}
.hero-sub{
  margin-top:14px;
  font-size:15.5px;
  color:var(--muted);
  max-width:560px;
}
.hero-actions{ display:flex; gap:14px; margin-top:44px; flex-wrap:wrap; }

.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:15px 28px; border-radius:100px; font-size:15px; font-weight:600;
  border:1px solid transparent; position:relative;
}
.btn-primary{ background:var(--ink); color:#fff; }
.btn-primary:hover{ background:var(--accent-ink); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--border); }
.btn-ghost:hover{ border-color:var(--ink); background:var(--surface); }
.btn svg{ width:16px; height:16px; transition:transform .3s; }
.btn:hover svg{ transform:translate(3px,-3px); }

.hero-meta{
  position:absolute; right:32px; bottom:64px;
  display:flex; flex-direction:column; align-items:flex-end; gap:10px;
  font-size:13px; color:var(--muted);
}
@media (max-width:900px){ .hero-meta{ display:none; } }

.scroll-cue{
  position:absolute; left:32px; bottom:48px;
  display:flex; align-items:center; gap:10px;
  font-size:12px; letter-spacing:.08em; text-transform:uppercase; color:var(--muted);
}
.scroll-cue .line{ width:1px; height:40px; background:var(--border); position:relative; overflow:hidden; }
.scroll-cue .line::after{ content:''; position:absolute; top:-40px; left:0; width:100%; height:40%; background:var(--accent); animation:scrollLine 2s ease-in-out infinite; }
@keyframes scrollLine{ 0%{ top:-40%; } 100%{ top:100%; } }
@media (max-width:640px){ .scroll-cue{ display:none; } }

/* ---------- stats ---------- */
.stats{
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  background:var(--surface);
}
.stats-grid{
  display:grid; grid-template-columns:repeat(4,1fr);
  max-width:var(--container); margin:0 auto;
}
.stat{ padding:44px 28px; border-right:1px solid var(--border); text-align:left; }
.stat:last-child{ border-right:none; }
.stat-num{ font-family:'Fraunces',serif; font-size:clamp(1.8rem,3.4vw,3rem); color:var(--accent-ink); font-weight:500; }
.stat-label{ margin-top:8px; font-size:13.5px; color:var(--muted); max-width:180px; }
@media (max-width:820px){
  .stats-grid{ grid-template-columns:repeat(2,1fr); }
  .stat{ border-bottom:1px solid var(--border); }
  .stat:nth-child(2){ border-right:none; }
}

/* ---------- section heading ---------- */
.eyebrow{
  font-size:13px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--accent); display:flex; align-items:center; gap:10px; margin-bottom:18px;
}
.eyebrow::before{ content:''; width:24px; height:1.5px; background:var(--accent); }
.section-title{ font-size:clamp(1.9rem, 3.6vw, 2.8rem); max-width:680px; }
.section-head{ padding:110px 0 56px; }
.section-head.tight{ padding-bottom:0; }

/* ---------- about ---------- */
.about{ padding-bottom:100px; }
.about-grid{ display:grid; grid-template-columns:1.1fr 1fr; gap:64px; align-items:start; }
@media (max-width:900px){ .about-grid{ grid-template-columns:1fr; gap:40px; } }
.about-text p{ font-size:18px; color:var(--ink-soft); margin-bottom:20px; }
.about-text p:last-child{ margin-bottom:0; }
.about-text strong{ color:var(--ink); font-weight:600; }

.about-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:36px; box-shadow:var(--shadow-md);
}
.about-card .initials{
  width:64px; height:64px; border-radius:50%;
  background:linear-gradient(145deg, var(--accent), var(--accent-ink));
  color:#fff; display:flex; align-items:center; justify-content:center;
  font-family:'Fraunces',serif; font-size:24px; margin-bottom:24px;
}
.about-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:16px; }
.about-list li{ display:flex; justify-content:space-between; gap:16px; font-size:14.5px; padding-bottom:16px; border-bottom:1px solid var(--border); }
.about-list li:last-child{ border-bottom:none; padding-bottom:0; }
.about-list .k{ color:var(--muted); }
.about-list .v{ color:var(--ink); font-weight:600; text-align:right; }

/* ---------- experience timeline ---------- */
.experience{ padding-bottom:110px; }
.timeline{ position:relative; margin-top:20px; }
.timeline-track{
  position:absolute; left:9px; top:6px; bottom:6px; width:2px;
  background:var(--border);
}
.timeline-fill{
  position:absolute; left:9px; top:6px; width:2px; height:0%;
  background:var(--accent);
  transform-origin:top;
}
.t-item{
  position:relative; padding-left:48px; padding-bottom:52px;
}
.t-item:last-child{ padding-bottom:0; }
.t-dot{
  position:absolute; left:0; top:4px; width:20px; height:20px; border-radius:50%;
  background:var(--surface); border:2px solid var(--border);
  display:flex; align-items:center; justify-content:center;
}
.t-dot::after{ content:''; width:8px; height:8px; border-radius:50%; background:var(--border); transition:background .4s; }
.t-item.is-current .t-dot{ border-color:var(--accent); }
.t-item.is-current .t-dot::after{ background:var(--accent); }

.t-head{ display:flex; flex-wrap:wrap; align-items:baseline; gap:10px 16px; margin-bottom:6px; }
.t-role{ font-family:'Fraunces',serif; font-size:22px; font-weight:500; }
.t-time{ font-size:13px; color:var(--muted); background:var(--bg-alt); padding:4px 12px; border-radius:100px; }
.t-company{ font-size:14.5px; color:var(--accent-ink); font-weight:600; margin-bottom:14px; }
.t-loc{ color:var(--muted); font-weight:400; }
.t-body{ font-size:15px; color:var(--ink-soft); max-width:700px; }
.t-body ul{ margin:10px 0 0; padding-left:18px; display:flex; flex-direction:column; gap:8px; }
.t-body li::marker{ color:var(--accent); }

.t-group-label{
  font-size:12.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  color:var(--gold); margin:8px 0 28px 48px;
}

/* ---------- expertise ---------- */
.expertise{ padding-bottom:110px; }
.exp-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:20px; }
@media (max-width:900px){ .exp-grid{ grid-template-columns:1fr; } }
.exp-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:32px; box-shadow:var(--shadow-sm); transition:box-shadow .35s, transform .35s;
}
.exp-card:hover{ box-shadow:var(--shadow-lg); transform:translateY(-4px); }
.exp-icon{
  width:44px; height:44px; border-radius:12px; background:var(--accent-soft);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px; color:var(--accent-ink);
}
.exp-card h3{ font-size:19px; margin-bottom:12px; }
.exp-card p{ color:var(--muted); font-size:14.5px; }
.tag-row{ display:flex; flex-wrap:wrap; gap:8px; margin-top:18px; }
.tag{ font-size:12.5px; padding:6px 12px; border-radius:100px; background:var(--bg-alt); color:var(--ink-soft); border:1px solid var(--border); }

/* ---------- products ---------- */
.products{ padding-bottom:110px; }
.products-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:24px; flex-wrap:wrap; }
.marquee-btn{
  width:44px; height:44px; border-radius:50%; border:1px solid var(--border); background:var(--surface);
  display:flex; align-items:center; justify-content:center; transition:border-color .3s, background .3s; flex-shrink:0;
}
.marquee-btn:hover{ border-color:var(--ink); }
.marquee-btn svg{ width:15px; height:15px; }

.products-viewport{ position:relative; margin-top:24px; margin-inline:-32px; padding-inline:32px; overflow:hidden; }
.products-viewport::before, .products-viewport::after{
  content:''; position:absolute; top:0; bottom:0; width:80px; z-index:2; pointer-events:none;
}
.products-viewport::before{ left:0; background:linear-gradient(90deg, var(--bg), transparent); }
.products-viewport::after{ right:0; background:linear-gradient(270deg, var(--bg), transparent); }
@media (max-width:640px){ .products-viewport{ margin-inline:-20px; padding-inline:20px; } }

.products-track{ display:flex; gap:22px; width:max-content; will-change:transform; padding:6px 2px 16px; }

.product-card{
  width:320px; flex-shrink:0; background:var(--surface); border:1px solid var(--border);
  border-radius:var(--radius-md); padding:28px; box-shadow:var(--shadow-sm);
  display:flex; flex-direction:column; cursor:pointer;
  transition:box-shadow .35s ease, transform .35s ease, border-color .35s ease;
}
.product-card:hover, .product-card:focus-visible{ box-shadow:var(--shadow-lg); transform:translateY(-4px); border-color:transparent; }
.product-card:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }

.product-family{ font-size:11px; font-weight:700; letter-spacing:.07em; text-transform:uppercase; margin-bottom:16px; }
.product-family.is-mesh{ color:var(--accent); }
.product-family.is-container{ color:var(--gold); }

.product-icon{ width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.product-icon svg{ width:20px; height:20px; }
.product-icon.is-mesh{ background:var(--accent-soft); color:var(--accent-ink); }
.product-icon.is-container{ background:var(--gold-soft); color:#7A5C33; }

.product-card h3{ font-size:19px; margin-bottom:4px; }
.product-sub{ font-size:12.5px; color:var(--muted); margin-bottom:14px; }
.product-desc{ font-size:14px; color:var(--ink-soft); line-height:1.55; flex-grow:1; margin-bottom:18px; }

.product-stats{ display:flex; gap:22px; padding:14px 0; margin-bottom:16px; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.product-stat .v{ font-family:'Fraunces',serif; font-size:18px; color:var(--ink); }
.product-stat .l{ font-size:11px; color:var(--muted); margin-top:2px; }

/* dark variant — Data Mesh, to differentiate from Container Service */
.product-card.is-dark{
  background:var(--ink); border-color:transparent; position:relative; overflow:hidden;
}
.product-card.is-dark::before{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(320px circle at 20% 0%, rgba(76,214,160,0.16), transparent 65%);
}
.product-card.is-dark .product-family{ color:var(--accent-bright); position:relative; }
.product-card.is-dark .product-icon{ background:rgba(255,255,255,0.08); color:var(--accent-bright); position:relative; }
.product-card.is-dark h3{ color:#fff; position:relative; }
.product-card.is-dark .product-sub{ color:rgba(255,255,255,0.55); position:relative; }
.product-card.is-dark .product-desc{ color:rgba(255,255,255,0.78); position:relative; }
.product-card.is-dark .product-stats{ border-color:rgba(255,255,255,0.14); position:relative; }
.product-card.is-dark .product-stat .v{ color:#fff; }
.product-card.is-dark .product-stat .l{ color:rgba(255,255,255,0.5); }
.product-card.is-dark:hover{ box-shadow:0 24px 64px rgba(18,59,46,0.35), 0 8px 24px rgba(18,59,46,0.25); }

/* product detail modal */
.pm-backdrop{
  position:fixed; inset:0; background:rgba(18,20,15,0.55); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  z-index:1200; opacity:0; visibility:hidden; display:flex; align-items:center; justify-content:center; padding:24px;
}
.pm-modal{
  background:var(--surface); border-radius:var(--radius-lg); max-width:600px; width:100%;
  max-height:85vh; overflow-y:auto; padding:44px; position:relative; box-shadow:var(--shadow-lg);
}
@media (max-width:600px){ .pm-modal{ padding:30px; } .product-card{ width:80vw; } }
.pm-close{
  position:absolute; top:18px; right:18px; width:40px; height:40px; border-radius:50%;
  border:1px solid var(--border); background:var(--surface); display:flex; align-items:center; justify-content:center;
}
.pm-close:hover{ background:var(--bg-alt); }
.pm-close svg{ width:16px; height:16px; }
#pmContent .product-icon{ margin-bottom:20px; }
#pmContent h3{ font-size:27px; margin-bottom:6px; }
#pmContent .product-sub{ margin-bottom:20px; font-size:13.5px; }
#pmContent .product-stats{ margin-bottom:22px; }
.pm-body p{ font-size:15px; color:var(--ink-soft); line-height:1.65; margin-bottom:14px; }
.pm-body p:last-child{ margin-bottom:0; }
#pmContent .tag-row{ margin-top:24px; }

.pm-modal.is-dark{ background:var(--ink); position:relative; overflow:hidden; }
.pm-modal.is-dark::before{
  content:''; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(420px circle at 15% 0%, rgba(76,214,160,0.18), transparent 65%);
}
.pm-modal.is-dark #pmContent{ position:relative; }
.pm-modal.is-dark .product-family{ color:var(--accent-bright); }
.pm-modal.is-dark .product-icon{ background:rgba(255,255,255,0.08); color:var(--accent-bright); }
.pm-modal.is-dark #pmContent h3{ color:#fff; }
.pm-modal.is-dark .product-sub{ color:rgba(255,255,255,0.55); }
.pm-modal.is-dark .product-stats{ border-color:rgba(255,255,255,0.14); }
.pm-modal.is-dark .product-stat .v{ color:#fff; }
.pm-modal.is-dark .product-stat .l{ color:rgba(255,255,255,0.5); }
.pm-modal.is-dark .pm-body p{ color:rgba(255,255,255,0.78); }
.pm-modal.is-dark .tag{ background:rgba(255,255,255,0.08); color:rgba(255,255,255,0.85); border-color:rgba(255,255,255,0.16); }
.pm-modal.is-dark .pm-close{ background:rgba(255,255,255,0.08); border-color:rgba(255,255,255,0.2); color:#fff; }
.pm-modal.is-dark .pm-close:hover{ background:rgba(255,255,255,0.16); }

/* ---------- case studies ---------- */
.cases{ padding-bottom:110px; }
.case-list{ display:flex; flex-direction:column; gap:20px; margin-top:20px; }
.case{
  display:grid; grid-template-columns:100px 1fr auto; gap:28px; align-items:center;
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md);
  padding:32px; overflow:hidden; position:relative;
}
@media (max-width:760px){ .case{ grid-template-columns:1fr; text-align:left; } .case-arrow{ display:none; } }
.case-num{ font-family:'Fraunces',serif; font-size:15px; color:var(--muted); font-style:italic; }
.case h3{ font-size:22px; margin-bottom:10px; }
.case p{ font-size:15px; color:var(--ink-soft); max-width:560px; }
.case-metric{ font-size:13px; font-weight:700; color:var(--accent-ink); background:var(--accent-soft); padding:5px 12px; border-radius:100px; display:inline-block; margin-top:14px; }
.case-arrow{
  width:48px; height:48px; border-radius:50%; border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center; color:var(--ink);
  transition:transform .4s, background .4s, border-color .4s;
}
.case:hover .case-arrow{ background:var(--ink); color:#fff; transform:rotate(45deg); border-color:var(--ink); }
.case-glow{
  position:absolute; inset:0; opacity:0; pointer-events:none;
  background:radial-gradient(500px circle at var(--mx,50%) var(--my,50%), var(--accent-soft), transparent 70%);
  transition:opacity .4s;
}
.case:hover .case-glow{ opacity:1; }

/* ---------- education ---------- */
.education{ padding-bottom:110px; }
.edu-grid{ display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:20px; }
@media (max-width:820px){ .edu-grid{ grid-template-columns:1fr; } }
.edu-card{ background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-md); padding:30px; }
.edu-card h4{ font-size:15px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); font-family:'Inter',sans-serif; font-weight:700; margin-bottom:20px; }
.edu-row{ display:flex; justify-content:space-between; gap:16px; padding:14px 0; border-bottom:1px solid var(--border); }
.edu-row:last-child{ border-bottom:none; padding-bottom:0; }
.edu-name{ font-weight:600; font-size:15px; }
.edu-sub{ font-size:13.5px; color:var(--muted); margin-top:3px; }
.edu-year{ font-size:13px; color:var(--muted); white-space:nowrap; }

/* ---------- contact / footer ---------- */
.contact{
  margin:0 24px 24px; padding:100px 40px;
  background:var(--ink); color:#fff; border-radius:var(--radius-lg);
  text-align:center; position:relative; overflow:hidden;
}
.contact::before{
  content:''; position:absolute; inset:0;
  background:radial-gradient(700px circle at 50% 0%, rgba(31,94,74,0.35), transparent 60%);
}
.contact-inner{ position:relative; z-index:1; max-width:var(--container); margin:0 auto; }
.contact .eyebrow{ color:var(--gold); justify-content:center; }
.contact .eyebrow::before{ background:var(--gold); }
.contact h2{ color:#fff; font-size:clamp(2.2rem,5.4vw,4rem); line-height:1.05; }
.contact h2 em{ color:var(--gold); font-style:italic; }
.contact-actions{ display:flex; justify-content:center; gap:16px; margin-top:44px; flex-wrap:wrap; }
.contact .btn-primary{ background:#fff; color:var(--ink); }
.contact .btn-primary:hover{ background:var(--gold-soft); }
.contact .btn-ghost{ border-color:rgba(255,255,255,0.25); color:#fff; }
.contact .btn-ghost:hover{ border-color:#fff; background:rgba(255,255,255,0.08); }
.copy-toast{
  position:fixed; left:50%; bottom:40px; transform:translate(-50%,20px);
  background:var(--ink); color:#fff; padding:12px 22px; border-radius:100px;
  font-size:14px; opacity:0; pointer-events:none; transition:opacity .3s, transform .3s; z-index:2000;
}
.copy-toast.show{ opacity:1; transform:translate(-50%,0); }

footer{ padding:32px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; font-size:13.5px; color:var(--muted); }
footer a{ color:var(--ink-soft); font-weight:600; }
footer a:hover{ color:var(--accent-ink); }

/* ---------- floating contact dock ---------- */
.floating-actions{
  position:fixed; right:24px; bottom:24px; z-index:900;
  display:flex; flex-direction:column; gap:12px;
}
@media (max-width:640px){ .floating-actions{ right:16px; bottom:16px; gap:10px; } }
.floating-btn{
  width:52px; height:52px; border-radius:50%; flex-shrink:0;
  background:var(--surface); border:1px solid var(--border); box-shadow:var(--shadow-md);
  display:flex; align-items:center; justify-content:center; color:var(--ink); position:relative;
  transition:background .3s ease, border-color .3s ease, color .3s ease;
}
.floating-btn:hover, .floating-btn:focus-visible{ background:var(--ink); color:#fff; border-color:var(--ink); }
.floating-btn svg{ width:22px; height:22px; }
.floating-btn .tooltip{
  position:absolute; right:calc(100% + 12px); top:50%; transform:translateY(-50%) translateX(6px);
  background:var(--ink); color:#fff; font-size:12.5px; font-weight:600; padding:7px 12px;
  border-radius:8px; white-space:nowrap; opacity:0; pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
}
.floating-btn:hover .tooltip, .floating-btn:focus-visible .tooltip{ opacity:1; transform:translateY(-50%) translateX(0); }
@media (max-width:640px){ .floating-btn .tooltip{ display:none; } }

.reveal{ opacity:0; transform:translateY(36px); }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; transition-duration:0.001ms !important; }
  .reveal{ opacity:1; transform:none; }
}
