/* ============================================================
   ARROW CONSULTING & TAX SERVICES — SHARED DESIGN SYSTEM
   Navy is TEXT ONLY (never a section background). Orange + white
   are the brand. Ledger-rule motif + stamp element are signature.
   ============================================================ */
:root{
  --orange:#E8762E;
  --orange-dark:#C85F1E;
  --ink:#1C2B39;          /* navy-tinted, TEXT ONLY */
  --ink-soft:#4C5C6B;
  --paper:#FBFAF7;
  --paper-alt:#F2ECE1;
  --rule:#D8CFC0;
  --green:#2F8F5B;
  --white:#FFFFFF;
  --radius:14px;
  --maxw:1180px;
  --shadow:0 8px 30px -12px rgba(28,43,57,0.18);
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Inter',system-ui,sans-serif;
  -webkit-font-smoothing:antialiased;
  line-height:1.55;
}
h1,h2,h3,.display{
  font-family:'Fraunces',Georgia,serif;
  font-weight:600;
  letter-spacing:-0.01em;
  color:var(--ink);
  margin:0;
}
.mono{font-family:'IBM Plex Mono',monospace; letter-spacing:0.02em;}
a{color:inherit;}
img{max-width:100%;display:block;}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 28px;}
.visually-hidden{position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap;}
:focus-visible{outline:3px solid var(--ink); outline-offset:3px; border-radius:4px;}

.ledger-rule{display:flex; align-items:center; gap:10px; color:var(--ink-soft); margin-bottom:14px;}
.ledger-rule::before{content:""; width:9px; height:9px; border-radius:2px; background:var(--orange); flex:none; transform:rotate(45deg);}
.ledger-rule .line{flex:1; height:1px; background:var(--rule);}

/* ---------- HEADER ---------- */
header{position:sticky; top:0; z-index:50; background:rgba(251,250,247,0.94); backdrop-filter:blur(8px); border-bottom:1px solid var(--rule);}
.nav-row{display:flex; align-items:center; justify-content:space-between; padding:16px 0;}
.logo{display:flex; align-items:center; gap:10px; text-decoration:none;}
.logo-mark{width:34px; height:34px; border-radius:8px; background:var(--orange); display:flex; align-items:center; justify-content:center; color:var(--white); font-family:'Fraunces',serif; font-weight:700; font-size:18px; flex:none;}
.logo-text{line-height:1.15;}
.logo-text .name{font-family:'Fraunces',serif; font-weight:600; font-size:18px;}
.logo-text .tag{font-size:11px; color:var(--ink-soft); font-family:'IBM Plex Mono',monospace;}
nav.primary{display:flex; align-items:center; gap:clamp(14px,2vw,28px); flex-wrap:wrap; row-gap:8px;}
nav.primary a{text-decoration:none; font-size:15px; font-weight:500; color:var(--ink); padding:6px 2px; border-bottom:2px solid transparent; transition:border-color .15s ease;}
nav.primary a:hover, nav.primary a.active{border-color:var(--orange);}
.header-actions{display:flex; align-items:center; gap:14px;}
.lang-toggle{display:flex; border:1px solid var(--rule); border-radius:999px; overflow:hidden; font-family:'IBM Plex Mono',monospace; font-size:12px; font-weight:600;}
.lang-toggle button{border:none; background:var(--white); color:var(--ink-soft); padding:7px 12px; cursor:pointer;}
.lang-toggle button.active{background:var(--ink); color:var(--white);}
.phone-pill{font-family:'IBM Plex Mono',monospace; font-size:13px; font-weight:600; color:var(--ink); text-decoration:none; white-space:nowrap;}
.cta-btn{display:inline-flex; align-items:center; gap:8px; background:var(--orange); color:var(--white); padding:11px 20px; border-radius:999px; font-weight:600; font-size:14px; text-decoration:none; border:none; cursor:pointer; box-shadow:0 4px 14px -4px rgba(232,118,46,0.55); transition:transform .15s ease, background .15s ease;}
.cta-btn:hover{background:var(--orange-dark); transform:translateY(-1px);}
.cta-btn.ghost{background:transparent; color:var(--ink); box-shadow:none; border:1.5px solid var(--ink);}
.cta-btn.ghost:hover{background:var(--ink); color:var(--white);}
.cta-btn.on-orange{background:var(--white); color:var(--orange-dark);}
.cta-btn.on-orange:hover{background:var(--ink); color:var(--white);}
.menu-toggle{display:none; background:none; border:none; cursor:pointer; padding:6px;}
.menu-toggle span{display:block; width:22px; height:2px; background:var(--ink); margin:4px 0; border-radius:2px;}

