/* Kazuki Web Design Studio
   Palette: light gray page, white cards, navy text/buttons, slate header,
   coral for icons and fills only (2.84:1 on white, never text). */

:root {
  --bg: #F4F5F8;        /* page */
  --surface: #FFFFFF;   /* cards, inputs */
  --alt: #EBEEF4;       /* alternate section band */
  --navy: #172B5C;      /* headings, links, buttons: 12.54:1 on bg, 13.67:1 on white */
  --slate: #5E6B8A;     /* header: white text 5.32:1 */
  --coral: #F2735F;     /* icons, bird breast, fills */
  --coral-tint: #FDECE9;
  --gray-tint: #E8EBF0;
  --care-tint: #EAF0FA; /* Monthly Care column: navy 11.94:1, text 6.93:1 */
  --text: #4A5163;      /* body: 7.27:1 on bg, 7.93:1 on white */
  --error: #C0261B;     /* 5.94:1 on white */
  --line: #E1E5EC;
  --line-strong: #C9CFDA;
  --shadow: 0 2px 4px rgb(23 43 92 / .04), 0 6px 20px rgb(23 43 92 / .07);

  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem;

  --radius: 10px;
  --radius-sm: 6px;
  --max: 68rem;
  --measure: 38rem;
  --header-h: 3.75rem;
  --t: 150ms;
}

@media (prefers-reduced-motion: reduce) {
  :root { --t: 0ms; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font-body); /* 17px */
}
@media (min-width: 64rem) { body { font-size: 1.125rem; } } /* 18px */

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 var(--s4);
  text-wrap: balance;
}
h1 { font-size: clamp(2.125rem, 1.5rem + 2.8vw, 3.5rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
p { margin: 0 0 var(--s4); }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
strong { color: var(--navy); }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--s4); }
@media (min-width: 48rem) { .wrap { padding: 0 var(--s6); } }

.vh {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.small { font-size: .9375rem; }

.skip {
  position: absolute; left: var(--s4); top: -4rem; z-index: 100;
  background: var(--navy); color: var(--surface); padding: var(--s2) var(--s4); border-radius: var(--radius-sm);
}
.skip:focus { top: var(--s2); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3rem; padding: var(--s3) var(--s5);
  background: var(--navy); color: var(--surface);
  font: 600 1.0625rem/1.2 var(--font-body);
  border: 2px solid var(--navy); border-radius: var(--radius-sm);
  text-decoration: none; cursor: pointer;
  transition: background-color var(--t) ease-out, border-color var(--t) ease-out;
}
.btn:hover { background: var(--text); border-color: var(--text); }
.btn:disabled { opacity: .7; cursor: progress; }
.btn-sm { min-height: 2.5rem; padding: var(--s2) var(--s3); font-size: .9375rem; white-space: nowrap; }
.btn-block { width: 100%; }

.link-arrow { font-weight: 600; display: inline-flex; align-items: center; gap: .35em; min-height: 2.75rem; }
.link-arrow::after { content: "→"; transition: transform var(--t) ease-out; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; gap: var(--s3); min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: var(--s2); text-decoration: none; color: var(--navy); margin-right: auto; }
.brand-mark { width: 2.25rem; height: 2.25rem; flex: none; }
.brand-name { font: 700 1.1875rem/1 var(--font-head); }
.brand-name span { display: block; margin-top: .2em; font: 500 .6875rem/1.1 var(--font-body); color: var(--text); white-space: nowrap; }
@media (min-width: 30rem) {
  .brand-name span { display: inline; margin-top: 0; font: 500 .8125rem/1 var(--font-body); margin-left: .35em; }
}

.nav { position: relative; }
.menu-btn {
  font: 600 .9375rem/1 var(--font-body); color: var(--navy);
  background: none; border: 2px solid var(--navy); border-radius: var(--radius-sm);
  min-height: 2.5rem; padding: 0 var(--s3); cursor: pointer;
}
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a { display: block; text-decoration: none; font-weight: 600; padding: var(--s3) var(--s4); }
.nav-list a:hover { text-decoration: underline; }

@media (max-width: 47.99rem) {
  .nav { order: 3; }
  .nav-list {
    display: none;
    position: absolute; right: 0; top: calc(100% + var(--s2));
    min-width: 12rem; background: var(--surface);
    border: 2px solid var(--navy); border-radius: var(--radius);
    padding: var(--s2) 0;
  }
  .nav.is-open .nav-list { display: block; }
  .nav-list a { min-height: 3rem; }
  /* Without JS the menu button can't work: show links as a row instead. */
  .no-js .menu-btn { display: none; }
  .no-js .nav-list { display: flex; position: static; border: 0; min-width: 0; padding: 0; }
  .no-js .nav-list a { padding: var(--s2); min-height: 0; font-size: .9375rem; }
}
@media (min-width: 48rem) {
  .menu-btn { display: none; }
  .nav-list { display: flex; gap: var(--s1); }
  .header-cta { margin-left: var(--s3); }
}

/* ---------- Sections ---------- */
.section { padding: var(--s8) 0; }
@media (min-width: 64rem) { .section { padding: var(--s9) 0; } }
.section + .section { border-top: 1px solid var(--line); }
section[id] { scroll-margin-top: var(--header-h); }
.section-intro { max-width: var(--measure); margin-bottom: var(--s6); }

/* ---------- Hero ---------- */
.hero { padding: var(--s6) 0 var(--s7); }
@media (min-width: 64rem) { .hero { padding: var(--s8) 0 var(--s9); } }
.hero-grid { display: grid; gap: var(--s6); }
@media (min-width: 64rem) {
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s8); align-items: center; }
}
.eyebrow { font-size: .9375rem; font-weight: 600; color: var(--navy); margin-bottom: var(--s3); }
.lead { font-size: 1.125rem; max-width: 34rem; }
@media (min-width: 64rem) { .lead { font-size: 1.25rem; } }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin: var(--s5) 0 var(--s3); }
.reassure { font-size: .9375rem; margin: 0; }

