/* BlueVeld Works: deep blue sky over veld gold */
:root {
  --blue: #0f2a4a;
  --blue-2: #17406e;
  --blue-ink: #0a1d33;
  --sky: #dce8f3;
  --veld: #d9a441;
  --veld-deep: #a8792a;
  --sun: #f4d58d;
  --paper: #f7f3ea;
  --paper-2: #efe8d8;
  --ink: #1b2330;
  --muted: #546072;
  --line: #d8cfbc;
  --white: #fff;

  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Bahnschrift", "DIN Alternate", "Franklin Gothic Medium", "Arial Narrow", var(--font-body);

  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-6: 3rem;
  --space-8: clamp(3.5rem, 8vw, 6.5rem);
  --radius: .75rem;

  --container: 71.25rem;
  --container-wide: 85rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.1; margin: 0 0 var(--space-2); letter-spacing: -.01em; }
p { margin: 0 0 var(--space-2); }
a { color: var(--blue-2); }
:focus-visible { outline: 3px solid var(--veld); outline-offset: 3px; border-radius: 4px; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--blue); color: var(--white); padding: .6rem 1rem; border-radius: 6px; }
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.wrap-wide { width: min(100% - 2rem, var(--container-wide)); margin-inline: auto; }
.section { padding-block: var(--space-8); }
.section-title { font-size: clamp(1.9rem, 4.2vw, 3rem); max-width: 20ch; }
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 600;
  color: var(--veld-deep); margin-bottom: var(--space-1);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .75rem 1.4rem;
  font: 600 1rem/1.2 var(--font-body);
  background: var(--veld); color: var(--blue-ink);
  border: 2px solid var(--veld); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--sun); border-color: var(--sun); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: currentColor; }
.btn-small { min-height: 2.5rem; padding: .45rem 1.1rem; font-size: .95rem; }
.btn-full { width: 100%; }
.text-link { font-weight: 600; color: var(--blue-2); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 42, 74, .96);
  backdrop-filter: blur(8px);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--white); text-decoration: none; }
.brand-mark { width: 2.25rem; height: 2.25rem; }
.brand-mark rect { stroke: rgba(255,255,255,.25); stroke-width: 1; }
.brand-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; letter-spacing: -.01em; margin: 0; }
.brand-name span { font-weight: 400; color: var(--sun); margin-left: .12em; }

.nav-toggle {
  display: none; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 8px;
  background: transparent; color: var(--white); cursor: pointer; position: relative;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 50%; width: 1.4rem; height: 2px; background: currentColor;
  transform: translateX(-50%); transition: transform .2s, opacity .2s;
}
.nav-toggle-bars { top: 50%; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; left: 0; transform: none; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.6rem; }
.site-nav a:not(.btn) { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 500; font-size: .98rem; }
.site-nav a:not(.btn):hover { color: var(--sun); }

@media (max-width: 60rem) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; inset: 100% 0 auto 0;
    background: var(--blue); border-bottom: 1px solid rgba(255,255,255,.1);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1rem 1.25rem; }
  .site-nav li a:not(.btn) { display: block; padding: .85rem .25rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav .btn { margin-top: 1rem; width: 100%; }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(244,213,141,.18), transparent 60%),
    linear-gradient(180deg, var(--blue) 0%, var(--blue-2) 100%);
  color: var(--white);
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(7rem, 12vw, 10rem);
}
.hero-grid { display: grid; gap: var(--space-6); align-items: center; position: relative; z-index: 2; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }
.hero .eyebrow { color: var(--sun); }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); max-width: 16ch; margin-bottom: var(--space-3); }
.hero h1 em { font-style: normal; color: var(--sun); position: relative; white-space: nowrap; }
.hero h1 em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .14em;
  background: var(--veld); border-radius: 2px; opacity: .55; z-index: -1;
}
.lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: rgba(255,255,255,.85); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--space-4); }
.hero-actions .btn-ghost { color: var(--white); }
.hero-meta { margin-top: var(--space-3); font-size: .95rem; color: rgba(255,255,255,.7); }