/* ---------- PAGE HERO (interior pages) ---------- */
.page-hero{padding:56px 0 40px; border-bottom:1px solid var(--rule);}
.page-hero h1{font-size:clamp(30px,4vw,46px); margin-bottom:12px;}
.page-hero p{color:var(--ink-soft); font-size:17px; max-width:60ch;}

/* ---------- SECTION SHELL ---------- */
section{padding:80px 0;}
.section-head{max-width:640px; margin-bottom:44px;}
.section-head h2{font-size:clamp(26px,3.2vw,36px); margin-bottom:12px;}
.section-head p{color:var(--ink-soft); font-size:16px;}

/* ---------- BUTTONS / MISC ---------- */
.btn-row{display:flex; gap:14px; flex-wrap:wrap;}

/* ---------- STAMP (hero signature element on Home) ---------- */
.stamp{width:230px; height:230px; border-radius:50%; border:2.5px solid var(--ink); display:flex; align-items:center; justify-content:center; position:relative; background:var(--white); transform:rotate(-8deg);}
.stamp::before{content:""; position:absolute; inset:12px; border-radius:50%; border:1px dashed var(--rule);}
.stamp-inner{text-align:center;}
.stamp-check{width:50px; height:50px; margin:0 auto 8px; border-radius:50%; background:var(--green); display:flex; align-items:center; justify-content:center;}
.stamp-check svg{width:24px; height:24px;}
.stamp-word{font-family:'IBM Plex Mono',monospace; font-weight:600; font-size:12px; letter-spacing:0.12em; text-transform:uppercase; color:var(--ink);}
.stamp-sub{font-size:10.5px; color:var(--ink-soft); margin-top:2px;}

/* ---------- TRUST STRIP ---------- */
.trust-strip{border-top:1px solid var(--rule); border-bottom:1px solid var(--rule); padding:22px 0;}
.trust-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:20px;}
.trust-item{display:flex; align-items:center; gap:10px; font-size:14px; font-weight:500; color:var(--ink-soft);}
.trust-item .dot{width:6px; height:6px; border-radius:50%; background:var(--orange); flex:none;}

/* ---------- HERO — full photo background with overlay text ---------- */
.hero-photo{position:relative; min-height:520px; display:flex; align-items:center; justify-content:center; background-size:cover; background-position:center; border-radius:0 0 24px 24px; overflow:hidden;}
.hero-photo::before{content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(28,43,57,0.15) 0%, rgba(28,43,57,0.35) 100%);}
.hero-overlay-box{position:relative; z-index:2; background:rgba(232,118,46,0.86); border:3px solid var(--orange); border-radius:10px; padding:34px 40px; max-width:720px; margin:0 24px; text-align:center;}
.hero-overlay-box h1{color:var(--white); font-family:'Inter',sans-serif; font-weight:800; text-transform:uppercase; letter-spacing:0.01em; font-size:clamp(22px,3.4vw,36px); line-height:1.25; margin-bottom:18px;}
.hero-photo .btn-row{position:relative; z-index:2; justify-content:center; margin-top:0;}
.hero-below{padding:36px 0 0;}
.hero-below .eyebrow{display:inline-flex; align-items:center; gap:8px; font-family:'IBM Plex Mono',monospace; font-size:12px; font-weight:600; color:var(--orange-dark); text-transform:uppercase; letter-spacing:0.08em; margin-bottom:12px;}
.hero-below .eyebrow::before{content:""; width:16px; height:1.5px; background:var(--orange-dark);}
.hero-below p.lead{font-size:16px; color:var(--ink-soft); max-width:60ch; margin:0 auto;}
@media (max-width:640px){.hero-photo{min-height:420px;} .hero-overlay-box{padding:22px 22px;}}

