/* ==========================================================
   Spider Web Designers - style.css
   Edit the colours and fonts in :root to restyle the site.
   ========================================================== */
:root {
  --navy-deep: #0B1F3A;
  --navy: #102B4E;
  --blue: #76B7F7;
  --pale: #EAF4FF;
  --white: #FFFFFF;
  --bg: #F5F7FA;
  --text: #172538;
  --muted: #5B6878;
  --line: #D8E0EA;
  --line-dark: rgba(255,255,255,.18);
  --font: "Schibsted Grotesk", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --max: 1120px;
  --pad: 1.25rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6; color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.12; margin: 0; letter-spacing: -.015em; color: var(--navy-deep); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.on-dark :focus-visible, .site-header :focus-visible { outline-color: var(--blue); }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: var(--navy-deep); padding: .6rem 1rem; z-index: 100; font-weight: 600; }
.skip:focus { left: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Wordmark ---------- */
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--white); line-height: 1; }
.wm-top { font-weight: 800; font-size: 1.15rem; letter-spacing: .07em; }
.wm-bottom { font-weight: 500; font-size: .68rem; letter-spacing: .78em; margin-right: -.78em; color: var(--blue); margin-top: .38rem; }
.wordmark.large .wm-top { font-size: 1.6rem; }
.wordmark.large .wm-bottom { font-size: .96rem; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 600; font-size: 1rem; padding: .85rem 1.4rem; border-radius: 4px; text-decoration: none; border: 2px solid transparent; cursor: pointer; min-height: 48px; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--blue); color: var(--navy-deep); }
.btn-primary:hover { background: #9ccbfa; }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-outline { color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--pale); }
.btn-sm { padding: .55rem 1rem; min-height: 42px; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy-deep); border-bottom: 1px solid var(--line-dark); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; gap: 1rem; }
.menu-toggle { display: none; font: inherit; font-weight: 600; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.4); border-radius: 4px; padding: .5rem .9rem; min-height: 44px; cursor: pointer; }
.js .menu-toggle { display: inline-block; }
.nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; align-items: center; }
.nav a { color: #D6E4F5; text-decoration: none; font-weight: 500; padding: .5rem 0; }
.nav a:hover { color: var(--white); }
.nav .btn { color: var(--navy-deep); padding: .55rem 1rem; min-height: 42px; }
@media (max-width: 859px) {
  .header-row { flex-wrap: wrap; padding-top: .6rem; padding-bottom: .6rem; }
  .nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: .6rem; }
  .js .nav { display: none; }
  .js .nav.open { display: flex; }
  .nav a { padding: .8rem 0; border-top: 1px solid var(--line-dark); }
  .nav .btn { margin-top: .6rem; border-top: 0; text-align: center; }
}
@media (min-width: 860px) { .js .menu-toggle { display: none; } }

