/* ==========================================================================
   Peter Shaw — clean business landing page
   Palette: Deep Navy on white (Plan A) · CTA emerald
   Self-hosted fonts (no Google Fonts CDN request -> GDPR-safe)
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --soft: #f8f9fa;
  --ink: #0a192f;
  --ink-2: #1e293b;
  --muted: #64748b;
  --line: #e6ebf1;
  --cta: #097652;
  --cta-dark: #075C41;
  --link: #0066cc;
  --sans: 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --disp: 'Montserrat', 'Inter', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --shadow-sm: 0 1px 2px rgba(10, 25, 47, 0.04);
  --shadow-md: 0 10px 30px rgba(10, 25, 47, 0.07);
  --shadow-lg: 0 18px 44px rgba(10, 25, 47, 0.1);
  --r: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  font-family: var(--disp);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

p {
  margin: 0;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  display: block;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section--soft {
  background: var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cta);
}

.h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
}

.lead {
  margin-top: 14px;
  font-size: 17px;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 16px 26px;
  border-radius: 9px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

.btn--cta {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.24);
}

.btn--cta:hover {
  background: var(--cta-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(16, 185, 129, 0.3);
}

.btn--ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: #cbd5e1;
  background: #fbfcfd;
  transform: translateY(-1px);
}

.btn--sm {
  padding: 11px 18px;
  font-size: 14px;
  border-radius: 8px;
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--disp);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.brand__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cta);
}

.brand__sub {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 9px;
  border-left: 1px solid var(--line);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav__links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
}

.nav__links a:hover {
  color: var(--link);
  text-decoration: none;
}

/* ---------- hero ---------- */

.hero {
  padding: 84px 0 96px;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 68px;
  align-items: center;
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(32px, 4.1vw, 52px);
  font-weight: 800;
  letter-spacing: -0.028em;
}

.hero h1 em {
  font-style: normal;
  color: var(--cta-dark);
}

.hero__sub {
  margin-top: 20px;
  font-size: 17.5px;
  line-height: 1.68;
  color: var(--muted);
  max-width: 54ch;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.hero__cta-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}

.trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 26px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  max-width: 470px;
}

.trust__item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.45;
}

.trust__item svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--cta-dark);
}

/* hero card (photo slot + trust info) */

.idcard {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 28px 26px;
  box-shadow: var(--shadow-md);
}

.idcard__photo {
  width: 128px;
  height: 128px;
  border-radius: 12px;
  margin: 0 auto 18px;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--disp);
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.02em;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(10, 25, 47, 0.16);
}

.idcard__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.idcard__name {
  text-align: center;
  font-family: var(--disp);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.idcard__role {
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}

.idcard__rows {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.idcard__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
}

.idcard__row dt {
  color: var(--muted);
}

.idcard__row dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  text-align: right;
}

/* ---------- services ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 52px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 32px 30px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: #d7dee7;
}

.card__icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.tag {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 11px;
}

/* ---------- about ---------- */

.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}

.about__quote {
  margin-top: 24px;
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ink-2);
}

.about__quote + .about__quote {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15px;
}

.principles {
  display: grid;
  gap: 18px;
}

.principle {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 26px;
}

.principle__num {
  font-family: var(--disp);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--cta-dark);
  padding-top: 3px;
}

.principle h3 {
  font-size: 16px;
  font-weight: 700;
}

.principle p {
  margin-top: 7px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- portfolio ---------- */

.work__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  margin-top: 52px;
  align-items: start;
}

.work__col-title {
  font-family: var(--disp);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.slots {
  display: grid;
  gap: 14px;
}

.slot {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #eef2f6;
  border: 1px solid var(--line);
  overflow: hidden;
  color: var(--ink);
}

.slot:hover {
  text-decoration: none;
  border-color: #cbd5e1;
}

.slot__play {
  position: absolute;
  left: 50%;
  top: 44%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(10, 25, 47, 0.12);
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.slot:hover .slot__play {
  transform: translate(-50%, -50%) scale(1.06);
  background: #fff;
}

.slot__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid var(--line);
}

.ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ba__item {
  margin: 0;
}

.ba__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 4px 9px;
  border-radius: 5px;
  margin-bottom: 9px;
}

.ba__tag--before {
  background: #fef2f2;
  color: #b91c1c;
}

.ba__tag--after {
  background: #ecfdf5;
  color: #047857;
}