/* ---------- SERVICES — TaxMaster-style 3-column with library center ---------- */
.services-3col{display:grid; grid-template-columns:1fr 1.1fr 1fr; gap:20px; align-items:stretch;}
.services-stack{display:flex; flex-direction:column; gap:20px;}
.svc-photo-card{position:relative; border-radius:var(--radius); overflow:hidden; min-height:220px; display:flex; align-items:flex-end; background:var(--paper-alt); text-decoration:none;}
.svc-photo-card img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;}
.svc-photo-card::after{content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(20,28,38,0.88) 0%, rgba(20,28,38,0.05) 65%); z-index:1;}
.svc-photo-content{position:relative; z-index:2; padding:20px; width:100%;}
.svc-photo-content h3{color:var(--white); font-size:16px; margin-bottom:10px; line-height:1.3;}
.svc-photo-btn{display:inline-flex; align-items:center; gap:6px; background:var(--orange); color:var(--white); padding:8px 14px; border-radius:999px; font-size:12.5px; font-weight:600; text-decoration:none;}
.services-center{border-radius:var(--radius); overflow:hidden; position:relative; min-height:100%;}
.services-center img{width:100%; height:100%; object-fit:cover; display:block;}
.services-center-caption{position:absolute; bottom:0; left:0; right:0; padding:20px; background:linear-gradient(0deg, rgba(20,28,38,0.85) 0%, rgba(20,28,38,0) 100%); color:var(--white);}
.services-center-caption strong{display:block; font-family:'Fraunces',serif; font-size:17px; margin-bottom:2px;}
.services-center-caption span{font-size:12.5px; color:#DDE5EA;}
@media (max-width:900px){.services-3col{grid-template-columns:1fr;} .services-center{min-height:340px;}}

/* ---------- WHAT WE CAN DO FOR YOU — real photo panels ---------- */
.panels-row{display:grid; grid-template-columns:repeat(auto-fit, minmax(220px,1fr)); gap:4px; border-radius:var(--radius); overflow:hidden;}
.panel{position:relative; min-height:360px; display:flex; align-items:flex-end; overflow:hidden;}
.panel img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;}
.panel::after{content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(20,28,38,0.92) 0%, rgba(20,28,38,0.05) 60%); z-index:1;}
.panel-content{position:relative; z-index:2; padding:24px 22px; color:var(--white); width:100%;}
.panel-content h3{color:var(--white); font-size:17px; margin-bottom:8px; line-height:1.3;}
.panel-content a{color:var(--white); font-size:13px; font-weight:600; text-decoration:underline; text-underline-offset:3px;}

/* ---------- WHY ARROW — logo watermark ---------- */
.why{background:var(--orange); border-radius:24px; position:relative; overflow:hidden;}
.why-watermark{position:absolute; top:50%; left:50%; transform:translate(-40%,-50%) rotate(-8deg); width:900px; height:900px; opacity:0.10; z-index:0; pointer-events:none;}
.why-watermark svg{width:100%; height:100%;}
.why-inner{position:relative; z-index:1; max-width:var(--maxw); margin:0 auto; padding:76px 28px;}

