/* ==========================================================================
   Ezeeland Business Solutions
   Plain corporate. Two offers, side by side, all the way down the page.
   Blue is the accent: rules, ticks, links and buttons. Nothing decorative.
   ========================================================================== */

:root {
  /* The page sits on warm stone. Cards and panels are white and lift off it. */
  --page:    #F5F2ED;
  --paper:   #FFFFFF;
  --paper-2: #EBE7E0;
  --paper-3: #DED9D1;
  --ink:     #12212E;
  --ink-2:   #1C3245;
  --muted:   #4E6072;
  --muted-on-dark: #A7BACC;

  --accent:      #1B6CB4;
  --accent-deep: #14528A;
  --accent-soft: #E6F0F8;

  --warm:      #C07A16;
  --warm-soft: #FBF2E2;

  --line:        rgba(18, 33, 46, 0.14);
  --line-strong: rgba(18, 33, 46, 0.28);
  --line-on-dark: rgba(255, 255, 255, 0.16);

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(1.5rem, 5vw, 4rem);
  --max: 76rem;
  --radius: 6px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.0625rem);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 100;
  font-family: var(--mono);
  font-size: 0.75rem;
}
.skip:focus { left: 0; }

/* ----------------------------------------------------------- typography -- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5.2vw, 3.75rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.1875rem, 1.5vw, 1.4375rem); }
h4 { font-size: 1.0625rem; }

p { margin: 0 0 1.1em; max-width: 40rem; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.0625rem, 0.7vw + 0.95rem, 1.3125rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 38rem;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 1.1rem;
}

.note {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Unresolved item. Highlighted so nothing accidental goes live. */
.tbc {
  background: var(--warm-soft);
  border-bottom: 2px solid var(--warm);
  padding: 0 0.15em;
  color: #6B4406;
}

/* -------------------------------------------------------------- layout -- */

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

section { padding-block: clamp(3.5rem, 7vw, 6rem); }

.band { background: var(--paper-2); }
.band + .band { padding-top: 0; }

.dark {
  background: var(--ink);
  color: #fff;
}
.dark h2, .dark h3 { color: #fff; }
.dark p { color: var(--muted-on-dark); }
.dark .eyebrow { color: #7FB2E0; }
.dark .lede { color: #DDE7F0; }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.head { max-width: 46rem; margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.head p { color: var(--muted); }
.dark .head p { color: var(--muted-on-dark); }

/* Wide screens: heading left, supporting line right, bottoms aligned.
   Stops every section from being a left-hugging block with dead space beside it. */
@media (min-width: 62rem) {
  .head {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: end;
  }
  .head > .eyebrow { grid-column: 1 / -1; }
  .head > h2 { grid-column: 1; margin-bottom: 0; }
  .head > p { grid-column: 2; max-width: none; margin-bottom: 0.3rem; }
}

/* ------------------------------------------------------------ masthead -- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 242, 237, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.25rem;
}

.wordmark {
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  line-height: 1;
  display: flex;
  align-items: baseline;
}
.wordmark .ez { color: var(--accent); }
.wordmark .land { color: var(--ink); }
.wordmark .co {
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 0.6rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.6vw, 1.5rem);
  font-size: 0.875rem;
}
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--accent); }

/* ------------------------------------------------------------- buttons -- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }

.nav .btn { padding: 0.85rem 1rem; font-size: 0.875rem; min-height: 44px; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--paper); border-color: var(--ink); color: var(--ink); }

.dark .btn-ghost { color: #fff; border-color: var(--line-on-dark); }
.dark .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; color: #fff; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--accent);
  text-decoration: none;
}
.arrow:hover { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- hero -- */

.hero { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); }

.hero-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 62rem) {
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: stretch; }
  .hero-shot { align-self: stretch; }
  .hero-shot img { aspect-ratio: auto; min-height: 100%; max-height: 34rem; object-position: 60% center; }
}

.hero h1 { margin-bottom: 1rem; }

.hero-shot {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-3);
}
.hero-shot img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }

.trust {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--muted);
  letter-spacing: 0.01em;
  max-width: 34rem;
}

/* ---------------------------------------------------- the two big cards -- */

