/* ATY | Signature card system. Shared by source rendering and the cPanel release.
   Scoped to public content; brand artwork keeps its original background. */
:root {
  --card-paper: #ffffff;
  --card-ink: #182123;
  --card-muted: #566163;
  --card-line: #d6dcda;
  --card-soft: #f1f3f2;
  --card-dark: #182123;
  --card-accent: #ff7a1a;
  --card-accent-ink: #a4410a;
  --card-radius: 18px;
  --card-shadow: 0 4px 10px #18212305, 0 18px 40px -26px #18212345;
  --card-shadow-hover: 0 8px 18px #18212309, 0 26px 48px -24px #18212350;
}
/* A quiet, neutral canvas lets artwork and the ATY orange carry the identity. */
html:root body { --paper: #fff; --tint: #f3f4f2; --line: #d6dcda; --muted: #566163; }
html:root body #main :is(.project-card,.news-card,.download-location-card,.layout-property-card,
  .download-card,.guide-card,.locality-card,.document-card,.brochure-card,.brochure-supplement,
  .price-list-file,.contact-card,.amenity-card,.edit-story,.planning-tool-card,.discovery-card) {
  border: 1px solid var(--card-line);
  border-top: 3px solid var(--card-accent);
  border-radius: var(--card-radius);
  background: var(--card-paper);
  color: var(--card-ink);
  box-shadow: var(--card-shadow);
  text-shadow: none;
  min-width: 0;
  transform: none;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}