/* ---------- WHY ARROW + COLLAGE side-by-side wrapper ---------- */
.why-collage-wrap{display:grid; grid-template-columns:1.15fr 0.85fr; gap:0; align-items:stretch; margin:0 28px; border-radius:24px; overflow:hidden;}
.why-collage-wrap .why{border-radius:0; margin:0;}
.collage-panel{background:var(--paper-alt); padding:16px; display:grid; grid-template-columns:repeat(3,1fr); grid-template-rows:120px 120px 120px 120px; gap:10px;}
.collage-cell{position:relative; overflow:hidden;}
.collage-cell img{width:100%; height:100%; object-fit:cover; display:block;}
.cg-arch-top{border-radius:999px 999px 12px 12px;}
.cg-arch-bottom{border-radius:12px 12px 999px 999px;}
.cg-rounded{border-radius:16px;}
.cg-1{grid-column:1; grid-row:1;}
.cg-2{grid-column:2; grid-row:1;}
.cg-3{grid-column:3; grid-row:1 / span 2;}
.cg-4{grid-column:1; grid-row:2 / span 2;}
.cg-5{grid-column:2; grid-row:2;}
.cg-6{grid-column:2; grid-row:3;}
.cg-7{grid-column:3; grid-row:3;}
.cg-8{grid-column:1 / span 2; grid-row:4;}
.cg-9{grid-column:3; grid-row:4;}
.cg-logo{background:var(--white); display:flex; align-items:center; justify-content:center; padding:16px;}
.cg-logo img{width:100%; height:auto; object-fit:contain;}
.cg-place{background:var(--paper); border:1px solid var(--rule); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;}
.cg-place .dot{width:12px; height:12px; background:var(--orange); transform:rotate(45deg); border-radius:3px;}
.cg-place span{font-family:'Fraunces',serif; font-weight:700; color:var(--ink); font-size:13px; text-align:center; padding:0 10px;}
.cg-accent{background:linear-gradient(135deg,var(--paper-alt),#E8D9C4); display:flex; align-items:center; justify-content:center;}
.cg-accent .dot{width:14px; height:14px; background:var(--orange); transform:rotate(45deg); border-radius:4px;}
@media (max-width:640px){.collage-panel{grid-template-rows:90px 90px 90px 90px; gap:6px; padding:10px;}}
@media (max-width:1024px){.why-collage-wrap{grid-template-columns:1fr;}}
@media (max-width:640px){.collage-panel{grid-template-columns:1fr 1fr; padding:12px; gap:8px;}}

.why .section-head p{color:rgba(255,255,255,0.9);}
.why .section-head h2{color:var(--white);}
.why .ledger-rule{color:rgba(255,255,255,0.85);}
.why .ledger-rule .line{background:rgba(255,255,255,0.35);}
.why .ledger-rule::before{background:var(--white);}
.checklist{display:flex; flex-direction:column; gap:16px; max-width:720px;}
.check-item{display:flex; gap:14px; align-items:flex-start; background:rgba(255,255,255,0.12); border-radius:12px; padding:16px 18px;}
.check-mark{width:26px; height:26px; border-radius:6px; background:var(--white); color:var(--orange-dark); display:flex; align-items:center; justify-content:center; flex:none; margin-top:1px;}
.check-mark svg{width:15px; height:15px;}
.check-item p{color:var(--white); margin:0; font-size:15px; line-height:1.5;}
.check-item strong{font-weight:700;}

/* ---------- TESTIMONIAL CAROUSEL (ATAX-style) ---------- */
.carousel{position:relative; max-width:760px; margin:0 auto; text-align:center;}
.carousel-track{overflow:hidden;}
.carousel-slide{display:none; animation:fadeIn .4s ease;}
.carousel-slide.active{display:block;}
@keyframes fadeIn{from{opacity:0;} to{opacity:1;}}
.carousel-photo{width:96px; height:96px; border-radius:50%; object-fit:cover; margin:0 auto 18px; border:3px solid var(--white); box-shadow:var(--shadow);}
.carousel-quote{font-family:'Fraunces',serif; font-style:italic; font-size:19px; color:var(--ink); max-width:56ch; margin:0 auto 16px; line-height:1.5;}
.carousel-who{font-weight:700; font-size:14.5px;}
.carousel-who span{display:block; font-weight:400; color:var(--ink-soft); font-size:13px; margin-top:2px;}
.carousel-nav{position:absolute; top:50%; transform:translateY(-50%); width:42px; height:42px; border-radius:50%; border:1.5px solid var(--rule); background:var(--white); display:flex; align-items:center; justify-content:center; cursor:pointer;}
.carousel-nav:hover{border-color:var(--orange);}
.carousel-nav.prev{left:-10px;}
.carousel-nav.next{right:-10px;}
.carousel-dots{display:flex; gap:8px; justify-content:center; margin-top:24px;}
.carousel-dots button{width:8px; height:8px; border-radius:50%; border:none; background:var(--rule); cursor:pointer; padding:0;}
.carousel-dots button.active{background:var(--orange);}
@media (max-width:640px){.carousel-nav{display:none;}}

/* ---------- REVIEW WIDGET WRAPPER ---------- */
.review-widget-shell{background:var(--white); border:1px solid var(--rule); border-radius:var(--radius); padding:32px; text-align:center; max-width:640px; margin:0 auto;}

/* ---------- TAX PROBLEMS GRID (TaxMaster-style, orange background) ---------- */
.tax-problems{background:var(--ink); border-radius:24px; margin:0 28px; color:var(--white);}
.tax-problems-inner{max-width:var(--maxw); margin:0 auto; padding:76px 28px;}
.tax-problems .section-head h2{color:var(--white);}
.tax-problems .section-head p{color:#B9C7D3;}
.tax-problems .ledger-rule{color:#8FA3B3;}
.tax-problems .ledger-rule .line{background:rgba(255,255,255,0.2);}
.tax-problems .ledger-rule::before{background:var(--orange);}
.tp-columns{display:grid; grid-template-columns:1fr 1fr; gap:24px;}
.tp-col{background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.14); border-radius:14px; padding:26px 24px;}
.tp-col h3{color:var(--orange); font-size:15px; text-transform:uppercase; letter-spacing:0.05em; margin-bottom:16px; font-family:'IBM Plex Mono',monospace;}
.tp-col ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px;}
.tp-col li{font-size:14.5px; color:#DDE5EA; padding-left:18px; position:relative;}
.tp-col li::before{content:"—"; position:absolute; left:0; color:var(--orange);}

/* ---------- CREDENTIALS BADGES ---------- */
.cred-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(240px,1fr)); gap:16px;}
.cred-card{background:var(--white); border:1px solid var(--rule); border-radius:12px; padding:20px; display:flex; gap:14px; align-items:flex-start;}
.cred-icon{width:38px; height:38px; border-radius:9px; background:var(--paper-alt); display:flex; align-items:center; justify-content:center; flex:none; color:var(--orange-dark);}
.cred-card h4{font-size:15px; margin-bottom:4px;}
.cred-card p{font-size:13.5px; color:var(--ink-soft); margin:0;}

/* ---------- ABOUT PHOTO + BIO LAYOUT ---------- */
.bio-grid{display:grid; grid-template-columns:0.8fr 1.2fr; gap:52px; align-items:start;}
.bio-photo{border-radius:var(--radius); overflow:hidden; background:var(--paper-alt);}
.bio-photo img{width:100%; height:auto; display:block;}

/* ---------- HOURS TABLE ---------- */
.hours-table{width:100%; border-collapse:collapse; font-size:14.5px;}
.hours-table td{padding:10px 4px; border-bottom:1px solid var(--rule);}
.hours-table td:last-child{text-align:right; color:var(--ink-soft); font-family:'IBM Plex Mono',monospace; font-size:13px;}

/* ---------- CONTACT FORM ---------- */
.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:16px;}
.form-grid .full{grid-column:1/-1;}
.field label{display:block; font-size:13px; font-weight:600; margin-bottom:6px; color:var(--ink);}
.field input, .field textarea, .field select{width:100%; border:1.5px solid var(--rule); border-radius:10px; padding:12px 14px; font-family:'Inter',sans-serif; font-size:14.5px; background:var(--white); color:var(--ink);}
.field input:focus, .field textarea:focus, .field select:focus{outline:none; border-color:var(--orange);}
.field textarea{resize:vertical; min-height:120px;}