.ba__card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px 11px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* before: messy scan look */
.mess {
  transform: rotate(-0.9deg);
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #4b5563;
}

.mess__line {
  height: 7px;
  background: #e5e7eb;
  border-radius: 1px;
  margin-bottom: 7px;
}

.mess__line:nth-child(odd) {
  background: #d8dde3;
}

.mess__row {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1fr;
  gap: 5px;
  margin-bottom: 5px;
  font-size: 8.5px;
  line-height: 1.3;
  color: #6b7280;
}

.mess__row span {
  background: #f3f4f6;
  padding: 3px 4px;
  border-radius: 1px;
  white-space: nowrap;
  overflow: hidden;
}

.mess__row span:nth-child(2) {
  font-size: 7.5px;
}

.mess__row span:nth-child(3) {
  text-align: right;
  font-size: 9.5px;
  font-family: Georgia, serif;
}

/* after: clean table look */
.tidy {
  font-size: 8.5px;
  line-height: 1.35;
}

.tidy__head {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 4px;
  background: var(--ink);
  color: #fff;
  border-radius: 3px;
  padding: 5px 6px;
  font-weight: 600;
  font-size: 8px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tidy__head span:last-child {
  text-align: right;
}

.tidy__row {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 4px;
  padding: 4.5px 6px;
  border-bottom: 1px solid #eef1f5;
  color: #334155;
}

.tidy__row:nth-child(even) {
  background: #f8fafc;
}

.tidy__row span:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink);
}

.work__note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

/* ---------- contact ---------- */