html:root body #main :is(.project-grid,.news-grid.news-cards,.download-location-grid,.layout-property-grid) {
  gap: 24px;
  align-items: stretch;
}
html:root body #main :is(.project-card,.news-card,.download-location-card,.layout-property-card,.document-card) {
  font-family: 'ATY Geist', Arial, sans-serif;
}
/* Projects: original logo above a consistent ivory information surface. */
html:root body #main .project-card.project-card { padding: 12px 12px 0; display: flex; flex-direction: column; overflow: hidden; }
html:root body #main .project-card.project-card>a { border-radius: 10px; }
html:root body #main .project-card.project-card .listing-logo {
  height: 176px; border-radius: 10px; border: 1px solid #18212316;
  box-shadow: none; padding: 28px; flex-shrink: 0;
}
html:root body #main .project-card.project-card .listing-logo::after { display: none; }
html:root body #main .project-card.project-card .listing-logo img { filter: none; transform: none; max-height: 112px; }
html:root body #main .project-card.project-card .project-body { padding: 24px 14px; display: flex; flex: 1; flex-direction: column; }
html:root body #main .project-card.project-card .project-body h3 {
  color: var(--card-ink); font: 400 30px/1.16 var(--serif); letter-spacing: -.025em;
  margin-bottom: 14px; min-height: 2.32em; text-shadow: none;
}
html:root body #main .project-card.project-card .project-meta { min-height: 0; gap: 10px; margin-bottom: 18px; font-size: 12px; }
html:root body #main .project-card.project-card .project-meta span:first-child { color: var(--card-accent-ink); font-size: 12px; letter-spacing: .08em; }
html:root body #main .project-card.project-card .project-meta span:last-child {
  color: #354244; background: var(--card-soft); border: 1px solid var(--card-line);
  border-radius: 6px; box-shadow: none; font-size: 12px; padding: 6px 9px;
}
html:root body #main .project-card.project-card :is(.config,.project-price,.project-portfolio-facts dd) { color: var(--card-ink); font-size: 15px; }
html:root body #main .project-card.project-card :is(.project-body>.muted,.project-price small,.compare-check,.project-portfolio-facts dt) { color: var(--card-muted); }
html:root body #main .project-card.project-card .project-body>.muted { font-size: 14px; line-height: 1.65; }
html:root body #main .project-card.project-card :is(.project-price small,.project-portfolio-facts dt) { font-size: 12px; }
html:root body #main .project-card.project-card :is(.project-price,.compare-check,.project-portfolio-facts>div) { border-color: var(--card-line); }
html:root body #main .project-card.project-card .project-actions { margin-top: auto; gap: 10px; flex-wrap: wrap; }
html:root body #main .project-card.project-card .project-actions a,
html:root body #main .news-card .news-content .news-read-link,
html:root body #main .download-location-card span {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 12px 16px; border: 1px solid var(--card-dark);
  border-radius: 8px; background: var(--card-dark); color: #fff;
  font-size: 14px; font-weight: 600; line-height: 1.5; box-shadow: none; text-decoration: none;
}
html:root body #main .project-card.project-card .project-actions a { justify-content: center; }
html:root body #main .project-card.project-card .project-actions button {
  background: #fff; color: var(--card-ink); border: 1px solid #aab4b3;
  border-radius: 8px; min-height: 46px; font-size: 14px; box-shadow: none;
}
html:root body #main .project-card.project-card .compare-check { font-size: 14px; }
html:root body #main .project-card.project-card .compare-check input { accent-color: var(--card-dark); }
/* News: publication, title, evidence status, and one clear reading action. */
html:root body #main .news-card { padding: 26px; }
html:root body #main .news-card .news-marker { color: var(--card-ink); border-color: var(--card-line); padding-bottom: 20px; margin-bottom: 22px; }
html:root body #main .news-card .news-marker>span { font-size: 13px; }
html:root body #main .news-card .news-marker b {
  background: var(--card-dark); color: #ffb77f; border: 0; border-radius: 8px;
  box-shadow: none; text-shadow: none; font: 400 28px/1 var(--serif);
}
html:root body #main .news-card .news-content { display: flex; flex-direction: column; flex: 1; }
html:root body #main .news-card .news-content h3 { color: var(--card-ink); font-size: 29px; line-height: 1.22; text-shadow: none; }
html:root body #main .news-card .news-content .eyebrow { color: var(--card-accent-ink); font-size: 12px; letter-spacing: .06em; }
html:root body #main .news-card .news-content :is(.news-date,p:not(.eyebrow)) { color: var(--card-muted); }
html:root body #main .news-card .news-content>p:not(.eyebrow):not(.news-date) { font-size: 15px; line-height: 1.75; }
html:root body #main .news-card .news-content .tag {
  align-self: flex-start; background: #fff0e5; color: #843706; border: 1px solid #edcbb2;
  border-radius: 6px; font-size: 12px; padding: 7px 10px; box-shadow: none;
}
html:root body #main .news-card .news-read-arrow { background: var(--card-accent); color: #182123; border-radius: 5px; box-shadow: none; }
/* Scenic cards use a solid reading surface, preserving their illustration note. */
html:root body #main .location-choice {
  border: 1px solid #344346; border-top: 3px solid var(--card-accent); border-radius: var(--card-radius);
  background: var(--card-dark); color: #fff; box-shadow: var(--card-shadow); overflow: hidden;
}
html:root body #main .location-choice :is(h3,p,.eyebrow,.text-link) { color: #fff; text-shadow: none; }
html:root body #main .location-choice .eyebrow { color: #ffb77f; font-size: 12px; }
html:root body #main .location-choice .text-link { border-color: #718082; font-size: 14px; }
html:root body #main .location-choice-raised { height: auto; min-height: 455px; padding: 0; }
html:root body #main .location-card-face { padding: 0; border: 0; border-radius: 0; background: var(--card-dark); }
html:root body #main .location-card-face::after { display: none; }
html:root body #main .location-card-image { position: relative; height: 240px; width: 100%; flex-shrink: 0; }
html:root body #main .location-card-shade { height: 100px; background: linear-gradient(#0008,transparent); }
html:root body #main .location-card-index { position: absolute; top: 18px; left: 20px; right: 20px; font-size: 12px; letter-spacing: .07em; }
html:root body #main .location-card-index>span { background: #182123; color: #fff; border: 1px solid #647071; padding: 7px 10px; border-radius: 5px; }
html:root body #main .location-card-index>b { color: #fff; font-size: 24px; text-shadow: 0 1px 4px #000; }
html:root body #main .location-card-copy { margin: 0; padding: 27px 28px 24px; background: var(--card-dark); flex: 1; display: flex; flex-direction: column; }
html:root body #main .location-card-copy h3 { font-size: 38px; color: #fff; }
html:root body #main .location-card-copy p { color: #d4dedf; font-size: 15px; line-height: 1.65; }
html:root body #main .location-card-action { color: #fff; font-size: 14px; border-color: #4d5a5c; margin-top: auto; padding-top: 17px; }
html:root body #main .location-card-action>span { background: var(--card-accent); color: #182123; border: 0; border-radius: 6px; }
html:root body #main .location-card-art-note { font-size: 12px; color: var(--card-muted); }
/* Location libraries and every individual PDF share the same two action styles. */
html:root body #main .download-location-card { min-height: 244px; padding: 32px; }
html:root body #main .download-location-card h2 { color: var(--card-ink); text-shadow: none; font-size: clamp(34px,3.5vw,48px); }
html:root body #main .download-location-card>div { border-color: var(--card-line); align-items: center; gap: 18px; }
html:root body #main .download-location-card strong { color: var(--card-muted); font-size: 14px; }
html:root body #main .layout-property-card { padding: 24px; min-height: 182px; }
html:root body #main .layout-property-card h3 { color: var(--card-ink); font-size: 17px; line-height: 1.5; }
html:root body #main :is(.layout-property-actions,.document-actions,.download-actions) { border-color: var(--card-line); gap: 10px; }
html:root body #main :is(.layout-property-actions,.document-actions,.download-actions) a,
html:root body #main :is(.brochure-button,.price-list-download) {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 14px; border: 1px solid #aab4b3;
  border-radius: 8px; background: #fff; color: var(--card-ink);
  font-size: 14px; line-height: 1.5; font-weight: 600; box-shadow: none; text-decoration: none;
}
html:root body #main :is(.layout-property-actions,.document-actions,.download-actions) a[download],
html:root body #main :is(.brochure-button,.price-list-download)[download] {
  color: #182123; background: var(--card-accent); border-color: #d85b00;
}
html:root body #main .document-actions .document-source { color: var(--card-muted); font-size: 12px; }
html:root body #main :is(.brochure-card,.brochure-supplement,.price-list-file) { padding: 26px; }
html:root body #main :is(.document-card,.brochure-card,.brochure-supplement,.price-list-file) :is(h2,h3,h4) { color: var(--card-ink); }
html:root body #main :is(.document-description,.brochure-intro) { color: var(--card-muted); font-size: 14px; }
html:root body #main :is(.document-issuer,.document-meta,.brochure-file-details,.price-list-meta) { color: var(--card-muted); font-size: 12px; }
html:root body #main :is(.document-kind,.document-format) { font-size: 12px; color: var(--card-accent-ink); }
html:root body #main :is(.layout-search-panel,.filter-panel,.download-filters,.edit-filter-bar) {
  background: var(--card-soft); border: 1px solid var(--card-line); border-radius: 12px; box-shadow: none;
}
html:root body #main :is(.layout-search-panel,.filter-panel,.download-filters,.edit-filter-bar) label { color: #354244; font-size: 12px; }
html:root body #main :is(.layout-search-panel,.filter-panel,.download-filters,.edit-filter-bar) :is(input,select) {
  background: #fff; color: var(--card-ink); border: 1px solid #929e9f; border-radius: 7px; min-height: 48px; font-size: 16px; box-shadow: none;
}
/* Supporting cards: keep their content and interactions, unify the materials. */
html:root body #main .developer-logo-flip-face { border-radius: var(--card-radius); border: 1px solid #bfc8c5; border-top: 3px solid var(--card-accent); box-shadow: var(--card-shadow); }
html:root body #main .developer-logo-flip-face::before { display: none; }
html:root body #main :is(.developer-logo-card-link,.developer-logo-flip-card) { border-radius: var(--card-radius); }
html:root body #main .developer-logo-flip-logo img { filter: none; }
html:root body #main .developer-logo-flip-toggle { border-radius: 6px; min-height: 40px; font-size: 12px; box-shadow: none; }
html:root body #main :is(.developer-logo-card-count,.developer-logo-flip-hint,.developer-logo-flip-eyebrow) { font-size: 12px; letter-spacing: .04em; }
html:root body #main :is(.guide-card,.locality-card) h3 { color: var(--card-ink); text-shadow: none; }
html:root body #main :is(.guide-card,.locality-card)>p { color: var(--card-muted); }
html:root body #main .guide-card .text-link { color: var(--card-ink); border-color: var(--card-accent-ink); min-height: 44px; }
html:root body #main .edit-story { padding: 24px; }
html:root body #main .edit-story-grid { gap: 20px; }
html:root body #main .edit-story :is(h3,.edit-read) { color: var(--card-ink); }
html:root body #main .edit-story :is(.edit-summary,.edit-meta,.edit-story-top,.edit-status,footer>span) { color: var(--card-muted); }
html:root body #main .edit-story .edit-read { font-size: 14px; min-height: 44px; }
html:root body #main .edit-story :is(.edit-number,.edit-period) { background: #fff0e5; color: #843706; border-color: #edcbb2; }
html:root body #main .edit-story .edit-summary { font-size: 15px; }
html:root body #main .edit-story :is(.edit-status,.edit-story-top,footer>span) { font-size: 12px; }
html:root body #main :is(.edit-cover,.edit-desk) { border-radius: var(--card-radius); box-shadow: var(--card-shadow); overflow: hidden; }
html:root body #main .edit-cover-title { background: var(--card-dark); }
/* Secondary information and planning panels use the same restrained materials. */
html:root body #main :is(.project-amenity-grid li,.article-grid>article,.buyer-property,.variant,.selected-plan,.enquiry-panel) {
  border: 1px solid var(--card-line); border-radius: 12px; background: #fff;
  box-shadow: var(--card-shadow); color: var(--card-ink);
}
html:root body #main .article-grid>article { padding: 26px; border-top: 3px solid var(--card-accent); border-radius: var(--card-radius); }
html:root body #main .project-amenity-icon { background: #fff0e5; color: #843706; border: 0; border-radius: 8px; box-shadow: none; }
html:root body #main .project-amenity-icon svg { filter: none; }
html:root body #main .project-amenity-grid h3 { color: var(--card-ink); font-size: 14px; }
html:root body #main .project-amenity-grid p { color: var(--card-muted); }
html:root body #main .variant[aria-pressed=true] { border: 2px solid #a4410a; background: #fff6ef; }
html:root body #main .contact-card h2 { color: var(--card-ink); text-shadow: none; }
html:root body #main .contact-card>.eyebrow { color: var(--card-accent-ink); font-size: 12px; letter-spacing: .07em; }
html:root body #main .contact-selection { border: 1px solid var(--card-line); border-radius: 8px; background: var(--card-soft); box-shadow: none; }
html:root body #main .contact-selection .eyebrow { font-size: 12px; letter-spacing: .04em; color: var(--card-muted); }
html:root body #main .contact-card>.button.primary { background: var(--card-accent); color: #182123; border: 1px solid #d85b00; border-radius: 8px; box-shadow: none; }
html:root body #main .contact-actions .business-link { background: #fff; color: var(--card-ink); border: 1px solid var(--card-line); border-radius: 8px; box-shadow: none; font-size: 14px; }
html:root body #main .contact-actions .business-icon { background: var(--card-dark); border: 0; border-radius: 7px; box-shadow: none; transform: none; }
html:root body #main .contact-actions .icon-whatsapp { background: #17613b; }
html:root body #main .contact-actions .business-icon::before { filter: none; }
html:root body #main .contact-card .adviser-mark { border: 1px solid var(--card-line); border-radius: 8px; background: var(--card-soft); box-shadow: none; color: var(--card-ink); }
html:root body #main .planning-tools>.tabs { background: var(--card-soft); border: 1px solid var(--card-line); border-radius: var(--card-radius); box-shadow: none; }
html:root body #main .planning-tools>.tabs button { background: #fff; color: var(--card-ink); border: 1px solid #aab4b3; border-radius: 8px; box-shadow: none; transform: none; }
html:root body #main .planning-tools>.tabs button.active { background: var(--card-dark); color: #fff; border-color: var(--card-dark); box-shadow: inset 0 -3px var(--card-accent); }
html:root body #main .planning-tools :is(.calculator,.buyer-tool,.roi-panel) { background: #fff; border: 1px solid var(--card-line); border-top: 3px solid var(--card-accent); border-radius: var(--card-radius); box-shadow: var(--card-shadow); }
html:root body #main .planning-tools .roi-panel .calculator { border: 0; border-radius: 0; box-shadow: none; background: transparent; }
html:root body #main .planning-tools :is(.calculator-result,.buyer-result) { background: var(--card-dark); color: #fff; border: 1px solid #39484a; border-radius: 12px; box-shadow: none; }
html:root body #main .planning-tools :is(.calculator-result,.buyer-result)>strong { color: #ffb77f; text-shadow: none; }
html:root body #main .planning-tools :is(.buyer-result summary,.calculator-result dt,.calculator-result p,.buyer-result p) { color: #e2e9e8; }
html:root body #main .planning-tools input:not([type=checkbox]):not([type=radio]),
html:root body #main .planning-tools select { background: #fff; color: var(--card-ink); border-color: #929e9f; border-radius: 7px; box-shadow: none; }
html:root body #main .planning-tools .buyer-tool button { background: var(--card-dark); color: #fff; border: 1px solid var(--card-dark); border-radius: 8px; box-shadow: none; transform: none; }
html:root body #main .planning-tools>.tabs button:not(.active):hover { background: #fff0e5; box-shadow: none; transform: none; }

