/* ==========================================================================
   Arnewood — studio theme styles (Pacific palette, Horizon mark)
   Colour and type tokens come from theme.json as --wp--preset--* variables.
   ========================================================================== */

:root {
	--aw-sand: var(--wp--preset--color--sand);
	--aw-shell: var(--wp--preset--color--shell);
	--aw-pacific: var(--wp--preset--color--pacific);
	--aw-deep: var(--wp--preset--color--pacific-deep);
	--aw-slate: var(--wp--preset--color--slate);
	--aw-mist: var(--wp--preset--color--mist);
	--aw-line: var(--wp--preset--color--line);
	--aw-glass: var(--wp--preset--color--sea-glass);
	--aw-glass-deep: var(--wp--preset--color--sea-glass-deep);
	--aw-signal: var(--wp--preset--color--signal);
	--aw-serif: var(--wp--preset--font-family--serif);
	--aw-sans: var(--wp--preset--font-family--sans);
	--aw-depth: linear-gradient(180deg, #0A2233 0%, #0E3347 60%, #14465C 100%);
}

body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks > main { margin-block-start: 0; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }

/* ---------- Type helpers ---------- */
h1 em, h2 em, h3 em, .aw-display em { color: var(--aw-signal); font-style: italic; }
.aw-em-muted em { color: var(--aw-slate); }
.aw-em-glass em { color: var(--aw-glass-deep); }
.aw-display { font-family: var(--aw-serif); font-size: var(--wp--preset--font-size--display); line-height: .94; letter-spacing: -0.025em; font-weight: 400; }
.aw-eyebrow { font-size: 14px !important; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--aw-glass-deep); }
.aw-lead { font-size: var(--wp--preset--font-size--large) !important; color: var(--aw-slate); max-width: 560px; }
.aw-muted { color: var(--aw-slate); }
.aw-small { font-size: 15px !important; }
.aw-serif { font-family: var(--aw-serif); }
.aw-pill { display: inline-flex !important; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: var(--aw-shell); font-size: 14px !important; font-weight: 500; width: fit-content; }
.aw-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--aw-glass-deep); }
.aw-note { display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--aw-shell); font-size: 14px !important; color: var(--aw-slate); width: fit-content; }

/* ---------- Header & footer ---------- */
.aw-header { padding-block: 22px !important; }
/* Header and footer run edge to edge: logo hugs the left, menu the right. */
.aw-header, .aw-footer { padding-inline: clamp(20px, 2.6vw, 48px) !important; }
.aw-header > *, .aw-footer > * { max-width: none !important; }
.aw-logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--aw-serif); font-size: 32px; letter-spacing: -0.5px; line-height: 1; color: inherit; text-decoration: none; }
.aw-header .aw-logo { font-size: clamp(36px, 3.3vw, 52px); gap: clamp(12px, 1.1vw, 18px); letter-spacing: -1px; }
.aw-header .aw-logo svg { width: clamp(48px, 4.4vw, 70px); height: auto; }
.aw-logo svg { flex: none; }
.aw-logo .aw-logo-line { fill: currentColor; }
.aw-nav .wp-block-navigation-item__content { text-decoration: none; padding-block: 4px; }
.aw-nav .current-menu-item > .wp-block-navigation-item__content { font-weight: 600; box-shadow: inset 0 -2px 0 var(--aw-glass); }
.aw-nav .aw-nav-cta > .wp-block-navigation-item__content { background: var(--aw-pacific); color: var(--aw-sand); padding: 12px 20px; border-radius: 999px; box-shadow: none; }
.aw-footer { background: var(--aw-pacific); color: var(--aw-mist); padding-block: 56px 36px !important; }
.aw-footer a { color: var(--aw-sand); }
.aw-footer .aw-logo { color: var(--aw-sand); font-size: 34px; }
.aw-footer .aw-logo svg { width: 46px; height: auto; }
.aw-footer-nav a { text-decoration: none; }
.aw-footer-base { border-top: 1px solid #2A4D61; padding-top: 24px; font-size: 14px; }

/* Full-width page sections sit flush against each other */
.wp-block-post-content > .alignfull { margin-block: 0 !important; }

/* ---------- Sections ---------- */
.aw-section { padding-block: var(--wp--preset--spacing--60) !important; }
.aw-section-tight { padding-block: 40px !important; }
.aw-surface { background: var(--aw-shell); }
.aw-dark { background: var(--aw-pacific); color: var(--aw-sand); }
.aw-dark a:not(.wp-block-button__link) { color: var(--aw-sand); }
.aw-dark .aw-muted, .aw-dark .aw-lead { color: var(--aw-mist); }
.aw-dark h1 em, .aw-dark h2 em, .aw-dark h3 em { color: var(--aw-glass); }
.aw-dark .aw-eyebrow { color: var(--aw-glass); }

/* ---------- Buttons ---------- */
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--aw-pacific); border: 1px solid var(--aw-pacific); padding: 17px 27px; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--aw-pacific); color: var(--aw-sand); }
.wp-block-button.is-style-sea-glass > .wp-block-button__link { background: var(--aw-glass); color: var(--aw-pacific); font-weight: 600; }
.wp-block-button.is-style-sea-glass > .wp-block-button__link:hover { background: #A9DCCF; }
.aw-dark .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--aw-sand); border-color: var(--aw-sand); }
.aw-dark .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--aw-sand); color: var(--aw-pacific); }
.aw-dark .wp-block-button:not(.is-style-outline):not(.is-style-sea-glass) > .wp-block-button__link { background: var(--aw-sand); color: var(--aw-pacific); }