.veld {
  position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(5rem, 10vw, 8rem); z-index: 1;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 160' preserveAspectRatio='none'%3E%3Cpath d='M0 70 Q240 20 480 60 T960 50 T1440 40 V160 H0Z' fill='%23d9a441'/%3E%3Cpath d='M0 110 Q300 60 620 100 T1440 90 V160 H0Z' fill='%23a8792a'/%3E%3Cpath d='M0 140 Q360 115 760 135 T1440 128 V160 H0Z' fill='%23f7f3ea'/%3E%3C/svg%3E") bottom / 100% 100% no-repeat;
}

/* Phone mock */
.hero-visual { margin: 0; position: relative; justify-self: center; padding: 1rem 0 2rem; }
.phone {
  width: 15.5rem; aspect-ratio: 9 / 18.5; border-radius: 2.2rem; padding: .7rem;
  background: #0b1626; box-shadow: 0 30px 60px rgba(0,0,0,.35), inset 0 0 0 2px rgba(255,255,255,.12);
  position: relative; transform: rotate(-3deg);
}
.phone-notch { position: absolute; top: .9rem; left: 50%; width: 4.5rem; height: 1rem; border-radius: 1rem; background: #0b1626; transform: translateX(-50%); z-index: 2; }
.phone-screen {
  height: 100%; border-radius: 1.6rem; overflow: hidden; background: var(--paper);
  display: flex; flex-direction: column; position: relative;
}
.mock-nav { display: flex; justify-content: space-between; align-items: center; padding: 2rem .9rem .6rem; background: #24323f; }
.mock-logo { width: 3.5rem; height: .7rem; border-radius: 3px; background: #7fb08a; }
.mock-burger { width: 1rem; height: .7rem; border-top: 2px solid #fff; border-bottom: 2px solid #fff; position: relative; }
.mock-hero { background: #24323f; padding: .4rem .9rem 1rem; display: grid; gap: .4rem; }
.mock-line { display: block; height: .7rem; border-radius: 3px; background: rgba(255,255,255,.9); }
.mock-line.thin { height: .38rem; background: rgba(255,255,255,.45); }
.mock-rows .mock-line.thin { background: #c9c2b2; }
.w90 { width: 90%; } .w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; }
.mock-cta { justify-self: start; margin-top: .3rem; font: 700 .6rem/1 var(--font-body); color: #24323f; background: #7fb08a; padding: .45rem .7rem; border-radius: 999px; }
.mock-photo {
  margin: .8rem .9rem .5rem; height: 6.5rem; border-radius: .6rem;
  background:
    linear-gradient(180deg, transparent 55%, #6d9a5b 55%, #4f7a43 100%),
    linear-gradient(180deg, #a9cbe3, #d8e8f2);
}
.mock-rows { padding: 0 .9rem; display: grid; gap: .4rem; }
.mock-bar { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; }
.mock-bar span { font: 700 .7rem/1 var(--font-body); text-align: center; padding: .85rem 0 1rem; color: #fff; }
.mock-call { background: #24323f; }
.mock-wa { background: #25a35a; }

.tag {
  position: absolute; white-space: nowrap;
  background: var(--white); color: var(--blue-ink);
  font: 600 .8rem/1.2 var(--font-body);
  padding: .5rem .8rem; border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
}
.tag::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--veld); margin-right: .45rem; vertical-align: .05em; }
.tag-1 { top: 12%; left: -40%; }
.tag-2 { bottom: 16%; right: -18%; }
.tag-3 { top: 48%; left: -50%; }
@media (max-width: 40rem) {
  .phone { width: 13rem; }
  .tag-1 { left: -15%; top: 4%; }
  .tag-2 { right: -18%; }
  .tag-3 { display: none; }
}

/* Principles */
.principles { padding-top: clamp(3rem, 6vw, 5rem); }
.principle-list { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: 0; }
.principle-list li {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-3);
  padding: var(--space-4) 0; border-top: 1px solid var(--line);
}
.principle-list li:last-child { border-bottom: 1px solid var(--line); }
.principle-list .num { font: 700 clamp(2rem, 5vw, 3.2rem)/1 var(--font-heading); color: var(--veld); min-width: 3.5ch; }
.principle-list h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.principle-list p { color: var(--muted); max-width: 52ch; margin: 0; }
@media (min-width: 52rem) {
  .principle-list li { grid-template-columns: 8rem 1fr 1.2fr; align-items: baseline; }
  .principle-list li > div { display: contents; }
  .principle-list h3 { margin: 0; }
}

/* Included */
.included { background: var(--paper-2); }
.split { display: grid; gap: var(--space-6); }
@media (min-width: 60rem) { .split { grid-template-columns: .9fr 1.1fr; gap: 5rem; } .split-intro { position: sticky; top: 7rem; align-self: start; } }
.split-intro p { color: var(--muted); }
.honest {
  margin-top: var(--space-4); padding: var(--space-3); border-left: 4px solid var(--veld);
  background: var(--white); color: var(--ink) !important; border-radius: 0 var(--radius) var(--radius) 0;
}
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
@media (min-width: 40rem) { .feature-list { grid-template-columns: 1fr 1fr; column-gap: var(--space-4); } }
.feature-list li { padding: var(--space-3) 0; border-top: 2px solid var(--blue); }
.feature-list h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.feature-list p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Work */
.work-head { max-width: var(--container); margin-bottom: var(--space-6); }
.work-head p:not(.eyebrow) { color: var(--muted); }
.work-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
@media (min-width: 48rem) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 75rem) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work-item a { display: block; color: inherit; text-decoration: none; }
.browser {
  border-radius: var(--radius); overflow: hidden; background: var(--white);
  box-shadow: 0 1px 0 var(--line), 0 18px 40px rgba(15,42,74,.12);
  transition: transform .2s, box-shadow .2s;
}
.work-item a:hover .browser { transform: translateY(-4px); box-shadow: 0 1px 0 var(--line), 0 26px 50px rgba(15,42,74,.18); }
.browser-bar { display: flex; align-items: center; gap: .35rem; padding: .55rem .75rem; background: var(--paper-2); }
.browser-bar i { width: .55rem; height: .55rem; border-radius: 50%; background: var(--line); }
.browser-bar span { margin-left: .5rem; font-size: .75rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.browser-fallback {
  aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 1rem; text-align: center;
  background: linear-gradient(160deg, var(--blue), var(--blue-2)); color: var(--white);
  font: 700 1.4rem/1.2 var(--font-heading);
}
.work-meta { padding-top: var(--space-2); }
.work-meta h3 { font-size: 1.25rem; margin-bottom: .2rem; }
.work-meta p { color: var(--muted); margin: 0; font-size: .95rem; }
.work-meta .visit { display: inline-block; margin-top: .5rem; color: var(--blue-2); font-weight: 600; }

/* Pricing */
.pricing { background: var(--blue); color: var(--white); }
.pricing .eyebrow { color: var(--sun); }
.pricing-head p:not(.eyebrow) { color: rgba(255,255,255,.8); max-width: 44rem; }
.plans { display: grid; gap: var(--space-3); margin-top: var(--space-6); }
@media (min-width: 48rem) { .plans { grid-template-columns: 1fr 1fr; gap: var(--space-4); } }
.plan {
  display: flex; flex-direction: column;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.16);
  border-radius: calc(var(--radius) * 1.5); padding: clamp(1.5rem, 3vw, 2.5rem);
}
.plan-feature { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.plan-label { font: 600 .8rem/1 var(--font-heading); text-transform: uppercase; letter-spacing: .14em; color: var(--sun); }
.plan-feature .plan-label { color: var(--veld-deep); }
.plan h3 { font-size: 1.6rem; }
.plan-price { margin: var(--space-2) 0 .25rem; display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.plan-price .amt { font: 700 clamp(2.6rem, 6vw, 3.6rem)/1 var(--font-heading); letter-spacing: -.02em; }
.plan-price .per { font-size: 1.05rem; opacity: .75; }
.plan-then { font-size: 1.15rem; }
.plan-then strong { color: var(--sun); }
.plan-feature .plan-then strong { color: var(--blue-2); }
.plan-for { opacity: .8; }
.plan-math { margin: var(--space-2) 0 var(--space-4); padding: 0; border-top: 1px solid rgba(255,255,255,.16); }
.plan-feature .plan-math { border-color: var(--line); }
.plan-math div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.plan-feature .plan-math div { border-color: var(--line); }
.plan-math dt { opacity: .8; }
.plan-math dd { margin: 0; font-weight: 700; }
.plan .btn { margin-top: auto; }
.plan:not(.plan-feature) .btn-ghost { color: var(--white); }
.fine { margin-top: var(--space-3); font-size: .9rem; color: rgba(255,255,255,.7); }

/* Custom development */
.btn-dark { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn-dark:hover { background: var(--blue-2); border-color: var(--blue-2); }
.custom-quote {
  margin: var(--space-4) 0; padding: var(--space-3);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
}
.custom-quote h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.custom-quote p { margin: 0; color: var(--muted); }
.custom-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.custom-list li {
  padding: var(--space-3) var(--space-3) var(--space-3) calc(var(--space-3) + 4px);
  background: var(--blue-ink); color: var(--white); border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.custom-list li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--veld); }
.custom-list code {
  display: inline-block; margin-bottom: .6rem;
  font: 600 .85rem/1 ui-monospace, "Cascadia Code", Consolas, Menlo, monospace;
  color: var(--sun); background: rgba(244,213,141,.1); padding: .3rem .5rem; border-radius: 4px;
}
.custom-list h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.custom-list p { margin: 0; color: rgba(255,255,255,.75); font-size: 1rem; }
.hero-more { font-size: .95rem; color: rgba(255,255,255,.7); margin-top: -.5rem; }
.hero-more a { color: var(--sun); font-weight: 600; text-underline-offset: 3px; }

/* Process */
.steps { list-style: none; margin: var(--space-6) 0 0; padding: 0; display: grid; gap: var(--space-4); counter-reset: step; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; position: relative; padding-top: 3.25rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: var(--sun); font: 700 1.1rem/1 var(--font-heading);
}
@media (min-width: 64rem) {
  .steps li::after { content: ""; position: absolute; top: 1.2rem; left: 3rem; right: -1rem; height: 2px; background: var(--line); }
  .steps li:last-child::after { display: none; }
}
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); margin: 0; font-size: 1rem; }

/* About */
.about { background: var(--paper-2); }
.about-grid { display: grid; gap: var(--space-6); align-items: center; }
@media (min-width: 52rem) { .about-grid { grid-template-columns: 18rem 1fr; gap: 5rem; } }
.about-mark { max-width: 14rem; }
@media (min-width: 52rem) { .about-mark { max-width: none; } }
.about-mark svg { border-radius: 28px; box-shadow: 0 24px 50px rgba(15,42,74,.2); }
.about p:not(.eyebrow) { max-width: 40rem; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; gap: var(--space-6); }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; } }
.contact-intro p:not(.eyebrow) { color: var(--muted); }
.email-big {
  display: inline-block; margin-top: var(--space-2);
  font: 700 clamp(1.25rem, 3.4vw, 2rem)/1.2 var(--font-heading);
  color: var(--blue); text-decoration: none; word-break: break-word;
  border-bottom: 3px solid var(--veld); padding-bottom: .15rem;
}
.email-big:hover { color: var(--blue-2); border-color: var(--sun); }
.copy-btn {
  display: block; margin-top: var(--space-2); padding: .5rem 0; border: 0; background: none;
  font: 600 .95rem var(--font-body); color: var(--blue-2); cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.copy-status { min-height: 1.5rem; font-size: .9rem; color: var(--veld-deep) !important; }

.enquiry {
  background: var(--white); border: 1px solid var(--line); border-radius: calc(var(--radius) * 1.5);
  padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 20px 50px rgba(15,42,74,.08);
}
.form-note { font-size: .92rem; color: var(--muted); background: var(--paper); padding: .75rem 1rem; border-radius: 8px; }
.field { margin-bottom: var(--space-3); }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .75rem .9rem; border: 1.5px solid #bfb5a0; border-radius: 8px; background: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--veld); outline-offset: 1px; border-color: var(--blue); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.form-error { color: #b3261e; font-weight: 600; }

/* Footer */
.site-footer { background: var(--blue-ink); color: rgba(255,255,255,.75); padding-block: var(--space-6); font-size: .95rem; }
.footer-row { display: grid; gap: .5rem; }
@media (min-width: 52rem) { .footer-row { grid-template-columns: auto 1fr auto auto; align-items: center; gap: 2rem; } }
.footer-row p { margin: 0; }
.footer-brand { color: var(--white); }
.site-footer a { color: var(--sun); }
