/* Alcohol dilution calculator */
.spirit-page { overflow: hidden; color: #2a1535; background: #fff; }
.spirit-hero { position: relative; padding: 25px max(24px, calc((100% - 1180px) / 2)) 72px; background: linear-gradient(135deg, #fffaf7 0%, #f6eafa 56%, #fff 100%); isolation: isolate; }
.spirit-hero::before, .spirit-hero::after { content: ''; position: absolute; z-index: -1; pointer-events: none; border: 1px solid rgba(123, 47, 190, .12); border-radius: 50%; }
.spirit-hero::before { width: 640px; height: 640px; right: -270px; top: 60px; box-shadow: 0 0 0 34px rgba(123,47,190,.035), 0 0 0 70px rgba(123,47,190,.02); }
.spirit-hero::after { width: 250px; height: 250px; left: -155px; bottom: -125px; background: rgba(255,255,255,.32); }
.spirit-breadcrumbs { position: relative; z-index: 1; }
.spirit-heading { max-width: 950px; margin: 34px auto 0; text-align: center; }
.spirit-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #7d2ab9; font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.spirit-eyebrow-icon { width: 53px; height: 53px; display: grid; place-items: center; }
.spirit-eyebrow-icon img { width: 68px; height: 68px; display: block; object-fit: contain; filter: drop-shadow(0 8px 11px rgba(63, 27, 81, .18)); }
.spirit-heading h1 { margin: 18px 0 0; color: #351347; font-size: clamp(52px, 8vw, 92px); font-weight: 600; line-height: .93; letter-spacing: -.075em; }
.spirit-hero-subtitle { max-width: 850px; margin: 22px auto 0; color: #77657f; font-size: 18px; line-height: 1.58; }
.spirit-calculator { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); max-width: 1060px; margin: 38px auto 0; overflow: hidden; border: 1px solid #e0d1e7; border-radius: 30px; background: #fff; box-shadow: 0 25px 60px rgba(79, 32, 100, .13); }
.spirit-input-panel { padding: 30px; background: rgba(255,255,255,.94); }
.spirit-panel-topline, .spirit-result-topline { display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #8a6a95; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.spirit-live, .spirit-result-status { display: inline-flex; align-items: center; gap: 7px; color: #9a789f; letter-spacing: .04em; }
.spirit-live i, .spirit-result-status i { width: 7px; height: 7px; border-radius: 50%; background: #65bb91; box-shadow: 0 0 0 4px rgba(101,187,145,.13); }
.spirit-panel-heading { display: flex; align-items: center; gap: 15px; margin-top: 30px; }
.spirit-panel-icon { width: 65px; height: 65px; flex: 0 0 65px; display: grid; place-items: center; border-radius: 21px; background: #f6eef9; }
.spirit-panel-icon img { width: 82px; height: 82px; display: block; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(66,31,85,.17)); }
.spirit-kicker { color: #8c6a98; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.spirit-panel-heading h2 { margin: 7px 0 0; color: #2e173a; font-size: 30px; font-weight: 650; letter-spacing: -.045em; }
.spirit-panel-lead { max-width: 520px; margin: 18px 0 0; color: #776b7f; font-size: 16px; line-height: 1.55; }
.spirit-fields { display: grid; grid-template-columns: 1.16fr .92fr .92fr; gap: 11px; margin-top: 26px; }
.spirit-field-group { min-width: 0; }
.spirit-field-label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: #4e3c57; font-size: 13px; font-weight: 850; }
.spirit-field-label i { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; background: #f1e3f7; color: #7a28b3; font-size: 12px; font-style: normal; font-weight: 900; }
.spirit-field-control { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; }
.spirit-field-control input, .spirit-field-control select, .spirit-result-unit select { width: 100%; min-width: 0; height: 53px; padding: 0 13px; border: 1px solid #dfd2e5; border-radius: 14px; outline: none; background: #fff; color: #3b2047; font: inherit; font-size: 16px; transition: border-color .2s ease, box-shadow .2s ease; }
.spirit-field-control input:focus, .spirit-field-control select:focus, .spirit-result-unit select:focus { border-color: #9c53c5; box-shadow: 0 0 0 4px rgba(131,47,190,.12); }
.spirit-field-control input::placeholder { color: #b1a2b7; }
.spirit-field-control select { height: 43px; padding-top: 0; padding-bottom: 0; color: #725e7b; font-size: 13px; }
.spirit-percent-wrap { position: relative; }
.spirit-percent-wrap::after { content: '%'; position: absolute; right: 14px; top: 50%; color: #9a7ba2; font-size: 16px; font-weight: 800; pointer-events: none; transform: translateY(-50%); }
.spirit-percent-wrap input { padding-right: 35px; }
.spirit-hint { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; color: #796a80; }
.spirit-hint > span, .spirit-note > span { width: 22px; height: 22px; flex: 0 0 22px; display: grid; place-items: center; border-radius: 8px; background: #f1e2f7; color: #7c2ab5; font-size: 12px; font-weight: 900; }
.spirit-hint p, .spirit-note p { margin: 0; font-size: 14px; line-height: 1.5; }
.spirit-actions { display: grid; grid-template-columns: minmax(0,1fr) 105px; gap: 10px; margin-top: 23px; }
.spirit-submit, .spirit-reset { min-height: 53px; border: 0; border-radius: 15px; font: inherit; font-size: 15px; font-weight: 850; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.spirit-submit { background: linear-gradient(135deg,#7a24b6,#a354cd); color: #fff; box-shadow: 0 14px 24px rgba(113,36,166,.2); }
.spirit-submit span { margin-left: 8px; font-size: 20px; font-weight: 400; vertical-align: -1px; }
.spirit-submit:hover { box-shadow: 0 18px 30px rgba(113,36,166,.28); transform: translateY(-2px); }
.spirit-reset { border: 1px solid #dfd1e6; background: #fbf8fc; color: #765d80; }
.spirit-reset:hover { background: #f2e8f7; }
.spirit-result-panel { position: relative; display: flex; min-height: 535px; flex-direction: column; padding: 30px; overflow: hidden; background: linear-gradient(145deg,#fff9f2 0%,#f7e9fa 68%,#eee1f7 100%); }
.spirit-result-panel::before, .spirit-result-panel::after { content: ''; position: absolute; pointer-events: none; border: 1px solid rgba(180,106,42,.14); border-radius: 50%; }
.spirit-result-panel::before { width: 500px; height: 500px; right: -280px; top: 100px; box-shadow: 0 0 0 34px rgba(180,106,42,.035), 0 0 0 70px rgba(123,47,190,.025); }
.spirit-result-panel::after { width: 160px; height: 160px; left: -88px; bottom: -45px; }
.spirit-result-unit { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; color: #8c6a96; font-size: 11px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.spirit-result-unit select { width: 118px; height: 39px; padding: 0 10px; font-size: 13px; letter-spacing: 0; text-transform: none; }
.spirit-result-content { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; justify-content: center; min-height: 425px; }
.spirit-empty-state, .spirit-error-state { max-width: 320px; margin: auto; text-align: center; }
.spirit-empty-icon { width: 118px; height: 118px; display: grid; place-items: center; margin: 0 auto 17px; }
.spirit-empty-icon img { width: 155px; height: 155px; display: block; object-fit: contain; filter: drop-shadow(0 12px 14px rgba(66,31,85,.17)); }
.spirit-empty-state h2, .spirit-error-state h2 { margin: 0; color: #391747; font-size: 29px; font-weight: 650; letter-spacing: -.045em; }
.spirit-empty-state p, .spirit-error-state p { margin: 11px 0 0; color: #806f87; font-size: 15px; line-height: 1.55; }
.spirit-error-state > span { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 18px; border-radius: 20px; background: #f7dce7; color: #ad346c; font-size: 29px; font-weight: 900; }
.spirit-result-ready { display: flex; flex-direction: column; align-items: center; text-align: center; animation: spirit-rise .35s ease both; }
.spirit-result-art { width: 115px; height: 100px; display: grid; place-items: center; margin-bottom: 4px; }
.spirit-result-art img { width: 132px; height: 132px; display: block; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(66,31,85,.17)); }
.spirit-result-ready small { color: #8d6d97; font-size: 12px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.spirit-result-ready strong { display: block; margin-top: 4px; color: #4c155d; font-size: clamp(46px, 6vw, 72px); font-weight: 850; line-height: .96; letter-spacing: -.07em; }
.spirit-result-ready > span { display: block; margin-top: 6px; color: #76617d; font-size: 16px; font-weight: 850; }
.spirit-result-summary { display: grid; grid-template-columns: 1fr 1fr; width: min(410px,100%); gap: 10px; margin-top: 20px; }
.spirit-summary-cell { padding: 12px 13px; border: 1px solid #e5d4e7; border-radius: 15px; background: rgba(255,255,255,.74); text-align: left; }
.spirit-summary-cell small { display: block; color: #93759a; font-size: 10px; letter-spacing: .08em; }
.spirit-summary-cell b { display: block; margin-top: 4px; color: #552365; font-size: 18px; }
.spirit-formula-result { width: min(410px,100%); margin: 11px auto 0; padding: 14px 17px; border: 1px solid #e3d2e6; border-radius: 17px; background: rgba(255,255,255,.77); text-align: left; }
.spirit-formula-result > span { color: #917398; font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.spirit-formula-result strong { display: block; margin-top: 6px; color: #54205f; font-size: 16px; line-height: 1.35; }
.spirit-formula-result p { margin: 4px 0 0; color: #77637f; font-size: 13px; line-height: 1.4; }
.spirit-formula-result p b { color: #7a28b5; }
@keyframes spirit-rise { from { opacity: 0; transform: translateY(10px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.spirit-hero-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 18px auto 0; color: #79677f; font-size: 14px; text-align: center; }
.spirit-hero-note span { color: #7d2ab9; font-weight: 900; }
.spirit-content-section { padding: 80px max(24px, calc((100% - 1100px) / 2)); background: #fff; }
.spirit-tinted { background: #fbf6fd; }
.spirit-section-heading { display: flex; align-items: flex-start; gap: 17px; }
.spirit-section-number { width: 49px; height: 49px; flex: 0 0 49px; display: grid; place-items: center; border: 1px solid #dfd0e6; border-radius: 16px; background: #fff; color: var(--purple); font-size: 12px; font-weight: 900; box-shadow: 0 12px 23px rgba(85,31,109,.08); }
.spirit-section-heading p { margin: 0; color: var(--purple); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.spirit-section-heading h2 { margin: 8px 0 0; color: #24142f; font-size: clamp(34px, 5vw, 60px); font-weight: 600; line-height: 1.02; letter-spacing: -.065em; }
.spirit-section-lead { max-width: 800px; margin: 19px 0 0 66px; color: #766b7d; font-size: 18px; line-height: 1.62; }
.spirit-step-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin-top: 36px; }
.spirit-step-card { min-height: 255px; padding: 24px; border: 1px solid #e1d4e7; border-radius: 23px; background: #fff; box-shadow: 0 17px 35px rgba(75,30,94,.07); }
.spirit-step-visual { position: relative; width: 82px; height: 82px; display: grid; place-items: center; margin-bottom: 25px; border-radius: 25px; background: linear-gradient(145deg,#fff6ec,#f5e9fa); box-shadow: 0 12px 22px rgba(71,27,94,.1); }
.spirit-step-visual i { color: #7c2ab5; font-size: 32px; font-style: normal; font-weight: 800; }
.spirit-step-visual img { width: 98px; height: 98px; display: block; object-fit: contain; filter: drop-shadow(0 7px 9px rgba(65,29,85,.16)); }
.spirit-step-visual b { position: absolute; right: -7px; bottom: -7px; width: 27px; height: 27px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 10px; background: #8b32c6; color: #fff; font-size: 10px; }
.spirit-step-card h3 { margin: 0; color: #2d1838; font-size: 23px; font-weight: 650; letter-spacing: -.035em; }
.spirit-step-card p, .spirit-copy p, .spirit-example-card p { margin: 10px 0 0; color: #776b7f; font-size: 16px; line-height: 1.6; }
.spirit-dilution-layout, .spirit-example-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 15px; margin-top: 37px; }
.spirit-copy-card, .spirit-illustration-card, .spirit-example-card, .spirit-table-card { min-height: 300px; padding: 29px; border: 1px solid #dfd3e5; border-radius: 25px; }
.spirit-copy-card { background: linear-gradient(145deg,#fffaff,#f6eaf9); }
.spirit-card-label { color: #8a6a95; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.spirit-copy-card h3, .spirit-example-card h3 { margin: 12px 0 0; color: #2d1739; font-size: 29px; font-weight: 600; letter-spacing: -.05em; }
.spirit-copy-card ul { display: grid; gap: 11px; margin: 21px 0 0; padding: 0; list-style: none; }
.spirit-copy-card li { display: grid; grid-template-columns: 29px 1fr; gap: 10px; align-items: start; color: #75687d; font-size: 16px; line-height: 1.5; }
.spirit-copy-card li b { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 9px; background: #f0e1f8; color: #7c2ab5; font-size: 12px; }
.spirit-illustration-card { display: grid; place-items: center; overflow: hidden; min-height: 300px; background: linear-gradient(145deg,#f7effa,#fff7ee); }
.spirit-illustration-card img { width: 100%; max-width: 560px; height: 295px; display: block; object-fit: contain; filter: drop-shadow(0 13px 17px rgba(67,31,81,.15)); }
.spirit-table-card { min-height: 0; margin-top: 36px; padding: 0; overflow: hidden; background: #fff; box-shadow: 0 17px 35px rgba(75,30,94,.07); }
.spirit-table { width: 100%; border-collapse: collapse; color: #43314b; font-size: 16px; }
.spirit-table th, .spirit-table td { padding: 16px 20px; border-bottom: 1px solid #eee5f0; text-align: left; }
.spirit-table th { background: #f7eef9; color: #6f278f; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.spirit-table tr:last-child td { border-bottom: 0; }
.spirit-table td strong { color: #551d69; }
.spirit-table-note { margin: 15px 0 0; color: #7b6b81; font-size: 14px; line-height: 1.55; }
.spirit-example-card { background: linear-gradient(145deg,#fffaf3,#f5eafb); }
.spirit-example-flow { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.spirit-example-flow strong { min-width: 76px; padding: 12px 11px; border: 1px solid #e2d3e8; border-radius: 14px; background: #fff; color: #7626b4; font-size: 22px; text-align: center; }
.spirit-example-flow i { color: #906aa0; font-size: 15px; font-style: normal; }
.spirit-example-flow b { color: #7c2ab5; font-size: 24px; font-weight: 400; }
.spirit-example-result { margin-top: 22px !important; color: #4c1760 !important; font-size: 20px !important; font-weight: 850; }
.spirit-example-callout { min-height: 300px; display: flex; flex-direction: column; justify-content: center; padding: 29px; border: 1px solid #ead5c4; border-radius: 25px; background: linear-gradient(145deg,#fff6eb,#fdf1fa); }
.spirit-example-callout strong { color: #8b4a1e; font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.spirit-example-callout p { max-width: 390px; margin: 13px 0 0; color: #6f5860; font-size: 17px; line-height: 1.6; }
.spirit-disclaimer { margin-top: 37px; padding: 21px 23px; border: 1px solid #e7cfae; border-radius: 19px; background: #fff6e9; color: #754c2c; font-size: 16px; line-height: 1.6; }
.spirit-disclaimer strong { color: #8b4a1e; }
@media (max-width: 900px) { .spirit-calculator { grid-template-columns: 1fr; } .spirit-result-panel { min-height: 520px; } .spirit-dilution-layout, .spirit-example-layout { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .spirit-hero { padding: 17px 16px 53px; }
  .spirit-heading { margin-top: 23px; }
  .spirit-eyebrow { font-size: 10px; }
  .spirit-heading h1 { font-size: clamp(46px, 14vw, 68px); }
  .spirit-hero-subtitle { font-size: 16px; }
  .spirit-calculator { margin-top: 24px; border-radius: 23px; }
  .spirit-input-panel, .spirit-result-panel { padding: 22px 18px; }
  .spirit-panel-topline, .spirit-result-topline { align-items: flex-start; flex-direction: column; gap: 9px; }
  .spirit-panel-heading { margin-top: 19px; }
  .spirit-panel-heading h2 { font-size: 28px; }
  .spirit-panel-lead { font-size: 15px; }
  .spirit-fields { grid-template-columns: 1fr; gap: 15px; }
  .spirit-field-control { grid-template-columns: minmax(0,1fr) 155px; }
  .spirit-field-group:not(:first-child) .spirit-field-control { grid-template-columns: 1fr; }
  .spirit-actions { grid-template-columns: minmax(0,1fr) 95px; }
  .spirit-result-content { min-height: 385px; }
  .spirit-result-unit { align-items: flex-start; flex-direction: column; gap: 7px; }
  .spirit-result-unit select { width: 100%; }
  .spirit-content-section { padding: 57px 16px; }
  .spirit-section-heading { gap: 12px; }
  .spirit-section-number { width: 42px; height: 42px; flex-basis: 42px; border-radius: 14px; }
  .spirit-section-heading h2 { font-size: clamp(35px, 11vw, 49px); }
  .spirit-section-lead { margin-left: 0; font-size: 16px; }
  .spirit-step-grid { grid-template-columns: 1fr; gap: 11px; }
  .spirit-step-card { min-height: 0; }
  .spirit-copy-card, .spirit-illustration-card, .spirit-example-card, .spirit-example-callout { min-height: 0; padding: 22px; }
  .spirit-illustration-card img { height: 230px; }
  .spirit-table-card { margin-top: 25px; overflow-x: auto; }
  .spirit-table { min-width: 620px; }
  .spirit-table th, .spirit-table td { padding: 13px 15px; }
  .spirit-hero-note { align-items: flex-start; text-align: left; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .spirit-result-ready, .spirit-submit, .spirit-reset { animation: none; transition: none; } }
