/* Task Fairy Automation Studio — site styles. Colors and type follow the brand kit. */
:root {
  --burgundy: #5C1A2B;
  --burgundy-deep: #4A1522;
  --rosewood-text: #7A4F57;
  --rosewood: #94676F;
  --powder: #7FA6D1;
  --mist: #E3ECF6;
  --cream: #F6F2EE;
  --white: #FFFFFF;
  --line: #E4DAD6;
  --display: 'Italiana', 'Cormorant Garamond', Georgia, serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sparkle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%237FA6D1' d='M12 0C12.6 7 17 11.4 24 12C17 12.6 12.6 17 12 24C11.4 17 7 12.6 0 12C7 11.4 11.4 7 12 0Z'/%3E%3C/svg%3E");
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--burgundy); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--burgundy); }
a:hover { color: var(--rosewood-text); }
:focus-visible { outline: 2px solid var(--powder); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--burgundy); color: var(--cream); padding: 10px 16px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 8px; }

/* Layout */
.wrap { max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 8vw, 104px); }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }
.bg-mist { background: var(--mist); }
.bg-burgundy { background: var(--burgundy); color: var(--cream); }
.bg-burgundy a:not(.btn) { color: var(--cream); }
.border-y { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split.top { align-items: flex-start; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split > .wide { flex-grow: 1.3; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack.tight { gap: 14px; }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 680px; }
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 44px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--min, 300px)), 1fr)); }

/* Type */
.label { font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--rosewood-text); }
.bg-burgundy .label { color: var(--mist); }
.label.pop { color: var(--powder); }
.display { font-size: clamp(46px, 6.4vw, 88px); line-height: 1.02; letter-spacing: .01em; }
.h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.05; }
.h3 { font-size: clamp(30px, 3vw, 36px); line-height: 1.1; }
.lead { font-size: 19px; max-width: 560px; }
.muted { color: var(--rosewood-text); }
.bg-burgundy .muted, .bg-burgundy .lead { color: var(--mist); }
.small { font-size: 15px; }
.pop { color: var(--powder); }
.strong { font-weight: 500; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border-radius: 999px; font: 500 15px/1 var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--burgundy); color: var(--cream); }
.btn-primary:hover { background: var(--burgundy-deep); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--burgundy); }
.btn-light:hover { background: var(--white); color: var(--burgundy); }
.btn-outline { background: transparent; color: var(--burgundy); border-color: var(--rosewood); }
.btn-outline:hover { border-color: var(--burgundy); color: var(--burgundy); }
.bg-burgundy .btn-outline { color: var(--cream); border-color: var(--rosewood); }
.bg-burgundy .btn-outline:hover { border-color: var(--cream); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid var(--rosewood); border-radius: 999px; font-size: 14px; text-decoration: none; }
.pill:hover { border-color: var(--burgundy); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo:hover { color: inherit; }
.logo svg.mark { width: 40px; height: 40px; flex: none; }
.logo .words { display: flex; flex-direction: column; }
.logo .name { font-family: var(--display); font-size: 30px; letter-spacing: .05em; line-height: 1; white-space: nowrap; }
.logo .dot { position: relative; }
.logo .dot svg { position: absolute; left: 50%; top: .04em; width: .22em; height: .22em; transform: translateX(-50%); }
.logo .tag { font-size: 8px; letter-spacing: .28em; margin-top: 6px; color: var(--rosewood-text); }
.site-footer .logo .tag { color: var(--mist); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--cream); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav-links a:not(.btn) { text-decoration: none; padding-block: 8px; }
.nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 999px; width: 48px; height: 48px; align-items: center; justify-content: center; cursor: pointer; color: var(--burgundy); }
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--cream); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; }
  .nav-links.open { display: flex; }
  .nav-links a:not(.btn) { padding-block: 14px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav-links .btn { margin-top: 16px; }
}

/* Photos with layered color blocks */
.layered { position: relative; }
.layered::before { content: ""; position: absolute; border-radius: 10px; background: var(--block, var(--mist)); }
.layered > img, .layered > .card-inner { position: relative; border-radius: 10px; width: 100%; }
.layered > img { object-fit: cover; }
.layered.down-left { padding: 0 0 28px 28px; } .layered.down-left::before { left: 0; bottom: 0; right: 28px; top: 28px; }
.layered.down-right { padding: 0 24px 24px 0; } .layered.down-right::before { right: 0; bottom: 0; left: 24px; top: 24px; }
.layered.up-left { padding: 24px 0 0 24px; } .layered.up-left::before { left: 0; top: 0; right: 24px; bottom: 24px; }
.layered.up-right { padding: 24px 24px 0 0; } .layered.up-right::before { right: 0; top: 0; left: 24px; bottom: 24px; }
.portrait { aspect-ratio: 4 / 5; object-fit: cover; }
.landscape { aspect-ratio: 4 / 3; object-fit: cover; }

/* Cards */
.card { background: var(--white); border-radius: 10px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.card.bordered { border: 1px solid var(--line); }
.card.dark { background: var(--burgundy); color: var(--cream); }
.card.dark .muted { color: var(--mist); }
.card.deep { background: var(--burgundy-deep); color: var(--cream); padding: 26px; gap: 8px; }
.card .grow { flex: 1; }
.card-media { padding: 0; overflow: hidden; gap: 0; }
.card-media > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-media > .card-body { padding: 32px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.card-title { font-family: var(--display); font-size: 26px; line-height: 1.15; }

/* Hero checklist card */
.handled { background: var(--cream); color: var(--burgundy); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.bg-burgundy .handled .muted { color: var(--rosewood-text); }
.handled .label { white-space: nowrap; }
.handled .row { display: flex; align-items: center; gap: 14px; padding-block: 14px; border-top: 1px solid var(--line); }
.handled .row span:nth-child(2) { flex: 1; }
.handled .row svg { width: 26px; height: 26px; flex: none; }

/* Lists */
.sparkle-list { list-style: none; margin: 0; padding: 0; }
.sparkle-list li { display: flex; gap: 12px; align-items: baseline; padding-block: 12px; border-bottom: 1px solid var(--line); }
.sparkle-list li:last-child { border-bottom: 0; }
.sparkle-list li::before { content: ""; flex: none; width: 11px; height: 11px; background: var(--sparkle) center / contain no-repeat; transform: translateY(1px); }
.sparkle-list.plain li { border-bottom: 0; padding-block: 5px; font-size: 15px; }
.dark .sparkle-list li, .bg-burgundy .sparkle-list li { border-color: var(--rosewood); }
.columns-2 { columns: 2 220px; column-gap: 32px; }
.columns-2 li { break-inside: avoid; padding-block: 18px; }

/* Steps */
.steps { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.step { border-top: 1px solid var(--burgundy); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.step .num { font-family: var(--display); font-size: 56px; line-height: 1; color: var(--rosewood); }
.step h3 { font-family: var(--body); font-size: 20px; font-weight: 500; }
.bg-burgundy .step { border-color: var(--rosewood); }
.bg-burgundy .step .num { color: var(--powder); font-size: 44px; }

/* Pricing */
.price { display: flex; align-items: baseline; gap: 8px; }
.price .amount { font-family: var(--display); font-size: 56px; line-height: 1; }
.price.sm .amount { font-size: 46px; }
.price-meta { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; }

/* FAQ */
.faq { max-width: 900px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line); padding-block: 22px; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 28px; line-height: .8; color: var(--rosewood); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 8px; color: var(--rosewood-text); }

/* CTA band */
.cta { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; justify-content: space-between; }
.cta .display { font-size: clamp(44px, 5.6vw, 76px); max-width: 720px; }

/* Forms */
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; color: var(--burgundy); background: var(--cream); border: 1px solid #D8CBC6; border-radius: 6px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { resize: vertical; min-height: 140px; }
.field-row { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.hidden { position: absolute; left: -9999px; }
.booking-slot { flex: 1; min-height: 320px; border: 1px dashed var(--rosewood); border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 24px; color: var(--mist); }

/* Footer */
.site-footer { background: var(--burgundy-deep); color: var(--mist); }
.site-footer .inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: center; padding-block: 48px; }
.site-footer .logo { color: var(--cream); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 24px; font-size: 14px; }
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }
.site-footer small { font-size: 13px; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  .card { padding: 26px; }
  .handled { padding: 24px; }
  .lead { font-size: 17px; }
}
