/* ============================================================
   WillsWay Collective — shared site stylesheet
   WillsWay Collective Ltd · Co. No. 17266165
   ============================================================ */

:root {
  --p:    #132349;   /* deep navy — primary */
  --pm:   #2A3F6B;   /* navy mid — hover states */
  --pd:   #0B1730;   /* navy dark */
  --pl:   #EDEFF5;   /* pale navy tint */
  --t:    #B04014;   /* rust — accent */
  --tl:   #FBEAE0;   /* pale rust tint */
  --tm:   #FF8A3D;   /* amber — mid accent */
  --ink:  #15141A;
  --mu:   #6B6A78;
  --brd:  #E7E3E2;
  --sf:   #FAF8F6;
  --wh:   #ffffff;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--wh); color: var(--ink); overflow-x: hidden; line-height: 1.6; }

.brand-font { font-family: 'Lora', serif; font-style: italic; font-weight: 700; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
nav.scrolled { border-color: var(--brd); }
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-logo img { display: block; }
.nav-wm { font-size: 1.15rem; color: var(--ink); line-height: 1.1; }
.nav-wm span { color: var(--t); }
.nav-sub { font-size: 0.55rem; font-family: 'DM Mono', monospace; letter-spacing: 3px; color: var(--mu); text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { font-size: 0.84rem; color: var(--mu); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  background: var(--p) !important; color: white !important;
  padding: 0.45rem 1.2rem; border-radius: 8px;
  font-size: 0.82rem !important; font-weight: 500 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--pd) !important; }

/* ── HERO ── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 100px 5% 80px;
  background: var(--sf);
  position: relative; overflow: hidden;
}
.hero-blob { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(72px); }
.hb1 { width: 500px; height: 500px; background: #FBD9C0; opacity: 0.45; top: -80px; right: -60px; }
.hb2 { width: 350px; height: 350px; background: #FFE3B0; opacity: 0.4; bottom: 0; left: 5%; }
.hero-inner { max-width: 780px; position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: white; border: 1px solid var(--brd); border-radius: 20px;
  font-size: 0.72rem; font-weight: 500; color: var(--mu); letter-spacing: 0.5px;
  padding: 5px 14px; margin-bottom: 1.75rem;
  animation: up 0.6s ease 0.1s both;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--t); }
h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 700;
  line-height: 1.08; letter-spacing: -2px; margin-bottom: 1.5rem;
  animation: up 0.6s ease 0.2s both;
}
h1 em { font-style: italic; font-family: 'Lora', serif; color: var(--t); }
.hero-body {
  font-size: 1.1rem; font-weight: 300; color: var(--mu); line-height: 1.8;
  max-width: 560px; margin-bottom: 2.5rem;
  animation: up 0.6s ease 0.3s both;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; animation: up 0.6s ease 0.4s both; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 0.72rem 1.6rem; border-radius: 10px; font-size: 0.88rem; font-weight: 500; text-decoration: none; border: none; font-family: inherit; cursor: pointer; transition: all 0.2s; }
.btn-p { background: var(--p); color: white; }
.btn-p:hover { background: var(--pd); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(19,35,73,0.25); }
.btn-o { background: white; color: var(--ink); border: 1.5px solid var(--brd); }
.btn-o:hover { border-color: var(--t); color: var(--t); }
.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 5%;
  display: flex; align-items: center; gap: 10px;
  font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--mu);
  animation: up 0.6s ease 0.7s both;
}
.scroll-line { width: 30px; height: 1px; background: var(--t); }

@keyframes up { from { opacity:0; transform:translateY(18px); } to { opacity:1; transform:none; } }

/* ── SECTIONS ── */
section { padding: 6rem 5%; }
.inner { max-width: 1100px; margin: 0 auto; }
.stag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--t); margin-bottom: 1rem;
}
.stag::before { content:''; width:18px; height:1.5px; background:var(--t); border-radius:2px; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; letter-spacing: -0.8px; line-height: 1.15; margin-bottom: 1rem; }
h2 em { font-style: italic; font-family: 'Lora', serif; color: var(--t); }

/* ── ABOUT ── */
#about { background: white; }
.about-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5rem; align-items: start; margin-top: 3rem; }
.about-body p { font-size: 0.96rem; font-weight: 300; line-height: 1.9; color: var(--mu); margin-bottom: 1.1rem; }
.about-body p:last-child { margin-bottom: 0; }
.about-body strong { color: var(--ink); font-weight: 500; }
.about-body a { color: var(--t); text-decoration: none; font-weight: 500; }
.about-body a:hover { text-decoration: underline; }
.about-aside { display: flex; flex-direction: column; gap: 1rem; }
.info-card { background: var(--sf); border: 1px solid var(--brd); border-radius: 14px; padding: 1.25rem 1.5rem; }
.info-card-label { font-family: 'DM Mono', monospace; font-size: 0.58rem; letter-spacing: 2px; text-transform: uppercase; color: var(--mu); margin-bottom: 0.4rem; }
.info-card-value { font-size: 0.88rem; font-weight: 500; color: var(--ink); line-height: 1.5; }
.info-card-value a { color: var(--t); text-decoration: none; }
.info-card-value a:hover { text-decoration: underline; }