.hero-side { display: grid; gap: var(--s5); }
.price-tag {
  border: 2px solid var(--navy); border-radius: var(--radius);
  padding: var(--s5); background: var(--surface);
  position: relative;
}
.price-tag::before { /* small Rock Blue tab: a price tag, not decoration */
  content: ""; position: absolute; top: -2px; left: var(--s5);
  width: 3rem; height: 6px; background: var(--coral); border-radius: 0 0 3px 3px;
}
.price-tag p { margin: 0; }
.price-tag-label { font-weight: 600; color: var(--navy); }
.price-tag-amt { font: 700 3rem/1.05 var(--font-head); color: var(--navy); margin: var(--s1) 0 var(--s2) !important; }
.price-tag-amt small { font: 600 1.125rem var(--font-body); margin-left: .15em; }
.price-tag-sub { font-weight: 500; }
.price-tag-alt { font-size: .9375rem; margin: var(--s3) 0 var(--s1) !important; padding-top: var(--s3); border-top: 1px solid var(--line); }

.byline { display: flex; gap: var(--s4); align-items: center; }
.byline p { margin: 0; font-size: .9375rem; }
.avatar {
  flex: none; width: 4rem; height: 4rem; border-radius: 50%; overflow: hidden;
  background: var(--care-tint); border: 2px solid var(--navy);
  display: grid; place-items: center;
  font: 700 1.125rem var(--font-head); color: var(--navy);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Promises ---------- */
.promises { background: var(--care-tint); }
.promise-list {
  list-style: none; margin: 0 0 var(--s6); padding: 0;
  display: grid; gap: var(--s4); counter-reset: p;
}
@media (min-width: 40rem) { .promise-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 64rem) { .promise-list { grid-template-columns: repeat(4, 1fr); } }
.promise-list li {
  counter-increment: p;
  background: var(--surface); border-radius: var(--radius);
  padding: var(--s5); border: 1px solid var(--line);
}
.promise-list li::before {
  content: counter(p);
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem; margin-bottom: var(--s3);
  border-radius: 50%; background: var(--coral); color: var(--text);
  font: 700 1.125rem/1 var(--font-head);
}
.promise-list p { margin: 0; }
@media (max-width: 63.99rem) { /* number beside the text: shorter cards on phones */
  .promise-list li { display: grid; grid-template-columns: 2.25rem 1fr; column-gap: var(--s3); padding: var(--s4); }
  .promise-list li::before { grid-row: span 2; margin: 0; }
}
.promise-list h3 { margin-bottom: var(--s2); }

.not-promise {
  border: 2px dashed var(--navy); border-radius: var(--radius);
  padding: var(--s5); max-width: 46rem;
}
.not-promise ul { margin: 0 0 var(--s4); padding-left: 1.2em; }
.not-promise li { margin-bottom: var(--s1); }
.not-promise p { margin: 0; }

/* ---------- Work ---------- */
.work-grid { display: grid; gap: var(--s5); }
@media (min-width: 48rem) { .work-grid { grid-template-columns: 3fr 2fr; } }
.work-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.work-shot { display: block; border-bottom: 1px solid var(--line); background: var(--care-tint); text-decoration: none; }
.work-shot img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; }
.shot-bar {
  display: flex; align-items: center; gap: 6px;
  padding: var(--s2) var(--s3); font-size: .8125rem; color: var(--text);
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.shot-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.shot-bar i:last-of-type { margin-right: var(--s2); }
.work-shot.soon { display: flex; flex-direction: column; flex: 1; min-height: 10rem; }
.soon-label { margin: auto; font: 600 1.125rem var(--font-head); color: var(--navy); padding: var(--s6); }
.work-body { padding: var(--s5); }
.work-body p:last-of-type { margin-bottom: var(--s2); }
.tag { font-size: .875rem; font-weight: 600; color: var(--navy); margin-bottom: var(--s2) !important; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: var(--s6); }
@media (min-width: 48rem) { .about-grid { grid-template-columns: 10rem minmax(0, 1fr); gap: var(--s7); align-items: start; } }
.portrait { margin: 0; width: 10rem; } /* 160x200: a quarter of the earlier 320x400 */
.portrait img, .portrait-placeholder { width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius); object-fit: cover; }
.portrait-placeholder {
  display: grid; place-items: center; background: var(--care-tint);
  border: 2px dashed var(--navy); color: var(--navy); font-weight: 600;
}
.portrait figcaption { font-size: .9375rem; margin-top: var(--s2); }
.about-copy p { max-width: var(--measure); }
.facts { margin: var(--s5) 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; color: var(--navy); }
.facts dd { margin: 0; }