/* ---------- RESOURCE LINKS ---------- */
.resources-band{display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:center; background:var(--paper-alt); border-radius:24px; padding:56px;}
.resource-links{display:flex; flex-direction:column; gap:12px;}
.resource-link{display:flex; align-items:center; justify-content:space-between; background:var(--white); border:1px solid var(--rule); border-radius:10px; padding:14px 18px; text-decoration:none; color:var(--ink); font-weight:500; font-size:14.5px; transition:border-color .15s ease;}
.resource-link:hover{border-color:var(--orange);}
.resource-link .arrow{color:var(--orange); font-family:'IBM Plex Mono',monospace;}
.resource-card{background:var(--white); border:1px solid var(--rule); border-radius:var(--radius); padding:26px;}
.resource-card h3{font-size:17px; margin-bottom:10px;}
.resource-card ul{margin:0; padding-left:18px; color:var(--ink-soft); font-size:14.5px; line-height:1.8;}

/* ---------- FINAL CTA ---------- */
.final-cta{background:var(--orange); border-radius:24px; margin:0 28px; text-align:center; padding:64px 28px; color:var(--white);}
.final-cta h2{color:var(--white); font-size:clamp(26px,3.4vw,36px); margin-bottom:12px;}
.final-cta p{color:rgba(255,255,255,0.9); font-size:16px; margin-bottom:26px;}

