/* Package-specific components use the same roles and type scale as the LPTRH theme. */
body > header { position: sticky; top: 0; z-index: 100; }
.header-inner { position: relative; }
@media (max-width: 800px) {
  .hero-image { aspect-ratio: 1672 / 941; }
}
.hero-context { align-items: start; grid-template-columns: minmax(0, 700px) minmax(0, 360px); }
.welcome-offer { border-left: 2px solid var(--accent); padding-left: 24px; font-size: 13px; }
.offer-percent { display: block; font: 400 26px/1.15 Fraunces, Georgia, serif; letter-spacing: -.025em; margin-bottom: 6px; }
.welcome-offer strong { font-weight: 600; }
.welcome-offer p { margin-top: 2px; line-height: 1.55; }
.section-head { display: grid; grid-template-columns: 1.2fr .8fr; gap: 100px; align-items: end; margin-bottom: 56px; }
.section-title { max-width: 700px; margin-top: 12px; }
.section-head .sub { max-width: 470px; font-size: 16px; }
.button-light { background: var(--paper); color: var(--ink); }
.button-light:hover { background: var(--soft); color: var(--hover); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.card {
  --card-line: var(--page-line); --card-copy: var(--body-text); --card-link: var(--link-text);
  padding: clamp(20px, 2.1vw, 32px); border: 1px solid var(--card-line); border-top: 3px solid var(--accent);
  background: var(--page-bg); color: var(--page-text); min-width: 0;
}
.card.dark {
  --card-line: var(--stone); --card-copy: var(--line); --card-link: var(--soft);
  background: var(--charcoal); color: var(--paper); border-color: var(--charcoal); border-top-color: var(--accent);
}
[data-theme="dark"] .card.dark { background: var(--ink); border-color: var(--stone); border-top-color: var(--accent); }
.custom-card { position: relative; background: var(--surface); }
.card-top { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; padding-bottom: 20px; border-bottom: 1px solid var(--card-line); }
.index, .calc-label { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--card-link); }
.price { font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; }
.card h3 { font-size: clamp(30px, 2.8vw, 38px); margin: 24px 0 10px; }
.card .desc { font-size: 15px; line-height: 1.65; margin-bottom: 24px; color: var(--card-copy); }
.feature, .timeline { border-top: 1px solid var(--card-line); padding: 14px 0; font-size: 14px; line-height: 1.6; color: var(--card-copy); }
.feature b, .timeline b { color: var(--page-text); font-weight: 600; }
.dark .feature b, .dark .timeline b { color: var(--paper); }
.timeline span, .quote-credit strong, .card small, .offer-percent { display: block; }
.card .revision, .offer-price-note, .fineprint { font-size: 13px; line-height: 1.6; color: var(--card-copy, var(--body-text)); }
.case-link { display: block; margin: 18px 0; width: fit-content; color: var(--card-link); font-size: 14px; text-decoration: underline; }
.case-link:hover, .quote-credit a:hover, .advice-links a:hover { text-decoration-thickness: 2px; }
.card .button { width: 100%; }
.calc-label { margin: 18px 0 8px; }
.locked-note, .calc-hint, .hosting-detail, .calc-monthly, .package-advice p { font-size: 13px; line-height: 1.55; }
.locked-note, .calc-hint { margin: 8px 0 12px; }
.calc-row, .revision-option, .add-ons label { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--card-line); font-size: 14px; }
.calc-row { justify-content: space-between; }
.calc-row small, .check-row small, .add-ons small, .revision-option small, .extras summary small, .calc-total small {
  color: var(--body-text); font-size: 12px; font-weight: 400; line-height: 1.55;
}
.counter { display: flex; align-items: center; gap: 6px; }
.counter button {
  height: 38px; min-width: 38px; background: var(--page-bg); border: 1px solid var(--page-line);
  border-radius: 0; color: var(--page-text); font-size: 19px;
}
.counter button:hover:enabled { border-color: var(--accent); color: var(--link-text); }
.counter output { min-width: 20px; text-align: center; font-variant-numeric: tabular-nums; }
input[type="checkbox"] { accent-color: var(--accent); flex: 0 0 auto; width: 18px; height: 18px; margin: 3px 0 0; cursor: pointer; }
:disabled { cursor: not-allowed; }
.counter button:disabled { opacity: .45; }
.check-row, .revision-option, .add-ons label { cursor: pointer; align-items: flex-start; }
.check-row { display: flex; gap: 12px; font-size: 14px; padding: 14px 0; }
.check-row:has(:disabled), .add-ons label:has(:disabled) { opacity: .65; }
.extras { margin-top: 8px; border-top: 1px solid var(--card-line); }
.extras summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; list-style: none; padding: 15px 0; font-weight: 600; font-size: 15px; }
.extras summary::-webkit-details-marker { display: none; }
.expand-icon { display: inline-grid; flex: none; place-items: center; width: 32px; height: 32px; border: 1px solid var(--page-line); border-radius: 50%; font-size: 21px; font-weight: 400; }
.extras[open] .expand-icon { transform: rotate(45deg); }
.extras[open] .add-ons {
  position: absolute; right: calc(100% + 12px); top: 200px; width: 100%; padding: 20px 24px;
  max-height: min(72vh, 760px); overflow-y: auto; z-index: 5;
  background: var(--page-bg); border: 1px solid var(--page-line); border-top: 3px solid var(--accent);
  box-shadow: 0 8px 24px #0002;
}
.add-ons::before { content: "Additional options"; font-size: 16px; font-weight: 600; }
.add-ons label span, .revision-option span { flex: 1; }
.add-ons label strong, .revision-option strong { font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.hosting-detail, .package-advice { padding: 14px 16px; border-left: 2px solid var(--accent); background: var(--page-bg); }
.calc-total { margin-top: 14px; padding: 16px 0; border-top: 1px solid var(--accent); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.calc-total strong { font: 400 30px/1.1 Fraunces, Georgia, serif; }
.package-advice { margin-block: 8px; }
.package-advice strong { font-size: 16px; }
.package-advice p { margin: 6px 0 10px; }
.advice-links { display: grid; gap: 8px; }
.advice-links a, .quote-credit a, .referral-offer a { text-decoration: underline; color: var(--link-text); font-size: 14px; }
.calc-monthly, .offer-price-note { margin-top: 16px; }
.loyalty-offer { display: flex; justify-content: space-between; align-items: center; gap: 32px; background: var(--surface); padding: 30px 32px; border-top: 2px solid var(--accent); margin: 32px 0 16px; }
.loyalty-offer h3, .referral-offer h3 { margin: 6px 0 10px; font-size: 30px; }
.loyalty-offer p, .referral-offer p { font-size: 16px; }
.loyalty-instagram {
  display: inline-flex; flex: none; flex-direction: column; align-items: center; gap: 8px;
  color: var(--link-text); font-size: 14px; font-weight: 500; line-height: 1.4;
}
.loyalty-instagram svg { display: block; width: clamp(64px, 7vw, 80px); height: auto; }
.process { background: var(--charcoal); color: var(--paper); }
[data-theme="dark"] .process { background: var(--ink); }
.process p { color: var(--line); }
.process .eyebrow, .step small { color: var(--soft); }
.process-layout, .partner-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; }
.process-intro p, .partner-intro p { margin-top: 24px; max-width: 470px; font-size: 16px; }
.line-art { width: min(100%, 405px); margin-top: 40px; }
.line-art g { stroke: var(--stone); }
.step { border-top: 1px solid var(--stone); padding: 22px 0; display: grid; grid-template-columns: 62px 1fr; }
.step small { font: 400 32px/1.2 Fraunces, Georgia, serif; }
.step p { margin-top: 8px; font-size: 15px; }
.partner-details { border-top: 1px solid var(--accent); padding-top: 24px; }
.partner-details strong { display: block; font: 400 30px/1.2 Fraunces, Georgia, serif; letter-spacing: -.025em; }
.partner-details p { font-size: 16px; margin: 14px 0; }
.partner-details .button { display: flex; width: fit-content; margin: 24px 0 0 auto; }
.partner-brands { margin-top: 56px; border-top: 1px solid var(--page-line); padding-top: 24px; }
.partner-logos { margin-top: 20px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.partner-logo { min-height: 112px; display: grid; place-items: center; padding: 18px; }
.partner-logo img { width: 100%; max-width: 190px; max-height: 70px; object-fit: contain; }
.partner-logo .true-logo { filter: brightness(0); }
[data-theme="dark"] .partner-logo img { filter: grayscale(1) invert(1); mix-blend-mode: screen; }
[data-theme="dark"] .partner-logo .true-logo { filter: brightness(0) invert(1); }
.work { border-block: 1px solid var(--page-line); }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px; }
.gallery a { display: block; border-bottom: 1px solid var(--page-line); padding-bottom: 26px; }
.gallery a:hover { border-color: var(--accent); }
.gallery-image { overflow: hidden; display: block; background: var(--surface); }
.gallery img { width: 100%; aspect-ratio: 1.15; object-fit: cover; transition: transform .4s; }
.gallery a:hover img { transform: scale(1.025); }
.gallery-title { display: grid; grid-template-columns: 1fr auto; align-items: center; padding-top: 20px; gap: 6px 16px; }
.gallery-title span { grid-row: 1; grid-column: 1; color: var(--link-text); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.gallery-title strong { grid-column: 1; font: 400 34px/1.15 Fraunces, Georgia, serif; letter-spacing: -.035em; }
.project-open { grid-area: 1/2/3/3; display: grid; place-items: center; border: 1px solid var(--page-line); width: 44px; height: 44px; border-radius: 50%; }
.gallery a:hover .project-open { background: var(--accent); color: var(--paper); }
.work .text-link { float: right; margin-top: 32px; }
.work .shell::after { content: ""; display: block; clear: both; }
.testimonials-head { margin-bottom: 52px; }
.testimonial-switcher { display: grid; grid-template-columns: minmax(220px, .65fr) 1.35fr; gap: 56px; }
.testimonial-portraits { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; max-width: 285px; align-content: start; }
.portrait-choice { display: flex; align-items: center; flex-direction: column; gap: 9px; padding: 3px; border: 0; background: transparent; color: var(--body-text); font: inherit; font-size: 13px; text-align: center; }
.portrait-img { width: 64px; height: 64px; overflow: hidden; border-radius: 50%; display: block; }
.portrait-img img { width: 100%; height: 100%; object-fit: cover; }
.portrait-img.joseph img { transform: scale(1.65); transform-origin: 50% 31%; }
.portrait-img.kim img { transform: scale(2); transform-origin: 47% 30%; }
.portrait-img.cari img { transform: scale(2.1); transform-origin: 52% 29%; }
.portrait-choice.active .portrait-img { outline: 2px solid var(--accent); outline-offset: 3px; }
.portrait-choice.active { color: var(--page-text); font-weight: 600; }
.testimonial { border-top: 2px solid var(--accent); padding-top: 28px; }
.testimonial blockquote { font: 400 clamp(24px, 2vw, 30px)/1.48 Fraunces, Georgia, serif; letter-spacing: -.015em; }
.testimonial blockquote::before { content: "“"; }
.testimonial blockquote::after { content: "”"; }
.quote-credit { font-size: 13px; line-height: 1.75; color: var(--muted-text); margin-top: 28px; }
.quote-credit strong { color: var(--page-text); font-size: 14px; }
.referral-offer { border-top: 1px solid var(--page-line); margin-top: 64px; padding-top: 28px; display: flex; justify-content: space-between; align-items: end; gap: 24px; }
.bottom { position: relative; overflow: hidden; background: var(--accent); color: var(--paper); }
.bottom .shell { position: relative; padding-block: 88px; }
.bottom h2 { max-width: 640px; margin: 12px 0 24px; }
.bottom p { color: var(--paper); max-width: 540px; font-size: 16px; }
.bottom .eyebrow { color: var(--paper); }
.bottom .button { margin-top: 30px; }
.bottom .architecture { position: absolute; right: -4%; bottom: -8%; width: 48%; opacity: .22; pointer-events: none; }
.bottom :focus-visible, .main-footer :focus-visible { outline-color: var(--paper); }
.footer-brand img { width: 122px; }
.main-footer .shell { padding-bottom: 88px; }
.main-footer { position: relative; }
@media (max-width: 1100px) {
  .section-head, .partner-grid, .process-layout { gap: 52px; }
  .cards { gap: 16px; }
}
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .custom-card { grid-column: 1/-1; }
  .extras[open] .add-ons { position: static; width: auto; max-height: none; box-shadow: none; }
}
@media (max-width: 800px) {
  .header-inner { position: static; }
  .hero-context, .section-head, .process-layout, .partner-grid, .testimonial-switcher { grid-template-columns: 1fr; gap: 28px; }
  .hero-context { gap: 24px; }
  .welcome-offer { padding-left: 20px; }
  .section-head, .testimonials-head { margin-bottom: 36px; }
  .loyalty-offer {
    display: grid; grid-template-columns: minmax(0, 1fr) max-content;
    grid-template-areas: "heading instagram" "details instagram";
    align-items: start; justify-content: stretch; gap: 8px 24px;
    padding: 24px; margin-block: 28px 16px;
  }
  .loyalty-copy { display: contents; }
  .loyalty-heading { grid-area: heading; }
  .loyalty-heading .eyebrow { display: block; }
  .loyalty-offer h3 { margin: 6px 0 0; font-size: 27px; line-height: 1.13; }
  .loyalty-offer p { grid-area: details; line-height: 1.55; }
  .loyalty-instagram { grid-area: instagram; align-self: center; gap: 7px; font-size: 13px; }
  .loyalty-instagram svg { width: 58px; }
  .referral-offer { flex-direction: column; align-items: flex-start; gap: 16px; }
  .partner-details .button { margin: 24px auto 0; }
  .partner-logos { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .partner-logo { min-height: 90px; }
  .gallery { gap: 24px; }
  .gallery-title strong { font-size: 28px; }
  .testimonial-switcher .testimonial-portraits { grid-template-columns: repeat(5,minmax(0,1fr)); max-width: 560px; gap: 6px; }
  .counter button { min-width: 44px; min-height: 44px; }
  .bottom .shell { padding-block: 64px; }
}
@media (max-width: 650px) {
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: clamp(37px, 12.3vw, 48px); }
  .section { padding-block: clamp(48px, 12vw, 62px); }
  .section-head { gap: 16px; margin-bottom: 28px; }
  .section-title { font-size: clamp(34px, 9vw, 42px); margin-top: 8px; }
  .section-head .sub { font-size: 15px; line-height: 1.55; }
  .card { padding: 24px 20px; }
  .card-top { padding-bottom: 14px; }
  .card h3 { margin-top: 18px; }
  .card .desc { margin-bottom: 18px; }
  .gallery { grid-template-columns: 1fr; gap: 36px; }
  .loyalty-offer {
    grid-template-areas: "heading instagram" "details details";
    gap: 16px clamp(14px, 4.6vw, 22px); padding: 20px clamp(16px, 4.6vw, 22px);
    align-items: center;
  }
  .loyalty-heading .eyebrow { font-size: 11px; letter-spacing: .075em; }
  .loyalty-offer h3 { font-size: clamp(23px, 6vw, 27px); }
  .loyalty-offer p { border-top: 1px solid var(--page-line); padding-top: 14px; font-size: 15px; }
  .loyalty-instagram { font-size: 12px; }
  .loyalty-instagram svg { width: clamp(46px, 13vw, 56px); }
  .partner-details strong { font-size: clamp(25px, 7vw, 30px); }
  .partner-details p { margin: 12px 0; }
  .partner-brands { margin-top: 36px; }
  .line-art { margin-top: 20px; max-width: 290px; }
  .step { grid-template-columns: 48px 1fr; }
  .testimonial-switcher { gap: 22px; }
  .testimonials-head { margin-bottom: 26px; }
  .portrait-img { width: clamp(40px, 11vw, 54px); height: auto; aspect-ratio: 1; }
  .portrait-choice { gap: 7px; font-size: 12px; }
  .portrait-surname {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
  }
  .testimonial { padding-top: 22px; }
  .testimonial blockquote { font-size: clamp(21px, 5.8vw, 25px); line-height: 1.4; }
  .quote-credit { margin-top: 18px; }
  .bottom .architecture { display: none; }
}
@media (min-width: 375px) and (max-width: 520px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
  .hero-actions .button { gap: 8px; padding-inline: 12px; }
  .hero-actions .text-link { gap: 6px; }
  .hero-actions svg { width: 18px; height: 18px; }
}
