/* WiseMann Properties. Look follows the 611-613 Ainsworth deck; palette in brand/README.md. */

:root {
  --green: #05612E;
  --navy: #04326A;
  --cream: #F0E8DE;
  --cream-light: #F7F2EB;
  --cream-dark: #E6DCCD;
  --ink: #1F2515;
  --body: #242A21;
  --muted: #4A5040;
  --olive: #728049;
  --olive-deep: #415026;
  --olive-darker: #33401E;
  --brass: #986B2C;
  --brass-light: #AA8650;
  --frame: #6A6E53;
  --rule: rgba(106, 110, 83, 0.35);

  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--cream);
  /* Faint paper grain, so the page doesn't read as a flat digital fill */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .26 0 0 0 0 .18 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color: var(--body);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--olive-deep); }

:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 400; margin: 0; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 10px 16px; font-family: var(--sans);
}
.skip-link:focus { left: 8px; }

.rule { display: block; width: 72px; height: 3px; background: var(--olive); margin: 22px 0; }
.lead { font-size: 1.1875rem; line-height: 1.6; max-width: 34em; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  padding: 12px 22px; border-radius: 5px; text-decoration: none; transition: background .15s, color .15s;
}
.btn--primary { background: var(--olive-deep); color: var(--cream-light); }
.btn--primary:hover { background: var(--olive-darker); color: #fff; }
.btn--cream { background: var(--cream-light); color: var(--olive-deep); }
.btn--cream:hover { background: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }

/* ---------- Header ---------- */
/* Logo left, the four sections as plain words beside it. They wrap under the logo on phones. */

.site-header { border-bottom: 1px solid var(--rule); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 36px; padding-top: 20px; padding-bottom: 18px; }
.header-login { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 64px; height: auto; flex: none; }
.brand__words { display: flex; flex-direction: column; line-height: 1; border-left: 1px solid var(--rule); padding-left: 12px; }
.brand__name { font-family: var(--serif); font-size: 1.375rem; color: var(--ink); }
.brand__sub { font-family: var(--sans); font-size: 0.5625rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--olive-deep); margin-top: 5px; }

.tabs__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 28px; }
.tabs__list a {
  font-family: var(--sans); font-size: 0.9875rem; color: var(--ink); text-decoration: none;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.tabs__list a:hover { color: var(--green); border-bottom-color: var(--rule); }
.tabs__list a[aria-current="page"] { color: var(--green); border-bottom-color: var(--olive); }

@media (max-width: 760px) {
  .site-header__inner { padding-top: 16px; padding-bottom: 14px; }
  .tabs { width: 100%; }
  .tabs__list { gap: 4px 20px; }
  .tabs__list a { font-size: 0.9375rem; }
  .brand__mark { width: 56px; }
  .brand__name { font-size: 1.25rem; }
}

/* ---------- Hero ---------- */

.hero__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 88px); align-items: center; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero h1 { font-size: clamp(2.25rem, 4.8vw, 3.75rem); line-height: 1.08; letter-spacing: -0.01em; max-width: 13em; }
.hero .lead { font-style: italic; margin-top: 26px; max-width: 30em; }
.hero__photo { transform: rotate(1.4deg); }
.hero__photo img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 40%; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { max-width: 420px; transform: rotate(1deg); }
}

.band {
  display: inline-block; background: var(--olive-deep); color: var(--cream-light);
  font-family: var(--serif); font-style: italic; font-size: 0.9375rem; line-height: 1.3; padding: 7px 16px;
}

/* ---------- Sections ---------- */

.section { padding: var(--section) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--tight + .section--tight { padding-top: 0; }
.section--rule { border-top: 1px solid var(--rule); }

.section-title { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.15; margin-bottom: clamp(24px, 3.5vw, 40px); }

/* Building cards */
.buildings { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 48px); }
.building { display: block; text-decoration: none; color: inherit; }
.building:hover { color: inherit; }
.building__photo { position: relative; margin: 0; aspect-ratio: 16 / 10; background: var(--cream-dark); overflow: hidden; }
.building__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.building:hover .building__photo img { transform: scale(1.03); }
.building h3 { font-size: clamp(1.625rem, 2.6vw, 2rem); margin: 20px 0 2px; }
.building:hover h3 { color: var(--green); }
.building__meta { font-family: var(--sans); font-size: 0.9375rem; color: var(--muted); margin: 0; }
@media (max-width: 760px) { .buildings { grid-template-columns: 1fr; } }