/* ---------- Hero ---------- */
.aw-hero-split { gap: 0 !important; margin-block: 0 !important; align-items: stretch !important; }
.aw-hero-split > .wp-block-column { display: flex; flex-direction: column; justify-content: center; }
.aw-hero-copy { padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 56px) clamp(48px, 6vw, 72px) !important; gap: 26px; }
.aw-reel-col { background: var(--aw-depth); color: #fff; padding: 56px 24px; align-items: center; position: relative; min-height: 760px; }
.aw-hero { padding-block: 40px 100px !important; }
.aw-hero.is-short { padding-bottom: 24px !important; }
.aw-stats { border-top: 1px solid var(--aw-line); padding-top: 26px !important; margin-top: 30px !important; }
.aw-stat-num { font-family: var(--aw-serif); font-size: 46px !important; line-height: 1; margin: 0 !important; }
.aw-stat-label { font-size: 14px !important; color: var(--aw-slate); margin: 4px 0 0 !important; }

/* ---------- Cards & prices ---------- */
.aw-cards { gap: 20px !important; }
.aw-cards > .wp-block-column { display: flex; }
.aw-card { border-radius: 28px; padding: 34px !important; background: var(--aw-shell); display: flex; flex-direction: column; gap: 14px; width: 100%; min-height: 340px; }
.aw-card > * { margin: 0 !important; }
.aw-card.is-sand { background: var(--aw-sand); }
.aw-card.is-dark { background: var(--aw-pacific); color: var(--aw-sand); }
.aw-card.is-dark .aw-muted { color: var(--aw-mist); }
.aw-card.is-dark .aw-tag { color: var(--aw-glass); }
.aw-card .wp-block-buttons { margin-top: auto !important; }
.aw-card .wp-block-button { width: 100%; }
.aw-card .wp-block-button__link { width: 100%; }
.aw-card.is-dark .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--aw-sand); border-color: var(--aw-sand); }
.aw-card-label { font-size: 15px !important; font-weight: 500; display: flex; justify-content: space-between; gap: 12px; }
.aw-tag { color: var(--aw-glass-deep); font-weight: 600; }
.aw-price { font-family: var(--aw-serif); font-size: clamp(54px, 5vw, 70px) !important; line-height: 1 !important; letter-spacing: -0.02em; }
.aw-unit { font-size: 22px; }
.aw-surface .aw-card:not(.is-dark) { background: var(--aw-sand); }
.aw-section-head { border-bottom: 1px solid var(--aw-line); padding-bottom: 18px !important; margin-bottom: 26px !important; }
.aw-secure { border: 1px solid var(--aw-line); border-radius: 22px; padding: 24px 30px !important; }

/* ---------- Feature grid ---------- */
.aw-features { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 28px !important; border-top: 1px solid var(--aw-line); }
.aw-features > * { margin: 0 !important; }
.aw-feature { padding: 28px 0 !important; border-bottom: 1px solid var(--aw-line); }
.aw-feature > * { margin: 0 0 8px !important; }
.aw-feature p { color: var(--aw-slate); font-size: 16px; }

