/* Custom websites landing page (/websites). Only this page loads this file; body has class "ws".
   Editorial studio look: ivory + warm stone black, one bronze accent, Instrument Serif headings. */
.ws {
    --ws-ink: #0C0A09;
    --ws-ink-2: #1C1917;
    --ws-text: #292524;
    --ws-muted: #57534E;
    --ws-ivory: #F7F4EE;
    --ws-ivory-2: #EFEBE3;
    --ws-white: #FFFFFF;
    --ws-line: #E2DDD3;
    --ws-bronze: #A16207;
    --ws-gold: #E3B76B;
    --ws-dark-muted: #A8A29E;
    --ws-dark-line: rgba(255, 255, 255, .12);
    --ws-serif: 'Instrument Serif', 'Times New Roman', serif;
    --ws-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --ws-ease: cubic-bezier(.22, .8, .24, 1);
    --ws-shadow: 0 1px 2px rgba(12, 10, 9, .04), 0 18px 50px rgba(12, 10, 9, .10);
    background: var(--ws-ink);
    color: var(--ws-text);
    font-family: var(--ws-sans);
}
.ws main { background: var(--ws-ivory); }
html:has(body.ws) { scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html:has(body.ws) { scroll-behavior: smooth; } }
.ws ::selection { background: var(--ws-gold); color: var(--ws-ink); }
.ws :focus-visible { outline: 2px solid var(--ws-ink); outline-offset: 3px; }
.ws .ws-dark :focus-visible { outline-color: var(--ws-gold); }
.ws h1, .ws h2, .ws h3, .ws h4 { font-family: var(--ws-serif); font-weight: 400; letter-spacing: -.01em; color: var(--ws-ink); margin: 0; }
.ws p { margin: 0; }
.ws em { font-style: italic; color: var(--ws-bronze); }
.ws-wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.ws-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Labels and buttons */
.ws-label { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ws-muted); }
.ws-label::before { content: ''; width: 22px; height: 1px; background: var(--ws-bronze); }
.ws-dark .ws-label { color: var(--ws-dark-muted); }
.ws-dark .ws-label::before { background: var(--ws-gold); }
.ws-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-family: var(--ws-sans); font-size: .95rem; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: background .25s var(--ws-ease), color .25s, border-color .25s, transform .2s var(--ws-ease); }
.ws-btn i { transition: transform .3s var(--ws-ease); font-size: .85em; }
.ws-btn:hover i { transform: translateX(4px); }
.ws-btn:active { transform: scale(.98); }
.ws-btn-dark { background: var(--ws-ink); color: var(--ws-ivory) !important; }
.ws-btn-dark:hover { background: var(--ws-ink-2); }
.ws-btn-line { border-color: var(--ws-line); color: var(--ws-ink) !important; background: transparent; }
.ws-btn-line:hover { border-color: var(--ws-ink); }
.ws-btn-light { background: var(--ws-ivory); color: var(--ws-ink) !important; }
.ws-btn-light:hover { background: #fff; }

/* Header */
.ws-nav { position: fixed; inset: 0 0 auto; z-index: 60; background: rgba(247, 244, 238, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid rgba(226, 221, 211, .7); }
.ws-nav-in { max-width: 1240px; margin: 0 auto; padding: 0 28px; height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ws-logo img { height: 42px; width: auto; }
.ws-links { display: flex; gap: 34px; }
.ws-links a { font-size: .93rem; font-weight: 500; color: var(--ws-muted); position: relative; padding: 6px 0; transition: color .2s; }
.ws-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ws-ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ws-ease); }
.ws-links a:hover { color: var(--ws-ink); }
.ws-links a:hover::after { transform: scaleX(1); }
.ws-nav .ws-btn { min-height: 46px; padding: 0 22px; font-size: .9rem; }

/* Hero */
.ws-hero { position: relative; padding: 180px 0 128px; overflow: clip; isolation: isolate; border-bottom: 1px solid var(--ws-line); }
.ws-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(900px 480px at 85% 0%, rgba(227, 183, 107, .22), transparent 70%), radial-gradient(700px 420px at 0% 30%, rgba(161, 98, 7, .07), transparent 70%); }
.ws-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .35; mix-blend-mode: multiply; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.25 0 0 0 0 0.2 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ws-hero h1 { font-size: clamp(3.1rem, 7.4vw, 7.8rem); line-height: .94; letter-spacing: -.025em; max-width: 22ch; margin-top: 26px; text-wrap: balance; }