/* ---------- FOOTER ---------- */
footer{padding:60px 0 40px; color:var(--ink-soft); font-size:14px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; margin-bottom:36px;}
.footer-col h4{font-size:13px; text-transform:uppercase; letter-spacing:0.06em; color:var(--ink); margin-bottom:14px; font-family:'IBM Plex Mono',monospace;}
.footer-col a{display:block; text-decoration:none; margin-bottom:9px; color:var(--ink-soft);}
.footer-col a:hover{color:var(--orange-dark);}
.footer-bottom{border-top:1px solid var(--rule); padding-top:22px; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; font-size:12.5px;}

/* ---------- RESPONSIVE ---------- */
@media (max-width:1024px){
  nav.primary, .header-actions .phone-pill{display:none;}
  .menu-toggle{display:block;}
}
@media (max-width:900px){
  .services-grid{grid-template-columns:repeat(2,1fr);}
  .trust-grid{grid-template-columns:repeat(2,1fr);}
  .tp-columns{grid-template-columns:1fr;}
  .bio-grid{grid-template-columns:1fr;}
  .form-grid{grid-template-columns:1fr;}
}
@media (max-width:640px){
  .header-actions .cta-btn{display:none;}
  .services-grid{grid-template-columns:1fr;}
  .panels-row{grid-template-columns:1fr;}
  .trust-grid{grid-template-columns:1fr 1fr;}
  section{padding:56px 0;}
  .why-inner, .final-cta, .resources-band, .tax-problems-inner{padding:44px 22px;}
  .footer-grid{grid-template-columns:1fr 1fr;}
  .resources-band{grid-template-columns:1fr;}
}
@media (prefers-reduced-motion:reduce){
  *{animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important;}
  html{scroll-behavior:auto;}
}
.reveal{opacity:0; transform:translateY(14px); transition:opacity .6s ease, transform .6s ease;}
.reveal.in{opacity:1; transform:translateY(0);}
