:root {
      color-scheme: light;
      --cream: #f7f9fc;
      --deep: #23344d;
      --on-accent: #fff;
      --paper: #ffffff;
      --ink: #23344d;
      --muted: #526176;
      --accent: #245fc4;
      --accent-hover: #194b9f;
      --accent-pale: #e6eefc;
      --sky: #eaf0f8;
      --sky-deep: #d6e2f2;
      --line: #cbd5e1;
      --sand: #edf1f7;
      --shadow: 0 18px 50px rgba(24, 40, 65, .10);
      --serif: "DM Serif Display", Georgia, serif;
      --sans: "DM Sans", system-ui, sans-serif;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; scroll-padding-top: 92px; }
    body {
      margin: 0;
      background: var(--cream);
      color: var(--ink);
      font-family: var(--sans);
      font-size: 16px;
      line-height: 1.65;
      overflow-x: hidden;
    }
    button, a { -webkit-tap-highlight-color: transparent; }
    a { color: inherit; }
    img, svg { display: block; max-width: 100%; }
    .wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
    .section { padding: 104px 0; }
    .section-head { max-width: 690px; margin-bottom: 42px; }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin: 0 0 15px;
      color: var(--accent-hover);
      font-size: .82rem;
      font-weight: 700;
      letter-spacing: .075em;
      text-transform: uppercase;
    }
    .eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
    h1, h2, h3, p { margin-top: 0; }
    h1, h2, h3 { text-wrap: balance; }
    h1, h2 { font-family: var(--serif); font-weight: 400; line-height: .98; letter-spacing: -.025em; }
    h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3.4rem, 7vw, 6.9rem); }
    h2 { margin-bottom: 18px; font-size: clamp(2.65rem, 4.7vw, 4.6rem); }
    h3 { margin-bottom: 12px; font-size: 1.25rem; line-height: 1.22; }
    p { color: var(--muted); }
    .lede { max-width: 680px; font-size: clamp(1.08rem, 1.6vw, 1.28rem); line-height: 1.7; }

    .site-nav {
      position: sticky;
      z-index: 20;
      top: 0;
      background: color-mix(in srgb, var(--cream) 91%, transparent);
      border-bottom: 1px solid var(--line);
      backdrop-filter: blur(14px);
    }
    .nav-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
    .brand {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      border: 2px solid var(--ink);
      border-radius: 50%;
      font-family: var(--serif);
      font-size: 1.05rem;
      text-decoration: none;
    }
    .nav-links { display: flex; align-items: center; gap: 27px; margin-left: auto; }
    .nav-links a { position: relative; font-size: .91rem; font-weight: 600; text-decoration: none; }
    .nav-links a:not(.nav-cta)::after {
      content: ""; position: absolute; right: 0; bottom: -5px; left: 0; height: 2px;
      background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
    }
    .nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }
    .nav-cta, .button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-height: 48px;
      padding: 12px 20px;
      border: 1.5px solid var(--accent);
      border-radius: 999px;
      background: var(--accent);
      color: var(--on-accent);
      font-weight: 700;
      line-height: 1.2;
      text-decoration: none;
      transition: background .2s ease, border-color .2s ease, transform .2s ease;
    }
    .button:hover, .nav-cta:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); }
    .button.secondary { background: transparent; color: var(--ink); border-color: var(--line); }
    .button.secondary:hover { background: var(--paper); border-color: var(--ink); }
    .menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); padding: 8px; }

    .hero { position: relative; min-height: 790px; display: grid; align-items: center; padding: 96px 0 210px; overflow: hidden; }
    .hero-copy { position: relative; z-index: 3; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
    .hero-note { display: flex; align-items: center; gap: 11px; margin-top: 28px; color: var(--accent-hover); font-size: .92rem; font-weight: 600; }
    .hero-note svg { width: 20px; }
    .mountains { position: absolute; right: 0; bottom: 0; left: 0; height: 345px; }
    .mountains svg { width: 100%; height: 100%; }

    .packages { background: var(--paper); }
    .package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
    .package {
      position: relative;
      display: flex;
      flex-direction: column;
      min-height: 410px;
      padding: 32px;
      border: 1px solid var(--line);
      border-radius: 18px 18px 42px 18px;
      background: var(--cream);
    }
    .package.featured { transform: translateY(-12px); background: var(--deep); border-color: var(--deep); color: #fff; box-shadow: var(--shadow); }
    .package.featured p, .package.featured li { color: #dce5f2; }
    .package-tag { align-self: flex-start; margin-bottom: 28px; padding: 6px 11px; border-radius: 999px; background: var(--accent-pale); color: var(--accent-hover); font-size: .73rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
    .package.featured .package-tag { background: #dbeafe; color: #173d75; }
    .price { margin: 5px 0 23px; color: var(--ink); font-family: var(--serif); font-size: 2.3rem; line-height: 1; }
    .featured .price { color: #fff; }
    .price small { font-family: var(--sans); font-size: .8rem; font-weight: 500; }
    .package ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
    .package li { display: flex; gap: 11px; color: var(--muted); }
    .package li::before { content: "✓"; color: var(--accent); font-weight: 800; }
    .package.featured li::before { color: #9cc5ff; }
    .package .fine { margin-top: auto; padding-top: 28px; font-size: .82rem; }

    .how { background: var(--cream); }
    .steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 58px; }
    .steps::before { content: ""; position: absolute; top: 30px; right: 15%; left: 15%; height: 1px; background: var(--line); }
    .step { position: relative; text-align: center; }
    .step-num { position: relative; z-index: 1; width: 61px; height: 61px; display: grid; place-items: center; margin: 0 auto 25px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: var(--serif); font-size: 1.4rem; box-shadow: 0 0 0 9px var(--cream); }
    .step p { margin: 0 auto; max-width: 290px; }

    .about { background: var(--paper); }
    .about-grid { display: grid; grid-template-columns: .42fr 1fr; gap: clamp(46px, 9vw, 118px); align-items: center; }

    .about-copy p { max-width: 700px; font-size: 1.08rem; line-height: 1.8; }
    .about-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
    .about-facts span { padding: 8px 13px; border-radius: 999px; background: var(--accent-pale); color: var(--accent-hover); font-size: .82rem; font-weight: 600; }

    .faq { background: var(--sand); }
    .faq-layout { display: grid; grid-template-columns: .58fr 1fr; gap: clamp(45px, 9vw, 120px); }
    .faq-list { border-top: 1px solid var(--line); }
    details { border-bottom: 1px solid var(--line); }
    summary { position: relative; padding: 23px 46px 23px 0; cursor: pointer; list-style: none; font-weight: 700; line-height: 1.4; }
    summary::-webkit-details-marker { display: none; }
    summary::after { content: "+"; position: absolute; right: 7px; top: 18px; font-family: var(--serif); font-size: 1.7rem; font-weight: 400; transition: transform .2s ease; }
    details[open] summary::after { transform: rotate(45deg); }
    details p { margin: -4px 48px 21px 0; }

    .contact { position: relative; overflow: hidden; padding: 118px 0 126px; background: var(--deep); color: #fff; text-align: center; }
    .contact::before, .contact::after { content: ""; position: absolute; border: 1px solid rgba(220,235,242,.18); border-radius: 50%; }
    .contact::before { width: 520px; height: 520px; top: -330px; left: -90px; }
    .contact::after { width: 390px; height: 390px; right: -130px; bottom: -270px; }
    .contact .wrap { position: relative; z-index: 1; }
    .contact h2 { font-size: clamp(3.8rem, 7vw, 6.5rem); }
    .contact p { color: #c6d3e5; }
    .contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 13px; margin: 35px 0 24px; }
    .contact .button { background: #fff; border-color: #fff; color: var(--deep); }
    .contact .button:hover { background: var(--sky); border-color: var(--sky); }
    .contact .button.secondary { background: transparent; border-color: rgba(255,255,255,.48); color: #fff; }
    .contact .button.secondary:hover { background: rgba(255,255,255,.1); border-color: #fff; }
    .contact-note { margin: 0; font-size: .9rem; }
    footer { padding: 26px 0; background: #142034; color: #bdcce0; }
    .footer-inner { display: flex; justify-content: space-between; gap: 24px; font-size: .82rem; }

    :focus-visible { outline: 3px solid #e6a34f; outline-offset: 4px; }

    @media (max-width: 860px) {
      .section { padding: 82px 0; }
      .package-grid { grid-template-columns: 1fr; gap: 16px; }
      .package { min-height: auto; }
      .package.featured { transform: none; }
      .demo-grid, .about-grid, .faq-layout { grid-template-columns: 1fr; }
      .demo-grid { gap: 48px; }
      .faq-layout { gap: 22px; }
    }

    @media (max-width: 760px) {
      .wrap { width: min(100% - 30px, 1160px); }
      .nav-inner { min-height: 66px; }
      .menu-toggle { display: block; margin-left: auto; }
      .nav-links {
        position: absolute;
        top: 66px;
        right: 0;
        left: 0;
        display: none;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 12px 15px 18px;
        background: var(--cream);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 14px 30px rgba(24,40,65,.08);
      }
      .nav-links.open { display: grid; }
      .nav-links a { padding: 12px 10px; }
      .nav-links .nav-cta { margin-top: 6px; padding: 12px 18px; }
      .hero { min-height: 730px; padding-top: 76px; padding-bottom: 190px; }
      h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
      .mountains { height: 270px; width: 142%; left: -20%; }
      .steps { grid-template-columns: 1fr; gap: 38px; }
      .steps::before { top: 26px; bottom: 26px; left: 30px; width: 1px; height: auto; }
      .step { display: grid; grid-template-columns: 61px 1fr; column-gap: 22px; text-align: left; }
      .step-num { grid-row: span 2; margin: 0; box-shadow: 0 0 0 7px var(--cream); }
      .step p { margin: 0; max-width: none; }
      .browser { border-width: 5px; transform: none; }
      .cafe-hero { min-height: 240px; }
      .cafe-copy { padding: 25px 16px 25px 20px; }
      .cafe-copy h4 { font-size: 1.65rem; }
      .cup { transform: translateX(48%) scale(.78); }
      .mini-nav { padding: 16px 18px; }
      .mini-nav span { display: none; }
      .about-copy p { font-size: 1rem; }
      .footer-inner { flex-direction: column; gap: 4px; text-align: center; }
    }

    @media (max-width: 430px) {
      .hero-actions, .contact-actions { flex-direction: column; align-items: stretch; }
      .button { width: 100%; }
      .cafe-hero { grid-template-columns: 1.16fr .84fr; }
      .cafe-copy p { display: none; }
      .cafe-art::before { width: 112px; height: 112px; }
      .cup { right: 47%; }
      .package { padding: 27px 24px; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { transition-duration: .01ms !important; }
    }
  
    .skip-link { position: absolute; left: 16px; top: -100px; z-index: 30; background: var(--paper); padding: 12px; }
    .skip-link:focus { top: 10px; }
    .hero { min-height: auto; padding: 76px 0 150px; }
    .hero-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; align-items: center; }
    h1 { font-size: clamp(3.1rem, 5.4vw, 5rem); line-height: 1.04; }
    .mountains { height: 145px; }
    .hero-card { background: var(--paper); border: 1px solid var(--line); padding: 26px; border-radius: 18px; box-shadow: var(--shadow); }
    .hero-card .portrait { width: 100%; height: 260px; object-fit: cover; object-position: 50% 48%; border-radius: 12px; margin-bottom: 22px; }
    .hero-card h2 { font-family: var(--sans); font-size: 1.35rem; letter-spacing: 0; }
    .hero-card p { margin-bottom: 8px; }
    .benefits { background: var(--deep); color: white; padding: 30px 0; }
    .benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 35px; }
    .benefits h2 { font-family: var(--sans); font-size: 1.08rem; line-height: 1.4; letter-spacing: 0; margin-bottom: 6px; }
    .benefits p { color: #dce5f2; font-size: .95rem; margin: 0; }
    .demo { background: var(--sky); }
    .demo-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
    .demo-card { display: flex; flex-direction: column; border-radius: 16px; background: var(--paper); overflow: hidden; border: 1px solid var(--line); }
    .demo-visual { display: grid; grid-template-columns: 1fr; grid-template-rows: 115px 190px; align-items: center; padding: 30px; gap: 16px; background: #f6f7f3; color: #192f35; }
    .demo-visual.cafe-preview { background: #fcf8ee; color: #392c22; }
    .demo-visual h3 { font-size: 1.8rem; }
    .cafe-preview h3 { font-family: Georgia,serif; font-weight: 400; }
    .demo-visual span { display: block; font-size: .73rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
    .demo-visual img { width: 100%; height: 190px; object-fit: contain; border-radius: 5px; background: #fff8e5; }
    .demo-visual.roofing-preview { background: #f5f4ec; color: #293e33; }
    .roofing-preview h3, .restaurant-preview h3 { font-family: Georgia, serif; font-weight: 400; }
    .demo-visual.restaurant-preview { background: #f7f0e5; color: #412d26; }
    .demo-card-copy { display: flex; flex-direction: column; flex: 1; padding: 28px; }
    .demo-card-copy ul { padding-left: 20px; color: var(--muted); }
    .demo-card-copy .button { margin-top: auto; align-self: flex-start; }
    @media(max-width: 960px) {
      .demo-cards { grid-template-columns: 1fr; }
      .demo-visual { grid-template-columns: 1.2fr .8fr; grid-template-rows: auto; }
    }
    .package-grid { grid-template-columns: 1.2fr .8fr; }
    .package { min-height: auto; }
    .package .button { margin-top: 20px; align-self: flex-start; }
    .package-note { max-width: 850px; margin-top: 28px; }
    .about-grid { grid-template-columns: .65fr 1fr; gap: 65px; }
    .about-heading h2 { font-size: clamp(2.5rem,4vw,3.7rem); }
    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; text-align: left; }
    .contact h2 { font-size: clamp(2.8rem,4.8vw,4.6rem); }
    .contact-actions { justify-content: flex-start; }
    .contact-steps { padding: 28px; background: rgba(255,255,255,.06); border: 1px solid #657b99; border-radius: 16px; }
    .contact-steps h3 { color: white; }
    .contact-steps ol { padding-left: 23px; color: #dce5f2; }
    .contact-steps li { padding: 8px 0; }
    .text-link { font-weight: 700; text-underline-offset: 4px; }
    @media(max-width: 860px) {
      .hero-layout { grid-template-columns: 1fr; gap: 32px; }
      .hero-card { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: center; max-width: 600px; }
      .hero-card .portrait { height: 140px; margin: 0; object-position: 50% 48%; }
      .hero { padding: 50px 0 125px; }
      .package-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
      .demo-visual { padding: 20px; }
      .demo-visual h3 { font-size: 1.4rem; }
    }
    @media(max-width: 600px) {
      .benefit-grid, .demo-cards { grid-template-columns: 1fr; }
      .benefit-grid { gap: 22px; }
      .hero-note { align-items: flex-start; }
      .hero-note svg { flex-shrink: 0; }
      .hero-card { grid-template-columns: 86px 1fr; gap: 16px; padding: 18px; }
      .hero-card .portrait { height: 130px; }
      .hero-card h2 { font-size: 1.1rem; }
      .hero-card p { font-size: .9rem; }
      .hero-actions { margin-top: 24px; }
      .demo-visual { min-height: 200px; }
      .contact { padding: 65px 0; }
    }

.service-document { max-width: 820px; }
.service-document section { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.service-document h2 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.15; }
.service-document li { margin-bottom: 12px; color: var(--muted); }

html[data-theme="dark"] {
  color-scheme: dark;
  --cream: #101722;
  --paper: #192332;
  --ink: #eef3fb;
  --muted: #b6c3d6;
  --accent: #8bb8ff;
  --accent-hover: #b0d0ff;
  --accent-pale: #243752;
  --sky: #141e2c;
  --line: #36465d;
  --sand: #1b2534;
  --deep: #17253b;
  --on-accent: #10213c;
  --shadow: 0 18px 50px rgba(0, 0, 0, .22);
}
html[data-theme="dark"] .mountains path:nth-child(1) { fill: #33455f; }
html[data-theme="dark"] .mountains path:nth-child(2) { fill: #2a3b54; }
html[data-theme="dark"] .mountains path:nth-child(3) { fill: #20314a; }
html[data-theme="dark"] .mountains path:nth-child(4) { fill: var(--deep); }
html[data-theme="dark"] .package.featured { border-color: #536f95; }
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font: 600 .8rem var(--sans);
  cursor: pointer;
}
.theme-toggle:hover { background: var(--accent-pale); border-color: var(--accent); }
.theme-toggle[hidden], .theme-sun { display: none; }
html[data-theme="dark"] .theme-moon { display: none; }
html[data-theme="dark"] .theme-sun { display: block; }
@media (min-width: 761px) { .theme-toggle { order: 2; } }
@media (max-width: 1000px) {
  .theme-toggle span { display: none; }
  .theme-toggle { width: 44px; padding: 10px; }
  .nav-inner { gap: 16px; }
  .nav-links { gap: 18px; }
}
@media (max-width: 760px) {
  .theme-toggle { margin-left: auto; }
  .menu-toggle { margin-left: 0; }
  .nav-links { gap: 0; }
}

html[data-theme="dark"] .contact .button:not(.secondary):hover { background: #eaf0f8; border-color: #eaf0f8; }

/* Portfolio refinements: preserve the existing palette and responsive layout. */
.hero { background: radial-gradient(ellipse at 82% 22%, var(--accent-pale), transparent 54%); }
.hero-layout { gap: clamp(36px, 5vw, 64px); }
.hero-card { padding: 18px; border-radius: 22px; }
.hero-card .portrait { height: 280px; border-radius: 14px; }
.hero-card > div { padding: 6px 8px 8px; }
.hero-card h2 { line-height: 1.3; }
.hero-card .text-link { display: inline-block; margin-top: 10px; }
.benefit-grid > div + div { border-left: 1px solid #657b99; padding-left: 32px; }
.section { padding: 88px 0; }
.section-head h2, .faq-layout > div > h2 { font-size: clamp(2.5rem, 4.4vw, 4rem); line-height: 1.08; }
.demo .section-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px 64px; align-items: end; max-width: none; margin-bottom: 36px; }
.demo .section-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.demo .section-head h2, .demo .section-head > p:last-child { margin-bottom: 0; }
.demo-card { border-radius: 20px; box-shadow: 0 8px 24px rgba(24, 40, 65, .04); }
.demo-card:hover, .demo-card:focus-within { border-color: var(--accent); }
.demo-visual { padding: 24px; gap: 18px; grid-template-rows: 110px 190px; }
.demo-visual h3 { font-size: 1.85rem; line-height: 1.14; }
.demo-visual span { font-size: .7rem; font-weight: 600; letter-spacing: .08em; }
.demo-card-copy { padding: 26px; }
.demo-category { color: var(--accent-hover); font-size: .73rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 10px; }
.demo-card-copy h3 { font-size: 1.4rem; letter-spacing: -.015em; }
.demo-card-copy > p:not(.demo-category) { margin-bottom: 8px; }
.demo-card-copy ul { margin: 12px 0 28px; padding-left: 18px; font-size: .92rem; }
.demo-card-copy li + li { margin-top: 8px; }
.demo-card-copy .button { width: 100%; font-size: .9rem; }
.package { border-radius: 20px; padding: 34px; }
.package-tag { margin-bottom: 20px; }
.package .price { font-size: 2.75rem; }
.package li { align-items: baseline; }
.about-facts { gap: 8px; }
.faq-list { border-top: 0; }
.faq-list details { padding: 0 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.faq-list details + details { margin-top: 10px; }
.faq-list details[open] { border-color: var(--accent); }
.faq-list summary { padding-top: 20px; padding-bottom: 20px; }
.faq-list summary::after { top: 15px; }
.faq-list details p { margin-bottom: 22px; }
.contact-steps { align-self: center; padding: 34px; }
@media(max-width: 960px) {
  .demo-visual { grid-template-rows: auto; }
}
@media(max-width: 860px) {
  .section { padding: 68px 0; }
  .hero-card { padding: 18px; }
  .hero-card .portrait { height: 140px; }
  .hero-card > div { padding: 0; }
  .hero-card .text-link { margin-top: 4px; }
  .demo .section-head { grid-template-columns: 1fr; gap: 16px; }
}
@media(max-width: 600px) {
  .section { padding: 58px 0; }
  .benefit-grid > div + div { border-left: 0; border-top: 1px solid #657b99; padding: 20px 0 0; }
  .hero-card .portrait { height: 130px; }
  .demo-visual { padding: 20px; gap: 14px; }
  .demo-visual h3 { font-size: 1.5rem; }
  .demo-card-copy { padding: 24px; }
  .package { padding: 28px 24px; }
  .faq-list details { padding: 0 18px; }
  .contact-steps { padding: 24px; }
}

/* Keep the matching landscape cover illustrations complete on small screens. */
@media(max-width: 600px) {
  .demo-visual { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .demo-visual img { height: auto; aspect-ratio: 3 / 2; }
}

/* Shared studio identity and readable page rhythm. */
.brand { width: auto; height: auto; display: flex; gap: 12px; border: 0; border-radius: 0; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border: 1.5px solid currentColor; border-radius: 50%; }
.brand-name { font-family: var(--sans); font-size: 1rem; font-weight: 700; line-height: 1.3; letter-spacing: -.025em; }
.brand-name small { display: block; margin-top: 3px; color: var(--muted); font-size: .67rem; font-weight: 500; letter-spacing: .015em; }
.theme-toggle { width: 44px; padding: 10px; }
.theme-toggle span { display: none; }
.hero { padding-top: 58px; padding-bottom: 128px; }
.hero h1 { max-width: none; font-size: clamp(3rem, 5.1vw, 4.6rem); text-wrap: balance; }
.hero .lede { max-width: 56ch; font-size: 1.12rem; line-height: 1.7; }
.hero-card { border-radius: 16px; box-shadow: 0 14px 40px rgba(24,40,65,.07); }
.hero-card .portrait { height: 238px; border-radius: 9px; }
.hero-card .profile-label { margin: 0 0 8px; color: var(--accent-hover); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero-card h2 { font-size: 1.2rem; }
.hero-card p:not(.profile-label) { font-size: .92rem; }
.hero-card .text-link { font-size: .9rem; }
.section-head h2, .about h2, .contact h2 { text-wrap: balance; }
.demo-card { border-radius: 14px; }
.demo-visual { border-bottom: 1px solid var(--line); }
.demo-category { font-size: .66rem; letter-spacing: .07em; }
.demo-card-copy h3 { font-size: 1.45rem; }
.demo-card-copy .button { border-radius: 8px; }
.package { border-radius: 14px; }
.package-grid { gap: 24px; }
.package.featured { transform: none; }
.step-num { width: 52px; height: 52px; font-size: 1.1rem; }
.step h3 { margin-bottom: 14px; }
.about-facts span { border-radius: 6px; }
.service-document { max-width: 850px; }
.service-document > h1 { font-size: clamp(3rem, 6vw, 4.75rem); }
.service-document section { scroll-margin-top: 95px; }
.service-document section h2 { font-size: clamp(1.8rem, 3vw, 2.35rem); }
.service-nav { display: flex; flex-wrap: wrap; gap: 8px; padding: 24px; margin-top: 32px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.service-nav > span { width: 100%; margin-bottom: 5px; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); }
.service-nav a { padding: 8px 12px; border: 1px solid var(--line); border-radius: 6px; font-size: .85rem; text-decoration: none; }
.service-nav a:hover { border-color: var(--accent); background: var(--accent-pale); }
@media (max-width: 1000px) and (min-width: 761px) {
  .brand-name small { display: none; }
  .nav-inner { gap: 12px; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: .82rem; }
  .nav-cta { padding: 10px 14px; }
}
@media (max-width: 860px) {
  .hero { padding-top: 48px; padding-bottom: 115px; }
  .hero h1 { max-width: 15ch; }
  .hero-card .portrait { height: 150px; }
  .hero-card { max-width: 620px; }
}
@media (max-width: 600px) {
  .nav-inner { gap: 10px; }
  .brand-name { font-size: .9rem; }
  .brand-name small { font-size: .59rem; }
  .brand-mark { width: 36px; height: 36px; }
  .brand { gap: 9px; }
  .hero { padding-top: 36px; }
  .hero h1 { font-size: clamp(2.65rem, 11vw, 3.75rem); }
  .hero .lede { font-size: 1rem; }
  .hero-card { grid-template-columns: 90px 1fr; padding: 15px; }
  .hero-card .portrait { height: 142px; }
  .hero-card h2 { font-size: 1.08rem; }
  .hero-card .profile-label { font-size: .59rem; margin-bottom: 6px; }
  .hero-card p:not(.profile-label) { font-size: .82rem; }
  .hero-card .text-link { font-size: .82rem; }
  .service-nav { padding: 18px; }
  .service-nav a { flex-grow: 1; text-align: center; }
  header.site-nav .text-link { font-size: .78rem; max-width: 100px; text-align: right; }
  header.site-nav .brand-name small { display: none; }
}
