/* ==========================================================================
   Birchwell Home Cleaning - module demo stylesheet

   A new identity, chosen to share nothing with the other demos, the sample
   sites or MareCraftAI's own site:

   | Feel    | Crisp and bright, a company you would let into your home      |
   | Value   | Light-dominant, cool white rather than cream                  |
   | Display | Bricolage Grotesque, sentence case, tight tracking            |
   | Text    | Hanken Grotesk                                                |
   | Accent  | One cobalt, #2743C4. Hue 229, well away from MareCraftAI's    |
   |         | teal (184), Rivergate's sage (158) and Northline's orange     |
   | Shape   | 12px on everything, cards and buttons alike                   |

   Type is self-hosted from /assets. Theme is locked light, like the samples.
   Contrast: ink on paper 17.2:1, muted on paper 5.9:1, white on cobalt
   7.8:1, cobalt on paper 7.3:1.
   ========================================================================== */

@font-face{ font-family: "Bricolage Grotesque"; src: url("/assets/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face{ font-family: "Hanken Grotesk"; src: url("/assets/hanken-grotesk.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root{
  --paper: #F6F7F9;
  --surface: #FFFFFF;
  --surface-2: #EDF0F6;
  --line: #D6DBE5;
  --line-strong: #B4BCCB;
  --ink: #14171D;
  --body-ink: #3A404C;
  --muted: #586070;
  --cobalt: #2743C4;
  --cobalt-deep: #1E36A3;
  --cobalt-wash: #E6EBFB;

  --display: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
  --text: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --r: 12px;
  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4.5vw, 3rem);

  --k-font: var(--text);
  --k-ink: var(--ink);
  --k-muted: var(--muted);
  --k-bg: var(--paper);
  --k-surface: var(--surface);
  --k-surface-2: var(--surface-2);
  --k-line: var(--line-strong);
  --k-accent: var(--cobalt);
  --k-accent-ink: #FFFFFF;
  --k-radius: var(--r);
  --k-radius-control: var(--r);

  color-scheme: light;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ -webkit-text-size-adjust: 100%; }
body{
  margin: 0;
  background: var(--paper);
  color: var(--body-ink);
  font: 400 clamp(1rem, .97rem + .16vw, 1.0625rem)/1.65 var(--text);
  overflow-x: hidden;
}
a{ color: inherit; }
::selection{ background: var(--cobalt-wash); color: var(--ink); }
:focus-visible{ outline: 3px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }

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

.skip-link{
  position: absolute; left: -9999px; top: 0; z-index: 10;
  display: inline-flex; align-items: center; min-height: 44px;
  background: var(--cobalt); color: #FFFFFF;
  padding: .75rem 1.25rem; border-radius: 0 0 var(--r) 0;
  font: 600 1rem/1 var(--text);
}
.skip-link:focus{ left: 0; }

h1, h2, h3{
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.02;
  color: var(--ink);
  text-wrap: balance;
}

/* --- banner and masthead -------------------------------------------------- */

.demo-banner{ background: var(--ink); color: #D5DAE4; font-size: .875rem; }
.demo-banner__inner{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.5rem; padding-block: .7rem; }
.demo-banner p{ margin: 0; max-width: 92ch; line-height: 1.55; }
.demo-banner strong{ color: #FFFFFF; }
.demo-banner a,
.foot a{ display: inline-flex; align-items: center; min-height: 24px; }
.demo-banner a{ color: #FFFFFF; font-weight: 600; white-space: nowrap; }

.masthead{ background: var(--surface); border-bottom: 1px solid var(--line); }
.masthead__inner{ display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 70px; }
.mark{ display: inline-flex; align-items: baseline; gap: .6rem; }
.mark__name{ font: 700 1.55rem/1 var(--display); letter-spacing: -.04em; color: var(--cobalt); }
.mark__sub{ font: 500 .95rem/1 var(--text); color: var(--muted); }
.masthead__cta{
  display: inline-flex; align-items: center; min-height: 44px; padding: .55rem 1.1rem;
  border-radius: var(--r); background: var(--cobalt); color: #FFFFFF; text-decoration: none;
  font: 600 .95rem/1 var(--text);
  transition: background-color .15s ease;
}
.masthead__cta:hover{ background: var(--cobalt-deep); }

/* --- intro ----------------------------------------------------------------- */

.intro{ padding-block: clamp(3.5rem, 7vw, 5.5rem) clamp(2rem, 4vw, 3rem); }
.intro h1{ font-size: clamp(2.2rem, 1.3rem + 4.4vw, 5rem); max-width: 18ch; }
.intro__lede{ margin: 1.25rem 0 0; max-width: 48ch; color: var(--muted); font-size: clamp(1.1rem, 1.02rem + .3vw, 1.25rem); }
.intro__jump{ display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.intro__jump a{
  display: inline-flex; align-items: center; min-height: 44px; padding: .5rem 1rem;
  border-radius: var(--r); background: var(--cobalt-wash); color: var(--cobalt-deep); text-decoration: none;
  font: 600 .95rem/1 var(--text);
  transition: background-color .15s ease, color .15s ease;
}
.intro__jump a:hover{ background: var(--cobalt); color: #FFFFFF; }

/* --- the modules, in this identity --------------------------------------- */

.k-module + .k-module{ border-top: 1px solid var(--line); }
.k-module__head h2{ font-size: clamp(2rem, 1.3rem + 2.8vw, 3.2rem); }
.k-tab,
.k-control{ font-weight: 600; }

/* --- closing and footer ---------------------------------------------------- */

.closing{ background: var(--cobalt); color: #FFFFFF; }
.closing__inner{ display: grid; gap: 1.1rem; justify-items: start; padding-block: clamp(3.5rem, 7vw, 6rem); }
.closing h2{ color: #FFFFFF; font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.8rem); max-width: 16ch; }
.closing p{ margin: 0; max-width: 52ch; color: #DCE3FA; }
.closing__cta{
  display: inline-flex; align-items: center; min-height: 48px; padding: .75rem 1.4rem;
  border-radius: var(--r); background: #FFFFFF; color: var(--cobalt-deep); text-decoration: none;
  font: 700 1rem/1 var(--text);
  transition: background-color .15s ease, transform .1s ease;
}
.closing__cta:hover{ background: var(--cobalt-wash); }
.closing__cta:active{ transform: translateY(1px); }
.closing :focus-visible{ outline-color: #FFFFFF; }

.foot{ background: var(--surface); border-top: 1px solid var(--line); }
.foot__inner{ display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 1rem 2rem; padding-block: 2rem 2.5rem; font-size: .9rem; color: var(--muted); }
.foot p{ margin: 0; max-width: 84ch; }
.foot a{ color: var(--cobalt-deep); font-weight: 600; }

@media (max-width: 767px){
  .mark__sub{ display: none; }
  .masthead__cta{ font-size: .85rem; padding: .5rem .8rem; }
}
