/* Scoped refinements: never change the established headline scale. */
.ag-hero .ag-hero__title span,.ag-hero .ag-hero__title em { padding-inline:.12em; margin-inline:-.12em; animation-name:ag-type-reveal-safe; }
@keyframes ag-type-reveal-safe { from {clip-path:inset(-.14em 100% -.14em -.14em);transform:translateX(-.4rem)} to {clip-path:inset(-.14em);transform:none} }
#property .ag-property__frame::after { background:linear-gradient(180deg,transparent 15%,rgba(16,18,18,.48) 43%,rgba(16,18,18,.45) 62%,transparent 88%); }
#property .ag-property__statement { text-shadow:0 2px 16px rgba(0,0,0,.65); }
.ag-header__brand .ag-logo-image { width:43.2px;height:38.4px;object-fit:contain;flex-shrink:0; }
.ag-header__brand .ag-logo-light { display:none; }
#brx-header.is-reversed .ag-logo-dark { display:none; }
#brx-header.is-reversed .ag-logo-light { display:block; }
/* Until approved transparent reversed artwork is supplied, never drop the brand mark. */
#brx-header.is-reversed .ag-logo-dark:only-of-type { display:block; }
.ag-header__brand .ag-wordmark { width:auto;font:600 9.92px/1 var(--ag-sans);letter-spacing:.17em;white-space:nowrap; }
.ag-menu-toggle,.ag-mobile-contents { display:none; }

/* Reversed navigation must remain readable when an anchored section begins just below it. */
#brx-header.is-reversed { background:rgba(16,18,18,.74) !important;border-color:rgba(255,255,255,.2); }

