/* Alex Watkins · alexwatkins.ca
   Layout: milk page, espresso bands (pricing, process, contact), banner hero.
   Colours and type come from the Alex Watkins brand kit. */

@font-face { font-family: "Michroma"; src: url("../fonts/Michroma-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope-Variable.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-Variable.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  /* brand */
  --milk: #F7F4EF; --oat: #E6DDCF; --espresso: #231A15; --mocha: #8B6B53; --poolside: #5F747C;
  /* page (light) */
  --page: var(--milk); --ink: var(--espresso); --muted: #6B5242; --line: #DDD3C4; --strong: var(--mocha);
  --card: #FCFAF6; --accent: var(--poolside); --accent-text: #475B63;
  --btn: var(--espresso); --btn-hover: #3A2C24; --on-btn: var(--milk);
  /* band (espresso) */
  --band: var(--espresso); --band-ink: var(--milk); --band-muted: #BCA996; --band-line: #3B2F27;
  --band-strong: #8C7663; --band-card: #2B211B; --band-field: #231A15; --band-accent: #7F959D;
  --danger: #A3301E; --band-danger: #F08C74;
  /* type */
  --display: "Michroma", "Eurostile", "Arial Black", sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 26px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.band :focus-visible { outline-color: var(--band-accent); }

.skip { position: absolute; left: 16px; top: -48px; padding: 10px 14px; background: var(--btn); color: var(--on-btn); border-radius: 4px; z-index: 50; }
.skip:focus { top: 12px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }

/* type */
.disp { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .02em; margin: 0; text-wrap: balance; }
.h-xl { font-size: clamp(34px, 5vw, 68px); line-height: 1.06; }
.h-sec { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; }
.h-card { font-size: 18px; line-height: 24px; letter-spacing: .04em; }
.mono { font-family: var(--mono); }
.label { font-family: var(--mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .04em; }
.eyebrow { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--muted); }
.eyebrow::before { content: ""; width: 16px; height: 2px; background: var(--accent); }
.lead { margin: 0; font-size: 18px; line-height: 30px; color: var(--muted); }
.muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 24px; border-radius: 4px; border: 1px solid transparent; font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--btn); color: var(--on-btn); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--strong); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-sm { height: 40px; padding: 0 18px; }
.btn .arrow { font-family: var(--mono); font-weight: 400; transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--page); border-bottom: 1px solid var(--line); }
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 68px; }
.logo img { height: 18px; width: auto; }
.nav { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 500; }
.nav a { color: var(--muted); text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }
.menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--strong); border-radius: 4px; color: var(--ink); cursor: pointer; }
.mobile-nav { display: none; border-top: 1px solid var(--line); }
.mobile-nav ul { list-style: none; margin: 0 auto; padding-block: 8px 16px; }
.mobile-nav a { display: block; padding: 12px 0; font-size: 17px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav.open { display: block; }

/* hero */
.banner { width: 100%; height: auto; }
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 72px; align-items: end; padding-block: 64px 96px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero-copy .lead { font-size: 19px; line-height: 31px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.spec { margin: 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); font-family: var(--mono); font-size: 13px; line-height: 20px; border-top: 1px solid var(--line); }
.spec dt { padding: 14px 24px 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; letter-spacing: .04em; font-weight: 500; }
.spec dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }

/* sections */
.sec { padding-block: 96px; }
.sec + .sec.plain { border-top: 1px solid var(--line); }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 48px; }

.band { background: var(--band); color: var(--band-ink); }
.band .eyebrow, .band .lead, .band .muted { color: var(--band-muted); }
.band .eyebrow::before { background: var(--band-accent); }
.band .btn-secondary { color: var(--band-ink); border-color: var(--band-strong); }
.band .btn-secondary:hover { border-color: var(--band-ink); }
.band .btn-primary { background: var(--milk); color: var(--espresso); }
.band .btn-primary:hover { background: var(--oat); }

/* packages */
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.pkg { display: flex; flex-direction: column; gap: 20px; padding: 32px; background: var(--band-card); border: 1px solid var(--band-line); border-radius: 8px; }
.meta { display: flex; justify-content: space-between; gap: 12px; }
.price { margin: 0; font-family: var(--mono); font-size: 40px; line-height: 44px; font-weight: 500; font-variant-numeric: tabular-nums; }
.ticks { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--band-line); font-size: 15px; }
.ticks li { padding: 10px 0; border-bottom: 1px solid var(--band-line); }
.pkg .btn { align-self: flex-start; margin-top: auto; height: 44px; padding: 0 20px; }

