/* ===========================================================
   Sheahan Digital — colour scheme matched to Deducta
   navy / cream / gold — warm, premium, trustworthy
   =========================================================== */

:root {
  --brand:        #1E2A44;
  --brand-dark:   #141D30;
  --brand-light:  #4B6382;
  --brand-soft:   #FFFDF9;
  --cream:        #F6F1E8;
  --cream-deep:   #E5DDCB;
  --card:         #FFFDF9;
  --gold:         #C8A96B;
  --gold-dark:    #b3955a;
  --ink:          #2B2B2B;

  --maxw: 1120px;
  --radius: 18px;
  --shadow-sm: 0 1px 2px rgba(20,29,48,.05);
  --shadow:    0 2px 6px rgba(20,29,48,.05), 0 18px 44px rgba(20,29,48,.09);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
a { color: inherit; text-decoration: none; }

/* display headings use Inter Tight for tighter, more editorial feel */
h1, h2, .cta-title { font-family: 'Inter Tight', 'Inter', sans-serif; }

/* ===== chevron motif (echoes the logo) ===== */
.chev { font-weight: 800; letter-spacing: -.05em; }
.chev.gold { color: var(--gold); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: 13px 24px; border-radius: 999px;
  background: var(--brand); color: #fff; font-weight: 600; font-size: .98rem;
  border: 1px solid var(--brand);
  box-shadow: 0 8px 22px rgba(30,42,68,.20);
  transition: transform .15s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn .chev { transition: transform .2s var(--ease); }
.btn:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(30,42,68,.26); }
.btn:hover .chev { transform: translateX(3px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 30px; font-size: 1.02rem; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }

.btn-ghost { background: transparent; color: var(--brand); border-color: var(--cream-deep); box-shadow: none; }
.btn-ghost:hover { background: var(--brand-soft); border-color: var(--brand-light); box-shadow: none; }

.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--brand-dark); box-shadow: 0 8px 24px rgba(200,169,107,.35); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: #fff; }
.btn-ondark { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); box-shadow: none; }
.btn-ondark:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(246,241,232,.72);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--cream-deep); box-shadow: 0 6px 24px rgba(20,29,48,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.brand-logo { height: 50px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) { font-weight: 500; color: var(--brand-light); transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--brand); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; padding: 9px; }
.nav-toggle span { display: block; height: 2px; background: var(--brand); border-radius: 2px; margin: 4px 0; transition: .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--cream-deep);
  background:
    radial-gradient(900px 460px at 78% -8%, rgba(200,169,107,.20), transparent 62%),
    radial-gradient(700px 420px at 8% 110%, rgba(75,99,130,.10), transparent 60%),
    var(--cream);
}
.hero-deco { position: absolute; right: -60px; top: 40px; width: min(46vw, 540px); height: auto;
  stroke: var(--gold); opacity: .12; pointer-events: none; }
.hero-inner { position: relative; padding: 112px 28px 96px; max-width: 920px; }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.35rem); line-height: 1.04; letter-spacing: -.03em;
  color: var(--brand); margin: 18px 0 22px; font-weight: 800; }
.hero-title .accent { color: var(--gold-dark); position: relative; white-space: nowrap; }
.hero-sub { max-width: 600px; font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--brand-light); margin: 0 0 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.trust-row { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; margin: 48px 0 0; padding: 28px 0 0;
  border-top: 1px solid var(--cream-deep); color: var(--brand-light); font-size: .88rem; font-weight: 500; }
.trust-row li { display: flex; align-items: center; white-space: nowrap; }
.trust-row li + li::before { content: ""; flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--gold);
  margin: 0 15px; }

/* ===== Eyebrow / section headings ===== */
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 700;
  color: var(--gold-dark); margin: 0 0 14px; }
.section { padding: 100px 0; }
.section-alt { background: var(--brand-soft); border-block: 1px solid var(--cream-deep); }
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.12; letter-spacing: -.025em;
  color: var(--brand); margin: 0 0 16px; font-weight: 800; }
.section-title.narrow { max-width: 760px; }
.section-lead { max-width: 640px; color: var(--brand-light); font-size: 1.12rem; margin: 0 0 52px; }

/* ===== Why-now pillars ===== */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.pillar { display: flex; gap: 14px; align-items: flex-start; }
.pillar .chev { font-size: 1.15rem; line-height: 1.5; margin-top: 1px; }
.pillar h3 { margin: 0 0 4px; color: var(--brand); font-size: 1.12rem; font-weight: 700; }
.pillar p { margin: 0; color: var(--brand-light); }