/* ---------- Mini cards ---------- */
.aw-mini-grid { gap: 14px !important; }
.aw-mini-card { border-radius: 22px; padding: 24px !important; background: var(--aw-shell); }
.aw-mini-card > * { margin: 0 !important; }
.aw-mini-card.is-dark { background: var(--aw-pacific); color: var(--aw-sand); }
.aw-mini-card.is-dark .aw-muted { color: var(--aw-mist); }
.aw-mini-title { font-family: var(--aw-serif); font-size: 32px !important; line-height: 1.1; margin-bottom: 6px !important; }
.aw-callout { border-radius: 32px; background: var(--aw-pacific); color: var(--aw-sand); padding: 56px 48px !important; }
.aw-callout h2 em { color: var(--aw-glass); }
.aw-callout .aw-muted { color: var(--aw-mist); }
.aw-list { list-style: none; padding: 0 !important; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.aw-list li { display: flex; gap: 12px; }
.aw-list li::before { content: "—"; color: var(--aw-glass); }

/* ---------- About & contact extras ---------- */
.aw-large-body { font-size: 20px !important; line-height: 1.6; }
.aw-lock { display: flex; align-items: center; gap: 12px; }
.aw-lock::before { content: ""; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='10' width='16' height='11' rx='2'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat; }
.aw-next { list-style: none; padding: 0 !important; counter-reset: aw; display: flex; flex-direction: column; gap: 18px; }
.aw-next li { counter-increment: aw; position: relative; padding-left: 54px; font-size: 17px; min-height: 32px; }
.aw-next li::before { content: counter(aw); position: absolute; left: 0; top: -4px; font-family: var(--aw-serif); font-size: 32px; line-height: 1; color: var(--aw-glass-deep); }
.aw-contact-meta { margin-top: 40px !important; padding-top: 28px; border-top: 1px solid var(--aw-line); gap: 40px !important; }
.aw-contact-meta p { margin: 0; }
.aw-meta-label { font-size: 13px !important; letter-spacing: 1.5px; text-transform: uppercase; color: var(--aw-slate); }
.aw-meta-value { font-family: var(--aw-serif); font-size: 28px !important; }
.aw-meta-value a { text-decoration: none; }

/* ---------- Steps ---------- */
.aw-steps { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px !important; }
.aw-steps > * { margin: 0 !important; }
.aw-step { border: 1px solid var(--aw-line); border-radius: 22px; padding: 28px !important; }
.aw-step > * { margin: 0 0 8px !important; }
.aw-step p { color: var(--aw-slate); font-size: 16px; }
.aw-step.is-dark { background: var(--aw-pacific); color: var(--aw-sand); border-color: var(--aw-pacific); }
.aw-step.is-dark p { color: var(--aw-mist); }
.aw-step.is-dark .aw-step-num { color: var(--aw-glass); }
.aw-step-num { font-family: var(--aw-serif); font-size: 56px !important; line-height: 1; color: var(--aw-glass-deep); }

/* ---------- Values list (About) ---------- */
.aw-values > .aw-value { border-top: 1px solid var(--aw-line); padding: 30px 0 !important; margin: 0 !important; }
.aw-values > .aw-value:last-child { border-bottom: 1px solid var(--aw-line); }
.aw-value .aw-value-num { font-family: var(--aw-serif); font-size: 44px; color: var(--aw-glass-deep); flex: 0 0 90px; margin: 0; }
.aw-value h3 { flex: 1 1 300px; margin: 0; }
.aw-value p:not(.aw-value-num) { flex: 2 1 420px; margin: 0; color: var(--aw-slate); }

/* ---------- FAQ (core/details) ---------- */
.aw-faqs { border-top: 1px solid var(--aw-line); }
.aw-faqs > * { margin: 0 !important; }
.aw-faq { border-bottom: 1px solid var(--aw-line); }
.aw-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; min-height: 44px; font-weight: 500; }
.aw-faq summary::-webkit-details-marker { display: none; }
.aw-faq summary::after { content: "+"; font-size: 26px; font-weight: 300; color: var(--aw-glass-deep); line-height: 1; }
.aw-faq[open] summary::after { content: "\2212"; }
.aw-faq p { margin: 0 0 26px; font-size: 17px; color: var(--aw-slate); }

