/* Casa Alon concept demo (fictional). Palette and type per Matt's spec; applies only to this concept. */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("fonts/fraunces-latin-var.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../../fonts/inter-latin-600-normal.woff2") format("woff2"); }
:root {
  --sand: #EFE7DA; --deep: #0F3B47; --shell: #FFFFFF; --coral: #E0765A; --coral-deep: #B34A30; --coral-hover: #9C3F28;
  --ink: #1D2B2F; --mistgrey: #7A8C8F; --gut: 20px; --ease: cubic-bezier(.22,1,.36,1); --banner: 36px;
}
@media (min-width: 640px) { :root { --gut: 32px; } }
@media (min-width: 1024px) { :root { --gut: 48px; } }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body.ca { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--shell); -webkit-font-smoothing: antialiased; }
@media (max-width: 639px) { body.ca { font-size: 16px; } }
.ca h1, .ca h2, .ca h3 { font-family: Fraunces, Georgia, serif; font-weight: 500; letter-spacing: -0.01em; line-height: 1.05; color: var(--deep); }
.ca h1 { font-size: clamp(40px, 7vw, 88px); color: var(--shell); max-width: 12ch; text-wrap: balance; }
.ca h2 { text-wrap: balance; }
.ca h2 { font-size: clamp(30px, 4.5vw, 52px); max-width: 18ch; }
.ca h3 { font-size: 26px; }
.ca a { color: inherit; }
.ca-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ca-wrap { max-width: calc(1200px + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.ca-skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--deep); color: #fff; padding: 10px 14px; border-radius: 8px; }
.ca-skip:focus { top: 44px; }
.ca :focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; box-shadow: 0 0 0 3px rgba(224,118,90,.45); }