/* ---------- Hero ---------- */
.hero { background: var(--navy-deep); color: var(--white); padding: 3.5rem 0 4rem; }
.hero-grid { display: grid; gap: 2.5rem; }
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; max-width: 15ch; }
.hero-text { margin-top: 1.4rem; font-size: 1.15rem; color: #D6E4F5; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.picker { margin-top: 2rem; max-width: 34rem; }
.picker-label { font-size: .95rem; color: #AFC3DC; margin-bottom: .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font: inherit; font-size: .95rem; font-weight: 500; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: .4rem 1rem; min-height: 40px; cursor: pointer; }
.chip:hover { border-color: var(--white); }
.chip[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: var(--navy-deep); font-weight: 600; }
.picker-preview { margin-top: .9rem; font-size: .95rem; color: #AFC3DC; border-left: 3px solid var(--blue); padding-left: .8rem; }
.expect { border-top: 1px solid var(--line-dark); padding-top: 1.5rem; align-self: end; }
.expect h2 { color: var(--white); font-size: 1.15rem; font-weight: 600; letter-spacing: 0; }
.expect ul { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 1rem; }
.expect li { color: #D6E4F5; padding-left: 1rem; border-left: 2px solid var(--blue); font-size: 1rem; }
.expect li strong { display: block; color: var(--white); font-weight: 600; }
@media (min-width: 900px) {
  .hero { padding: 5.5rem 0 6rem; }
  .hero-grid { grid-template-columns: 1.55fr 1fr; gap: 4rem; align-items: end; }
  .expect { border-top: 0; border-left: 1px solid var(--line-dark); padding: 0 0 0 2rem; }
}

/* ---------- Sections ---------- */
.section { padding: 4rem 0; }
.section.alt { background: var(--bg); }
.section.dark { background: var(--navy); color: #D6E4F5; }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section-head { max-width: 40rem; margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.9rem, 5vw, 2.75rem); font-weight: 700; }
.section-head p { margin-top: 1rem; color: var(--muted); font-size: 1.1rem; }
.section.dark .section-head p { color: #B9CBE2; }
@media (min-width: 900px) { .section { padding: 6rem 0; } }

/* ---------- Services (rows, not cards) ---------- */
.service { display: grid; gap: 1rem; padding: 2rem 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service h3 { font-size: 1.45rem; font-weight: 700; }
.service .problem { margin-top: .6rem; color: var(--muted); }
.service .get-label { font-weight: 600; color: var(--navy-deep); font-size: .95rem; margin-bottom: .3rem; }
.service .link { display: inline-block; margin-top: 1rem; font-weight: 600; }
.service .note { margin-top: .6rem; font-size: .95rem; color: var(--muted); }
@media (min-width: 860px) {
  .service { grid-template-columns: 1fr 1.25fr; gap: 3.5rem; padding: 2.5rem 0; }
}

/* ---------- Approach ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.6rem 1fr; gap: .5rem; padding: 1.4rem 0; border-top: 1px solid var(--line-dark); }
.steps li::before { content: counter(step); font-size: 1.6rem; font-weight: 700; color: var(--blue); line-height: 1.1; }
.steps h3 { font-size: 1.2rem; font-weight: 600; }
.steps p { margin-top: .35rem; color: #B9CBE2; }
.approach-note { margin-top: 1.5rem; color: #B9CBE2; max-width: 40rem; }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
  .steps li { grid-template-columns: 1fr; padding: 1.2rem 0 0; }
}

/* ---------- Work ---------- */
.demo { border: 1px solid var(--line); background: var(--white); border-radius: 4px; }
.demo-top { padding: 1.5rem; border-bottom: 1px solid var(--line); background: var(--pale); }
.demo-tag { display: inline-block; font-size: .9rem; font-weight: 600; color: var(--navy-deep); border: 1px solid var(--navy); border-radius: 999px; padding: .15rem .75rem; margin-bottom: .8rem; background: var(--white); }
.demo-top h3 { font-size: 1.6rem; font-weight: 700; }
.demo-top p { margin-top: .6rem; max-width: 42rem; color: var(--text); }
.demo-parts { display: grid; }
.demo-part { padding: 1.5rem; border-top: 1px solid var(--line); }
.demo-part:first-child { border-top: 0; }
.demo-part h4 { margin: 0 0 .4rem; font-size: 1.05rem; color: var(--navy-deep); }
.demo-part p { color: var(--muted); font-size: 1rem; }
.demo-foot { padding: 1.25rem 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.demo-foot p { color: var(--muted); font-size: .95rem; max-width: 38rem; }
@media (min-width: 860px) {
  .demo-parts { grid-template-columns: repeat(3, 1fr); }
  .demo-part { border-top: 0; border-left: 1px solid var(--line); }
  .demo-part:first-child { border-left: 0; }
}

/* ---------- About ---------- */
.about-grid { display: grid; gap: 2.5rem; }
.founder { margin: 0; }
.founder img { width: 100%; height: auto; aspect-ratio: 649 / 714; object-fit: cover; border-radius: 4px; background: var(--pale); }
.founder figcaption { margin-top: .8rem; font-size: .95rem; color: var(--muted); }
.founder figcaption strong { display: block; color: var(--navy-deep); font-size: 1.05rem; }
.about-body h2 { font-size: clamp(1.9rem, 5vw, 2.75rem); font-weight: 700; }
.quote { margin: 1.5rem 0 0; padding: 0 0 0 1.2rem; border-left: 4px solid var(--blue); font-size: 1.25rem; line-height: 1.5; color: var(--navy-deep); font-weight: 500; }
.about-body p.lead { margin-top: 1.5rem; color: var(--muted); }
.commit { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1rem; }
.commit li { padding-top: 1rem; border-top: 1px solid var(--line); }
.commit strong { display: block; color: var(--navy-deep); }
.commit span { color: var(--muted); }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; }
  .founder { position: sticky; top: 6rem; }
}

/* ---------- Pricing ---------- */
.price-list { border-top: 1px solid var(--line); }
.price { display: grid; gap: .6rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.price h3 { font-size: 1.35rem; font-weight: 700; }
.price .amount { font-size: 1.6rem; font-weight: 700; color: var(--navy-deep); letter-spacing: -.01em; }
.price p { color: var(--muted); }
.price .maint { font-size: .95rem; margin-top: .25rem; color: var(--text); }
.price-note { margin-top: 1.75rem; padding: 1.25rem; background: var(--pale); border-radius: 4px; max-width: 46rem; }
.price-note p + p { margin-top: .6rem; }
@media (min-width: 860px) {
  .price { grid-template-columns: 1fr 1.1fr 1.2fr; gap: 2.5rem; align-items: start; }
}

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2rem 1.15rem 0; font-weight: 600; font-size: 1.1rem; color: var(--navy-deep); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: 1rem; font-size: 1.5rem; font-weight: 400; color: var(--navy); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 2rem 1.25rem 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { background: var(--navy-deep); color: #D6E4F5; padding: 4rem 0; }
.contact h2 { color: var(--white); font-size: clamp(1.9rem, 5vw, 2.75rem); font-weight: 700; }
.contact-grid { display: grid; gap: 2.5rem; }
.contact p.lead { margin-top: 1rem; max-width: 34rem; font-size: 1.1rem; }
.contact-main { margin-top: 1.75rem; }
.details { margin: 2rem 0 0; display: grid; gap: .9rem; }
.details dt { font-size: .9rem; color: #AFC3DC; }
.details dd { margin: 0; color: var(--white); font-weight: 600; font-size: 1.1rem; }
.enquiry-list { border-top: 1px solid var(--line-dark); }
.enquiry-list h3 { color: var(--white); font-size: 1.15rem; font-weight: 600; padding: 1.25rem 0 .5rem; letter-spacing: 0; }
.enquiry-list a { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 0; color: var(--white); text-decoration: none; border-top: 1px solid var(--line-dark); font-weight: 500; min-height: 56px; }
.enquiry-list a span { color: var(--blue); font-size: .9rem; font-weight: 600; white-space: nowrap; }
.enquiry-list a:hover { color: var(--blue); }
@media (min-width: 900px) {
  .contact { padding: 6rem 0; }
  .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 5rem; align-items: start; }
  .enquiry-list { border-top: 0; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #AFC3DC; padding: 2.5rem 0 2rem; border-top: 1px solid var(--line-dark); font-size: .95rem; }
.footer-grid { display: grid; gap: 2rem; }
.site-footer p { max-width: 24rem; margin-top: 1rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-footer a { color: #D6E4F5; }
.site-footer a:hover { color: var(--white); }
.copyright { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line-dark); font-size: .9rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }

/* Single page-load moment: the headline settles in once */
@keyframes settle { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero h1 { animation: settle .7s ease-out both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Improvements ---------- */
.fixes .service { padding: 1.5rem 0; }
.fixes .service h3 { font-size: 1.2rem; }
.types-head { margin-top: 4rem; }
.types { display: grid; gap: 0; border-top: 1px solid var(--line); }
.type { padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.type h3 { font-size: 1.2rem; font-weight: 700; }
.type p { margin-top: .4rem; color: var(--muted); }
.types-cta { margin-top: 2rem; }
@media (min-width: 860px) {
  .types { grid-template-columns: 1fr 1fr; column-gap: 3.5rem; }
}