.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.contact__list {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.contact__row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.contact__row svg {
  color: var(--muted);
  margin-top: 3px;
}

.contact__row b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.field {
  margin-bottom: 18px;
}

.field:last-of-type {
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}

.field label span {
  color: var(--cta-dark);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  padding: 12px 13px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
  -webkit-appearance: none;
  appearance: none;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
  line-height: 1.6;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%2364748b' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  padding-right: 38px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cta);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14);
}

.field__hint {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.form__submit {
  width: 100%;
}

.form__msg {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
  min-height: 1px;
}

.form__msg--ok {
  color: #047857;
  font-weight: 500;
}

.form__msg--err {
  color: #b91c1c;
  font-weight: 500;
}

/* ---------- footer ---------- */

.footer {
  background: var(--soft);
  border-top: 1px solid var(--line);
  padding: 44px 0 40px;
  font-size: 13px;
  color: var(--muted);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 40px;
}

.footer__brand {
  font-family: var(--disp);
  font-weight: 800;
  font-size: 15px;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.footer__brand__sub {
  display: block;
  margin-top: 5px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer__addr {
  margin-top: 6px;
  line-height: 1.6;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer__links a {
  color: var(--ink-2);
  font-weight: 500;
}

.footer__legal {
  width: 100%;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.7;
  color: #656F7D;
  max-width: 80ch;
}

/* ---------- legal pages ---------- */

.legal-page {
  padding: 72px 0 100px;
}

.legal-page h1 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
}

.legal-page .updated {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.legal-page h2 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 40px;
}

.legal-page p,
.legal-page li {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink-2);
}

.legal-page ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-page li {
  margin-top: 7px;
}

.legal-page .back {
  display: inline-block;
  margin-top: 44px;
  font-size: 14px;
  font-weight: 600;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero {
    padding: 60px 0 72px;
  }

  .idcard {
    max-width: 420px;
  }

  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .work__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .section {
    padding: 76px 0;
  }
}

@media (max-width: 720px) {
  .nav__links a:not(.btn) {
    display: none;
  }

  .brand__sub {
    display: none;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 38px;
  }

  .card {
    padding: 26px 22px;
  }

  .section {
    padding: 62px 0;
  }

  .hero__sub {
    font-size: 16px;
  }

  .trust {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .btn {
    width: 100%;
  }

  .hero__cta {
    gap: 10px;
  }

  .form {
    padding: 24px 20px;
  }

  .ba {
    gap: 12px;
  }

  .principle {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---- WeChat QR modal ---- */
.wx-open {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--link);
  cursor: pointer;
  border-bottom: 1px dashed currentColor;
}
.wx-open:hover { color: var(--cta-dark); }
.wx-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 25, 47, 0.6);
  padding: 20px;
}
.wx-modal[hidden] { display: none; }
.wx-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 24px 24px 20px;
  width: 100%;
  max-width: 320px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(2, 12, 27, 0.45);
}
.wx-card h3 {
  font-family: var(--disp);
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.wx-card img {
  display: block;
  width: 240px;
  height: 240px;
  margin: 14px auto 12px;
  border-radius: 8px;
}
.wx-card p { font-size: 13.5px; line-height: 1.6; color: var(--muted); }
.wx-card p b { color: var(--ink-2); }
.wx-close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.wx-close:hover { color: var(--ink); }

/* ---- name story (why "Kyrvor") ---- */
.name-story {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  max-width: 760px;
}
.name-story__title {
  margin-top: 10px;
  font-family: var(--disp);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.name-story p {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-2);
}
.name-story p + p {
  color: var(--muted);
  font-size: 15px;
}

/* single-column work grid (video slots hidden until samples exist) */
.work__grid--single {
  grid-template-columns: 1fr;
  max-width: 900px;
}

/* clickable contact rows (WhatsApp deep link) */
a.contact__row {
  color: var(--ink-2);
  text-decoration: none;
}
a.contact__row:hover {
  text-decoration: none;
}
.contact__val {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a.contact__row:hover .contact__val {
  color: var(--cta-dark);
  text-decoration-thickness: 2px;
}
a.contact__row:hover svg {
  color: var(--cta-dark);
}

/* ==========================================================================
   responsive refinements — mobile & tablet audit (2026-10-28)
   ========================================================================== */

/* ---- tap targets: bring interactive elements to ~44px on touch ---- */
.nav__links a:not(.btn) {
  padding: 12px 6px;
}

.brand {
  min-height: 44px;
}

.btn--sm {
  padding: 13px 20px;
}

.wx-open {
  display: inline-block;
  padding: 8px 0;
}

.footer__links a {
  display: inline-block;
  padding: 10px 14px 10px 0;
}

.contact__row {
  min-height: 44px;
}

/* ---- small phones: keep the headline to ~5 lines ---- */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 28px;
  }
}

/* ---- phones & small tablets: stack BEFORE over AFTER so tables breathe ---- */
@media (max-width: 600px) {
  .ba {
    grid-template-columns: 1fr;
  }

  .ba__item {
    max-width: 430px;
    width: 100%;
    margin: 0 auto;
  }
}

/* ---- tablet portrait (721–980): larger headline, flat profile card, capped form ---- */
@media (min-width: 721px) and (max-width: 980px) {
  .hero h1 {
    font-size: 40px;
  }

  .hero {
    padding: 72px 0 84px;
  }

  .idcard {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 150px 1fr;
    column-gap: 28px;
    align-items: center;
    padding: 28px 30px;
  }

  .idcard__photo {
    width: 150px;
    height: 150px;
    margin: 0;
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .idcard__name {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    margin-top: 0;
  }

  .idcard__role {
    grid-column: 2;
    grid-row: 2;
    text-align: left;
    margin-top: 6px;
  }

  .idcard__rows {
    grid-column: 2;
    grid-row: 3;
    margin-top: 18px;
    padding-top: 16px;
  }

  .form {
    max-width: 640px;
  }
}

/* ==========================================================================
   How I work band (dark navy) — added 2026-10-29
   ========================================================================== */
.how {
  background: var(--ink);
  padding: 84px 0;
}

.how .eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.how .h2 {
  color: #ffffff;
  max-width: 820px;
}

.how__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 44px;
}

.how__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.16);
  color: var(--cta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.how__item h3 {
  font-family: var(--disp);
  font-size: 16.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
  min-height: 46px; /* keep the four bodies aligned when a title wraps to two lines */
}

.how__item p {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

@media (max-width: 980px) {
  .how__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .how {
    padding: 68px 0;
  }
}

@media (max-width: 600px) {
  .how__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .how {
    padding: 58px 0;
  }
}

/* ==========================================================================
   Quick jobs section — added 2026-10-29
   ========================================================================== */
.quick {
  padding: 90px 0;
}

.quick .lead {
  max-width: 720px;
}

.quick__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px 30px;
  margin-top: 42px;
}

.quick__item {
  border-top: 2px solid var(--cta);
  padding-top: 18px;
}

.quick__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.1);
  color: var(--cta-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.quick__item h3 {
  font-family: var(--disp);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 8px;
}

.quick__item p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

@media (max-width: 980px) {
  .quick__grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px 26px;
  }
}

@media (max-width: 600px) {
  .quick__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .quick {
    padding: 62px 0;
  }
}

/* ==========================================================================
   Guides / article pages — added 2026-10-29
   ========================================================================== */
.article {
  padding: 72px 0 88px;
}

.article__head {
  max-width: 760px;
}

.article__head h1 {
  font-family: var(--disp);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-top: 14px;
  color: var(--ink);
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  font-size: 14px;
  color: var(--muted);
}

.article__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.article__meta span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cta);
}