/* Concept banner (persistent, not dismissible) */
.ca-concept { position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: var(--banner); display: flex; align-items: center; justify-content: center; background: var(--deep); color: #fff; font-size: 13px; padding: 0 12px; text-align: center; }
.ca-concept a { color: #fff; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; }
.ca-concept-short { display: none; }
@media (max-width: 699px) { .ca-concept-long { display: none; } .ca-concept-short { display: inline; } .ca-concept strong::after { content: " ·"; } }

/* Nav */
.ca-nav { position: fixed; top: var(--banner); left: 0; right: 0; z-index: 40; transition: background-color 280ms var(--ease), box-shadow 280ms var(--ease); }
.ca-nav-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.ca-home { display: inline-flex; align-items: center; }
.ca-wm { display: block; height: 30px; width: auto; }
.ca-wm--deep-sea { display: none; }
.ca-nav.is-solid { background: var(--sand); box-shadow: 0 1px 0 rgba(15,59,71,.12); }
.ca-nav.is-solid .ca-wm--shell { display: none; }
.ca-nav.is-solid .ca-wm--deep-sea { display: block; }
.ca-menu { display: flex; gap: 28px; margin-left: auto; }
.ca-menu a { color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; }
.ca-nav.is-solid .ca-menu a { color: var(--deep); }
.ca-menu a:hover { text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 6px; }
.ca-menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.ca-menu-btn i { width: 22px; height: 2px; background: currentColor; }
.ca-nav.is-solid .ca-menu-btn, .ca-nav.is-open .ca-menu-btn { color: var(--deep); }
@media (max-width: 899px) {
  .ca-menu-btn { display: inline-flex; order: 3; margin-left: 0; }
  .ca-btn--sm { margin-left: auto; }
  .ca-menu { display: none; position: fixed; inset: calc(var(--banner) + 64px) 0 0 0; flex-direction: column; gap: 0; padding: 16px var(--gut); background: var(--sand); }
  .ca-nav.is-open .ca-menu { display: flex; }
  .ca-nav.is-open { background: var(--sand); }
  .ca-nav.is-open .ca-wm--shell { display: none; } .ca-nav.is-open .ca-wm--deep-sea { display: block; }
  .ca-menu a { color: var(--deep) !important; font-family: Fraunces, Georgia, serif; font-size: 34px; min-height: 64px; display: flex; align-items: center; border-bottom: 1px solid rgba(15,59,71,.15); }
}

/* Buttons */
.ca-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; background: var(--coral-deep); color: #fff !important; font-weight: 600; font-size: 17px; text-decoration: none; border: 1.5px solid var(--coral-deep); transition: background-color 150ms var(--ease), border-color 150ms var(--ease); cursor: pointer; font-family: inherit; }
.ca-btn:hover { background: var(--coral-hover); border-color: var(--coral-hover); }
.ca-btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.ca-btn--photo { background: transparent; border-color: #fff; }
.ca-btn--photo:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.ca-btn--full { width: 100%; }
@media (max-width: 639px) { .ca-btn { min-height: 48px; } }
.ca-link { display: inline-flex; min-height: 44px; align-items: center; gap: 6px; color: var(--deep); font-weight: 600; text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.ca-link span { transition: transform 280ms var(--ease); }
@media (hover: hover) { .ca-link:hover span { transform: translateX(4px); } }

/* Hero */
.ca-hero { position: relative; min-height: 560px; height: 100svh; max-height: 900px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.ca-hero picture, .ca-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.ca-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,59,71,.78) 0%, rgba(15,59,71,.45) 55%, rgba(15,59,71,0) 100%); }
@media (max-width: 699px) { .ca-hero::after { background: linear-gradient(0deg, rgba(15,59,71,.85) 0%, rgba(15,59,71,.5) 55%, rgba(15,59,71,.15) 100%); } }
.ca-hero-copy { position: relative; z-index: 2; padding-bottom: clamp(48px, 10vh, 120px); width: 100%; }
.ca-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.ca-lead { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; max-width: 40ch; margin-top: 20px; }
.ca-lead--dark { color: var(--ink); }
.ca-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 639px) { .ca-btns { flex-direction: column; } .ca-btns .ca-btn { width: 100%; } }

/* Sections */
.ca-section { padding: 72px 0; }
@media (min-width: 960px) { .ca-section { padding: 112px 0; } }
.ca-section--sand { background: var(--sand); }
.ca-section--deep { background: var(--sand); }
.ca-cards { list-style: none; display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 700px) { .ca-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ca-cards { grid-template-columns: repeat(4, 1fr); } }
.ca-card { background: var(--shell); border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px -20px rgba(15,59,71,.35); transition: transform 280ms var(--ease); }
.ca-card picture { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.ca-card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 560ms var(--ease); }
.ca-card-body { padding: 20px 24px 24px; }
.ca-card-body p { margin-top: 6px; font-size: 15px; color: rgba(29,43,47,.75); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .ca-card:hover { transform: translateY(-4px); } .ca-card:hover .ca-card-img { transform: scale(1.03); } }
.ca-stay { display: grid; gap: 24px; margin-top: 56px; align-items: center; background: var(--sand); border-radius: 20px; overflow: hidden; }
.ca-stay picture { display: block; aspect-ratio: 4 / 3; }
.ca-stay-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ca-stay > div { padding: 8px 24px 28px; }
.ca-stay-text { font-size: 20px; line-height: 1.5; max-width: 34ch; }
.ca-stay-text strong { font-family: Fraunces, Georgia, serif; font-weight: 500; color: var(--deep); font-size: 26px; display: block; margin-bottom: 6px; }
@media (min-width: 900px) { .ca-stay { grid-template-columns: 1fr 1fr; gap: 48px; } .ca-stay > div { padding: 40px 40px 40px 0; } }
.ca-packs { list-style: none; display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 900px) { .ca-packs { grid-template-columns: repeat(3, 1fr); } }
.ca-pack { background: var(--shell); border-radius: 20px; padding: 28px; box-shadow: 0 20px 40px -20px rgba(15,59,71,.35); display: flex; flex-direction: column; }
.ca-pack p { margin: 10px 0 16px; }
.ca-pack .ca-link { margin-top: auto; }
.ca-note { margin-top: 28px; max-width: 60ch; }
.ca-gallery { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 28vw, 200px); gap: 12px; margin-top: 48px; }
@media (min-width: 900px) { .ca-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 20vw, 280px); gap: 16px; } }
.ca-gallery li { min-width: 0; min-height: 0; overflow: hidden; border-radius: 14px; }
.ca-gallery li:first-child { grid-column: span 2; }
@media (max-width: 899px) { .ca-gallery li:last-child { grid-column: span 2; } }
.ca-g { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; }
.ca-g picture { display: block; height: 100%; }
.ca-g-img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 560ms var(--ease); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .ca-g:hover .ca-g-img { transform: scale(1.03); } }
.ca-credit { margin-top: 12px; font-size: 14px; color: var(--ink); }
.ca-lightbox { margin: auto; border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); }
.ca-lightbox::backdrop { background: rgba(15,59,71,.9); }
.ca-lightbox img { display: block; max-width: 100%; max-height: 80vh; width: auto; height: auto; border-radius: 12px; }
.ca-lb-bar { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
.ca-lb-bar button { min-width: 44px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #fff; background: transparent; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }

/* Inquiry */
.ca-inq { display: grid; gap: 32px; }
@media (min-width: 960px) { .ca-inq { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }
.ca-form-card { background: var(--shell); border-radius: 20px; padding: 24px; box-shadow: 0 20px 40px -20px rgba(15,59,71,.35); }
@media (min-width: 700px) { .ca-form-card { padding: 36px; } }
.ca-form { display: grid; gap: 18px; }
.ca-field { display: grid; gap: 6px; border: 0; }
.ca-field label, .ca-field legend { font-weight: 600; font-size: 15px; color: var(--deep); }
.ca-opt { font-weight: 400; color: rgba(29,43,47,.75); }
.ca-field input, .ca-field select, .ca-field textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid rgba(15,59,71,.25); border-radius: 12px; min-height: 48px; padding: 10px 14px; width: 100%; }
.ca-field input:focus, .ca-field select:focus, .ca-field textarea:focus { border-color: var(--deep); outline: none; box-shadow: 0 0 0 3px rgba(224,118,90,.45); }
.ca-field [aria-invalid="true"] { border-color: var(--coral-deep); }
.ca-checks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; }
.ca-check { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; }
.ca-check input { width: 20px; height: 20px; accent-color: var(--deep); }
.ca-form-error { color: var(--coral-deep); font-weight: 600; font-size: 15px; }
.ca-demo-note { font-size: 14px; color: rgba(29,43,47,.75); }
.ca-done p + p { margin-top: 12px; }
.ca-done a { color: var(--deep); font-weight: 600; text-decoration: underline; text-decoration-color: var(--coral); text-underline-offset: 4px; }

/* FAQ */
.ca-faq { display: grid; gap: 32px; }
@media (min-width: 960px) { .ca-faq { grid-template-columns: 5fr 7fr; gap: 64px; } }
.ca-faq-item { border-top: 1px solid rgba(15,59,71,.18); padding: 18px 0; }
.ca-faq-item:last-child { border-bottom: 1px solid rgba(15,59,71,.18); }
.ca-faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-family: Fraunces, Georgia, serif; font-size: 22px; color: var(--deep); min-height: 44px; align-items: center; }
.ca-faq-item summary::-webkit-details-marker { display: none; }
.ca-faq-item summary::after { content: "+"; font-family: Inter, sans-serif; color: var(--coral-deep); transition: transform 280ms var(--ease); }
.ca-faq-item[open] summary::after { transform: rotate(45deg); }
.ca-faq-item p { margin-top: 8px; max-width: 60ch; }