.photo-to-come {
  width: 100%; height: 100%; display: grid; place-items: center; place-content: center; text-align: center; padding: 12px;
  background: repeating-linear-gradient(135deg, rgba(106,110,83,.06) 0 12px, transparent 12px 24px), var(--cream-dark);
  color: var(--muted); font-family: var(--sans); font-size: 0.875rem;
}

/* The Diane band on the home page */
.feature-band { background: var(--cream-dark); padding: var(--section) 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.feature-band__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.feature-band h2 { font-size: clamp(1.875rem, 3.6vw, 2.75rem); line-height: 1.12; margin-bottom: 18px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 32px); }
.compare .print:first-child { transform: rotate(-1.2deg); }
.compare .print:last-child { transform: rotate(0.9deg); margin-top: 18px; }
.compare img, .compare .photo-to-come { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 900px) { .feature-band__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .compare { grid-template-columns: 1fr; } .compare .print:last-child { margin-top: 0; } }

/* ---------- Inner pages ---------- */

.page-head { padding: clamp(48px, 7vw, 80px) 0 clamp(32px, 4vw, 44px); border-bottom: 1px solid var(--rule); }
.page-head h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -0.01em; }
.page-head .lead { margin: 16px 0 0; font-style: italic; }

/* About */
.bios { display: grid; gap: clamp(56px, 8vw, 88px); }
.bio { display: grid; grid-template-columns: 300px 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.bio h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 16px; }
.bio p { max-width: 34em; }
.portrait { margin: 0; }
.portrait__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cream-dark); }
.portrait__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .bio { grid-template-columns: 1fr; } .bio .portrait { max-width: 300px; } }

/* Portal "coming soon" boxes */
.portal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.portal-soon { background: var(--cream-light); border: 1px solid var(--rule); padding: 22px 24px; }
.portal-soon p { margin: 0; font-family: var(--sans); font-size: 0.875rem; color: var(--muted); }
.portal-soon .portal-soon__title { font-family: var(--serif); font-size: 1.375rem; color: var(--ink); margin-bottom: 4px; }
.portal-contact { font-family: var(--sans); font-size: 0.9375rem; color: var(--muted); margin-top: 18px; }

/* Stub pages (removed before launch) */
.stub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stub-card { background: var(--cream-light); border: 1px solid var(--rule); padding: 28px; font-size: 1rem; }
.stub-card h2 { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-deep); margin-bottom: 12px; }
.stub-card ul { margin: 0; padding-left: 1.1em; }
.stub-card li { margin-bottom: 4px; }
.stub-card--needed { border: 1px dashed var(--brass-light); }
.stub-note { font-family: var(--sans); font-size: 0.875rem; color: var(--muted); margin-bottom: 20px; }
@media (max-width: 760px) { .stub-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--rule); background: var(--cream-light); color: var(--muted); font-family: var(--sans); font-size: 0.875rem; margin-top: clamp(32px, 5vw, 64px); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr; gap: 32px; padding-top: 44px; padding-bottom: 28px; }
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list li { margin-bottom: 6px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--green); text-decoration: underline; }
.brand__mark--footer { width: 64px; margin-bottom: 10px; }
.site-footer__city { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1rem; color: var(--ink); }
.site-footer__base { display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid var(--rule); padding-top: 18px; padding-bottom: 26px; font-size: 0.8125rem; }
.site-footer__base p { margin: 0; }
.eho { display: flex; gap: 10px; align-items: center; }
.eho__icon { width: 26px; height: 26px; flex: none; color: var(--ink); }
@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer__base { flex-direction: column; align-items: flex-start; }
}

/* ---------- Mockup only: stand-in photo tags and missing details ---------- */