.article__lede {
  margin-top: 24px;
  padding-left: 20px;
  border-left: 3px solid var(--cta);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 760px;
}

.prose {
  max-width: 760px;
  margin-top: 34px;
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--ink-2);
}

.prose h2 {
  font-family: var(--disp);
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 44px 0 14px;
  scroll-margin-top: 84px;
}

.prose h3 {
  font-family: var(--disp);
  font-size: 17.5px;
  font-weight: 700;
  color: var(--ink);
  margin: 28px 0 10px;
}

.prose p {
  margin: 0 0 16px;
}

.prose ul,
.prose ol {
  margin: 0 0 18px;
  padding-left: 22px;
}

.prose li {
  margin-bottom: 8px;
}

.prose li::marker {
  color: var(--cta-dark);
}

.prose strong {
  color: var(--ink);
  font-weight: 700;
}

.prose a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose--cn {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 6px 0 22px;
  font-size: 15px;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 10px 13px;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--soft);
  font-family: var(--disp);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
}

.callout {
  background: var(--soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--cta);
  border-radius: 12px;
  padding: 18px 22px;
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.7;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout__label {
  display: block;
  font-family: var(--disp);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cta-dark);
  margin-bottom: 7px;
}

.article__cta {
  max-width: 760px;
  margin-top: 48px;
  background: var(--ink);
  border-radius: 16px;
  padding: 32px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 26px;
}

.article__cta h3 {
  font-family: var(--disp);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.article__cta p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 460px;
}

.article__cta .btn--cta {
  flex-shrink: 0;
}

/* guides index */
.guides {
  padding: 78px 0 92px;
}

.guide-list {
  display: grid;
  gap: 20px;
  margin-top: 40px;
  max-width: 860px;
}

.guide-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.22s ease, transform 0.22s ease, border-color 0.22s ease;
  text-decoration: none;
  color: inherit;
}

.guide-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: #d7dee7;
  text-decoration: none;
}

.guide-card h2 {
  font-family: var(--disp);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.guide-card p {
  margin: 9px 0 0;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}

.guide-card .guide-card__meta {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cta-dark);
}

@media (max-width: 700px) {
  .article { padding: 52px 0 62px; }
  .prose { font-size: 16px; }
  .prose table { font-size: 14px; }
  .prose th, .prose td { padding: 8px 10px; }
  .article__cta { flex-direction: column; align-items: flex-start; padding: 26px 24px; }
  .guide-card { padding: 22px 20px; }
}

/* Honeypot for the contact form — hidden from people, visible to dumb bots */
.hp-field {
  display: none !important;
}

