/* =========================================================
   Smart Islander – boutique.css
   "Island boutique" theme layer. Loads after style.css and only restyles;
   remove the <link> to this file to roll back to the old look.
   Fraunces (headings) · DM Sans (text)
   ========================================================= */
:root {
  --navy: #12313F;        /* deep sea */
  --ocean: #174A5C;
  --teal: #1F6F6B;        /* palm */
  --teal-50: #E6EFEA;
  --coral: #E2734B;       /* sunset */
  --coral-dark: #B9522C;
  --coral-50: #FBEBE2;
  --gold: #C29A5B;
  --gold-50: #F3E7D3;
  --sand: #F5EDE1;
  --shell: #FBF7F1;
  --ink: #23323A;
  --muted: #5E6A6E;
  --line: #E7DCCB;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow-sm: 0 2px 10px rgba(18, 49, 63, .05);
  --shadow: 0 14px 34px rgba(18, 49, 63, .09);
  --shadow-lg: 0 28px 64px rgba(18, 49, 63, .14);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

body { font-family: var(--sans); background: var(--shell); color: var(--ink); }
h1, h2, h3, .about__card-title { font-family: var(--serif); font-optical-sizing: auto; font-variation-settings: "SOFT" 50; }
h1 { font-weight: 600; letter-spacing: -.02em; line-height: 1.06; }
h2 { font-weight: 600; letter-spacing: -.015em; line-height: 1.14; }
h3 { font-weight: 600; letter-spacing: -.005em; }
h4, .pstep h3, .value h3, .freebie-group__head h3 { font-family: var(--sans); font-weight: 700; letter-spacing: 0; }
.freebie-group__head h3 { font-family: var(--serif); font-weight: 600; }
::selection { background: var(--gold-50); color: var(--navy); }

/* Buttons */
.btn, .tab { font-family: var(--sans); font-weight: 700; letter-spacing: .01em; }
.btn--primary { background: var(--coral); box-shadow: 0 10px 22px rgba(226, 115, 75, .28); }
.btn--primary:hover { background: var(--coral-dark); box-shadow: 0 14px 28px rgba(185, 82, 44, .3); }
.btn--ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }

/* Header */
.header { background: rgba(251, 247, 241, .86); }
.header.is-scrolled { border-color: var(--line); }
.nav a:not(.btn) { color: var(--ink); }
.nav a:not(.btn):hover, .nav a.is-active { background: var(--gold-50); color: var(--navy); }
.burger { background: var(--shell); border-color: var(--line); }
@media (max-width: 920px) { .nav { background: var(--shell); } }

/* Kickers: small caps with a gold rule */
.kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--coral-dark); letter-spacing: .2em; font-weight: 700; }
.kicker::before, .section__head .kicker::after { content: ""; width: 28px; height: 1px; background: var(--gold); }
.kicker--light { color: var(--gold); }

/* Hero */
.hero {
  background:
    radial-gradient(620px 420px at 82% 32%, rgba(226, 115, 75, .16), transparent 62%),
    radial-gradient(520px 360px at 6% 92%, rgba(31, 111, 107, .10), transparent 62%),
    linear-gradient(180deg, var(--shell) 0%, var(--sand) 100%);
}
.hero::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30c120-20 240-30 360-20s240 40 360 40 240-30 360-40 240 0 360 20v30H0z' fill='%23FBF7F1'/%3E%3C/svg%3E"); }
.eyebrow { background: var(--shell); border-color: var(--line); color: var(--ink); font-weight: 500; }
.dot { background: var(--teal); box-shadow: 0 0 0 4px rgba(31, 111, 107, .18); }
.h1-keyword { font-family: var(--sans); color: var(--teal); letter-spacing: .16em; font-weight: 700; font-size: .75rem; }
.accent { background: none; color: var(--coral-dark); -webkit-text-fill-color: currentColor; font-style: italic; font-weight: 500; }
.lead { color: var(--muted); }
.hero__proof { border-top: 1px solid var(--line); }
.hero__proof { gap: 14px 30px; }
.hero__proof strong { font-family: var(--serif); font-weight: 600; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem); }
.hero__proof span { max-width: 190px; }

/* Portrait: arch with an offset gold outline, like a framed postcard */
.hero__visual { isolation: isolate; }
.hero__visual::before {
  content: ""; position: absolute; z-index: -1; inset: -14px -14px 14px 14px;
  border: 1.5px solid var(--gold); border-radius: 220px 220px 32px 32px;
}
.portrait { border-radius: 220px 220px 32px 32px; box-shadow: 0 30px 60px rgba(18, 49, 63, .18); }
.float-card { background: var(--shell); border: 1px solid var(--line); border-radius: 18px; }
.float-card strong { font-family: var(--serif); font-weight: 600; }
.float-card__icon { background: var(--teal-50); color: var(--teal); border-radius: 50%; }
.float-card__icon--coral { background: var(--coral-50); color: var(--coral-dark); }