.standin { background: #F6E3BF; color: #5E4214; padding: 0 4px; border-radius: 2px; }
.mockup .standin-photo::before {
  content: attr(data-standin); position: absolute; z-index: 5; top: 10px; left: 10px;
  font: 600 10px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
  background: rgba(31, 37, 21, 0.72); color: #fff; padding: 4px 7px; border-radius: 2px;
}

/* ---------- Resident portal and admin ---------- */

.narrow { max-width: 760px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.portal-title { font-size: clamp(2rem, 4.4vw, 2.75rem); line-height: 1.1; margin-bottom: 24px; }
.portal-subtitle { font-size: 1.5rem; margin: 36px 0 16px; }
.portal-lead { font-size: 1.125rem; max-width: 34em; }
.portal-note { font-family: var(--sans); font-size: 0.9375rem; color: var(--muted); margin-top: 28px; }
.back-link { font-family: var(--sans); font-size: 0.875rem; margin-bottom: 18px; }
.back-link a::before { content: "\2190  "; }
.field-note { font-family: var(--sans); font-size: 0.875rem; color: var(--muted); margin: 6px 0 0; }
.dev-note { font-family: var(--sans); font-size: 0.875rem; background: #F6E3BF; padding: 8px 12px; }

.big-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.big-action {
  display: flex; flex-direction: column; justify-content: center; min-height: 150px; padding: 26px 30px;
  background: var(--olive-deep); color: var(--cream-light); text-decoration: none; transition: background .15s;
  border-radius: 8px;
}
.big-action:hover { background: var(--olive-darker); color: #fff; }
.big-action__title { font-family: var(--serif); font-size: clamp(1.625rem, 3vw, 2.125rem); line-height: 1.1; }
.big-action__title::after { content: "\00a0\2192"; font-family: var(--sans); font-size: 0.7em; opacity: 0.8; }
.big-action__sub { font-family: var(--sans); font-size: 0.9375rem; opacity: 0.85; margin-top: 8px; }
@media (max-width: 640px) { .big-actions { grid-template-columns: 1fr; } .big-action { min-height: 120px; } }

.account-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  font-family: var(--sans); font-size: 0.875rem; color: var(--muted);
  border: 1px solid var(--rule); background: var(--cream-light); padding: 10px 14px; margin-bottom: 24px;
}
.link-button { background: none; border: 0; padding: 0; font: inherit; font-family: var(--sans); color: var(--green); text-decoration: underline; cursor: pointer; }
.back-button { margin-bottom: 4px; font-size: 0.875rem; text-decoration: none; }

.portal-form label, .portal-form legend { display: block; font-family: var(--sans); font-weight: 600; font-size: 0.9375rem; color: var(--ink); margin-bottom: 6px; }
.portal-form input[type="text"], .portal-form input[type="email"], .portal-form input[type="tel"], .portal-form textarea, .portal-form select {
  width: 100%; font: inherit; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1px solid var(--frame); border-radius: 2px; padding: 12px 14px;
}
.portal-form textarea { resize: vertical; }
.portal-form :is(input, textarea, select):focus { outline: 2px solid var(--olive); outline-offset: 0; border-color: var(--olive); }
.inline-field { display: flex; gap: 10px; align-items: stretch; }
.inline-field input { flex: 1; min-width: 0; }
.inline-field .prefix { display: flex; align-items: center; font-family: var(--sans); font-size: 1.125rem; color: var(--muted); }
@media (max-width: 520px) { .signin-form .inline-field { flex-direction: column; } }
.field { margin-top: 22px; }
.choice { border: 0; padding: 0; margin: 24px 0 0; }
.choice__option { display: flex !important; align-items: center; gap: 10px; font-weight: 400 !important; padding: 8px 0; cursor: pointer; }
.choice__option input { width: 20px; height: 20px; accent-color: var(--olive-deep); }
.form-error { font-family: var(--sans); font-size: 0.9375rem; color: #8A2A1A; background: #F7E1DA; padding: 10px 14px; margin: 14px 0 0; }
.form-ok, .form-status { font-family: var(--sans); font-size: 0.9375rem; margin: 14px 0 0; }
.form-ok { color: var(--green); }

.callout { font-family: var(--sans); font-size: 0.9375rem; background: var(--cream-light); border: 1px solid var(--rule); border-left: 4px solid var(--olive); padding: 16px 20px; margin: 0 0 20px; }
.callout h2 { font-family: var(--serif); font-size: 1.375rem; margin-bottom: 8px; }
.callout p:last-child { margin-bottom: 0; }
.callout--ok { border-left-color: var(--green); }
.callout--urgent { border-left-color: #A33A22; background: #FBEDE7; }
.callout--urgent-soft { border-left-color: var(--brass); }

.emergency-list { font-family: var(--sans); font-size: 0.9375rem; padding-left: 1.2em; }
.emergency-list li { margin-bottom: 4px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.tile {
  font-family: var(--serif); font-size: 1.125rem; text-align: left; color: var(--ink); cursor: pointer;
  background: var(--cream-light); border: 1px solid var(--rule); padding: 18px 20px; min-height: 76px; transition: border-color .15s, background .15s;
}
.tile:hover, .tile:focus-visible { border-color: var(--olive); background: #fff; }

.shot-list { background: var(--cream-light); border: 1px solid var(--rule); padding: 20px 24px; margin: 16px 0; }
.shot-list h3 { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; margin-bottom: 8px; }
.shot-list ol { margin: 0 0 12px; padding-left: 1.3em; }
.shot-list li { margin-bottom: 6px; }
.shot-list details { font-family: var(--sans); font-size: 0.875rem; color: var(--muted); }
.shot-list summary { cursor: pointer; color: var(--green); }

.upload { margin: 20px 0 8px; }
.upload__button { cursor: pointer; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; margin-top: 14px; }
.thumb { position: relative; aspect-ratio: 1; background: var(--cream-dark); overflow: hidden; }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; }
.thumb__remove { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(31,37,21,.75); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; }
.upload-progress { height: 8px; background: var(--cream-dark); margin-top: 20px; }
.upload-progress__bar { height: 100%; width: 0; background: var(--olive); transition: width .2s; }

.balance { background: var(--cream-light); border: 1px solid var(--rule); padding: 24px 28px; margin-bottom: 24px; }
.balance__label { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: var(--olive-deep); margin: 0; }
.balance__amount { font-size: clamp(2.25rem, 6vw, 3rem); line-height: 1.1; color: var(--ink); margin: 6px 0 0; }
.balance__note { font-family: var(--sans); font-size: 0.875rem; color: var(--muted); margin: 8px 0 0; }

.ledger, .admin-table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.9375rem; }
.ledger th, .ledger td, .admin-table th, .admin-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ledger th, .admin-table th { font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ledger .num { text-align: right; white-space: nowrap; }
.ledger .is-failed td { color: #8A2A1A; text-decoration: line-through; }
.admin-table .is-link { cursor: pointer; }
.admin-table .is-link:hover { background: var(--cream-light); }
.admin-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-family: var(--sans); font-size: 0.875rem; }
@media (max-width: 700px) { .admin-table th:nth-child(4), .admin-table td:nth-child(4), .admin-table th:nth-child(5), .admin-table td:nth-child(5) { display: none; } }

.ticket-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--rule); background: var(--cream-light); margin-bottom: 8px; text-decoration: none; color: var(--ink); font-family: var(--sans); }
.ticket-row:hover { border-color: var(--olive); color: var(--ink); }
.pill { display: inline-block; font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; background: var(--cream-dark); color: var(--ink); white-space: nowrap; }
.pill--new { background: #F6E3BF; color: #5E4214; }
.pill--scheduled, .pill--in_progress { background: #DCE5CC; color: var(--olive-darker); }
.pill--waiting { background: #E6DCCD; }
.pill--done, .pill--closed { background: #E3E6E0; color: var(--muted); }

.details { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; font-family: var(--sans); font-size: 0.9375rem; margin: 20px 0; }
.details dt { color: var(--muted); }
.details dd { margin: 0; color: var(--ink); }
.description { white-space: pre-wrap; background: var(--cream-light); border-left: 3px solid var(--olive); padding: 12px 16px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 20px 0; }
.gallery__item { display: block; background: var(--cream-dark); font-family: var(--sans); font-size: 0.8125rem; }
.gallery__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery__item video { width: 100%; aspect-ratio: 4 / 3; background: #000; display: block; }
.gallery__item a { display: block; padding: 6px 8px; }
.update { border-top: 1px solid var(--rule); padding: 12px 0; }
.update__meta { font-family: var(--sans); font-size: 0.8125rem; color: var(--muted); margin: 0 0 4px; }
.update__body { white-space: pre-wrap; margin: 0; }
.admin-update { background: var(--cream-light); border: 1px solid var(--rule); padding: 4px 24px 24px; margin-top: 28px; }
.btn--ghost { border: 1.5px solid var(--olive-deep); color: var(--olive-deep); background: transparent; }
.btn--ghost:hover { background: var(--olive-deep); color: var(--cream-light); }
.btn:disabled { opacity: 0.55; cursor: wait; }
button.btn { border: 0; cursor: pointer; }
button.btn--ghost { border: 1.5px solid var(--olive-deep); }
.account-bar[hidden] { display: none; }
.portal-form label.btn { display: inline-flex; color: var(--cream-light); font-weight: 600; margin: 0; }
.portal-form label.btn:hover { color: #fff; }
.admin-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--rule); margin-bottom: 8px; font-family: var(--sans); }
.admin-tab { padding: 10px 18px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.875rem; letter-spacing: .08em; text-transform: uppercase; border-bottom: 3px solid transparent; }
.admin-tab.is-active { border-bottom-color: var(--olive); color: var(--green); }
.admin-forms { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; align-items: start; }
.admin-box { background: var(--cream-light); border: 1px solid var(--rule); padding: 20px 24px 24px; }
.admin-box h3 { font-size: 1.25rem; margin-bottom: 6px; }
.admin-box input[type="month"] { font: inherit; font-family: var(--sans); padding: 10px 12px; border: 1px solid var(--frame); background: #fff; }
.listing-form { margin-top: 32px; max-width: 720px; }
.slider__row { display: flex; align-items: center; gap: 16px; }
.slider input[type="range"] { flex: 1; max-width: 360px; accent-color: var(--green); height: 28px; padding: 0; border: 0; background: none; }
.slider__value { font-family: var(--sans); font-weight: 600; min-width: 6em; }
@media (max-width: 700px) { .listings-table th:nth-child(2), .listings-table td:nth-child(2), .listings-table th:nth-child(6), .listings-table td:nth-child(6) { display: none; } }
.admin-table .owes { color: #8A2A1A; font-weight: 600; }
@media (max-width: 800px) { .admin-forms { grid-template-columns: 1fr; } }
.portal-form label.request-instructions { font-family: var(--serif); font-weight: 400; font-size: 1.1875rem; line-height: 1.5; margin-bottom: 14px; }
.portal-form label.btn--ghost { color: var(--olive-deep); }
.portal-form label.btn--ghost:hover { color: var(--cream-light); }

/* Apply page */
.apply-form { margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.portal-form .optional { font-weight: 400; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#application > .wrap { border-top: 1px solid var(--rule); padding-top: clamp(40px, 6vw, 72px); }
.pill--contacted { background: #E6DCCD; }
.pill--screening { background: #DCE5CC; color: var(--olive-darker); }
.pill--approved { background: #CFE0CF; color: var(--green); }
.pill--declined { background: #E3E6E0; color: var(--muted); }
#waitlist h2, #application h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); margin-bottom: 10px; }

/* Building pages */
.building-hero { position: relative; margin: 0 0 28px; aspect-ratio: 16 / 9; background: var(--cream-dark); overflow: hidden; }
.building-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.building-note { font-size: 1.1875rem; line-height: 1.6; max-width: 34em; margin-bottom: 28px; }
.page-head .back-link { margin-bottom: 14px; }

/* Plain text pages (fair housing, privacy, etc.) */
.prose { font-size: 1.0625rem; line-height: 1.65; }
.prose h2 { font-size: 1.5rem; margin: 36px 0 10px; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
.contact-list { display: grid; grid-template-columns: max-content 1fr; gap: 14px 28px; font-size: 1.125rem; margin: 0 0 32px; }
.contact-list dt { font-family: var(--sans); font-size: 0.875rem; font-weight: 600; color: var(--muted); padding-top: 4px; }
.contact-list dd { margin: 0; }
@media (max-width: 520px) { .contact-list { grid-template-columns: 1fr; gap: 4px; } .contact-list dd { margin-bottom: 14px; } }

/* Adverse action notice on the admin page */
.portal-form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.portal-form label.check { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 0 0 6px; }
.portal-form label.check input[type="text"] { width: auto; flex: 1; max-width: 22em; padding: 6px 10px; }
.portal-form label.check input.short, .portal-form input.short { max-width: 7em; }
.portal-form .inline-field label { margin: 0; }
.notice-preview { white-space: pre-wrap; font-family: var(--sans); font-size: 0.9375rem; line-height: 1.5; background: #fff; border: 1px solid var(--rule); padding: 18px 20px; margin: 18px 0; }
.notice-sent { margin-top: 28px; font-family: var(--sans); }
.notice-sent summary { cursor: pointer; font-weight: 600; }

/* Autopay on the Pay Rent page */
.autopay { border-top: 1px solid var(--rule); margin-top: 36px; padding-top: 4px; }

/* ---------- Printed-photo frames, stories, quotes ---------- */

/* Photos sit in a white border with a caption under them, like prints, rather than edge to edge. */
.print { position: relative; margin: 0; background: #fff; padding: 10px 10px 0; box-shadow: 0 1px 2px rgba(31, 37, 21, .12), 0 8px 24px -12px rgba(31, 37, 21, .35); }
.print img, .print .photo-to-come { width: 100%; display: block; }
.print .photo-to-come { aspect-ratio: 4 / 3; height: auto; }
.hero__photo.print .photo-to-come { aspect-ratio: 4 / 5; }
.print figcaption { font-family: var(--serif); font-style: italic; font-size: 0.9375rem; color: var(--muted); padding: 8px 2px 10px; line-height: 1.35; }
.mockup .print.standin-photo::before { top: 18px; left: 18px; }

.text-link { font-family: var(--serif); font-style: italic; font-size: 1.0625rem; }
.text-link::after { content: "\00a0\2192"; font-style: normal; }

/* Renovation story on each building page */
.story { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.story__photo { transform: rotate(-1deg); position: sticky; top: 24px; }
.story__photo img { aspect-ratio: 3 / 2; object-fit: cover; }
.story__text h2:first-child { margin-top: 0; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story__photo { position: relative; top: 0; max-width: 520px; } }

/* Resident quotes */
.quotes__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(28px, 4vw, 56px); }
.quote { margin: 0; }
.quote blockquote { margin: 0; font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.45; color: var(--ink); text-indent: -0.42em; }
.quote blockquote::before { content: "\201C"; }
.quote blockquote::after { content: "\201D"; }
.quote figcaption { font-family: var(--sans); font-size: 0.9375rem; color: var(--muted); margin-top: 12px; }
.quote figcaption::before { content: "\2014\00a0"; }

/* "Add to your home screen" (phones only; install.js shows it) */
.install { margin-top: 28px; }
.install[hidden] { display: none; }
.install__button {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid var(--rule); border-radius: 10px; padding: 12px 16px;
  font-family: var(--sans); font-size: 0.9375rem; color: var(--muted); line-height: 1.35;
}
.install__button img { width: 48px; height: 48px; border-radius: 11px; flex: none; box-shadow: 0 0 0 1px var(--rule); }
.install__button strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.install__help { font-family: var(--sans); font-size: 0.9375rem; background: var(--cream-light); border: 1px solid var(--rule); border-top: 0; border-radius: 0 0 10px 10px; padding: 14px 18px 4px; margin-top: -6px; }
.install__help[hidden] { display: none; }
.install__steps { margin: 0 0 10px; padding-left: 1.3em; }
.install__steps li { margin-bottom: 6px; }
.install__share { width: 20px; height: 20px; vertical-align: -4px; color: #1A73E8; }

/* For Residents: short answers in two columns */
.resident-info { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 44px) clamp(32px, 6vw, 80px); }
.resident-info h2 { font-size: 1.5rem; margin-bottom: 8px; }
.resident-info p { margin-bottom: 8px; max-width: 32em; }
@media (max-width: 700px) { .resident-info { grid-template-columns: 1fr; } }

/* Apply: homes available now */
.listings { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.listing { background: #fff; padding: 22px 24px; box-shadow: 0 1px 2px rgba(31, 37, 21, .12), 0 8px 24px -14px rgba(31, 37, 21, .3); }
.listing h3 { font-size: 1.5rem; margin-bottom: 6px; }
.listing p { margin: 0 0 4px; }
.listing__area { font-style: italic; color: var(--ink); }
.listing__details, .listing__note { font-family: var(--sans); font-size: 0.9375rem; color: var(--muted); }
.listing .text-link { display: inline-block; margin-top: 10px; }

/* ---------- Questions (Apply page, owner site) ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding: 16px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-family: var(--sans); font-weight: 600; font-size: 1.0625rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--brass); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--green); }
.faq details p { margin: 10px 0 0; max-width: 40em; }

/* ---------- Owner site (owners.wisemannproperties.com) ---------- */
.owners .hero__photo { transform: none; }
.owners .hero__photo img { aspect-ratio: 4 / 3; object-position: 50% 50%; }
.owners [id] { scroll-margin-top: 24px; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 48px) clamp(24px, 3.5vw, 44px); }
.service { border-top: 2px solid var(--olive); padding-top: 18px; }
.service h3 { font-size: 1.5rem; margin: 0 0 10px; }
.service p { margin: 0; font-size: 1rem; }
.owners .bio h3 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin: 0 0 16px; }
.owners .feature-band h2 { margin-bottom: 18px; }
.owners .feature-band p { max-width: 38em; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } }
