/* © Built by Vision | builtbyvision.ca shared styles */
:root{
  --ink:#0c0c0b;
  --gold:#F1D1AF;
  --gold-dim:#C9A47E;
  --pink:#FF31B0;
  --pink-dim:#D50083;
  --blue:#0366C5;
  --paper:#FAF6F0;
  --white:#ffffff;
  --ink-70:rgba(12,12,11,.68);
  --white-70:rgba(250,246,240,.72);
  --white-45:rgba(250,246,240,.45);
  --maxw:1280px;
  --edge:clamp(24px, 5vw, 72px);
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Poppins',sans-serif;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
section{padding:120px var(--edge);position:relative; scroll-margin-top:96px;}
.wrap{max-width:var(--maxw);margin:0 auto;}
.mark{font-family:'Permanent Marker',cursive;font-weight:400;line-height:1;}
::selection{background:var(--blue);color:var(--white);}

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:3px solid var(--blue);
  outline-offset:3px;
}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important;}
}

/* ---------- NAV ---------- */
.nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:22px var(--edge);
  transition:background .4s ease, padding .4s ease, backdrop-filter .4s ease;
}
.nav.scrolled{
  background:rgba(12,12,11,.88);
  backdrop-filter:blur(10px);
  padding:14px var(--edge);
}
.nav__logo img{height:32px; width:auto;}
.nav__links{display:flex; align-items:center; gap:36px;}
.nav__links a{
  font-size:14px; font-weight:600; color:var(--white);
  position:relative; padding:4px 0;
}
.nav__links a::after{
  content:'';position:absolute;left:0;right:100%;bottom:0;height:2px;background:var(--gold);
  transition:right .25s ease;
}
.nav__links a:hover::after{right:0;}
.nav__links a.nav__cta{
  background:var(--blue); color:var(--white);
  font-size:14px; font-weight:700;
  padding:11px 34px; border-radius:2px;
  transition:background .25s ease, transform .25s ease;
}
.nav__cta:hover{background:#024d99; transform:translateY(-1px);}
.nav__toggle{display:none; flex-direction:column; gap:5px; background:none; border:0; cursor:pointer; padding:8px;}
.nav__toggle span{width:26px; height:2px; background:var(--white); display:block; transition:transform .25s ease, opacity .2s ease;}
.nav__toggle.active span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav__toggle.active span:nth-child(2){opacity:0;}
.nav__toggle.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
.nav__mobile{
  display:none; position:fixed; inset:0; z-index:99; background:var(--ink);
  flex-direction:column; align-items:center; justify-content:center; gap:32px;
}
.nav__mobile.open{display:flex;}
.nav__mobile a{font-size:28px; font-weight:700; color:var(--white);}
.nav__mobile .nav__cta{font-size:16px; padding:13px 40px;}

@media (max-width:860px){
  .nav__links{display:none;}
  .nav__toggle{display:flex;}
}

/* ---------- HERO ---------- */
.hero{
  min-height:100vh;
  background:var(--ink); color:var(--white);
  display:flex; flex-direction:column; justify-content:center;
  padding-top:140px; padding-bottom:80px;
}
.hero__so{
  font-size:clamp(28px,4vw,44px);
  color:var(--blue);
  margin:0 0 4px;
  opacity:0; transform:translateY(14px);
  animation:riseIn .7s ease .15s forwards;
}
.hero__headline{
  margin:0; font-weight:900; letter-spacing:-.015em;
  font-size:clamp(52px, 10.5vw, 148px);
  line-height:.94;
}
.hero__headline span{display:block; opacity:0; transform:translateY(22px); animation:riseIn .75s ease forwards;}
.hero__headline span:nth-child(1){animation-delay:.3s;}
.hero__headline span:nth-child(2){animation-delay:.48s; color:var(--gold);}
@keyframes riseIn{to{opacity:1; transform:translateY(0);}}

.hero__sub{
  margin:34px 0 0; max-width:620px;
  font-size:clamp(17px,1.6vw,20px); line-height:1.6;
  color:var(--white-70); font-weight:400;
  opacity:0; animation:riseIn .7s ease .72s forwards;
}
.hero__ctas{
  display:flex; gap:18px; margin-top:44px; flex-wrap:wrap;
  opacity:0; animation:riseIn .7s ease .9s forwards;
}
.btn{
  display:inline-block; font-size:15px; font-weight:700;
  padding:17px 30px; border-radius:2px; border:2px solid transparent;
  cursor:pointer; transition:transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.btn--primary{background:var(--gold); color:var(--ink);}
.btn--primary:hover{background:var(--white); transform:translateY(-2px);}
.btn--ghost{border-color:var(--white-45); color:var(--white);}
.btn--ghost:hover{border-color:var(--white); transform:translateY(-2px);}
.btn--blue{background:var(--blue); color:var(--white);}
.btn--blue:hover{background:#024d99; transform:translateY(-2px);}

/* ---------- SECTION HEADS ---------- */
.head{max-width:760px; margin-bottom:64px;}
.head h2{
  font-size:clamp(34px,5vw,58px); font-weight:800; line-height:1.04;
  margin:0 0 18px; letter-spacing:-.01em;
}
.head p{font-size:18px; line-height:1.6; color:var(--ink-70); margin:0; max-width:540px;}
.head--dark h2{color:var(--white);}
.head--dark p{color:var(--white-70);}

/* ---------- SERVICES (bento) ---------- */
.services{background:var(--paper);}
.bento{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:2px;
  background:var(--ink);
  border:2px solid var(--ink);
}
.tile{
  background:var(--paper);
  padding:40px 34px;
  grid-column:span 3;
  transition:background .3s ease, color .3s ease;
}
.tile:hover{background:var(--ink); color:var(--white);}
.tile:hover .tile__desc{color:var(--white-70);}
.tile:nth-child(1){grid-column:span 4;}
.tile:nth-child(2){grid-column:span 2; background:var(--gold);}
.tile:nth-child(2):hover{background:var(--ink);}
.tile:nth-child(3){grid-column:span 2;}
.tile:nth-child(4){grid-column:span 4;}
.tile:nth-child(5){grid-column:span 6; background:var(--ink); color:var(--white);}
.tile:nth-child(5):hover{background:var(--blue);}
.tile:nth-child(5) .tile__desc{color:var(--white-70);}
.tile:nth-child(5):hover .tile__desc{color:rgba(255,255,255,.92);}
.tile__name{font-size:23px; font-weight:700; margin:0 0 12px;}
.tile__desc{font-size:15.5px; line-height:1.55; color:var(--ink-70); margin:0; max-width:460px;}

@media (max-width:760px){
  .bento{grid-template-columns:1fr;}
  .tile, .tile:nth-child(1), .tile:nth-child(2), .tile:nth-child(3), .tile:nth-child(4), .tile:nth-child(5){grid-column:1;}
}

/* ---------- OUR WORK ---------- */
.work{background:var(--ink); color:var(--white);}
.worklist{display:flex; flex-direction:column;}
.workrow{
  display:grid; grid-template-columns:minmax(0,400px) 1fr; gap:48px; align-items:center;
  padding:44px 0; border-bottom:1px solid rgba(250,246,240,.18);
}
.worklist .workrow:first-child{border-top:1px solid rgba(250,246,240,.18);}
.worklist .workrow:nth-child(even){grid-template-columns:1fr minmax(0,400px);}
.worklist .workrow:nth-child(even) .workrow__thumb{order:2;}
.worklist .workrow:nth-child(even) .workrow__meta{order:1;}
.workrow__thumb{
  width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; display:block;
  border:1px solid rgba(250,246,240,.14);
}
.workrow__thumb--pending{
  width:100%; aspect-ratio:4/3; display:flex; align-items:center; justify-content:center;
  background:rgba(250,246,240,.05); border:1px dashed rgba(250,246,240,.2);
  font-size:15px; font-weight:700; color:var(--white-45); text-align:center; line-height:1.4;
  letter-spacing:.02em;
}
.workrow__meta{
  display:flex; flex-direction:column; align-items:flex-start; gap:22px;
}
.workrow__name{font-size:clamp(24px,2.4vw,32px); font-weight:700; margin:0 0 6px;}
.workrow__tags{font-size:14px; font-weight:600; color:var(--gold); margin:0 0 14px;}
.workrow__desc{font-size:16px; line-height:1.6; color:var(--white-70); margin:0; max-width:54ch;}
.workrow__link{
  flex-shrink:0; font-size:13px; font-weight:700;
  border:1.5px solid var(--white-45); padding:13px 24px; border-radius:2px;
  white-space:nowrap; transition:all .25s ease;
}
.workrow__link:hover{background:var(--blue); border-color:var(--blue); color:var(--white);}
.workrow__soon{
  flex-shrink:0; font-size:12.5px; font-weight:600; color:var(--white-45);
  font-style:italic;
}
@media (max-width:880px){
  .workrow, .worklist .workrow:nth-child(even){grid-template-columns:1fr; gap:24px; padding:34px 0;}
  .worklist .workrow:nth-child(even) .workrow__thumb{order:0;}
  .worklist .workrow:nth-child(even) .workrow__meta{order:0;}
  .workrow__thumb{max-width:400px; margin:0 auto;}
}

/* ---------- MORE THAN WEBSITES ---------- */
.more{background:var(--gold);}
.more .head h2{color:var(--ink);}
.more__body{max-width:760px;}
.more__body p{font-size:clamp(19px,2.3vw,26px); line-height:1.5; font-weight:500; margin:0 0 28px;}
.more__body p:last-child{margin-bottom:0;}

/* ---------- TEAM ---------- */
.team{background:var(--paper);}
.team__grid{display:grid; grid-template-columns:1fr 1.3fr; gap:72px; align-items:start;}
.team__photo{
  background:var(--ink);
  aspect-ratio:4/5;
  border-radius:2px; position:relative; overflow:hidden;
}
.team__photo img{width:100%; height:100%; object-fit:cover; object-position:center 30%;}
.people{display:flex; flex-direction:column; gap:44px;}
.person__name{display:flex; align-items:baseline; gap:14px; flex-wrap:wrap;}
.person__name h3{font-size:30px; font-weight:800; margin:0;}
.person__role{font-family:'Poppins',sans-serif; font-style:italic; font-weight:600; font-size:17px; color:var(--blue);}
.person__role--pink{color:var(--pink-dim);}
.person p{font-size:16.5px; line-height:1.6; color:var(--ink-70); margin:10px 0 0; max-width:480px;}
@media (max-width:760px){
  .team__grid{grid-template-columns:1fr; gap:48px;}
}

/* ---------- PROCESS ---------- */
.process{background:var(--ink); color:var(--white); padding-bottom:60px;}
.steps{display:grid; grid-template-columns:repeat(4,1fr); gap:2px; background:rgba(250,246,240,.18); border-top:1px solid rgba(250,246,240,.18); border-bottom:1px solid rgba(250,246,240,.18);}
.step{background:var(--ink); padding:40px 28px 10px;}
.step__num{font-size:15px; font-weight:700; color:var(--blue); margin-bottom:22px; display:block;}
.step__title{font-size:clamp(16px,4.3vw,19px); font-weight:700; margin:0 0 10px; white-space:nowrap;}
.step__desc{font-size:14.5px; line-height:1.55; color:var(--white-70); margin:0;}
.process__promise{margin:44px 0 0; font-size:clamp(20px,2.4vw,28px); font-weight:700; line-height:1.3; letter-spacing:-.01em; color:var(--white); max-width:36ch; text-wrap:balance;}
.process__promise span{color:var(--gold);}
@media (max-width:860px){
  .steps{grid-template-columns:1fr;}
}

/* ---------- CONTACT ---------- */
.contact{background:var(--ink); color:var(--white); padding-top:60px;}
.contact__top{margin-bottom:64px;}
.contact__so{font-size:clamp(26px,3.6vw,40px); color:var(--blue); margin:0 0 2px;}
.contact__headline{font-size:clamp(44px,7.5vw,100px); font-weight:900; margin:0; letter-spacing:-.015em;}
.contact__sub{font-size:18px; color:var(--white-70); max-width:560px; margin:26px 0 0; line-height:1.6;}

.contact__grid{display:grid; grid-template-columns:1.2fr .8fr; gap:72px;}
form{display:flex; flex-direction:column; gap:22px;}
.field{display:flex; flex-direction:column; gap:8px;}
.field label{font-size:13px; font-weight:600; color:var(--white-70);}
.field input, .field textarea{
  background:transparent; border:0; border-bottom:1.5px solid rgba(250,246,240,.35);
  color:var(--white); font-family:'Poppins',sans-serif; font-size:17px; padding:10px 2px;
  transition:border-color .25s ease;
}
.field input::placeholder, .field textarea::placeholder{color:var(--white-45);}
.field input:focus, .field textarea:focus{border-color:var(--gold); outline:none;}
.field textarea{resize:vertical; min-height:100px;}
.hp{position:absolute; left:-9999px;}
.sr-only, .hero__headline span.sr-only{position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; opacity:1; transform:none; animation:none;}
form .btn{align-self:flex-start; margin-top:8px;}

.contact__details{display:flex; flex-direction:column; gap:30px;}
.detail{border-top:1px solid rgba(250,246,240,.18); padding-top:20px;}
.detail__label{font-size:12.5px; font-weight:600; color:var(--white-45); display:block; margin-bottom:8px;}
.detail__value{font-size:19px; font-weight:600;}
.detail__value a:hover{color:var(--blue);}

@media (max-width:860px){
  .contact__grid{grid-template-columns:1fr; gap:56px;}
}

/* ---------- FOOTER ---------- */
footer{
  background:var(--ink); color:var(--white-45);
  padding:52px var(--edge) 36px;
  display:flex; flex-direction:column; gap:30px;
  border-top:1px solid rgba(250,246,240,.12);
}
.footer__logo{height:34px; width:auto; display:block; align-self:flex-start;}
.footer__row{
  display:flex; justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:16px;
}
footer .social{display:flex; gap:22px;}
footer .social a{font-size:13px; font-weight:600;}
footer .social a:hover{color:var(--blue);}
footer small{font-size:12.5px;}

/* ======================================================================
   Inner pages: services. Same tokens, type and blocks as the homepage.
   ====================================================================== */
.hero--page{min-height:auto; padding-top:168px; padding-bottom:96px;}
.hero--page > .wrap{width:100%;}
.services--intro{padding-bottom:0;}
.hero--page .hero__headline{font-size:clamp(44px,7.2vw,100px); line-height:.96;}
.hero--page .hero__sub{max-width:680px;}
.crumbs{display:flex; flex-wrap:wrap; gap:8px; font-size:13px; font-weight:600; color:var(--white-45); margin:0 0 26px; padding:0; list-style:none;}
.crumbs li+li::before{content:'/'; margin-right:8px; color:rgba(250,246,240,.25);}
.crumbs a:hover{color:var(--gold);}
.crumbs [aria-current]{color:var(--white-70);}
.eyebrow{font-size:clamp(24px,3vw,34px); color:var(--blue); margin:0 0 6px;}

.lead{font-size:clamp(19px,2.2vw,25px); line-height:1.5; font-weight:500; max-width:780px; margin:0 0 26px;}
.lead:last-child{margin-bottom:0;}
.body{font-size:17px; line-height:1.7; color:var(--ink-70); max-width:68ch; margin:0 0 18px;}

/* even bento: every tile the same size, for lists of any length */
.bento.bento--even .tile, .bento.bento--even .tile:nth-child(n){grid-column:span 3; background:var(--paper); color:var(--ink);}
.bento.bento--even .tile:nth-child(n):hover{background:var(--ink); color:var(--white);}
.bento.bento--even .tile:nth-child(n) .tile__desc{color:var(--ink-70);}
.bento.bento--even .tile:nth-child(n):hover .tile__desc{color:var(--white-70);}
.bento.bento--even .tile:last-child:nth-child(odd){grid-column:span 6;}
@media (max-width:760px){ .bento.bento--even .tile, .bento.bento--even .tile:nth-child(n), .bento.bento--even .tile:last-child:nth-child(odd){grid-column:1;} }

/* homepage tiles that link to their service page */
a.tile{display:block; color:inherit;}
.tile__more{display:inline-block; margin-top:20px; font-size:13px; font-weight:700; letter-spacing:.04em; border-bottom:2px solid currentColor; padding-bottom:2px;}

/* standard-issue list on a dark band */
.band-dark{background:var(--ink); color:var(--white);}
.checklist{display:grid; grid-template-columns:repeat(2,1fr); gap:2px; background:rgba(250,246,240,.18); border-top:1px solid rgba(250,246,240,.18); border-bottom:1px solid rgba(250,246,240,.18); margin:0; padding:0; list-style:none;}
.checklist li{background:var(--ink); padding:30px 28px 30px 64px; position:relative;}
.checklist li::before{content:''; position:absolute; left:28px; top:34px; width:18px; height:10px; border-left:3px solid var(--gold); border-bottom:3px solid var(--gold); transform:rotate(-45deg);}
.checklist h3{font-size:19px; font-weight:700; margin:0 0 8px;}
.checklist p{font-size:15px; line-height:1.55; color:var(--white-70); margin:0;}
.checklist li:last-child:nth-child(odd){grid-column:1 / -1;}
@media (max-width:760px){ .checklist{grid-template-columns:1fr;} }

/* questions */
.faq{max-width:860px; border-bottom:2px solid var(--ink);}
.faq details{border-top:2px solid var(--ink);}
.faq summary{list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:24px; padding:26px 0; font-size:clamp(18px,2vw,22px); font-weight:700;}
.faq summary::-webkit-details-marker{display:none;}
.faq summary::after{content:'+'; font-size:30px; font-weight:400; line-height:1; color:var(--blue); transition:transform .25s ease; flex:none;}
.faq details[open] summary::after{transform:rotate(45deg);}
.faq summary:focus-visible{outline:3px solid var(--blue); outline-offset:4px;}
.faq .answer{padding:0 0 26px; font-size:16.5px; line-height:1.65; color:var(--ink-70); max-width:68ch;}
.faq .answer p{margin:0 0 12px;}
.faq .answer a{color:var(--blue); text-decoration:underline; text-underline-offset:3px;}

/* closing call to action */
.cta .contact__top{margin-bottom:0;}
.cta__btns{display:flex; gap:18px; flex-wrap:wrap; margin-top:40px;}

.workrow__soon{display:inline-block;}

/* footer site map */
.footer__nav{display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:28px 40px;}
.footer__nav h2{font-size:12.5px; font-weight:600; color:var(--white-45); margin:0 0 12px; letter-spacing:.04em;}
.footer__nav ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px;}
.footer__nav a{font-size:14px; font-weight:600; color:var(--white-70);}
.footer__nav a:hover{color:var(--gold);}
.inline-link{text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:4px;}
.inline-link:hover{color:var(--blue);}
.work .inline-link:hover, .head--dark .inline-link:hover{color:var(--gold);}