/* ---------- Pricing table ---------- */
.table-wrap { margin-bottom: var(--s6); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.compare th, .compare td { padding: var(--s3) var(--s2); vertical-align: middle; border-bottom: 1px solid var(--line); text-align: center; }
.compare tbody th { text-align: left; font-weight: 500; padding-left: 0; }
.compare thead th, .compare thead td {
  position: sticky; top: var(--header-h); z-index: 2;
  background: var(--surface); border-bottom: 2px solid var(--navy);
  vertical-align: bottom; padding-top: var(--s4); padding-bottom: var(--s4);
}
.compare col, .compare .corner { width: 40%; }
.compare thead th { width: 30%; }
.compare .care, .compare td[data-care] { background: var(--care-tint); }
.compare thead th.care { background: var(--care-tint); border-radius: var(--radius) var(--radius) 0 0; }
.compare tbody tr:last-child td[data-care] { border-radius: 0 0 var(--radius) var(--radius); }

.plan { display: block; font: 700 1.125rem/1.2 var(--font-head); color: var(--navy); margin-bottom: var(--s2); }
.amt { display: block; font: 700 1.5rem/1.1 var(--font-head); color: var(--navy); }
.amt small { font: 600 .9375rem var(--font-body); }
.per { display: block; font-size: .875rem; font-weight: 400; margin-bottom: var(--s2); line-height: 1.3; }
.per:last-child { margin-bottom: 0; }
.compare td.txt { font-size: .9375rem; line-height: 1.35; }
.tick { width: 1.5rem; height: 1.5rem; margin: 0 auto; fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.dash { color: var(--text); font-weight: 600; }

@media (max-width: 29.99rem) { /* small phones: give the two plan columns more room */
  .compare .corner { width: 42%; }
  .compare thead th { width: 29%; }
  .compare th, .compare td { padding-left: var(--s1); padding-right: var(--s1); }
  .compare tbody th { font-size: .9375rem; line-height: 1.35; }
  .compare td.txt { font-size: .875rem; }
  .amt { font-size: 1.3125rem; }
}
@media (min-width: 48rem) {
  .compare th, .compare td { padding: var(--s4); }
  .compare tbody th { padding-left: 0; }
  .amt { font-size: 1.875rem; }
}

.notes { display: grid; gap: var(--s4); margin-bottom: var(--s6); }
@media (min-width: 48rem) { .notes { grid-template-columns: repeat(3, 1fr); } }
.note { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s5); }
.note h3 { font-size: 1.125rem; margin-bottom: var(--s2); }
.note p:last-child { margin-bottom: 0; }
.addons { list-style: none; margin: 0 0 var(--s3); padding: 0; }
.addons li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: var(--s2) 0; border-bottom: 1px solid var(--line); }
.addons small { display: block; font-size: .875rem; }
.addons strong { white-space: nowrap; }