/* A two-tone focus indicator remains visible on both dark and light surfaces. */
html:root body #main :is(a,button,input,select,summary):focus-visible {
  outline: 3px solid #a4410a; outline-offset: 4px; box-shadow: 0 0 0 3px #fff;
}
@media (hover:hover) and (pointer:fine) {
  html:root body #main :is(.project-card,.news-card,.download-location-card,.layout-property-card,.location-choice,.guide-card,.locality-card):hover {
    transform: translateY(-4px); border-color: #a6b0ae; border-top-color: var(--card-accent); box-shadow: var(--card-shadow-hover);
  }
  html:root body #main .project-card.project-card:hover .listing-logo img { transform: none; }
  html:root body #main .project-card.project-card .project-actions a:hover,
  html:root body #main .news-card .news-content .news-read-link:hover,
  html:root body #main .download-location-card:hover span { background: #2d3c3f; color: #fff; transform: none; }
  html:root body #main :is(.layout-property-actions,.document-actions,.download-actions) a:hover,
  html:root body #main :is(.brochure-button,.price-list-download):hover { background: #fff0e5; color: #182123; border-color: #a4410a; }
  html:root body #main .location-choice:hover .location-card-action>span { background: #ffb77f; color: #182123; transform: none; }
}
@media (max-width:700px) {
  html:root body #main :is(.project-grid,.news-grid.news-cards,.download-location-grid,.layout-property-grid) { gap: 22px; }
  html:root body #main .project-card.project-card .project-body { padding: 22px 10px; }
  html:root body #main .project-card.project-card .project-body h3 { min-height: 0; font-size: 28px; }
  html:root body #main .news-card { padding: 22px; }
  html:root body #main .news-card .news-content h3 { font-size: 27px; }
  html:root body #main .location-card-image { height: 205px; }
  html:root body #main .location-choice-raised { min-height: 0; }
  html:root body #main .location-card-copy { padding: 24px; }
  html:root body #main .location-card-copy h3 { font-size: 34px; }
  html:root body #main .location-card-index { font-size: 12px; left: 16px; right: 16px; letter-spacing: .02em; }
  html:root body #main .location-card-index>span { max-width: 85%; }
  html:root body #main .download-location-card { padding: 26px; min-height: 220px; }
  html:root body #main :is(.layout-property-card,.brochure-card,.brochure-supplement,.price-list-file) { padding: 22px; }
  html:root body #main .edit-story { padding: 20px; }
}
@media (max-width:400px) {
  html:root body #main .download-location-card>div { align-items: stretch; flex-direction: column; }
  html:root body #main .download-location-card span { justify-content: center; }
  html:root body #main .location-card-copy { padding: 22px 18px; }
  html:root body #main .location-card-index { left: 12px; right: 12px; }
}
@media (prefers-reduced-motion:reduce) {
  html:root body #main :is(.project-card,.news-card,.download-location-card,.layout-property-card,.location-choice,.guide-card,.locality-card,.location-card-image) {
    transition: none; transform: none;
  }
  html:root body #main :is(.project-card,.news-card,.download-location-card,.layout-property-card,.location-choice,.guide-card,.locality-card):hover,
  html:root body #main .location-choice:hover .location-card-image { transform: none; }
}
@media (forced-colors:active) {
  html:root body #main :is(.project-card,.news-card,.download-location-card,.layout-property-card,.document-card,.location-choice) { border: 1px solid CanvasText; box-shadow: none; }
}