/* ===== Service cards ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(244px, 1fr)); gap: 22px; }
.card { position: relative; background: var(--card); border: 1px solid var(--cream-deep);
  border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark)); transform: scaleX(0);
  transform-origin: left; transition: transform .3s var(--ease); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); }
.card:hover::before { transform: scaleX(1); }
.card-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px;
  background: var(--cream); border: 1px solid var(--cream-deep); margin-bottom: 20px; }
.card-icon svg { width: 28px; height: 28px; stroke: var(--brand); }
.card-icon svg .ac { stroke: var(--gold-dark); }
.card h3 { margin: 0 0 9px; color: var(--brand); font-size: 1.2rem; font-weight: 700; }
.card p { margin: 0; color: var(--brand-light); font-size: .99rem; }

/* ===== About ===== */
.about { display: grid; grid-template-columns: 1.55fr 1fr; gap: 64px; align-items: center; }
.about-text p { font-size: 1.1rem; }
.about-text strong { color: var(--brand); }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; margin-top: 8px; font-weight: 600;
  color: var(--brand); }
.link-arrow .chev { color: var(--gold); transition: transform .2s var(--ease); }
.link-arrow:hover .chev { transform: translateX(4px); }
.headshot { width: 210px; height: 210px; object-fit: cover; object-position: 50% 22%;
  border-radius: 50%; display: block; margin: 0 auto;
  border: 5px solid var(--card); box-shadow: 0 0 0 1.5px var(--gold), var(--shadow); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; }
.fact { background: var(--card); border: 1px solid var(--cream-deep); border-left: 4px solid var(--gold);
  border-radius: 14px; padding: 18px 22px; }
.fact-num { display: block; font-size: 1.55rem; font-weight: 800; color: var(--brand); letter-spacing: -.02em;
  font-family: 'Inter Tight', sans-serif; }
.fact-label { color: var(--brand-light); font-size: .94rem; }

/* ===== Big CTA band ===== */
.cta-band { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(800px 400px at 85% 0%, rgba(200,169,107,.22), transparent 60%), var(--brand); }
.band-deco { position: absolute; left: -50px; bottom: -40px; width: min(40vw, 460px); height: auto;
  stroke: var(--gold); opacity: .14; pointer-events: none; }
.cta-inner { position: relative; padding: 92px 28px; text-align: center; }
.gold-eyebrow { color: var(--gold); }
.cta-title { font-size: clamp(1.9rem, 4.4vw, 3rem); letter-spacing: -.025em; margin: 0 0 16px; font-weight: 800;
  color: #fff; }
.cta-sub { max-width: 560px; margin: 0 auto 34px; color: #cbd3e1; font-size: 1.12rem; }
.cta-inner .hero-cta { justify-content: center; }

/* ===== Contact ===== */
.contact-methods { display: flex; gap: 18px; flex-wrap: wrap; }
.contact-card { position: relative; display: flex; flex-direction: column; gap: 5px; padding: 26px 30px;
  border-radius: var(--radius); background: var(--brand); color: #fff; min-width: 260px; box-shadow: var(--shadow-sm);
  transition: transform .15s var(--ease), background .2s var(--ease), box-shadow .25s var(--ease); }
.contact-card .chev { position: absolute; top: 22px; right: 24px; font-size: 1.2rem; opacity: .9; transition: transform .2s var(--ease); }
.contact-card:hover { background: var(--brand-dark); transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card:hover .chev { transform: translateX(4px); }
.contact-card--soon { background: var(--card); color: var(--brand-light); border: 1px dashed var(--cream-deep); box-shadow: none; }
.contact-card--soon:hover { transform: none; background: var(--card); }
.contact-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; opacity: .85; }
.contact-value { font-size: 1.5rem; font-weight: 700; font-family: 'Inter Tight', sans-serif; }

/* ===== Footer ===== */
.site-footer { background: var(--brand-dark); color: #9fabc1; padding: 56px 0; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-logo { height: 46px; width: auto; filter: brightness(0) invert(1); opacity: .92; }
.footer-tag { margin: 14px 0 0; color: #9fabc1; font-size: .96rem; }
.footer-right { text-align: right; font-size: .94rem; line-height: 1.9; }
.footer-right a:hover { color: #fff; }
.footer-copy { color: #6b7790; margin-top: 6px; }

/* ===== Scroll-reveal (progressive enhancement) ===== */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
/* stagger children within a grid/flex container */
.js .cards [data-reveal].in,
.js .pillars [data-reveal].in { transition-delay: var(--d, 0s); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .card, .contact-card { transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about-side { max-width: 360px; }
  .facts { margin-top: 40px; }
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .hero-inner { padding: 80px 28px 72px; }
  .nav-toggle { display: block; }
  .brand-logo { height: 40px; }
  .nav-links { position: fixed; inset: 92px 0 auto 0; flex-direction: column; align-items: stretch;
    gap: 0; background: var(--cream); border-bottom: 1px solid var(--cream-deep);
    padding: 8px 28px 24px; transform: translateY(-130%); transition: transform .32s var(--ease); box-shadow: 0 18px 40px rgba(20,29,48,.12); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--cream-deep); }
  .nav-links .btn { margin-top: 16px; justify-content: center; }
  .facts { grid-template-columns: 1fr; }
  .trust-row li, .trust-row li + li::before { gap: 0; }
  .trust-row { gap: 8px 0; flex-direction: column; align-items: flex-start; }
  .trust-row li + li::before { display: none; }
  .footer-right { text-align: left; }
}