.duo {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
@media (min-width: 48rem) {
  .duo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.offer {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.6vw, 2.25rem);
}
.band .offer { background: var(--paper); }

.offer .num {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.9rem;
  display: block;
}

.offer h3 { margin-bottom: 0.65rem; }

.offer > p { color: var(--ink-2); }

.offer figure { margin: 0 0 1.4rem; }
.offer figure img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--paper-3);
}

.offer .arrow { margin-top: auto; padding-top: 1.4rem; }

/* Both offer cards share row heights, so the picture, the heading, the intro,
   the bullets and the link line up across the pair whatever the copy does. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 48rem) {
    .duo { grid-template-rows: auto auto auto auto 1fr auto; }
    .offer { display: grid; grid-row: span 6; grid-template-rows: subgrid; }
    .offer .arrow { margin-top: 0; align-self: end; }
  }
}

/* The client cards stretch to a shared height on their own. Their pictures are a
   fixed shape and their headings are the same depth, so tag, heading and copy
   already start on the same line. */

/* ---------------------------------------------------------------- list -- */

.ticks {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}
.ticks li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-2);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 2px;
  background: var(--accent);
}
.ticks li b { font-weight: 600; color: var(--ink); }

.crosses li::before { background: var(--line-strong); }

.dark .ticks li { color: var(--muted-on-dark); }
.dark .ticks li b { color: #fff; }
.dark .ticks li::before { background: #4E9BDC; }

/* --------------------------------------------------------------- cards -- */

.cards {
  display: grid;
  gap: clamp(1.25rem, 2.4vw, 1.75rem);
}
@media (min-width: 48rem) { .cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--paper-3);
}
.card-body { padding: clamp(1.25rem, 2vw, 1.6rem); }
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.9375rem; color: var(--muted); }
.card .tag {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: block;
  margin-bottom: 0.6rem;
}

/* --------------------------------------------------- plain point blocks -- */

.points {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 3.5rem);
}
@media (min-width: 48rem) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 62rem) { .points.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.point h3 {
  font-family: var(--display);
  font-size: 1.0625rem;
  margin-bottom: 0.35rem;
}
.point p { font-size: 0.9375rem; color: var(--muted); max-width: none; }
.dark .point p { color: var(--muted-on-dark); }

/* --------------------------------------------------------------- steps -- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  counter-reset: step;
}
@media (min-width: 62rem) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.steps li {
  counter-increment: step;
  border-top: 3px solid var(--accent);
  padding-top: 1.1rem;
}
.steps li::before {
  content: "Step " counter(step);
  display: block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.6rem;
}
.steps h3 { margin-bottom: 0.4rem; }
.steps p { font-size: 0.9375rem; color: var(--muted); }
.steps .out {
  margin-top: 0.8rem;
  font-size: 0.875rem;
  color: var(--ink-2);
  border-left: 2px solid var(--line-strong);
  padding-left: 0.8rem;
}

/* ------------------------------------------------------------- feature -- */

.feature {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
@media (min-width: 62rem) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .feature.flip .feature-shot { order: -1; }
  .feature-shot { align-self: stretch; }
  .feature-shot img { aspect-ratio: auto; height: 100%; min-height: 22rem; }
}
.feature-shot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--paper-3);
  border: 1px solid var(--line);
}
.dark .feature-shot img { border-color: var(--line-on-dark); }

/* ----------------------------------------------------------- quote/pull -- */

.pull {
  border-left: 3px solid var(--accent);
  padding-left: clamp(1rem, 2vw, 1.75rem);
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 62rem) {
  .pull {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    column-gap: clamp(2.5rem, 5vw, 4.5rem);
    align-items: end;
  }
  .pull > .credit { margin-top: 0; padding-bottom: 0.35rem; }
}
.pull > p { max-width: none; margin-bottom: 0; }
.pull p {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.1875rem, 1.8vw, 1.5rem);
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.dark .pull p { color: #fff; }
.pull .credit {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 0.9rem;
  font-weight: 400;
}

/* ----------------------------------------------------------------- fit -- */

.fit {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 48rem) { .fit { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: start; } }

.fit-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  background: var(--paper);
}
.fit-block.no { background: var(--paper-2); }

/* ----------------------------------------------------------------- faq -- */