/* ---------- Showreel (homepage) ---------- */
.aw-reel-label { position: absolute; top: 28px; left: 32px; margin: 0; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #A9B8BE; }
.aw-reel { width: 360px; max-width: 100%; aspect-ratio: 9 / 16; border-radius: 36px; overflow: hidden; position: relative; box-shadow: 0 40px 80px rgba(0,0,0,.5); background: #0C1C2C; }
.aw-slide { position: absolute; inset: 0; opacity: 0; animation: awSlide 22.5s infinite; color: var(--fg); background: var(--bg); }
.aw-slide:nth-child(1) { animation-delay: 0s; } .aw-slide:nth-child(2) { animation-delay: 4.5s; } .aw-slide:nth-child(3) { animation-delay: 9s; } .aw-slide:nth-child(4) { animation-delay: 13.5s; } .aw-slide:nth-child(5) { animation-delay: 18s; }
@keyframes awSlide { 0% { opacity: 1; } 19% { opacity: 1; } 20.5% { opacity: 0; } 100% { opacity: 0; } }
.aw-slide:nth-child(1) { animation-name: awSlideFirst; }
@keyframes awSlideFirst { 0% { opacity: 1; } 19% { opacity: 1; } 20.5% { opacity: 0; } 98.5% { opacity: 0; } 100% { opacity: 1; } }
.aw-handle { position: absolute; top: 34px; left: 18px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.aw-handle span { width: 32px; height: 32px; border-radius: 50%; background: var(--fg); color: var(--bg); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.aw-cap { position: absolute; left: 26px; right: 26px; bottom: 110px; font-family: var(--aw-serif); font-size: 50px; line-height: .98; opacity: 0; animation: awCap 4.5s infinite; }
.aw-cap.c2 { animation-delay: 1.5s; font-style: italic; } .aw-cap.c3 { animation-delay: 3s; }
@keyframes awCap { 0% { opacity: 0; transform: translateY(16px); filter: blur(6px); } 8% { opacity: 1; transform: none; filter: none; } 30% { opacity: 1; } 34% { opacity: 0; } 100% { opacity: 0; } }
.aw-cta-chip { position: absolute; left: 18px; bottom: 22px; padding: 13px 20px; border-radius: 999px; background: var(--fg); color: var(--bg); font-size: 14px; font-weight: 600; }
.aw-sector { position: absolute; right: 18px; bottom: 34px; font-size: 13px; }
.aw-pbars { position: absolute; top: 16px; left: 16px; right: 16px; display: flex; gap: 5px; z-index: 3; }
.aw-pbars i { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.28); overflow: hidden; }
.aw-pbars i::after { content: ""; display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(0); animation: 22.5s linear infinite; }
.aw-pbars i:nth-child(1)::after { animation-name: awBar1; } .aw-pbars i:nth-child(2)::after { animation-name: awBar2; } .aw-pbars i:nth-child(3)::after { animation-name: awBar3; } .aw-pbars i:nth-child(4)::after { animation-name: awBar4; } .aw-pbars i:nth-child(5)::after { animation-name: awBar5; }
@keyframes awBar1 { 0% { transform: scaleX(0); } 20% { transform: scaleX(1); } 99.9% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes awBar2 { 0%, 20% { transform: scaleX(0); } 40% { transform: scaleX(1); } 99.9% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes awBar3 { 0%, 40% { transform: scaleX(0); } 60% { transform: scaleX(1); } 99.9% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes awBar4 { 0%, 60% { transform: scaleX(0); } 80% { transform: scaleX(1); } 99.9% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes awBar5 { 0%, 80% { transform: scaleX(0); } 99.9% { transform: scaleX(1); } 100% { transform: scaleX(0); } }

/* Soft drifting light used in spots, panels and demos */
.aw-light { position: absolute; width: 80%; height: 65%; border-radius: 50%; filter: blur(44px); opacity: .8; animation: awDrift 10s ease-in-out infinite alternate; pointer-events: none; }
.aw-light.l2 { animation-duration: 14s; animation-delay: -4s; }
@keyframes awDrift { 0% { transform: translate(-12%, -8%) scale(1); } 100% { transform: translate(26%, 46%) scale(1.3); } }

/* Single phone spot (service pages, work) */
.aw-phone { width: 280px; max-width: 100%; aspect-ratio: 9 / 16; border-radius: 30px; overflow: hidden; position: relative; background: var(--bg); color: var(--fg); box-shadow: 0 30px 60px rgba(0,0,0,.45); flex: none; }
.aw-phone .aw-cap { font-size: 42px; bottom: 96px; left: 22px; right: 22px; animation-duration: 6s; }
.aw-phone .aw-cap.c2 { animation-delay: 2s; } .aw-phone .aw-cap.c3 { animation-delay: 4s; }
.aw-phone .aw-prog { position: absolute; top: 16px; left: 16px; right: 16px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.28); overflow: hidden; }
.aw-phone .aw-prog::after { content: ""; display: block; height: 100%; background: #fff; transform-origin: left; animation: awProg 6s linear infinite; }
@keyframes awProg { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.aw-phone .aw-brand { position: absolute; top: 30px; left: 18px; margin: 0; font-size: 13px; font-weight: 600; }
.aw-panel { border-radius: 36px; background: var(--aw-depth); color: var(--aw-sand); padding: 48px 24px; display: flex; justify-content: center; align-items: center; gap: 22px; position: relative; overflow: hidden; }
.aw-panel-note { flex: 0 1 150px; margin: 0; font-size: 13px; line-height: 1.6; color: var(--aw-mist); }

/* ---------- Motion demos ---------- */
.aw-bars { display: flex; align-items: flex-end; gap: 10px; }
.aw-bars i { flex: 1; border-radius: 8px 8px 0 0; transform-origin: bottom; animation: awGrow 3.2s cubic-bezier(.6,0,.2,1) infinite alternate; background: rgba(243,238,228,.22); }
.aw-bars i:nth-child(2) { animation-delay: .15s; } .aw-bars i:nth-child(3) { animation-delay: .3s; } .aw-bars i:nth-child(4) { animation-delay: .45s; } .aw-bars i:nth-child(5) { animation-delay: .6s; } .aw-bars i:nth-child(6) { animation-delay: .75s; }
.aw-bars i.is-hi { background: var(--aw-glass); }
.aw-bars.on-light i { background: var(--aw-line); } .aw-bars.on-light i.is-hi { background: var(--aw-glass-deep); }
@keyframes awGrow { 0% { transform: scaleY(.12); } 100% { transform: scaleY(1); } }
.aw-word { display: inline-block; opacity: 0; animation: awWord 4.8s cubic-bezier(.2,.8,.2,1) infinite; }
.aw-word.w2 { animation-delay: .25s; } .aw-word.w3 { animation-delay: .5s; }
@keyframes awWord { 0% { opacity: 0; transform: translateY(40%) rotate(4deg); } 12% { opacity: 1; transform: none; } 80% { opacity: 1; transform: none; } 92% { opacity: 0; transform: translateY(-30%); } 100% { opacity: 0; } }
.aw-ring { stroke-dasharray: 283; stroke-dashoffset: 283; animation: awDraw 3.6s cubic-bezier(.6,0,.2,1) infinite; }
@keyframes awDraw { 0% { stroke-dashoffset: 283; } 45% { stroke-dashoffset: 0; } 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.aw-pop { transform-origin: center; transform-box: fill-box; animation: awPop 3.6s cubic-bezier(.3,1.6,.5,1) infinite; }
@keyframes awPop { 0%, 35% { transform: scale(0); } 50%, 85% { transform: scale(1); } 100% { transform: scale(1); opacity: 0; } }
.aw-slide-in { animation: awSlideIn 3.4s cubic-bezier(.6,0,.2,1) infinite; }
@keyframes awSlideIn { 0% { transform: translateX(-110%); } 25%, 80% { transform: none; } 100% { transform: translateX(-110%); } }
.aw-step-dot { opacity: .25; animation: awStepDot 3s ease-in-out infinite; }
.aw-step-dot.s2 { animation-delay: 1s; } .aw-step-dot.s3 { animation-delay: 2s; }
@keyframes awStepDot { 0%, 10% { opacity: .25; transform: scale(1); } 20%, 40% { opacity: 1; transform: scale(1.15); } 55%, 100% { opacity: .25; transform: scale(1); } }
.aw-motion-hero { height: 520px; padding: 40px !important; flex-direction: column; justify-content: space-between !important; align-items: stretch !important; }
.aw-motion-hero > * { position: relative; }
.aw-motion-hero > .aw-light { position: absolute; }
.aw-motion-label { margin: 0; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--aw-mist); }
.aw-motion-words { margin: 0; font-family: var(--aw-serif); font-size: clamp(44px, 5vw, 64px); line-height: .95; color: var(--aw-sand); }
.aw-motion-words em { color: var(--aw-glass); }
.aw-motion-hero .aw-bars { height: 170px; gap: 12px; }
.aw-make-grid { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px !important; }
.aw-make-grid > * { margin: 0 !important; }
.aw-make-grid .aw-card { min-height: 0; padding: 26px !important; }
.aw-make-grid .aw-demo { background: var(--aw-shell); }
.aw-dot { width: 44px; height: 44px; border-radius: 50%; background: var(--aw-pacific); color: var(--aw-sand); display: inline-flex; align-items: center; justify-content: center; font-weight: 600; }
.aw-dot.is-hi { background: var(--aw-glass-deep); }
.aw-dot-line { width: 24px; height: 2px; background: var(--aw-line); }
.aw-site-demo { display: block !important; height: 540px; padding: 0 !important; }
.aw-site-phone { position: absolute; right: 26px; bottom: 30px; width: 130px; height: 250px; border-radius: 22px; border: 5px solid #0A2233; background: #1A0B06; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.aw-site-phone p { position: relative; margin: 60px 12px 0; font-size: 20px; line-height: 1; color: #FFF1E0; }
.aw-site-phone span { position: absolute; left: 12px; bottom: 14px; padding: 6px 10px; border-radius: 999px; background: #FFF1E0; color: #1A0B06; font-size: 9px; font-weight: 600; }
.aw-site-note { position: absolute; left: 40px; bottom: 20px; margin: 0; font-size: 12px; color: var(--aw-mist); }
.aw-demo { position: relative; height: 150px; border-radius: 18px; background: var(--aw-shell); overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: 4px !important; }

/* ---------- Website demo ---------- */
.aw-card > .aw-mini-browser { margin-top: auto !important; }
.aw-mini-browser { border-radius: 14px; overflow: hidden; border: 1px solid #333; background: #1A0B06; }
.aw-mini-browser .aw-browser-bar { background: #222; }
.aw-mini-hero { position: relative; padding: 22px; height: 170px; overflow: hidden; }
.aw-mini-hero p { position: relative; margin: 0; font-family: var(--aw-serif); font-size: 34px; line-height: 1; color: #FFF1E0; }
.aw-mini-hero p em { color: #FFF1E0; }
.aw-mini-hero span { position: absolute; left: 22px; bottom: 20px; padding: 9px 14px; border-radius: 999px; background: #FFF1E0; color: #1A0B06; font-size: 12px; font-weight: 600; }
.aw-browser { position: absolute; left: 40px; right: 70px; top: 48px; bottom: 60px; border-radius: 16px; overflow: hidden; background: #1A0B06; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.aw-browser-bar { display: flex; gap: 6px; padding: 10px 14px; background: #241812; font-size: 11px; color: #A8988E; align-items: center; }
.aw-browser-bar b { width: 9px; height: 9px; border-radius: 50%; background: #5A4A42; }
.aw-scroll { animation: awScroll 9s cubic-bezier(.6,0,.2,1) infinite; }
@keyframes awScroll { 0%, 20% { transform: translateY(0); } 45%, 70% { transform: translateY(-150px); } 95%, 100% { transform: translateY(0); } }
.aw-float { animation: awFloat 6s ease-in-out infinite; }
@keyframes awFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ---------- About horizon ---------- */
.aw-horizon { position: relative; height: 460px; border-radius: 36px; overflow: hidden; background: var(--aw-depth); }
.aw-horizon .sky { position: absolute; left: 0; right: 0; top: 0; height: 300px; overflow: hidden; }
.aw-horizon .sun { position: absolute; left: 50%; top: 150px; width: 300px; height: 300px; margin-left: -150px; border-radius: 50%; background: var(--aw-signal); box-shadow: 0 0 120px rgba(210,58,44,.45); animation: awRise 8s cubic-bezier(.4,0,.2,1) infinite alternate; }
@keyframes awRise { 0% { transform: translateY(120px); } 100% { transform: translateY(0); } }
.aw-horizon .line { position: absolute; height: 3px; border-radius: 2px; }
.aw-horizon .shim { animation: awShim 4s ease-in-out infinite alternate; }
.aw-horizon .shim.s2 { animation-delay: -1.4s; } .aw-horizon .shim.s3 { animation-delay: -2.8s; }
@keyframes awShim { 0% { transform: scaleX(.55); opacity: .35; } 100% { transform: scaleX(1); opacity: .9; } }
.aw-horizon .coords { position: absolute; left: 32px; bottom: 26px; margin: 0; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--aw-mist); }

/* ---------- Work ---------- */
.aw-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.aw-chip { font: 500 15px var(--aw-sans); padding: 12px 20px; min-height: 44px; border-radius: 999px; border: 1px solid var(--aw-line); background: transparent; color: var(--aw-pacific); cursor: pointer; }
.aw-chip[aria-pressed="true"] { background: var(--aw-pacific); color: var(--aw-sand); border-color: var(--aw-pacific); }
.aw-work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 30px 26px; }
.aw-tile { display: flex; flex-direction: column; gap: 10px; }
.aw-tile[hidden] { display: none; }
.aw-tile .aw-plate { width: 100%; aspect-ratio: 9 / 16; border-radius: 24px; overflow: hidden; position: relative; background: var(--bg); color: var(--fg); transition: transform .25s; }
.aw-tile:hover .aw-plate { transform: translateY(-6px); }
.aw-tile .aw-plate .aw-cap { font-size: 32px; bottom: 60px; left: 18px; right: 18px; animation-duration: 6s; }
.aw-tile .aw-plate .aw-cap.c2 { animation-delay: 2s; } .aw-tile .aw-plate .aw-cap.c3 { animation-delay: 4s; }
.aw-tile .aw-plate .aw-up { position: absolute; top: 16px; left: 16px; margin: 0; font-size: 10px; font-weight: 600; letter-spacing: 1.5px; }
.aw-tile .aw-plate .aw-cta-chip { padding: 9px 14px; font-size: 12px; bottom: 16px; left: 16px; }
.aw-tile h3 { font-family: var(--aw-sans); font-size: 16px; font-weight: 600; letter-spacing: 0; margin: 4px 0 0; display: flex; justify-content: space-between; gap: 10px; }
.aw-tile h3 span { font-weight: 400; color: var(--aw-slate); }
.aw-tile .aw-made { font-size: 13px; font-weight: 500; color: var(--aw-glass-deep); margin: 0; }
.aw-tile .aw-brief { font-size: 15px; color: var(--aw-slate); margin: 0; line-height: 1.5; }

/* ---------- Forms ---------- */
.aw-form-wrap { background: var(--aw-pacific); color: var(--aw-sand); border-radius: 36px; padding: clamp(28px, 4vw, 44px); }
.aw-form { display: flex; flex-wrap: wrap; gap: 20px; }
.aw-field { display: flex; flex-direction: column; gap: 8px; flex: 1 1 240px; }
.aw-field.is-full { flex-basis: 100%; }
.aw-field label, .aw-legend { font-size: 14px; font-weight: 500; color: var(--aw-mist); }
.aw-field input, .aw-field select, .aw-field textarea { font: 400 16px var(--aw-sans); padding: 15px 16px; border-radius: 14px; border: 1px solid #2A4D61; background: #143649; color: var(--aw-sand); width: 100%; box-sizing: border-box; }
.aw-field input:focus, .aw-field select:focus, .aw-field textarea:focus { outline: 2px solid var(--aw-glass); outline-offset: 1px; }
.aw-checks { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; flex-basis: 100%; }
.aw-checks legend { margin-bottom: 12px; padding: 0; }
.aw-check { position: relative; }
.aw-check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.aw-check span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #2A4D61; cursor: pointer; font-size: 15px; font-weight: 500; }
.aw-check input:checked + span { background: var(--aw-glass); border-color: var(--aw-glass); color: var(--aw-pacific); }
.aw-check input:focus-visible + span { outline: 2px solid var(--aw-glass); outline-offset: 2px; }
.aw-submit { font: 600 16px var(--aw-sans); padding: 18px 34px; min-height: 52px; border: 0; border-radius: 999px; background: var(--aw-glass); color: var(--aw-pacific); cursor: pointer; }
.aw-hp { position: absolute !important; left: -9999px !important; }
.aw-form-msg { padding: 14px 18px; border-radius: 14px; background: #3A1712; color: #FFD9D3; flex-basis: 100%; margin: 0; }
.aw-thanks h2 { font-size: clamp(44px, 5vw, 60px); margin: 18px 0; }
.aw-thanks p { color: var(--aw-mist); }
.aw-live { display: inline-block; line-height: 1.4; padding: 12px 18px; border-radius: 999px; background: var(--aw-shell); font-size: 15px !important; width: fit-content; }
.aw-live::before { content: ""; display: inline-block; vertical-align: 1px; margin-right: 12px; width: 10px; height: 10px; border-radius: 50%; background: var(--aw-glass-deep); animation: awPulse 2.4s ease-out infinite; }
@keyframes awPulse { 0% { box-shadow: 0 0 0 0 rgba(42,112,98,.5); } 100% { box-shadow: 0 0 0 14px rgba(42,112,98,0); } }

/* ---------- Entrance ---------- */
.aw-in > * { animation: awIn 1s cubic-bezier(.2,.7,.2,1) both; }
.aw-in > *:nth-child(2) { animation-delay: .12s; } .aw-in > *:nth-child(3) { animation-delay: .24s; } .aw-in > *:nth-child(n+4) { animation-delay: .36s; }
@keyframes awIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- Live websites showcase ---------- */
.aw-live-sites { background: var(--aw-depth); position: relative; overflow: hidden; }
.aw-live-sites::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(143,208,192,.18), transparent); pointer-events: none; }
.aw-live-sites > * { position: relative; }
.aw-live-dot { display: inline-block; width: 9px; height: 9px; margin-right: 10px; border-radius: 50%; background: var(--aw-signal); vertical-align: 1px; animation: awLive 1.8s ease-out infinite; }
@keyframes awLive { 0% { box-shadow: 0 0 0 0 rgba(210,58,44,.6); } 100% { box-shadow: 0 0 0 12px rgba(210,58,44,0); } }
.aw-live-frame { display: block; position: relative; aspect-ratio: 16 / 11; padding-right: 13%; text-decoration: none; color: inherit; }
.aw-live-browser { display: flex; flex-direction: column; height: 100%; border-radius: 16px; overflow: hidden; background: #0A2233; box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.aw-live-browser .aw-browser-bar { background: #0B1C27; color: var(--aw-mist); flex: none; }
.aw-live-browser .aw-browser-bar b { background: #2B4250; }
.aw-live-browser .aw-browser-bar span { display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.06); }
.aw-live-shot { display: block; width: 100%; height: 100%; min-height: 0; flex: 1; object-fit: cover; object-position: 50% 0; animation: awSiteScroll 26s cubic-bezier(.65,0,.35,1) infinite; animation-delay: var(--aw-delay, 0s); }
@keyframes awSiteScroll { 0%, 10% { object-position: 50% 0; } 45%, 55% { object-position: 50% 100%; } 90%, 100% { object-position: 50% 0; } }
.aw-live-phone { position: absolute; right: 0; bottom: -28px; width: 24%; aspect-ratio: 9 / 19; border-radius: 22px; border: 5px solid #06141E; background: #06141E; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.55); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.aw-live-phone .aw-live-shot { animation-duration: 20s; border-radius: 16px; }
.aw-live-visit { position: absolute; left: 20px; bottom: 20px; padding: 10px 16px; border-radius: 999px; background: var(--aw-sand); color: var(--aw-pacific); font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.aw-live-frame:hover .aw-live-browser, .aw-live-frame:focus-visible .aw-live-browser { transform: translateY(-8px); }
.aw-live-frame:hover .aw-live-phone, .aw-live-frame:focus-visible .aw-live-phone { transform: translateY(-16px) rotate(-2deg); }
.aw-live-frame:hover .aw-live-visit, .aw-live-frame:focus-visible .aw-live-visit { opacity: 1; transform: none; }
.aw-live-frame:focus-visible { outline: 2px solid var(--aw-glass); outline-offset: 8px; border-radius: 18px; }
.aw-live-site h3 { font-family: var(--aw-sans); font-size: 22px; font-weight: 600; letter-spacing: 0; margin: 48px 0 6px !important; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.aw-live-site h3 span { font-weight: 400; color: var(--aw-mist); font-size: 16px; }
.aw-live-site .aw-made { font-size: 14px; font-weight: 500; color: var(--aw-glass); margin: 0 0 10px; }
.aw-live-site .aw-brief { font-size: 16px; color: var(--aw-mist); margin: 0 0 14px; line-height: 1.55; max-width: 52ch; }
.aw-live-link { margin: 0; font-size: 15px; font-weight: 600; }
.aw-dark .aw-live-link a { color: var(--aw-glass); text-decoration: none; border-bottom: 1px solid rgba(143,208,192,.4); padding-bottom: 2px; }
.aw-dark .aw-live-link a:hover { border-bottom-color: var(--aw-glass); }
@media (max-width: 781px) {
	.aw-live-frame { padding-right: 16%; }
	.aw-live-phone { width: 30%; bottom: -20px; border-width: 4px; border-radius: 16px; }
	.aw-live-visit { opacity: 1; transform: none; left: 12px; bottom: 12px; font-size: 13px; padding: 8px 12px; }
	.aw-live-site h3 { margin-top: 36px !important; flex-direction: column; }
}

/* ---------- Responsive ---------- */
@media (max-width: 781px) {
	.aw-reel-col { min-height: 640px; }
	.aw-reel { width: 300px; }
	.aw-cap { font-size: 42px; }
	.aw-browser { left: 20px; right: 40px; }
	.aw-horizon { height: 380px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition: none !important; }
	.aw-slide:nth-child(1), .aw-cap:not(.c2):not(.c3), .aw-word { opacity: 1 !important; }
	.aw-slide:not(:nth-child(1)) { opacity: 0 !important; }
	.aw-live-shot { animation: none !important; }
}