.brand-card { border-radius: 14px; padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.brand-card.zenlabra { background: var(--pd); }
.bc-tag { font-family: 'DM Mono', monospace; font-size: 0.58rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.bc-title { font-size: 1rem; font-weight: 700; color: white; letter-spacing: -0.3px; }
.bc-body { font-size: 0.8rem; font-weight: 300; color: rgba(255,255,255,0.75); line-height: 1.6; }
.bc-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.16); color: white;
  font-size: 0.78rem; font-weight: 500; text-decoration: none;
  padding: 0.45rem 1rem; border-radius: 8px; align-self: flex-start;
  margin-top: 0.25rem; transition: background 0.2s;
}
.bc-link:hover { background: rgba(255,255,255,0.28); }

/* ── HOW WE WORK (capabilities, not a fictional team) ── */
#how-we-work { background: var(--sf); }
.hww-intro { max-width: 620px; margin-bottom: 3rem; }
.hww-intro p { font-size: 0.96rem; font-weight: 300; color: var(--mu); line-height: 1.8; margin-top: 0.75rem; }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.cap-card {
  background: white; border: 1px solid var(--brd); border-radius: 16px;
  padding: 1.5rem 1.4rem; display: flex; flex-direction: column;
  gap: 0.6rem; transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.cap-card:hover { border-color: var(--tm); box-shadow: 0 6px 24px rgba(176,64,20,0.09); transform: translateY(-3px); }
.cap-title { font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.cap-body { font-size: 0.8rem; color: var(--mu); line-height: 1.65; }
.cap-tag { display: inline-block; align-self: flex-start; font-size: 0.62rem; font-weight: 500; letter-spacing: 1px; padding: 3px 10px; border-radius: 20px; }
.tag-ops { background: var(--pl); color: var(--p); }
.tag-tech { background: #E6F1FB; color: #185FA5; }
.tag-support { background: var(--tl); color: var(--t); }

.founder-note {
  display: flex; align-items: center; gap: 1rem;
  background: white; border: 1px solid var(--brd); border-radius: 14px;
  padding: 1.1rem 1.4rem; margin-top: 2rem;
}
.founder-note-label { font-family: 'DM Mono', monospace; font-size: 0.58rem; letter-spacing: 2px; text-transform: uppercase; color: var(--mu); margin-bottom: 2px; }
.founder-note-body { font-size: 0.86rem; color: var(--ink); line-height: 1.6; }
.founder-note-body strong { font-weight: 600; }

/* ── CONTACT ── */
#contact { background: var(--sf); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; margin-top: 3rem; }
.contact-cta { max-width: 560px; }
.cta-body { font-size: 0.96rem; font-weight: 300; color: var(--mu); line-height: 1.8; margin: 1rem 0 2rem; }
.cta-btn { font-size: 0.9rem !important; padding: 0.85rem 2rem !important; }
.email-list { display: flex; flex-direction: column; }
.erow { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: 0.8rem 0; border-bottom: 1px solid var(--brd); align-items: center; }
.erow:first-child { border-top: 1px solid var(--brd); }
.elab { font-family: 'DM Mono', monospace; font-size: 0.58rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--mu); }
.eaddr { font-size: 0.84rem; color: var(--ink); text-decoration: none; transition: color 0.2s; }
.eaddr:hover { color: var(--t); }

/* ── FOOTER ── */
footer { background: var(--ink); padding: 2.5rem 5%; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.footer-left { display: flex; align-items: center; gap: 12px; }
.footer-wm { font-size: 1.05rem; color: white; }
.footer-wm span { color: var(--tm); }
.footer-meta { font-size: 0.72rem; color: rgba(255,255,255,0.4); line-height: 1.7; margin-top: 4px; }
.footer-tagline { font-size: 0.85rem; font-weight: 300; color: var(--tm); letter-spacing: 0.3px; font-style: italic; font-family: 'Lora', serif; }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.75rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; justify-content: flex-end; }
.footer-legal a { font-size: 0.7rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; white-space: nowrap; }
.footer-legal a:hover { color: rgba(255,255,255,0.8); }

/* ── REVEAL ── */
.r { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.r.on { opacity: 1; transform: none; }

/* ── LEGAL / GENERIC PAGE ── */
.page-hero { padding: 100px 5% 48px; background: var(--sf); border-bottom: 1px solid var(--brd); }
.page-hero-inner { max-width: 760px; margin: 0 auto; }
.page-hero-inner h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 0.75rem; }
.page-meta { font-size: 0.8rem; color: var(--mu); font-family: 'DM Mono', monospace; letter-spacing: 1px; }
.page-body { max-width: 760px; margin: 0 auto; padding: 4rem 5%; }
.page-body h2 { font-size: 1.15rem; font-weight: 700; color: var(--pd); margin: 2.5rem 0 0.6rem; padding-bottom: 0.4rem; border-bottom: 2px solid var(--pl); letter-spacing: 0; }
.page-body h2:first-child { margin-top: 0; }
.page-body p { font-size: 0.95rem; font-weight: 300; color: var(--mu); line-height: 1.85; margin-bottom: 0.9rem; }
.page-body p strong { color: var(--ink); font-weight: 500; }
.page-body p a { color: var(--t); text-decoration: none; }
.page-body p a:hover { text-decoration: underline; }
.page-body ul { margin: 0.5rem 0 1rem 1.2rem; }
.page-body ul li { font-size: 0.95rem; font-weight: 300; color: var(--mu); line-height: 1.8; margin-bottom: 0.3rem; }
.page-body ul li strong { color: var(--ink); font-weight: 500; }
.highlight-box { background: var(--pl); border-left: 3px solid var(--p); border-radius: 0 8px 8px 0; padding: 1rem 1.25rem; margin: 1.5rem 0; font-size: 0.88rem; color: var(--pd); line-height: 1.7; }
.contact-box { background: var(--sf); border: 1px solid var(--brd); border-radius: 12px; padding: 1.25rem 1.5rem; margin: 2rem 0; }
.contact-box p { margin: 0.2rem 0; font-size: 0.88rem; }
.contact-box .label { font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 2px; text-transform: uppercase; color: var(--t); margin-bottom: 0.5rem; display: block; }

/* ── ERROR PAGE ── */
main.error-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 4rem 5%; position: relative; overflow: hidden; }
.error-card {
  position: relative; z-index: 1;
  background: var(--wh); border: 1px solid var(--brd); border-radius: 20px;
  padding: 3.5rem 4rem; max-width: 560px; width: 100%;
  box-shadow: 0 4px 40px rgba(19,35,73,0.08);
  animation: up 0.55s ease 0.1s both;
}
.error-code {
  font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--t); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 10px;
}
.error-code::before { content:''; width:20px; height:1.5px; background:var(--t); border-radius:2px; }
.error-icon { width: 52px; height: 52px; background: var(--pl); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.error-icon svg { width: 26px; height: 26px; }
.error-desc { font-size: 0.95rem; font-weight: 300; color: var(--mu); line-height: 1.8; margin-bottom: 2rem; }
.error-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2rem; }
.error-notify { display: flex; align-items: flex-start; gap: 10px; background: var(--tl); border-radius: 10px; padding: 0.85rem 1rem; font-size: 0.8rem; color: var(--pd); line-height: 1.6; }
.error-notify svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.error-notify a { color: var(--t); font-weight: 500; }