/* Under the headline: intro + buttons | three quick facts, on one line-ruled row */
.ws-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 44px; }
/* Both sides start on the same line, and the fact dividers run the full height of the row */
.ws-hero-bottom { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: stretch; margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--ws-line); }
.ws-hero-lead { font-size: 1.12rem; line-height: 1.7; color: var(--ws-muted); max-width: 480px; margin-top: -6px !important; }
.ws-facts { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.ws-facts > div { padding: 0 24px; border-left: 1px solid var(--ws-line); }
.ws-facts dt { font-family: var(--ws-serif); font-size: clamp(1.9rem, 2.5vw, 2.6rem); line-height: 1; color: var(--ws-ink); white-space: nowrap; }
.ws-facts > div:nth-child(2) dt { font-style: italic; color: var(--ws-bronze); }
.ws-facts dd { margin: 12px 0 0; font-size: .95rem; line-height: 1.55; color: var(--ws-muted); }

/* Browser frame around project screenshots */
.ws-frame { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid rgba(12, 10, 9, .08); box-shadow: 0 2px 4px rgba(12, 10, 9, .04), 0 40px 90px rgba(12, 10, 9, .18); }
.ws-frame-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #F4F1EB; border-bottom: 1px solid rgba(12, 10, 9, .06); }
.ws-frame-bar span { width: 9px; height: 9px; border-radius: 50%; background: #D6D0C4; }
.ws-frame-bar b { margin-left: 10px; font-size: .74rem; font-weight: 500; color: var(--ws-muted); letter-spacing: .01em; }
.ws-frame img { display: block; width: 100%; height: auto; }

/* Sections */
.ws-section { padding: 132px 0; }
.ws-white { background: var(--ws-white); }
.ws-dark { background: var(--ws-ink); color: var(--ws-dark-muted); }
.ws-dark h2, .ws-dark h3 { color: #fff; }
.ws-dark em { color: var(--ws-gold); }
.ws-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.ws-h2 { font-size: clamp(2.5rem, 5.2vw, 4.6rem); line-height: 1; letter-spacing: -.02em; margin-top: 20px !important; }
.ws-head p { font-size: 1.08rem; line-height: 1.7; color: var(--ws-muted); max-width: 460px; }
.ws-dark .ws-head p { color: var(--ws-dark-muted); }

/* Selected work: case-study rows, picture and story side by side, alternating */
.ws-cases { display: grid; }
.ws-case { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: center; padding: 64px 0; border-top: 1px solid var(--ws-line); }
.ws-case:first-child { border-top: 0; padding-top: 8px; }
.ws-case:nth-child(even) { grid-template-columns: 5fr 7fr; }
.ws-case:nth-child(even) .ws-case-shot { order: 2; }
.ws-case-shot { display: block; position: relative; isolation: isolate; }
.ws-case-shot::before { content: ''; position: absolute; inset: 9% -4% -7% 6%; z-index: -1; border-radius: 28px; background: var(--ws-ivory-2); transition: transform .8s var(--ws-ease); }
.ws-case:nth-child(even) .ws-case-shot::before { inset: 9% 6% -7% -4%; }
.ws-case-shot .ws-frame { transition: transform .8s var(--ws-ease), box-shadow .8s var(--ws-ease); box-shadow: 0 2px 4px rgba(12, 10, 9, .04), 0 30px 70px rgba(12, 10, 9, .14); }
.ws-case-shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.ws-case-blank { aspect-ratio: 16 / 10; display: grid; place-items: center; font-family: var(--ws-serif); font-size: 5rem; color: var(--ws-muted); background: var(--ws-ivory-2); }
.ws-case:hover .ws-case-shot .ws-frame { transform: translateY(-8px); box-shadow: 0 2px 4px rgba(12, 10, 9, .04), 0 44px 90px rgba(12, 10, 9, .2); }
.ws-case:hover .ws-case-shot::before { transform: translateY(6px); }
.ws-case-num { display: block; font-family: var(--ws-serif); font-size: 1.4rem; color: var(--ws-bronze); font-style: italic; }
.ws-case-num small { font-size: .9rem; color: var(--ws-muted); font-style: normal; }
.ws-case h3 { font-size: clamp(2.2rem, 3.6vw, 3.3rem); line-height: 1; margin: 14px 0 10px !important; }
.ws-case-kind { font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ws-muted); }
.ws-case-about { margin-top: 22px !important; font-size: 1.06rem; line-height: 1.7; color: var(--ws-text); max-width: 440px; }
.ws-tags { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ws-tags li { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--ws-line); background: var(--ws-white); font-size: .84rem; font-weight: 500; color: var(--ws-text); }
.ws-case-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; min-height: 52px; font-weight: 600; font-size: .95rem; color: var(--ws-ink); }
.ws-case-go { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ws-ink); display: grid; place-items: center; transition: background .3s var(--ws-ease), color .3s; }
.ws-case-go i { transform: rotate(-45deg); transition: transform .4s var(--ws-ease); }
.ws-case-link:hover .ws-case-go, .ws-case:hover .ws-case-go { background: var(--ws-ink); color: #fff; }
.ws-case-link:hover .ws-case-go i, .ws-case:hover .ws-case-go i { transform: rotate(0); }

/* What's included: editorial numbered list */
.ws-split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.ws-split-head { position: sticky; top: 120px; }
.ws-split-head p { margin-top: 22px !important; font-size: 1.08rem; line-height: 1.7; color: var(--ws-muted); max-width: 420px; }
.ws-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.ws-item { padding: 30px 0 34px; border-top: 1px solid var(--ws-line); }
.ws-item-num { font-family: var(--ws-serif); font-style: italic; font-size: 1.5rem; color: var(--ws-bronze); }
.ws-item h3 { font-family: var(--ws-sans); font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; margin: 12px 0 8px !important; }
.ws-item p { color: var(--ws-muted); line-height: 1.65; }

/* Process */
.ws-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.ws-step { padding-top: 28px; border-top: 1px solid var(--ws-dark-line); position: relative; }
.ws-step::before { content: ''; position: absolute; top: -1px; left: 0; width: 48px; height: 1px; background: var(--ws-gold); }
.ws-step-when { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ws-gold); }
.ws-step-num { display: block; font-family: var(--ws-serif); font-size: 4.2rem; line-height: 1; color: #fff; margin: 18px 0 18px; }
.ws-step h3 { font-family: var(--ws-sans); font-size: 1.1rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: 10px !important; }
.ws-step p { line-height: 1.65; }

/* The package */
.ws-pack { display: grid; grid-template-columns: 5fr 7fr; border-radius: 30px; overflow: hidden; background: var(--ws-white); border: 1px solid var(--ws-line); box-shadow: var(--ws-shadow); }
.ws-pack-main { padding: 56px 52px; background: var(--ws-ink); color: var(--ws-dark-muted); display: flex; flex-direction: column; }
.ws-pack-main h3 { color: #fff; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; margin: 20px 0 16px !important; }
.ws-pack-main > p { line-height: 1.7; }
.ws-price { margin: 40px 0 10px; padding-top: 28px; border-top: 1px solid var(--ws-dark-line); }
.ws-price small { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ws-gold); margin-bottom: 6px; }
.ws-price strong { font-family: var(--ws-serif); font-weight: 400; font-size: 3.4rem; line-height: 1; color: #fff; }
.ws-price-note { font-size: .9rem; margin-bottom: 30px !important; }
.ws-pack-main .ws-btn { margin-top: auto; align-self: flex-start; }
.ws-pack-lists { padding: 56px 52px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.ws-pack-lists h4 { font-family: var(--ws-sans); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ws-muted); margin-bottom: 18px !important; }
.ws-pack-lists ul { list-style: none; margin: 0; padding: 0; }
.ws-pack-lists li { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--ws-line); color: var(--ws-text); line-height: 1.5; }
.ws-pack-lists li i { flex: none; width: 14px; color: var(--ws-bronze); margin-top: 5px; font-size: .85rem; }
.ws-pack-extra { grid-column: 1 / -1; padding: 22px 24px; border-radius: 16px; background: var(--ws-ivory); color: var(--ws-muted); font-size: .95rem; }
.ws-pack-extra strong { color: var(--ws-ink); }

/* Questions */
.ws-faq details { border-top: 1px solid var(--ws-line); }
.ws-faq details:last-child { border-bottom: 1px solid var(--ws-line); }
.ws-faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; }
.ws-faq summary::-webkit-details-marker { display: none; }
.ws-faq summary h3 { font-family: var(--ws-sans); font-size: 1.12rem; font-weight: 500; letter-spacing: -.01em; }
.ws-faq-plus { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ws-line); position: relative; transition: background .3s, border-color .3s, transform .4s var(--ws-ease); }
.ws-faq-plus::before, .ws-faq-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ws-ink); transform: translate(-50%, -50%); transition: background .3s; }
.ws-faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.ws-faq summary:hover .ws-faq-plus { border-color: var(--ws-ink); }
.ws-faq details[open] .ws-faq-plus { background: var(--ws-ink); border-color: var(--ws-ink); transform: rotate(45deg); }
.ws-faq details[open] .ws-faq-plus::before, .ws-faq details[open] .ws-faq-plus::after { background: #fff; }
.ws-faq details p { padding: 0 64px 28px 0; color: var(--ws-muted); line-height: 1.75; font-size: 1.02rem; }

/* Get a quote: closing band */
.ws-cta { display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; }
.ws-cta h2 { font-size: clamp(2.8rem, 5.6vw, 5rem); line-height: 1; margin: 20px 0 22px !important; }
.ws-cta p { font-size: 1.08rem; line-height: 1.7; max-width: 520px; }
.ws-cta-side ul { list-style: none; margin: 0; padding: 0; }
.ws-cta-side li { display: flex; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--ws-dark-line); color: #E7E5E4; }
.ws-cta-side li:last-child { border-bottom: 1px solid var(--ws-dark-line); }
.ws-cta-side li i { color: var(--ws-gold); }
.ws-cta-btn { width: 100%; min-height: 58px; margin-top: 28px; font-size: 1rem; }
.ws-quote-alt { margin-top: 20px !important; font-size: .92rem; }
.ws-quote-alt a { color: var(--ws-gold); text-decoration: underline !important; text-underline-offset: 3px; }

/* Quote pop-up (a <dialog>). Without JavaScript it shows as a card inside the band instead. */
.ws-modal { padding: 0; border: 0; border-radius: 28px; width: min(780px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); background: var(--ws-white); color: var(--ws-text); box-shadow: 0 50px 120px rgba(0, 0, 0, .45); overflow: hidden; }
.ws-modal[open] { display: flex; flex-direction: column; }
.ws-modal::backdrop { background: rgba(12, 10, 9, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.no-js .ws-modal { display: flex; flex-direction: column; position: static; margin: 72px auto 0; max-height: none; }
.no-js .ws-modal fieldset[data-step] + fieldset { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--ws-line); }
.no-js [data-step-back], .no-js [data-step-next], .no-js .ws-modal-close, .no-js .ws-steps-bar { display: none; }
html.ws-modal-open { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
    .ws-modal[open] { animation: ws-modal-in .45s var(--ws-ease); }
    .ws-modal[open]::backdrop { animation: ws-fade .3s ease; }
}
@keyframes ws-modal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
@keyframes ws-fade { from { opacity: 0; } }
/* The pop-up lives inside the dark band: keep its own light colours */
.ws-modal h2, .ws-modal h3 { color: var(--ws-ink); }
.ws-modal em { color: var(--ws-bronze); }
.ws-modal .ws-label { color: var(--ws-muted); }
.ws-modal .ws-label::before { background: var(--ws-bronze); }
.ws-dark .ws-modal :focus-visible { outline-color: var(--ws-ink); }
.ws-modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 30px 34px 0; }
.ws-modal-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1.05; margin-top: 12px !important; }
.ws-modal-close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ws-line); background: #fff; color: var(--ws-ink); font-size: 1.05rem; cursor: pointer; display: grid; place-items: center; transition: background .2s, border-color .2s, color .2s; }
.ws-modal-close:hover { background: var(--ws-ink); border-color: var(--ws-ink); color: #fff; }
.ws-steps-bar { list-style: none; margin: 24px 34px 0; padding: 0 0 20px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; border-bottom: 1px solid var(--ws-line); }
.ws-steps-bar li { position: relative; display: flex; align-items: center; gap: 10px; padding-top: 14px; font-size: .86rem; font-weight: 600; color: var(--ws-muted); }
.ws-steps-bar li::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: 3px; background: var(--ws-ivory-2); transition: background .4s var(--ws-ease); }
.ws-steps-bar li span { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--ws-line); font-size: .78rem; transition: background .3s, color .3s, border-color .3s; }
.ws-steps-bar li.is-current { color: var(--ws-ink); }
.ws-steps-bar li.is-current::before, .ws-steps-bar li.is-done::before { background: var(--ws-ink); }
.ws-steps-bar li.is-current span { background: var(--ws-ink); border-color: var(--ws-ink); color: #fff; }
.ws-steps-bar li.is-done span { background: var(--ws-bronze); border-color: var(--ws-bronze); color: #fff; }
.ws-modal form { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.ws-modal-body { padding: 26px 34px 8px; overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.ws-modal fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ws-modal legend { font-family: var(--ws-serif); font-size: 1.6rem; color: var(--ws-ink); margin-bottom: 16px; padding: 0; }
.ws-form-hint { color: var(--ws-muted); font-size: .88rem; margin-top: 4px !important; }
.ws-modal-foot { display: flex; align-items: center; gap: 14px; padding: 18px 34px 24px; border-top: 1px solid var(--ws-line); background: #FDFCFA; }
.ws-modal-note { flex: 1; order: -1; font-size: .82rem; color: var(--ws-muted); }
.ws-modal-foot [hidden] { display: none; }
.ws-modal-foot [data-quote-submit]:disabled { opacity: .75; cursor: progress; }
.ws-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.ws-row > * { min-width: 0; }
.ws-field { margin-bottom: 16px; }
.ws-field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; color: var(--ws-ink); }
.ws-field label span { font-weight: 400; color: var(--ws-muted); }
.ws-field input, .ws-field select, .ws-field textarea { width: 100%; padding: 13px 15px; border: 1px solid #D6D0C4; border-radius: 12px; font: inherit; font-size: 1rem; color: var(--ws-ink); background: #FDFCFA; transition: border-color .2s, box-shadow .2s, background .2s; }
.ws-field input::placeholder, .ws-field textarea::placeholder { color: #8A847C; }
.ws-field textarea { min-height: 120px; resize: vertical; }
.ws-field input:focus, .ws-field select:focus, .ws-field textarea:focus { outline: none; background: #fff; border-color: var(--ws-ink); box-shadow: 0 0 0 4px rgba(161, 98, 7, .14); }
.ws-field [aria-invalid="true"] { border-color: #B91C1C; }
.ws-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ws-chip { position: relative; cursor: pointer; }
.ws-chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ws-chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #D6D0C4; font-size: .9rem; font-weight: 500; color: var(--ws-text); transition: background .2s, border-color .2s, color .2s; }
.ws-chip span::before { content: '+'; font-weight: 600; color: var(--ws-bronze); }
.ws-chip:hover span { border-color: var(--ws-ink); }
.ws-chip input:checked + span { background: var(--ws-ink); border-color: var(--ws-ink); color: #fff; }
.ws-chip input:checked + span::before { content: '\2713'; color: var(--ws-gold); }
.ws-chip input:focus-visible + span { outline: 2px solid var(--ws-ink); outline-offset: 3px; }
.ws-err { color: #B91C1C; font-size: .85rem; margin-top: 6px; }
.ws-form-alert { margin-bottom: 20px; padding: 13px 16px; border-radius: 12px; background: #FEF2F2; color: #B91C1C; font-size: .92rem; }
.ws-sent { text-align: center; padding: 36px 10px 40px; }
.ws-sent .ws-btn { margin-top: 28px; }
.ws-sent i { font-size: 2.6rem; color: var(--ws-bronze); margin-bottom: 18px; }
.ws-sent h3 { font-size: 2.2rem; line-height: 1.1; margin-bottom: 12px !important; }
.ws-sent p { color: var(--ws-muted); max-width: 420px; margin: 0 auto !important; }

/* Footer */
.ws-footer { background: var(--ws-ink); color: var(--ws-dark-muted); padding: 0 0 40px; font-size: .92rem; }
.ws-footer-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 36px; border-top: 1px solid var(--ws-dark-line); }
.ws-footer img { height: 38px; width: auto; }
.ws-footer nav { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.ws-footer a { transition: color .2s; }
.ws-footer a:hover { color: #fff; }

/* Responsive */
@media (max-width: 1080px) {
    .ws-links { display: none; }
    .ws-split, .ws-cta, .ws-pack { grid-template-columns: 1fr; }
    .ws-cta { gap: 40px; }
    .ws-split-head { position: static; }
    .ws-steps { grid-template-columns: 1fr 1fr; gap: 44px 28px; }
    .ws-head { grid-template-columns: 1fr; gap: 20px; }
    .ws-hero-bottom { grid-template-columns: 1fr; gap: 44px; }
    .ws-facts > div:first-child { border-left: 0; padding-left: 0; }
}
@media (max-width: 900px) {
    .ws-case, .ws-case:nth-child(even) { grid-template-columns: 1fr; gap: 36px; }
    .ws-case:nth-child(even) .ws-case-shot { order: 0; }
    .ws-case-shot::before, .ws-case:nth-child(even) .ws-case-shot::before { inset: 8% -10px -16px 16px; }
}
@media (max-width: 760px) {
    .ws-wrap, .ws-nav-in { padding: 0 20px; }
    .ws-nav-in { height: 66px; }
    .ws-logo img { height: 28px; }
    .ws-hero { padding: 132px 0 80px; }
    .ws-hero-lead { margin-top: 26px !important; }
    .ws-hero-ctas .ws-btn { flex: 1 1 100%; }
    .ws-hero-ctas { margin-top: 30px; }
    .ws-hero-bottom { margin-top: 44px; padding-top: 28px; }
    .ws-facts { grid-template-columns: 1fr; }
    .ws-facts > div, .ws-facts > div:first-child { border-left: 0; border-top: 1px solid var(--ws-line); padding: 20px 0; }
    .ws-facts > div:first-child { border-top: 0; padding-top: 0; }
    .ws-facts dt { font-size: 2.2rem; }
    .ws-section { padding: 88px 0; }
    .ws-head { margin-bottom: 40px; }
    .ws-case { padding: 44px 0; }
    .ws-case-link { margin-top: 26px; }
    .ws-list, .ws-pack-lists, .ws-row { grid-template-columns: 1fr; }
    .ws-steps { grid-template-columns: 1fr; }
    .ws-pack-main, .ws-pack-lists { padding: 36px 24px; }
    .ws-faq details p { padding-right: 0; }
    /* Phones: the pop-up fills the screen */
    .ws-modal { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
    .ws-modal-head { padding: 22px 20px 0; }
    .ws-steps-bar { margin: 18px 20px 0; padding-bottom: 16px; }
    .ws-steps-bar li { font-size: 0; gap: 0; }
    .ws-steps-bar li.is-current { font-size: .8rem; gap: 8px; grid-column: span 1; white-space: nowrap; }
    .ws-modal-body { padding: 22px 20px 8px; }
    .ws-modal-foot { padding: 14px 20px calc(16px + env(safe-area-inset-bottom)); }
    .ws-modal-note { display: none; }
    .ws-modal-foot [data-step-next], .ws-modal-foot [data-quote-submit] { flex: 1; }
    .no-js .ws-modal { width: auto; height: auto; border-radius: 22px; }
    .ws-footer-in { flex-direction: column; align-items: flex-start; }
}
.ws-inline-link { color: var(--ws-ink); font-weight: 600; text-decoration: underline !important; text-underline-offset: 3px; text-decoration-color: var(--ws-bronze) !important; }

/* Alignment: the label beside a list starts on the list's first line, not below it */
.ws-faq details:first-child { border-top: 0; }
.ws-faq details:first-child summary { padding-top: 0; }
.ws-cta-side li:first-child { padding-top: 0; border-top: 0; }
.ws-cta-side li i { flex: none; width: 16px; }
.ws-list .ws-item:nth-child(-n+2) { border-top: 0; padding-top: 0; }
@media (max-width: 760px) { .ws-list .ws-item:nth-child(2) { border-top: 1px solid var(--ws-line); padding-top: 30px; } }

/* Quote form: questions inside a step, option cards and step intros */
.ws-step-intro { color: var(--ws-muted); font-size: .95rem; line-height: 1.6; margin: -6px 0 22px !important; }
.ws-modal .ws-q { margin: 6px 0 22px; }
.ws-modal .ws-q legend { font-family: var(--ws-sans); font-size: .95rem; font-weight: 600; color: var(--ws-ink); margin-bottom: 12px; }
.ws-modal .ws-q legend span { font-weight: 400; color: var(--ws-muted); }
.ws-modal .ws-q .ws-chips { margin-bottom: 0; }
.ws-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.ws-opts-2 { grid-template-columns: 1fr 1fr; }
.ws-opt { position: relative; cursor: pointer; display: block; }
.ws-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.ws-opt > span { display: block; height: 100%; padding: 14px 16px 14px 46px; border: 1px solid #D6D0C4; border-radius: 14px; background: #FDFCFA; position: relative; transition: border-color .2s, background .2s, box-shadow .2s; }
.ws-opt > span::before { content: ''; position: absolute; left: 16px; top: 16px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #B8B0A2; background: #fff; transition: border-color .2s, box-shadow .2s; }
.ws-opt b { display: block; font-size: .95rem; font-weight: 600; color: var(--ws-ink); line-height: 1.35; }
.ws-opt small { display: block; margin-top: 3px; font-size: .84rem; line-height: 1.45; color: var(--ws-muted); }
.ws-opt:hover > span { border-color: var(--ws-ink); }
.ws-opt input:checked + span { border-color: var(--ws-ink); background: #fff; box-shadow: 0 0 0 1px var(--ws-ink); }
.ws-opt input:checked + span::before { border-color: var(--ws-ink); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--ws-bronze); }
.ws-opt input:focus-visible + span { outline: 2px solid var(--ws-ink); outline-offset: 3px; }
@media (max-width: 760px) {
    .ws-opts, .ws-opts-2 { grid-template-columns: 1fr; }
}