/* Footer */
.ca-footer { background: var(--deep); color: #fff; padding: 64px 0 96px; }
.ca-footer-top { display: grid; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.18); }
@media (min-width: 900px) { .ca-footer-top { grid-template-columns: 2fr 2fr 1fr; align-items: start; } }
.ca-footer-top p { margin-top: 12px; color: rgba(255,255,255,.85); }
.ca-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.ca-footer nav a { color: #fff; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.ca-footer nav a:hover { text-decoration: underline; text-decoration-color: var(--coral); }
.ca-footer-mail { color: rgba(255,255,255,.85); }
.ca-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 14px; color: rgba(255,255,255,.85); }
.ca-footer-bottom a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; display: inline-flex; align-items: center; }

/* Sticky mobile Inquire bar */
.ca-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: rgba(239,231,218,.96); box-shadow: 0 -1px 0 rgba(15,59,71,.12); }
@media (min-width: 900px) { .ca-sticky { display: none !important; } }

/* Reveal (JS adds .js; off with reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  html.js .ca [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 560ms var(--ease), transform 560ms var(--ease); }
  html.js .ca [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
/* Hover states (audit 29 Oct) */
.ca-concept a:hover { text-decoration-thickness: 2px; color: #fff; opacity: 0.85; }
.ca-home:hover { opacity: 0.8; }
.ca-faq-item summary:hover { color: var(--coral-deep); }
.ca-footer-bottom a:hover { text-decoration-color: var(--coral); opacity: 0.9; }

/* Multi-page demo (Nov 2026): inner-page hero, rows, steps, demo notices */
.ca-hero--page { min-height: 440px; height: 66svh; max-height: 640px; }
.ca-hero--page .ca-hero-copy { padding-bottom: clamp(40px, 8vh, 88px); }
.ca-hero--page h1 { font-size: clamp(38px, 6vw, 72px); max-width: 16ch; }
.ca-menu a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--coral); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.ca-footer nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--coral); }
.ca-footer-mail a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
.ca-more { margin-top: 28px; }
.ca-eyebrow--dark { color: var(--coral-deep); margin-bottom: 10px; }
.ca-cta { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .ca-cta { grid-template-columns: 1fr auto; gap: 48px; } }
.ca-rows { display: grid; gap: 64px; }
@media (min-width: 900px) { .ca-rows { gap: 96px; } }
.ca-row { display: grid; gap: 24px; align-items: center; }
.ca-row picture { display: block; aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; }
.ca-row-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ca-row-body p { margin-top: 14px; max-width: 52ch; }
@media (min-width: 900px) { .ca-row { grid-template-columns: 1fr 1fr; gap: 64px; } .ca-row--flip picture { order: 2; } }
.ca-ticks { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.ca-ticks li { position: relative; padding-left: 28px; }
.ca-ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 8px; border-left: 2px solid var(--coral-deep); border-bottom: 2px solid var(--coral-deep); transform: rotate(-45deg); }
.ca-stay--flat { background: transparent; margin-top: 0; border-radius: 0; overflow: visible; }
.ca-stay--flat picture { border-radius: 20px; overflow: hidden; }
.ca-stay--flat > div { padding: 0; }
.ca-stay--flat .ca-lead { margin-bottom: 4px; }
@media (min-width: 900px) { .ca-stay--flat > div { padding: 0; } }
.ca-packs--4 { margin-top: 40px; }
@media (min-width: 700px) { .ca-packs--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ca-packs--4 { grid-template-columns: repeat(4, 1fr); } }
.ca-split { display: grid; gap: 24px; }
@media (min-width: 960px) { .ca-split { grid-template-columns: 5fr 7fr; gap: 64px; } }
.ca-prose p + p { margin-top: 16px; }
.ca-prose p { max-width: 62ch; }
.ca-steps { list-style: none; display: grid; gap: 28px; margin-top: 40px; }
@media (min-width: 700px) { .ca-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ca-steps { grid-template-columns: repeat(4, 1fr); } }
.ca-steps li { border-top: 2px solid var(--deep); padding-top: 16px; }
.ca-steps p { margin-top: 8px; }
.ca-step-n { display: block; font-weight: 600; color: var(--coral-deep); font-size: 14px; letter-spacing: .08em; margin-bottom: 8px; }
.ca-next { list-style: none; display: grid; gap: 18px; margin-top: 28px; }
.ca-next li { display: flex; gap: 14px; }
.ca-next h3 { font-size: 22px; }
.ca-next p { margin-top: 4px; }
.ca-demo-box { margin-top: 28px; border: 1.5px dashed rgba(15,59,71,.35); border-radius: 16px; padding: 18px 20px; background: rgba(255,255,255,.6); font-size: 15px; }
.ca-demo-banner { background: var(--sand); border-radius: 12px; padding: 12px 14px; font-size: 15px; margin-bottom: 18px; }