.inline-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4);
  border-top: 2px solid var(--navy); padding-top: var(--s5);
}
.inline-cta p { margin: 0; font-weight: 600; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; max-width: 46rem; }
.steps li { counter-increment: s; position: relative; padding: 0 0 var(--s5) 3.25rem; }
.steps li::before {
  content: counter(s); position: absolute; left: 0; top: 0;
  width: 2.25rem; height: 2.25rem; display: grid; place-items: center;
  border: 2px solid var(--navy); border-radius: 50%; background: var(--surface);
  font: 700 1rem/1 var(--font-head); color: var(--navy);
}
.steps li:not(:last-child)::after { /* connecting line */
  content: ""; position: absolute; left: calc(1.125rem - 1px); top: 2.5rem; bottom: .25rem; width: 2px; background: var(--coral);
}
.steps h3 { margin-bottom: var(--s1); padding-top: .25rem; }
.steps p { margin: 0; }
@media (min-width: 64rem) {
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: var(--s7); max-width: none; grid-auto-flow: column; grid-template-rows: repeat(3, auto); }
  .steps li:nth-child(3)::after { display: none; }
}

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: var(--s5) var(--s7); }
@media (min-width: 48rem) { .faq-list { grid-template-columns: 1fr 1fr; } }
.qa { border-top: 2px solid var(--navy); padding-top: var(--s4); }
.qa h3 { font-size: 1.1875rem; margin-bottom: var(--s2); }
.qa p { margin: 0; }