/* add-ons */
.addons { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.rows li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.rows li:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
.rows .mono { font-size: 13px; color: var(--muted); white-space: nowrap; }
.care { display: flex; flex-direction: column; gap: 16px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 8px; }
.care .price { font-size: 28px; line-height: 32px; }
.care .price span { font-size: 14px; color: var(--muted); }
.care ul { margin: 0; padding: 0; list-style: none; font-size: 15px; border-top: 1px solid var(--line); }
.care li { padding: 9px 0; border-bottom: 1px solid var(--line); }

/* process: client journey */
.journey { display: flex; flex-direction: column; gap: 48px; }
.jrow { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; }
.jphase { margin: 0; padding-top: 2px; color: var(--band-muted); }
.jsteps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.jsteps li { position: relative; display: flex; flex-direction: column; gap: 8px; padding-top: 32px; min-width: 0; }
.jsteps li::before { content: ""; position: absolute; top: 7px; left: 0; right: -24px; height: 2px; background: var(--band-line); }
.jsteps li:last-child::before { right: 0; }
.jsteps li::after { content: ""; position: absolute; top: 1px; left: 0; width: 10px; height: 10px; border: 2px solid var(--band-ink); border-radius: 50%; background: var(--band); }
.jsteps li.pay::after { background: var(--band-accent); border-color: var(--band-accent); }
.jsteps .mono { font-size: 12px; line-height: 16px; letter-spacing: .04em; text-transform: uppercase; color: var(--band-muted); }
.jsteps strong { font-size: 17px; line-height: 24px; }
.jsteps .txt { font-size: 15px; line-height: 24px; color: var(--band-muted); }
.tag { align-self: flex-start; margin-top: 4px; padding: 3px 10px; border-radius: 4px; font-family: var(--mono); font-size: 12px; line-height: 18px; background: var(--band-accent); color: var(--espresso); font-weight: 500; }
.tag-line { background: transparent; color: var(--band-ink); border: 1px solid var(--band-strong); }
.jnote { margin: 0; padding-top: 20px; border-top: 1px solid var(--band-line); font-size: 13px; line-height: 22px; color: var(--band-muted); }
.jnote span { color: var(--band-accent); margin: 0 6px; }

/* work */
.work { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.shot { aspect-ratio: 16 / 10; max-width: 100%; border-radius: 8px; overflow: hidden; }
.shot-empty { display: flex; align-items: center; justify-content: center; background: var(--card); border: 1px dashed var(--strong); color: var(--muted); }
.shot-brand { display: flex; flex-direction: column; justify-content: space-between; background: var(--milk); border: 1px solid var(--line); }
.shot-brand .lockup { width: 62%; margin: 0 0 9% 6%; }
.work p { margin: 0; font-size: 15px; line-height: 24px; color: var(--muted); }
.work .meta { color: var(--muted); }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 72px; align-items: start; }
.about-copy { display: flex; flex-direction: column; gap: 20px; max-width: 38em; }
.about-copy p { margin: 0; }
.about-mark { width: 96px; height: auto; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 72px; align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 16px; }
.contact-copy .email { margin: 8px 0 0; font-family: var(--mono); font-size: 15px; }
.contact-copy .email a { text-decoration: underline; text-decoration-color: var(--band-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.form { display: flex; flex-direction: column; gap: 20px; padding: 32px; background: var(--band-card); border: 1px solid var(--band-line); border-radius: 8px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--band-ink); background: var(--band-field); border: 1px solid var(--band-strong); border-radius: 4px; }
.field input, .field select { height: 44px; padding: 0 14px; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 120px; }
.field ::placeholder { color: var(--band-muted); opacity: .8; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--band-ink); }
.form-note { margin: 0; font-size: 14px; line-height: 22px; color: var(--band-muted); }
.form-error { margin: 0; font-size: 14px; color: var(--band-danger); }
.form .btn { align-self: flex-start; }

/* footer */
.site-footer { background: var(--espresso); color: var(--milk); border-top: 1px solid var(--band-line); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-block: 40px; }
.foot img { width: 48px; height: auto; }
.foot p { margin: 0; color: var(--band-muted); }

/* responsive */
@media (max-width: 900px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .hero, .addons, .about, .contact { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .hero { padding-block: 40px 64px; }
  .jrow { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .jsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .jsteps li:nth-child(2n)::before { right: 0; }
}
@media (max-width: 640px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .sec { padding-block: 64px; }
  .head { margin-bottom: 32px; }
  .two, .rows, .fields { grid-template-columns: minmax(0, 1fr); }
  .journey { gap: 32px; }
  .jsteps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .jsteps li { padding: 0 0 28px 32px; }
  .jsteps li::before, .jsteps li:nth-child(2n)::before, .jsteps li:last-child::before { top: 14px; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; }
  .jsteps li:last-child { padding-bottom: 0; }
  .jsteps li:last-child::before { display: none; }
  .jsteps li::after { top: 2px; }
  .rows li:nth-last-child(2) { border-bottom: 0; }
  .pkg, .form { padding: 24px; }
}