/* Sections */
.section { background: var(--shell); }
.section--tint { background: var(--sand); }
.section__head p { color: var(--muted); }

/* Service cards */
.card { background: var(--shell); border-color: var(--line); border-radius: var(--radius); }
.section--tint .card { background: #FFFCF7; }
.card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.card--featured { border: 1.5px solid var(--gold); }
.badge { background: var(--navy); left: 50%; transform: translateX(-50%); letter-spacing: .04em; }
.card__icon { border-radius: 50%; }
.card__icon--teal { background: var(--teal-50); color: var(--teal); }
.card__icon--navy { background: var(--gold-50); color: #8A6A35; }
.card__icon--coral { background: var(--coral-50); color: var(--coral-dark); }
.card__price { color: var(--teal) !important; font-family: var(--serif); font-style: italic; font-weight: 500 !important; font-size: 1.0625rem; }
.checklist li::before { background-color: var(--teal-50); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%231F6F6B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.card__foot { border-color: var(--line); }
.link-arrow { color: var(--coral-dark); }

/* Portfolio */
.tabs { background: var(--sand); border: 1px solid var(--line); }
.tab.is-active { background: var(--navy); color: #fff; }
.case__side { background: var(--sand); border: 1px solid var(--line); }
.case__flag { background: var(--shell); border-radius: 50%; }
.chip { background: var(--teal-50); color: var(--teal); }
.chip--coral { background: var(--coral-50); color: var(--coral-dark); }
.chip--outline { background: var(--shell); }
.pain { background: var(--shell); border-left-color: var(--coral); }
.pain h4 { color: var(--coral-dark); }
.why li::before { color: var(--gold); }
.star__step { background: var(--shell); border-color: var(--line); }
.star__letter { background: var(--navy); font-family: var(--serif); border-radius: 50%; }
.star__step--result { background: linear-gradient(160deg, var(--gold-50), var(--shell)); border-color: var(--gold); }
.star__step--result .star__letter { background: var(--coral); }
.star__step li::before { background: var(--teal); }

/* About */
.about__card { background: linear-gradient(165deg, var(--navy), var(--ocean)); }
.about__card::after { background: radial-gradient(closest-side, rgba(226, 115, 75, .55), rgba(226, 115, 75, 0)); width: 260px; height: 260px; right: -90px; top: -90px; }
.facts span { color: var(--gold); opacity: .9; }
#about .value { background: #FFFCF7; border-color: var(--line); }
.value:hover { border-color: var(--gold); }
.value__icon { background: var(--teal-50); border-radius: 50%; }

/* Process */
.pstep__marker { border-color: var(--teal); color: var(--teal); background: var(--shell); box-shadow: 0 0 0 8px var(--shell); }
.section--tint .pstep__marker { background: var(--sand); }
.pstep__num { background: var(--gold); }
.pstep__body { background: #FFFCF7; border-color: var(--line); }
.pstep__tag { background: var(--gold-50); color: #7C5E2C; }
.pstep h3 { font-family: var(--serif); font-weight: 600; font-size: 1.125rem; }
.pstep .pstep__out { border-top-color: var(--line); }
.pstep__out strong { color: var(--coral-dark); }
.process::before, .pstep:not(:last-child)::before { opacity: .35; }
@media (max-width: 640px) { .pstep__marker { box-shadow: 0 0 0 6px var(--shell); } }

/* Free templates */
.freebie-group { background: #FFFCF7; border-color: var(--line); box-shadow: none; }
.freebie { background: var(--shell); border-color: var(--line); }
.freebie:hover { border-color: var(--gold); }
.freebie__title { color: var(--navy); }
.freebie__cta { background: var(--teal-50); color: var(--teal); }
.freebie:hover .freebie__cta { background: var(--teal); color: #fff; }
.freebie--wide { border: 1.5px solid var(--gold); background: var(--gold-50); }
.freebie__tag { color: #7C5E2C; }

/* Contact */
.contact-section {
  background:
    radial-gradient(700px 380px at 92% 8%, rgba(226, 115, 75, .32), transparent 62%),
    radial-gradient(600px 300px at 0% 100%, rgba(194, 154, 91, .16), transparent 60%),
    linear-gradient(165deg, var(--navy), #0F3A48);
}
.contact h2 { font-weight: 500; }
.book { background: var(--shell); }
.book__icon { background: var(--coral-50); color: var(--coral-dark); border-radius: 50%; }
.book__meta { border-color: var(--line); }
.book__meta li { background: var(--sand); }
.book__meta svg { color: var(--teal); }

/* Footer */
.footer { background: #0D2631; }
.info__label { color: var(--gold); }
.footer__logo { background: var(--shell); }
.socials a:hover { background: var(--coral); }

/* Pop-ups */
.bookpop__backdrop { background: rgba(18, 49, 63, .62); }
.bookpop__panel { background: var(--shell); }
.bookpop__close { background: var(--sand); }

:focus-visible { outline-color: var(--gold); }

/* ===== Lead & SEO upgrades (Oct 24 2026) ===== */
.hero__micro { margin: -26px 0 34px; font-size: var(--fs-xs); color: var(--muted); }
.portrait img { position: absolute; inset: 0; }
@media (max-width: 920px) { .hero__micro { text-align: center; } }

/* Tools strip under the hero */
.tools { position: relative; z-index: 1; margin-top: clamp(40px, 6vw, 64px); text-align: center; }
.tools__label { margin: 0 0 14px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.tools__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.tools__list li { font-family: var(--serif); font-weight: 500; font-size: 1.0625rem; color: var(--navy); padding: 6px 16px; border: 1px solid var(--line); border-radius: 999px; background: rgba(251, 247, 241, .7); }

/* Service cards */
.card__best { margin: -2px 0 14px; padding: 10px 14px; border-radius: 12px; background: var(--sand); font-size: var(--fs-sm); line-height: 1.5; color: var(--ink); }
.card__best strong { color: var(--coral-dark); }

/* Portfolio call-to-action band */
.cta-band { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: clamp(22px, 3vw, 32px) clamp(22px, 4vw, 40px); border-radius: var(--radius); background: linear-gradient(120deg, var(--navy), var(--ocean)); color: #fff; }
.cta-band__title { margin: 0 0 4px; font-family: var(--serif); font-size: var(--fs-lg); font-weight: 600; color: #fff; }
.cta-band__text { margin: 0; color: rgba(255, 255, 255, .8); font-size: var(--fs-sm); max-width: 520px; }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.cta-band .link-arrow { color: var(--gold-50); }
.cta-band .link-arrow:hover { color: #fff; }

/* FAQ */
.faq__list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: #FFFCF7; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--sand); color: var(--coral-dark); font-size: 1.25rem; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item h3 { margin: 0; font-size: var(--fs-md); }
.faq__item p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* Contact: next steps */
.next-steps { list-style: none; counter-reset: step; margin: 24px 0 18px; padding: 0; display: grid; gap: 12px; }
.next-steps li { counter-increment: step; position: relative; padding-left: 44px; color: rgba(255, 255, 255, .8); font-size: var(--fs-sm); line-height: 1.5; }
.next-steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold); font-family: var(--serif); font-weight: 600; }
.next-steps strong { color: #fff; }
.contact__alt { font-size: var(--fs-sm) !important; }
.contact__alt a { color: var(--gold-50); text-decoration: underline; text-underline-offset: 3px; }

/* Sticky phone CTA */
.sticky-cta { display: none; }
@media (max-width: 640px) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(251, 247, 241, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; }
  .sticky-cta.is-visible { transform: none; }
  .footer { padding-bottom: 72px; }
  .cta-band__actions .btn { width: 100%; }
}
/* Avatar is a real <img> now; drop the CSS background copy so it isn't downloaded twice */
.portrait { background-image: url("../img/hero-illustration.svg"); background-size: cover; }
.portrait picture { position: absolute; inset: 0; }
.footer__logo picture, .header__logo picture { display: block; }
.h1-keyword__sub { color: var(--coral-dark); white-space: nowrap; }
.h1-keyword__sub { display: block; margin-top: 2px; }

/* Work in progress: website concepts (portfolio) */
.work { margin-top: 48px; }
.work__head { max-width: 680px; margin: 0 auto 24px; text-align: center; }
.work__head h3 { margin-bottom: 6px; }
.work__head p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.work__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.work__card { display: flex; flex-direction: column; overflow: hidden; background: #FFFCF7; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
.work__card:hover { color: var(--ink); transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.work__card img { width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.work__body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.work__body h4 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: var(--fs-lg); color: var(--navy); }
.work__body p { margin: 0 0 6px; font-size: var(--fs-sm); color: var(--muted); }
.work__body .link-arrow { margin-top: auto; }
.work__tag { align-self: flex-start; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; color: #7C5E2C; background: var(--gold-50); padding: 4px 10px; border-radius: 999px; }
.work__tag--live { color: var(--teal); background: var(--teal-50); }
@media (max-width: 760px) { .work__grid { grid-template-columns: 1fr; } }

.tk { position: relative; z-index: 1; margin-top: clamp(44px, 6vw, 72px); }
.tk__head { text-align: center; margin-bottom: 22px; }
.tk__head .kicker { margin-bottom: 6px; }
.tk__title { margin: 0; font-family: var(--serif); font-size: var(--fs-lg); font-weight: 600; color: var(--navy); }
.tk__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tk__card { background: rgba(255, 252, 247, .85); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 20px; transition: transform .25s, border-color .25s, box-shadow .25s; }
.tk__card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: var(--shadow); }
.tk__ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px; }
.tk__ico svg { width: 22px; height: 22px; }
.tk__ico--teal { background: var(--teal-50); color: var(--teal); }
.tk__ico--coral { background: var(--coral-50); color: var(--coral-dark); }
.tk__ico--gold { background: var(--gold-50); color: #8A6A35; }
.tk__name { margin: 0 0 4px; font-family: var(--serif); font-weight: 600; font-size: 1.125rem; color: var(--navy); }
.tk__do { margin: 0 0 14px; font-size: var(--fs-sm); color: var(--muted); line-height: 1.5; }
.tk__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tk__chips li { font-size: var(--fs-xs); font-weight: 700; color: var(--navy); background: var(--sand); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; }
@media (max-width: 900px) { .tk__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; gap: 12px; } }
@media (max-width: 640px) {
  .tk__card { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 16px; }
  .tk__ico { width: 40px; height: 40px; margin: 0; grid-row: span 2; }
  .tk__name { align-self: center; margin: 0; }
  .tk__do { grid-column: 2; margin: 2px 0 10px; }
  .tk__chips { grid-column: 1 / -1; }
}

.tm { position: relative; z-index: 1; margin-top: clamp(44px, 6vw, 72px); text-align: center; }
.tm__title { margin: 0 0 18px; font-family: var(--serif); font-size: var(--fs-lg); font-weight: 600; color: var(--navy); }
.tm__title em { color: var(--coral-dark); font-weight: 500; }
.tm__track { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tm__row { display: flex; width: max-content; gap: 0; animation: tm 40s linear infinite; }
.tm__row li { font-family: var(--serif); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 500; font-style: italic; color: var(--navy); padding: 0 28px; position: relative; white-space: nowrap; }
.tm__row li::after { content: ""; position: absolute; right: -4px; top: 50%; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); transform: translateY(-50%); }
@keyframes tm { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .tm__row { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

.tl { position: relative; z-index: 1; margin-top: clamp(44px, 6vw, 72px); text-align: center; }
.tl__title { margin: 0 0 18px; font-family: var(--serif); font-size: var(--fs-lg); font-weight: 600; color: var(--navy); }
.tl__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; align-items: center; }
.tl__list li { display: inline-flex; align-items: center; gap: 8px; color: #5E6A6E; font-weight: 700; font-size: 1rem; opacity: .85; }
.tl__list svg { width: 22px; height: 22px; fill: currentColor; }
.tl__word span { font-family: var(--serif); font-size: 1.0625rem; }

.tk__grid--6 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1080px) { .tk__grid--6 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .tk__grid--6 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .tk__grid--6 .tk__do { display: none; } .tk__grid--6 .tk__name { margin-bottom: 8px; } .tk__grid--6 .tk__card { align-items: center; } .tk__grid--6 .tk__ico { grid-row: auto; } }

.tk__grid--7 { grid-template-columns: repeat(12, 1fr); }
.tk__grid--7 .tk__card { grid-column: span 3; }
.tk__grid--7 .tk__card:nth-child(n+5) { grid-column: span 4; }
@media (max-width: 1080px) { .tk__grid--7 { grid-template-columns: 1fr 1fr; } .tk__grid--7 .tk__card, .tk__grid--7 .tk__card:nth-child(n+5) { grid-column: auto; } .tk__grid--7 .tk__card:last-child { grid-column: 1 / -1; } }
@media (max-width: 760px) { .tk__grid--7 { grid-template-columns: 1fr; } .tk__grid--7 .tk__card:last-child { grid-column: auto; } }
@media (max-width: 640px) { .tk__grid--7 .tk__do { display: none; } .tk__grid--7 .tk__name { margin-bottom: 8px; } .tk__grid--7 .tk__card { align-items: center; } .tk__grid--7 .tk__ico { grid-row: auto; } }