/* ---------- Free site check ---------- */
.check { background: var(--care-tint); }
.check-grid { display: grid; gap: var(--s6); }
@media (min-width: 64rem) { .check-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s8); align-items: start; } }
.ticks { list-style: none; margin: 0 0 var(--s5); padding: 0; }
.ticks li { position: relative; padding-left: 2rem; margin-bottom: var(--s2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.25rem; height: 1.25rem;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23172B5C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.text-alt { font-weight: 600; }
.check-icon {
  width: 4.5rem; height: 4.5rem; border-radius: 50%; margin-bottom: var(--s4);
  background: var(--coral-tint); display: grid; place-items: center;
}
.check-icon svg { width: 2.75rem; height: 2.75rem; }

.form-card { background: var(--surface); border: 2px solid var(--navy); border-radius: var(--radius); padding: var(--s5); }
@media (min-width: 48rem) { .form-card { padding: var(--s6); } }
.field { margin-bottom: var(--s5); }
.field label { display: block; font-weight: 600; margin-bottom: var(--s1); }
.opt { font-weight: 400; font-size: .9375rem; }
.hint { font-size: .9375rem; margin: 0 0 var(--s2); }
.field input, .field textarea {
  width: 100%; font: 400 1.0625rem/1.4 var(--font-body); /* >=16px: no iOS zoom */
  color: var(--text); background: var(--surface);
  border: 2px solid var(--navy); border-radius: var(--radius-sm);
  padding: var(--s3); min-height: 3rem;
}
.field textarea { resize: vertical; min-height: 7rem; }
.field input::placeholder { color: #6B7280; } /* 4.83:1 on white */
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 3px; }
.field-error { color: var(--error); font-weight: 600; font-size: .9375rem; margin: var(--s2) 0 0; }
.field-error::before { content: "! "; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.error-summary { border: 3px solid var(--error); border-radius: var(--radius-sm); padding: var(--s4); margin-bottom: var(--s5); }
.error-summary h3 { color: var(--error); font-family: var(--font-body); font-size: 1.0625rem; margin-bottom: var(--s2); }
.error-summary ul { margin: 0; padding-left: 1.2em; }
.error-summary a { color: var(--error); font-weight: 600; }

.form-status { margin: var(--s3) 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); border-left: 4px solid var(--error); padding-left: var(--s3); }
.privacy { margin: var(--s3) 0 0; }
.form-done h3 { font-size: 1.5rem; }
.form-done h3:focus { outline: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--surface); padding: var(--s7) 0 var(--s6); }
.site-footer a { color: var(--surface); }
.site-footer :focus-visible { outline-color: var(--surface); }
.footer-grid { display: grid; gap: var(--s5); }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 2fr 1fr; } }
.footer-brand { font: 700 1.25rem var(--font-head); }
.footer-grid p { margin-bottom: var(--s2); }
.footer-contact { list-style: none; margin: 0; padding: 0; }
.footer-contact a { display: inline-block; padding: var(--s2) 0; }
.copy { grid-column: 1 / -1; font-size: .875rem; margin: var(--s4) 0 0 !important; padding-top: var(--s4); border-top: 1px solid rgb(255 255 255 / .25); }

/* ---------- Theme details (cards, header, icons) ---------- */
h1, h2 { letter-spacing: -.015em; }
h3 { font-weight: 700; }
.promises, .check { background: var(--alt); }
.section + .section { border-top: 0; }