/* Head on the left, content on the right. Used by the FAQ and the closing call. */
.split { display: grid; gap: clamp(2rem, 4vw, 2.75rem); }
@media (min-width: 62rem) {
  .split {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    column-gap: clamp(3rem, 6vw, 5rem);
    align-items: start;
  }
  .split > .head {
    display: block;
    max-width: none;
    margin-bottom: 0;
    position: sticky;
    top: 6rem;
  }
  .split > .head > h2 { max-width: 14ch; margin-bottom: 0.6em; }
  .split > .head > p { max-width: 26rem; }
}

.faq { max-width: none; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}
.faq details:first-of-type { border-top: 1px solid var(--line); }

.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-weight: 400;
  color: var(--accent);
  flex: none;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p {
  margin-top: 0.8rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* ---------------------------------------------------------------- cta -- */

.cta .lede { max-width: none; }
.cta .btn-row { margin-top: 2rem; }

.contact-card {
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.6vw, 2rem);
  display: grid;
  gap: 1.4rem;
  align-content: start;
}
.contact-card h3 { font-size: 1.0625rem; margin-bottom: 0.35rem; }
.contact-card dl { margin: 0; display: grid; gap: 1.1rem; }
.contact-card dt {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7FB2E0;
  margin-bottom: 0.3rem;
}
.contact-card dd { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: #DDE7F0; }
.contact-card dd a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* -------------------------------------------------------------- footer -- */

.foot {
  background: var(--ink);
  color: var(--muted-on-dark);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  font-size: 0.875rem;
}
.foot .wrap { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) {
  .foot .wrap { grid-template-columns: 1.4fr 1fr; align-items: start; }
}
.foot a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid var(--line-on-dark);
  display: inline-block;
  padding-block: 0.35rem;
}
.foot a:hover { border-bottom-color: #fff; }
.foot .wordmark { border-bottom: 0; }
.foot .legal { font-family: var(--mono); font-size: 0.6875rem; line-height: 1.9; letter-spacing: 0.02em; }
.foot .wordmark .land { color: #fff; }
.foot .wordmark { margin-bottom: 1rem; }

/* ------------------------------------------------------------- reveals -- */

/* Only hide the reveal targets when JavaScript is actually running. If app.js
   fails to load, the inline class swap never happens and everything stays visible. */
.js .rise {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js .rise.seen { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise { opacity: 1; transform: none; transition: none; }
}

/* -------------------------------------------------------------- small -- */

@media (max-width: 44rem) {
  .hide-sm { display: none; }
}

/* --------------------------------------------------------------- prose -- */
/* Long-form legal pages. */

.prose { max-width: 42rem; }
.prose h2 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.prose h2:first-of-type { margin-top: 2rem; }
.prose ul { margin: 0 0 1.1em; padding-left: 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.prose a { color: var(--accent); }

.fine {
  font-family: var(--mono);
  font-size: 0.75rem;
  line-height: 1.8;
  color: var(--muted);
  letter-spacing: 0.01em;
}

/* Legal-page footer (privacy.html) */
.foot-top {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line-on-dark);
}
@media (min-width: 48rem) {
  .foot-top { grid-template-columns: 1.4fr 1fr; align-items: start; }
}
.foot-top nav { display: grid; gap: 0.6rem; align-content: start; }
.foot-top nav a { justify-self: start; }
.reg { font-family: var(--mono); font-size: 0.6875rem; line-height: 1.9; color: var(--muted-on-dark); }
.reg b { color: #fff; font-weight: 500; }
.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
}
.foot .foot-top + .foot-base { margin-top: 0; }

/* Small screens: keep the masthead on one line. */
.nav .btn { white-space: nowrap; }
@media (max-width: 32rem) {
  .masthead .wordmark .co { display: none; }
  .masthead .wrap { gap: 0.75rem; }
}

/* --------------------------------------------------------------- scale -- */
/* The proof that the outsourcing half is real: people, regions, one contract. */

.scale-band { background: var(--page); border-top: 1px solid var(--line); }

.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 62rem) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.stats li {
  border-top: 3px solid var(--accent);
  padding-top: 1.1rem;
}
.stats b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.stats span {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 22rem;
}