/* ============================ FAQ ============================ */
.faq-list {
  max-width: 760px;
  margin: 26px auto 0;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 18px;
  padding-right: 46px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-52%);
  font-size: 21px;
  font-weight: 400;
  color: var(--cta);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item .faq-a {
  padding: 14px 18px 16px;
  font-size: 14.5px;
  color: var(--ink-2);
  line-height: 1.75;
}
.faq-item .faq-a a {
  color: var(--cta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- data tables (home page: scope / process / Incoterms) — plain HTML, no JS ---- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}
.datatable {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #fff;
  border-radius: 12px;
}
.datatable caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}
.datatable th,
.datatable td {
  border: 1px solid var(--line);
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
}
.datatable thead th {
  background: var(--soft);
  font-family: var(--disp);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.datatable tbody th {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.datatable td { color: var(--ink-2); }
.datatable tbody tr:nth-child(even) th,
.datatable tbody tr:nth-child(even) td { background: #fcfdfe; }
.datatable .price { font-weight: 600; color: var(--ink); }
.table-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}
@media (max-width: 640px) {
  .datatable { font-size: 14px; min-width: 620px; }
  .datatable th, .datatable td { padding: 9px 11px; }
}

/* footer cross-link to the neighbourhood site (one-way: kyrvor → hanest) */
.footer__also {
  display: inline-block;
  margin-top: 8px;
  color: #656F7D;
  font-size: 12.5px;
  line-height: 1.65;
  max-width: 52ch;
}
.footer__also a {
  color: var(--ink-2);
  font-weight: 500;
}

/* ============================================================
   2026-11-06  首页重构：品牌澄清 / 痛点 / 交付物 / 价格锚点 / 吸底 CTA
   ============================================================ */

/* hero 品牌澄清行 */
.hero__brand {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 3px solid var(--cta);
  font-size: 14.5px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 56ch;
}
.hero__brand strong { color: var(--ink); }

/* ---------- 痛点 ---------- */
.pains {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin-top: 44px;
}
.pain {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.pain__mark {
  font-family: var(--disp);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #b42318;
  padding-top: 4px;
}
.pain h3 {
  font-size: 15.5px;
  font-weight: 700;
}
.pain p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--muted);
}
.pains__foot {
  margin-top: 26px;
  font-size: 15px;
  color: var(--ink-2);
}

/* ---------- 三列服务卡 ---------- */
.cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cta-dark);
}
.card__link:hover { text-decoration: none; gap: 9px; }

/* 次要服务一行 */
.also {
  margin-top: 28px;
  padding: 18px 22px;
  border: 1px dashed var(--line);
  border-radius: var(--r);
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.also b {
  color: var(--ink-2);
  font-weight: 700;
  margin-right: 6px;
}
.also a {
  color: var(--ink-2);
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.also a:hover { text-decoration: none; border-color: var(--ink-2); }

/* ---------- 交付物样例 ---------- */
.deliv__tag {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cta-dark);
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: 999px;
  padding: 4px 10px;
}
.report__list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
.report__list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
}
.report__list li:last-child { border-bottom: 0; }
.report__list i {
  font-style: normal;
  font-family: var(--disp);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--cta-dark);
  padding-top: 2px;
}
.report__list b { color: var(--ink-2); font-weight: 600; }
.deliv__note {
  margin-top: 26px;
  padding: 16px 20px;
  background: var(--soft);
  border-left: 3px solid #cbd5e1;
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 价格锚点 ---------- */
.factors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.sendlist {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 26px;
  font-size: 14.5px;
  color: var(--ink-2);
}
.sendlist li {
  position: relative;
  padding-left: 20px;
  line-height: 1.6;
}
.sendlist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--cta);
}
.startlist {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
  font-size: 14.5px;
}
.startlist li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--muted);
  line-height: 1.55;
}
.startlist b {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 2px;
}
.startlist span {
  align-self: center;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.price__note {
  margin-top: 26px;
  font-size: 14px;
  line-height: 1.72;
  color: var(--muted);
}

/* 贸易术语小卡 */
.terms-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 34px;
  padding: 26px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
}
.terms-card__text { max-width: 62ch; }
.terms-card h3 {
  font-size: 17px;
  font-weight: 700;
}
.terms-card p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

/* 表单说明 */
.form__note {
  margin-top: 12px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted);
}
.form__note a { font-weight: 600; }

/* ---------- 移动端吸底 CTA ---------- */
.sticky-cta { display: none; }

@media (max-width: 720px) {
  .cards--3,
  .pains,
  .factors,
  .sendlist,
  .startlist {
    grid-template-columns: 1fr;
  }
  .pain { padding: 18px 18px; }
  .terms-card { padding: 22px 20px; }
  .startlist li { grid-template-columns: 1fr; gap: 6px; }
  .startlist span { justify-self: start; }

  body { padding-bottom: 78px; }

  .sticky-cta {
    display: flex;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(10, 25, 47, 0.08);
  }
  .sticky-cta .btn {
    width: auto;
    flex: 1;
    font-size: 13.5px;
    padding: 12px 8px;
  }
  .sticky-cta .btn--ghost { flex: 0 0 30%; }
}

/* 价格区小标题 */
.pricing__h3 {
  margin: 46px 0 0;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.pricing__h3 + .sendlist,
.pricing__h3 + .startlist { margin-top: 18px; }

/* 面包屑（服务落地页） */
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: none; }
.crumbs span[aria-hidden] { color: #cbd5e1; }
.crumbs span[aria-current] { color: var(--ink-2); font-weight: 600; }