.site-header {
  background: rgb(94 107 138 / .96); border-bottom: 0;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.brand { color: #fff; }
.brand-mark { background: var(--surface); color: var(--navy); border-radius: 50%; padding: 3px; width: 2.5rem; height: 2.5rem; }
.brand-name span { color: rgb(255 255 255 / .92) !important; }
.site-header :focus-visible { outline-color: #fff; }
.menu-btn { color: #fff; border-color: #fff; }
@media (min-width: 48rem) { .nav-list a { color: #fff; } }
.header-cta, .header-cta:hover { background: var(--surface); color: var(--navy); border-color: var(--surface); }
.header-cta:hover { background: var(--gray-tint); border-color: var(--gray-tint); }
.no-js .nav-list a { color: #fff; }

.btn:hover { background: #0F1E44; border-color: #0F1E44; }
.price-tag, .promise-list li, .work-card, .note, .form-card, .not-promise, .qa {
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.price-tag::before { background: var(--coral); }
.not-promise { border: 2px dashed var(--line-strong); }
.qa { border-radius: var(--radius); padding: var(--s5); border-top: 3px solid var(--coral); }
.form-card { border: 1px solid var(--line); }
.field input, .field textarea { border: 1.5px solid var(--line-strong); }
.field input:hover, .field textarea:hover { border-color: var(--navy); }

/* Icon-style circles, alternating gray and coral like the card icons */
.promise-list li::before { width: 2.75rem; height: 2.75rem; background: var(--gray-tint); color: var(--navy); }
.promise-list li:nth-child(even)::before { background: var(--coral-tint); }
.steps li::before { border: 0; background: var(--coral-tint); color: var(--navy); }
.steps li:nth-child(odd)::before { background: var(--gray-tint); }
.steps li:not(:last-child)::after { background: var(--line-strong); }
.avatar { background: var(--gray-tint); border-color: var(--surface); box-shadow: var(--shadow); }
.portrait-placeholder { background: var(--gray-tint); border-color: var(--line-strong); }
.work-shot { background: var(--gray-tint); }
.shot-bar i { background: var(--line-strong); }
.shot-bar i:first-child { background: var(--coral); }
.tag { color: var(--navy); }
.tag::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--coral); margin-right: .4em; vertical-align: .1em; }

.compare thead th, .compare thead td { background: var(--bg); border-bottom-color: var(--navy); }
.compare thead th.care { background: var(--care-tint); }
.compare tbody th, .compare td { border-bottom-color: var(--line); }
.tick { stroke: var(--navy); } /* meaning-carrying icon: needs 3:1, coral fails */
.inline-cta { border-top: 1px solid var(--line-strong); }
.facts, .facts div { border-color: var(--line); }

.site-footer { background: var(--navy); }
.site-footer, .site-footer a { color: #fff; }
.plan { white-space: nowrap; }
@media (max-width: 29.99rem) { .plan { font-size: 1rem; white-space: normal; } .compare thead th:not(.care) .plan { white-space: nowrap; } }
.compare tbody th { color: var(--navy); }
.portrait img { box-shadow: var(--shadow); }

/* Hero byline: the logo bird in reverse colors (header = navy on white). */
.avatar-bird { background: var(--navy); border-color: var(--navy); color: #fff; --surface: var(--navy); }
.avatar-bird svg { width: 76%; height: 76%; }

/* ---------- 2026-10-30 fixes ---------- */
/* Work: two live sites, equal columns. */
@media (min-width: 48rem) { .work-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
/* About facts: let long values (the email address) wrap instead of widening the page. */
.about-grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 48rem) { .about-grid { grid-template-columns: 10rem minmax(0, 1fr); } }
.facts div { grid-template-columns: 7.5rem minmax(0, 1fr); }
.facts dd { min-width: 0; overflow-wrap: anywhere; }
/* Very small phones (under 360px): smaller name so the CTA and Menu button still fit. */
.bar > * { min-width: 0; }
@media (max-width: 22.49rem) {
  .compare .plan { font-size: .875rem; }
  .bar { gap: var(--s2); }
}

/* ---------- 2026-10-30 hero: headline + 4-step loop ---------- */
.hero-grid { align-items: center; }
@media (min-width: 64rem) {
  .hero-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s7); }
}
.hero .lead { margin-bottom: 0; }
.hero .lead a { font-weight: 500; }

.loop { margin: 0; }
.loop-title { font-size: .9375rem; font-weight: 600; color: var(--navy); margin-bottom: var(--s3); }
.loop-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s6) var(--s6);
}
.loop-step {
  position: relative; display: flex; flex-direction: column; gap: var(--s2);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: var(--s4);
  min-width: 0;
}
/* Clockwise: 1 top-left, 2 top-right, 3 bottom-right, 4 bottom-left */
.loop-step:nth-child(1) { grid-area: 1 / 1; }
.loop-step:nth-child(2) { grid-area: 1 / 2; }
.loop-step:nth-child(3) { grid-area: 2 / 2; }
.loop-step:nth-child(4) { grid-area: 2 / 1; }
.loop-icon {
  width: 2.75rem; height: 2.75rem; padding: .5rem; border-radius: 50%;
  background: var(--gray-tint); flex: none;
  fill: none; stroke: var(--navy); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round;
}
.loop-step:nth-child(even) .loop-icon { background: var(--coral-tint); }
.loop-icon .acc { stroke: var(--coral); }
.loop-text { display: block; min-width: 0; overflow-wrap: break-word; }
.loop-text strong { display: block; font: 600 1rem/1.25 var(--font-head); color: var(--navy); }
.loop-text small { display: block; margin-top: .2em; font-size: .875rem; line-height: 1.35; color: var(--text); }
.loop-arrow {
  position: absolute; width: 1.5rem; height: 1.5rem;
  fill: none; stroke: var(--navy); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round;
}
/* arrows sit in the gaps: 1 → 2 → 3 → 4 → back to 1 */
.loop-step:nth-child(1) .loop-arrow { left: 100%; top: 50%; transform: translate(calc((var(--s6) - 1.5rem) / 2), -50%); }
.loop-step:nth-child(2) .loop-arrow { top: 100%; left: 50%; transform: translate(-50%, calc((var(--s6) - 1.5rem) / 2)) rotate(90deg); }
.loop-step:nth-child(3) .loop-arrow { right: 100%; top: 50%; transform: translate(calc((var(--s6) - 1.5rem) / -2), -50%) rotate(180deg); }
.loop-step:nth-child(4) .loop-arrow { bottom: 100%; left: 50%; transform: translate(-50%, calc((var(--s6) - 1.5rem) / -2)) rotate(-90deg); stroke: var(--coral); }
.loop-note { margin: var(--s4) 0 0; font-size: .9375rem; }

@media (max-width: 29.99rem) {
  .loop-list { gap: var(--s5); }
  .loop-step { padding: var(--s3); }
  .loop-icon { width: 2.25rem; height: 2.25rem; padding: .375rem; }
  .loop-text strong { font-size: .9375rem; }
  .loop-text small { font-size: .8125rem; }
  .loop-step:nth-child(1) .loop-arrow { transform: translate(calc((var(--s5) - 1.5rem) / 2), -50%); }
  .loop-step:nth-child(2) .loop-arrow { transform: translate(-50%, calc((var(--s5) - 1.5rem) / 2)) rotate(90deg); }
  .loop-step:nth-child(3) .loop-arrow { transform: translate(calc((var(--s5) - 1.5rem) / -2), -50%) rotate(180deg); }
  .loop-step:nth-child(4) .loop-arrow { transform: translate(-50%, calc((var(--s5) - 1.5rem) / -2)) rotate(-90deg); }
}

/* "What I do" band: the copy and price that used to fill the hero */
.intro { background: var(--surface); }
.intro-grid { display: grid; gap: var(--s6); }
@media (min-width: 64rem) {
  .intro-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s8); align-items: center; }
}
.intro-copy > p { max-width: var(--measure); }
.intro-copy .byline { margin-top: var(--s5); }
.intro-side { display: grid; gap: var(--s4); }
@media (max-width: 47.99rem) { /* phones: keep the loop close to the fold */
  .hero { padding: var(--s5) 0 var(--s6); }
  .hero h1 { font-size: 1.875rem; margin-bottom: var(--s3); }
  .hero .lead { font-size: 1.0625rem; }
  .hero .cta-row { margin: var(--s4) 0 0; gap: 0 var(--s5); }
  .hero-grid { gap: var(--s5); }
}

/* ---------- 2026-10-30 header fix: brand never squeezed under the CTA ---------- */
.brand { flex: none; }
@media (max-width: 23.99rem) { /* under 384px: the hero carries the main CTA, so drop the header copy */
  .header-cta { display: none; }
}

/* ---------- 2026-10-30 hero accent line above the loop ---------- */
.hero-visual { min-width: 0; }
.loop-kicker { /* navy, not coral: coral fails text contrast */
  font: 700 1.0625rem/1.3 var(--font-head); color: var(--navy);
  margin: 0 0 var(--s2); padding-left: var(--s3); border-left: 3px solid var(--coral);
}
@media (min-width: 64rem) { .loop-kicker { font-size: 1.1875rem; } }
.loop-kicker span { white-space: nowrap; } /* on narrow phones break between the two sentences, not inside one */
@media (max-width: 29.99rem) { .loop-kicker { font-size: 1rem; } }

/* Sample cards: phone view overlapping the desktop screenshot */
.work-shot.has-phone { position: relative; }
.phone {
  position: absolute; right: 4%; bottom: -1.25rem; width: 24%; max-width: 8.5rem;
  padding: 4px; background: #1B2233; border-radius: 16px;
  box-shadow: 0 2px 6px rgb(23 43 92 / .18), 0 10px 24px rgb(23 43 92 / .18);
}
.phone img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 2; object-fit: cover; object-position: top; border-radius: 12px; }
.samples-note { margin-top: var(--s5); }
@media (max-width: 30rem) {
  .phone { width: 27%; padding: 3px; border-radius: 12px; }
  .phone img { border-radius: 9px; }
}