/* Bricks-owned dialog and native Form element. */
#ag-enquiry:not([open]) { display:none; }
#ag-enquiry { flex-direction:row; }
#ag-enquiry .agf-contact-panel { display:block;flex-shrink:0;padding-inline:clamp(24px,4vw,72px); }
#ag-enquiry .agf-contact-close { width:auto;margin-left:auto;margin-right:16px;padding-inline:10px;gap:12px; }
#ag-enquiry .agf-contact-form-layout { width:100%; }
#ag-enquiry .agf-contact-form-intro { width:100%; }
#ag-enquiry .ag-native-form { width:100%;display:block; }
#ag-enquiry .ag-native-form .form-group { width:100%;padding:0;margin-bottom:28px; }
#ag-enquiry .ag-native-form label { color:rgba(255,255,255,.75);font:600 11px/1.4 var(--ag-sans);letter-spacing:.12em;text-transform:uppercase;margin-bottom:8px; }
#ag-enquiry .ag-native-form input,#ag-enquiry .ag-native-form textarea { color:white;background:transparent;border:0;border-bottom:1px solid rgba(255,255,255,.35);border-radius:0;box-shadow:none;font:400 16px/1.5 var(--ag-sans);padding:10px 0;min-height:44px;width:100%; }
#ag-enquiry .ag-native-form textarea { min-height:140px;resize:vertical; }
#ag-enquiry .ag-native-form input:focus,#ag-enquiry .ag-native-form textarea:focus { border-bottom-color:var(--ag-gold); }
#ag-enquiry .ag-native-form .ag-reassurance { color:rgba(255,255,255,.65);font:400 13px/1.65 var(--ag-sans);margin:28px 0 4px; }
#ag-enquiry .ag-native-form button[type=submit] { background:transparent;color:white;border:0;border-radius:0;padding:20px 0 8px;margin-top:16px;width:100%;justify-content:flex-start;font:400 clamp(28px,3vw,45px)/1 var(--ag-display);letter-spacing:-.025em; }
#ag-enquiry .ag-native-form .message { color:white;background:transparent;border:0;padding:12px 0; }
#ag-enquiry .ag-native-form .message.error { color:#f2c0b5; }
#ag-enquiry .agf-contact-direct { width:auto; }
#ag-enquiry .agf-contact-success { width:100%; }
body.ag-builder-canvas #ag-enquiry:not([open]) { display:block;position:relative;visibility:visible;height:auto;pointer-events:auto;max-width:100%;margin:0; }
body.ag-builder-canvas #ag-enquiry .agf-contact-panel { transform:none;opacity:1;width:100%;height:auto; }
@media(max-width:760px) {
  body { --ag-mobile-masthead:72px;--ag-mobile-utility:48px;--ag-mobile-edge:clamp(20px,5.6vw,28px); }
  body.home { --ag-mobile-masthead:92px; }
  #brx-header:has(.ag-site-header) { height:auto;min-height:0; }
  #brx-header .ag-header__inner { height:auto;min-height:0;grid-template-columns:1fr auto;grid-template-rows:var(--ag-mobile-masthead) var(--ag-mobile-utility);gap:0; }
  #brx-header .ag-site-header { height:auto;min-height:0;padding-inline:var(--ag-mobile-edge); }
  #brx-header .ag-header__brand { grid-column:1/-1;grid-row:1;align-self:stretch;justify-self:stretch;width:100%;flex-direction:row;align-items:center;gap:13px;border-bottom:1px solid color-mix(in srgb,currentColor 16%,transparent); }
  #brx-header .ag-header__brand .ag-logo-image { width:48px;height:44px; }
  #brx-header .ag-header__brand .ag-wordmark { font-size:11px;letter-spacing:.17em; }
  #brx-header .ag-menu-toggle { grid-column:1;grid-row:2;justify-self:start;display:block;width:auto;min-width:48px;min-height:44px;padding:0;text-align:left;color:inherit;background:none;border:0;font:500 10.5px/1 var(--ag-sans);letter-spacing:.1em;cursor:pointer; }
  #brx-header .ag-header__cta { grid-column:2;grid-row:2;align-self:center;min-height:44px;align-items:center;font-size:10px;letter-spacing:.07em;gap:10px;white-space:nowrap; }
  #brx-header .ag-header__cta span { display:inline-block; }
  /* Reserve only the added fixed-header height; retain existing section geometry. */
  body #brx-content { padding-top:calc(var(--ag-mobile-masthead) + var(--ag-mobile-utility) - 72px); }
  .ag-mobile-contents { display:flex;position:absolute;top:100%;left:0;right:0;padding:16px var(--ag-mobile-edge) 32px;background:var(--ag-ivory);color:var(--ag-charcoal);gap:0;max-height:calc(100dvh - var(--ag-mobile-masthead) - var(--ag-mobile-utility) - 46px);overflow:auto;opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .25s,transform .25s,visibility .25s; }
  .ag-mobile-contents[data-open=true] { opacity:1;visibility:visible;transform:none; }
  .ag-mobile-contents a { display:block;width:100%;padding:16px 0;text-decoration:none;color:inherit;font:400 27px/1.1 var(--ag-display);border-bottom:1px solid rgba(72,75,77,.15); }
  #ag-enquiry .agf-contact-close { margin-right:8px; }
}
@media(prefers-reduced-motion:reduce){.ag-mobile-contents{transition:none}}

/* Approved editorial media roles: material precision belongs to Reach,
   Dalgety is Selected Work, and TCH carries its own human visual language. */