/* ── TRANSITION / HOLDING PAGE ── */
body.transition-body { background: var(--sf); min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px; }
.blob { position: fixed; border-radius: 50%; filter: blur(72px); pointer-events: none; z-index: 0; }
.blob-1 { width: 500px; height: 500px; background: #FBD9C0; opacity: 0.4; top: -100px; right: -80px; }
.blob-2 { width: 350px; height: 350px; background: #FFE3B0; opacity: 0.35; bottom: -60px; left: -60px; }
.card { position: relative; z-index: 1; background: white; border: 1px solid var(--brd); border-radius: 20px; padding: 48px 52px; max-width: 620px; width: 100%; text-align: center; box-shadow: 0 8px 40px rgba(19,35,73,0.1); animation: up 0.6s ease both; }
.logo-wrap { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 32px; }
.logo-wm { text-align: left; line-height: 1.1; }
.logo-wm-main { font-size: 1.2rem; color: var(--ink); }
.logo-wm-main span { color: var(--t); }
.logo-wm-sub { font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: 3px; color: var(--mu); text-transform: uppercase; }
.tag { display: inline-flex; align-items: center; gap: 7px; background: var(--pl); color: var(--pd); font-size: 0.7rem; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 20px; }
.tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--t); }
.body-text { font-size: 0.95rem; font-weight: 300; color: var(--mu); line-height: 1.8; margin-bottom: 12px; }
.divider { height: 1.5px; background: linear-gradient(90deg, transparent, var(--brd), transparent); margin: 24px 0; }
.countdown-wrap { margin-top: 20px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.countdown-label { font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 2px; text-transform: uppercase; color: var(--mu); }
.countdown-bar-track { width: 200px; height: 3px; background: var(--brd); border-radius: 2px; overflow: hidden; }
.countdown-bar { height: 100%; background: var(--t); border-radius: 2px; width: 100%; transition: width 1s linear; }
.countdown-num { font-size: 0.75rem; color: var(--t); font-weight: 500; }
.foot { position: relative; z-index: 1; margin-top: 28px; font-size: 0.72rem; color: var(--mu); text-align: center; line-height: 1.7; }
.foot a { color: var(--t); text-decoration: none; }
.foot a:hover { text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  section { padding: 4rem 1.5rem; }
  #hero { padding: 90px 1.5rem 70px; min-height: auto; }
  .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-note { flex-direction: column; align-items: flex-start; }
  .frow { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .page-hero { padding: 90px 1.5rem 36px; }
  .page-body { padding: 2.5rem 1.5rem; }
  .error-card { padding: 2rem 1.5rem; }
  .card { padding: 36px 28px; }
}
