/* Trinity website redesign concept: shared styles.
   Built on the 2022 Trinity brand files (TrailerWorks): Lato, the three logo colours, the tricolour rule and the
   corner-triangle device from the brand slide templates. */

:root {
  /* brand colours (logo PNG / slide values) */
  --burgundy: #691C32;
  --burgundy-dark: #521526;
  --olive: #90993D;
  --olive-ink: #5C6326;      /* olive darkened for text on light grounds (6:1) */
  --olive-tint: #EEF0DF;
  --blue: #004F6E;
  --blue-dark: #003A52;
  --blue-tint: #E3EEF2;
  --wordmark: #54565B;

  /* neutrals */
  --ink: #1E2125;
  --text: #3D4046;
  --muted: #5E6066;          /* 6.2:1 on white */
  --paper: #F5F4F0;
  --line: #DAD8D1;
  --white: #FFFFFF;

  --font: "Lato", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--burgundy); }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 2px; }
h1, h2, h3, h4 { color: var(--ink); font-weight: 900; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -0.01em; }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* small uppercase label, the "SLUG" from the brand slides */
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.eyebrow.blue { color: var(--blue); }

/* tricolour rule: burgundy | olive | blue thirds, as on the letterhead and slides */
.tricolour { height: 5px; background: linear-gradient(90deg, var(--burgundy) 0 33.34%, var(--olive) 33.34% 66.67%, var(--blue) 66.67% 100%); }
.tricolour.thin { height: 3px; }

/* concept banner so nobody mistakes this for the live site */
.concept-bar { background: var(--ink); color: #fff; font-size: 13px; padding: 7px 0; }
.concept-bar .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; }
.concept-bar a { color: #fff; }

/* ---------- utility row (tenants, careers, contact, logins live here, not in the main menu) ---------- */
.utility { background: var(--paper); border-bottom: 1px solid var(--line); font-size: 14px; }
.utility .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 18px; min-height: 38px; }
.utility nav { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.utility a { color: var(--ink); text-decoration: none; }
.utility a:hover { color: var(--blue); text-decoration: underline; }
.utility .owned { color: var(--muted); }

/* ---------- header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.logo img { width: 150px; height: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; padding: 10px 12px; border-bottom: 3px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--olive); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.menu { display: none; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 700; padding: 10px 12px; border: 1px solid var(--line); min-height: 44px; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] .menu-panel { display: grid; }
.menu-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px; gap: 2px; box-shadow: 0 16px 30px rgba(0,0,0,.08); }
.menu-panel a { color: var(--ink); font-weight: 700; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  font: 700 15px/1 var(--font); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent;
  border-radius: var(--radius); cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--burgundy); color: #fff; }
.btn-primary:hover { background: var(--burgundy-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-secondary:hover { background: var(--blue); color: #fff; }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--blue); }
.arrow::after { content: "→"; font-size: 18px; letter-spacing: 0; }

/* ---------- triangle devices (logo geometry) ---------- */
.tri { position: absolute; pointer-events: none; }
.tri-burgundy { background: var(--burgundy); clip-path: polygon(0 0, 100% 0, 0 100%); }
.tri-blue { background: var(--blue); clip-path: polygon(0 0, 100% 100%, 0 100%); }
.tri-olive { background: var(--olive); clip-path: polygon(100% 0, 100% 100%, 0 100%); }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field label, .field .label { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
select, input[type="text"], input[type="number"], input[type="email"], input[type="tel"], textarea {
  font: 400 16px/1.3 var(--font); color: var(--ink); background: #fff; border: 1px solid #B9B7B0; border-radius: var(--radius);
  min-height: 48px; padding: 10px 12px; width: 100%; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; color: var(--ink); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--blue); }

/* ---------- cards & chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 99px; background: var(--paper); color: var(--ink); }
.chip.available { background: var(--olive-tint); color: var(--olive-ink); }
.chip.available::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--olive); }
.chip.dev { background: var(--blue-tint); color: var(--blue); }

.placeholder-img { position: relative; background:
  repeating-linear-gradient(135deg, #E9E7E1 0 14px, #F1EFEA 14px 28px); display: grid; place-items: center; color: var(--muted);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; padding: 16px; }
.sample { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--burgundy); }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.paper { background: var(--paper); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 36px; }
.section-head p { max-width: 560px; color: var(--muted); margin-top: 10px; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #D9DADC; font-size: 15px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; gap: 36px; padding-block: 56px 40px; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.footer-grid h2 { color: #fff; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-logo img { width: 170px; }
/* leasing mailing list in the footer (sent by hand by the leasing team) */
.signup { border-bottom: 1px solid rgba(255,255,255,.15); padding-block: 40px; display: grid; gap: 24px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); align-items: start; }
.signup h2 { color: #fff; font-size: 24px; font-weight: 900; }
.signup p { color: #C9CBCF; margin-top: 8px; }
.signup form { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); align-items: end; }
.signup label { color: #C9CBCF; }
.signup .consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #C9CBCF; text-transform: none; letter-spacing: 0; font-weight: 400; }
.signup .consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--olive); flex: none; }
.signup .provs { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.signup .provs label.check { color: #fff; min-height: 32px; font-weight: 700; font-size: 14px; }
@media (max-width: 900px) { .signup { grid-template-columns: 1fr; } }
.footer-legal { border-top: 1px solid rgba(255,255,255,.15); padding-block: 18px 28px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; color: #B5B7BB; }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
/* social links (2026-10-20) */
.footer-legal nav.social { gap: 10px; }
.footer-legal .social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.28); color: #fff; }
.footer-legal .social a:hover, .footer-legal .social a:focus-visible { background: rgba(255,255,255,.14); }
.footer-legal .social svg { width: 18px; height: 18px; fill: currentColor; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header-phone { display: none; }
  .menu { display: block; margin-left: 0; }
  .header-actions { margin-left: auto; }
  .site-header .wrap { position: relative; gap: 12px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .logo img { width: 118px; }
  .header-actions .btn { padding: 10px 12px; font-size: 13px; }
  .menu summary { padding: 10px; }
  .utility .owned { display: none; }
}

/* One typeface everywhere (user, 2026-10-20): form controls and the map library's zoom buttons and credit line
   inherit Lato instead of the browser's or Leaflet's default fonts */
button, input, select, textarea { font-family: inherit; }
html .leaflet-container, .leaflet-container .leaflet-control-zoom a, .leaflet-container .leaflet-control-attribution { font-family: Lato, "Helvetica Neue", Arial, sans-serif; }
/* Phones (found by the WordPress build, 2026-10-20): a long button such as "Register requirements for this centre"
   made the centre-page layout column as wide as the button, so fully leased centre pages scrolled sideways at 390 px */
.layout > * { min-width: 0; }
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; }
}