.ag-acquisition__image img { object-position:center;filter:saturate(.84) contrast(.98); }
.agf-selected-preview { position:relative;isolation:isolate;height:auto !important;aspect-ratio:2.2/1; }
.agf-selected-preview > #brxe-f40007 { display:block;width:100%;height:100%;overflow:hidden; }
.agf-selected-preview img { display:block;width:100% !important;height:100% !important;object-fit:cover !important;object-position:center bottom !important;transform:scale(1.03) !important;transition:transform .45s ease,filter .45s ease; }
.agf-selected-preview::before { content:"";position:absolute;z-index:2;left:4%;top:65%;width:54%;height:32%;border:1px solid rgba(212,175,55,.62);box-shadow:0 0 0 120vmax rgba(16,18,18,.38);pointer-events:none;transition:border-color .32s ease,box-shadow .32s ease; }
.agf-selected-preview:hover::before,.agf-selected-preview:focus-within::before { border-color:rgba(212,175,55,.95);box-shadow:0 0 0 120vmax rgba(16,18,18,.28); }
.agf-selected-preview:hover img,.agf-selected-preview:focus-within img { transform:scale(1.05) !important; }
.agf-selected-preview__cue { position:absolute;z-index:3;right:clamp(16px,2.4vw,38px);bottom:clamp(16px,2.4vw,38px);display:flex;align-items:center;gap:10px;padding:11px 14px;color:white;background:rgba(16,18,18,.86);font:600 10px/1 var(--ag-sans);letter-spacing:.13em;text-transform:uppercase;text-decoration:none; }
.agf-selected-preview__cue i { font-style:normal;transition:transform .3s ease; }
.agf-selected-preview__cue:hover i,.agf-selected-preview__cue:focus-visible i { transform:translate(4px,-4px); }
@media(hover:hover) and (pointer:fine) {
  .agf-selected-preview,.agf-selected-preview a { cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='30' fill='%23101212'/%3E%3Ccircle cx='32' cy='32' r='29' fill='none' stroke='%23D4AF37'/%3E%3Ctext x='32' y='36' text-anchor='middle' font-family='Arial,sans-serif' font-size='10' font-weight='700' letter-spacing='1' fill='white'%3EVIEW%3C/text%3E%3C/svg%3E") 32 32,pointer; }
}
.agf-community-image { height:auto !important;aspect-ratio:15/8 !important;background:var(--ag-ivory); }
.agf-community-image::after { display:none; }
.agf-community-image img { object-fit:contain !important;object-position:center !important;filter:none !important; }
#brxe-f40016 { display:block !important; }
#brxe-agtchm { display:none !important; }
.agf-community-image figcaption { left:clamp(16px,2.4vw,38px);bottom:clamp(16px,2.4vw,38px);padding:8px 11px;color:var(--ag-charcoal);background:rgba(250,247,240,.92); }

@media(max-width:760px) {
  .agf-selected-preview { height:auto !important;aspect-ratio:16/9; }
  .agf-selected-preview img { object-position:center bottom !important;transform:scale(1.02) !important; }
  .agf-selected-preview::before { left:3%;top:66%;width:56%;height:31%; }
  .agf-selected-preview__cue { right:12px;bottom:12px;padding:9px 11px;font-size:9px; }
  .agf-community-image { width:92vw;height:auto !important;aspect-ratio:390/844 !important; }
  #brxe-f40016 { display:none !important; }
  #brxe-agtchm { display:block !important; }
  .agf-community-image figcaption { left:12px;bottom:12px;padding:7px 9px;font-size:9px; }
}

/* Content must not depend on scroll-timeline browser support. */
@supports not (animation-timeline:view()) {
  #property .ag-property__statement { opacity:1;transform:none; }
}
@media(prefers-reduced-motion:reduce) {
  #property .ag-property__statement { opacity:1;transform:none;animation:none; }
}

/* Production accessibility and fixed-header alignment. */
:where(a,button,input,textarea,select,[tabindex]):focus-visible { outline:2px solid currentColor;outline-offset:4px; }
#ag-enquiry :where(input,textarea):focus-visible { outline:2px solid rgba(255,255,255,.88);outline-offset:3px;border-bottom-color:transparent; }
:where(#property,#manifesto,#pillars,#trust,#time,#reach,#multilingual-title,#stand-apart,#selected-work,#community-housing,#about,#contact) { scroll-margin-top:104px; }
@media(max-width:760px){
  :where(#property,#manifesto,#pillars,#trust,#time,#reach,#multilingual-title,#stand-apart,#selected-work,#community-housing,#about,#contact) { scroll-margin-top:calc(var(--ag-mobile-masthead) + var(--ag-mobile-utility) + 12px); }
}

/* Shared master-brand identity lock-up. */
.ag-header__brand { flex-wrap:nowrap; }
.ag-header__brand .ag-identity-type { width:auto;min-width:0;flex:0 1 auto;display:flex;flex-direction:column;gap:.18rem;line-height:1; }
.ag-header__brand .ag-wordmark { font-size:.72rem;font-weight:650;letter-spacing:.16em;text-transform:uppercase; }
.ag-header__brand .ag-brand-descriptor { color:var(--ag-grey);font-size:.47rem;font-weight:550;letter-spacing:.13em;text-transform:uppercase;transition:color .28s ease; }
#brx-header.is-reversed .ag-brand-descriptor { color:rgba(255,255,255,.58); }
.ag-header__nav a[href*="real-estate"] { color:var(--ag-peacock-deep); }
#brx-header.is-reversed .ag-header__nav a[href*="real-estate"] { color:var(--ag-breeze); }
@media(max-width:760px){
 .ag-header__brand .ag-wordmark { font-size:.76rem; }
 .ag-header__brand .ag-brand-descriptor { font-size:.43rem; }
}
