/* Manifest In Construction LTD. Static site, no build step.
   Layout: light-led cream and white page, black header, footer and one chat band.
   Gold is an accent and a background, never small text on a light background. */

:root {
  --cream: #f6f1e8;
  --paper: #fffdf9;
  --sand: #ece4d4;          /* borders and quiet fills on cream */
  --ink: #1b1915;           /* body text, 15.6:1 on cream */
  --ink-2: #4d473d;         /* secondary text, 8.2:1 on cream */
  --gold: #b09051;          /* brand gold: fills, rules, bubbles. Never text on light (2.7:1). Black on it is 6.5:1 */
  --gold-text: #7a5a2c;     /* gold text and links on light, 5.6:1 on cream */
  --gold-large: #916b35;    /* gold text 24px and larger on light, 4.3:1 on cream */
  --gold-light: #d4b06a;    /* gold text on black, 9.5:1 */
  --black: #0d0c0a;
  --black-2: #23201b;
  --on-black: #efe8da;      /* text on black, 16:1 */
  --on-black-2: #bdb4a3;    /* secondary text on black, 9.5:1 */
  --font-display: "Marcellus", "Iowan Old Style", Georgia, serif;
  --font-body: "Jost", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --max: 1180px;
  --gutter: 16px;
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--black); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  color: var(--ink); background: var(--cream); overflow-x: hidden;
}
main { flex: 1 0 auto; background: var(--cream); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; letter-spacing: .005em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; padding: .7rem 1.1rem; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius-sm); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section.white { background: var(--paper); }
section[id] { scroll-margin-top: calc(var(--header-h) + 20px); }

/* The one motif: the gold wings from the logo */
.wings-rule { display: flex; align-items: center; gap: 14px; margin: 0 0 1.4rem; max-width: 260px; }
.wings-rule::before, .wings-rule::after { content: ""; height: 1px; background: var(--gold); flex: 1; opacity: .7; }
.wings-rule img { width: 54px; height: auto; }
.wings-rule.centre { margin-inline: auto; }
.label { display: block; font-size: .8rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); margin-bottom: .7rem; }
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 62ch; }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }

.wings-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.wings-list li { position: relative; padding-left: 34px; }
.wings-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 24px; height: 12px; background: url("/images/web/wings-64.png") center / contain no-repeat; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .8rem 1.4rem; border-radius: var(--radius-sm); border: 2px solid transparent; font-weight: 500; font-size: 1.02rem; letter-spacing: .02em; text-decoration: none; cursor: pointer; line-height: 1.2; transition: background-color .15s, color .15s, border-color .15s; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
a.btn-gold, .btn-gold { background: var(--gold); border-color: var(--gold); color: var(--black); }
a.btn-gold:hover, .btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--black); }
a.btn-ink, .btn-ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
a.btn-ink:hover, .btn-ink:hover { background: var(--black-2); color: var(--paper); }
a.btn-line, .btn-line { background: transparent; border-color: var(--ink); color: var(--ink); }
a.btn-line:hover, .btn-line:hover { background: var(--ink); color: var(--paper); }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--black); border-bottom: 1px solid rgba(176,144,81,.4); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--gold-light); margin-right: auto; min-width: 0; }
.brand img { width: 44px; height: auto; flex: none; }
.brand span { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.15; color: var(--gold-light); }
.brand:hover span { color: var(--on-black); }
.nav { display: none; gap: 1.5rem; }
.nav a { color: var(--on-black); text-decoration: none; font-size: .98rem; padding: .3rem 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--gold-light); border-bottom-color: var(--gold); }
.header-call { display: none; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: var(--radius-sm); border: 1px solid rgba(176,144,81,.6); background: transparent; color: var(--gold-light); cursor: pointer; flex: none; }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--black-2); }
.menu-btn .bars { display: grid; gap: 5px; width: 22px; }
.menu-btn .bars span { display: block; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-btn[aria-expanded="true"] .bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] .bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { background: var(--black); border-top: 1px solid rgba(176,144,81,.3); padding: .4rem 0 1.2rem; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li a { display: block; padding: .85rem 0; color: var(--on-black); text-decoration: none; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-nav li a:hover { color: var(--gold-light); }
.mobile-nav .btn { margin-top: 1rem; width: 100%; }
@media (max-width: 380px) { .brand span { font-size: 1.05rem; } .brand img { width: 36px; } }
@media (min-width: 1020px) {
  .nav { display: flex; }
  .header-call { display: inline-flex; }
  .menu-btn, .call-icon, .mobile-nav { display: none !important; }
}

/* Hero */
.hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.5rem, 5vw, 3.5rem); }
.hero-text { display: grid; gap: 1.2rem 4rem; }
.display { font-family: var(--font-display); font-size: clamp(4rem, 14vw, 9.5rem); line-height: .95; letter-spacing: -.01em; margin: 0; color: var(--ink); }
.hero-sub { display: grid; gap: .4rem 4rem; align-items: end; }
.display em { font-style: normal; color: var(--gold-large); }
.hero h1 { font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1.2; margin-bottom: .6rem; }
.hero .lead { margin-bottom: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-photo { margin: clamp(2rem, 4vw, 3rem) 0 0; }
.hero-photo img { width: 100%; height: clamp(240px, 46vw, 600px); object-fit: cover; object-position: 50% 62%; border-radius: var(--radius); }
@media (min-width: 900px) {
  .hero-sub { grid-template-columns: 1fr 1fr; }
  .hero .hero-sub h1 { margin: 0; }
}

/* Chat band: the one black band on the page */
.chat-band { background: var(--black); color: var(--on-black); padding-block: clamp(3.5rem, 8vw, 5.5rem); }
.chat { max-width: 720px; margin: 0 auto; display: grid; gap: .9rem; }
.bubble { max-width: min(560px, 88%); padding: 1.05rem 1.35rem 1.15rem; border-radius: 24px; font-family: var(--font-display); font-size: clamp(1.35rem, 3.2vw, 2rem); line-height: 1.3; margin: 0; position: relative; }
.bubble.them { justify-self: start; background: var(--black-2); color: var(--on-black); }
.bubble.us { justify-self: end; background: var(--gold); color: var(--black); }
.bubble::before, .bubble::after { content: ""; position: absolute; bottom: 0; height: 22px; }
.bubble.them::before { left: -8px; width: 22px; background: var(--black-2); border-bottom-right-radius: 16px; }
.bubble.them::after { left: -12px; width: 12px; background: var(--black); border-bottom-right-radius: 10px; }
.bubble.us::before { right: -8px; width: 22px; background: var(--gold); border-bottom-left-radius: 16px; }
.bubble.us::after { right: -12px; width: 12px; background: var(--black); border-bottom-left-radius: 10px; }
.chat-status { justify-self: end; margin: -.3rem .2rem 0 0; font-size: .82rem; letter-spacing: .02em; color: var(--on-black-2); }

/* About */
.about-grid { display: grid; gap: 2rem 4rem; }
.about-grid .wings-list { font-weight: 500; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.3fr 1fr; align-items: center; } }
.about-points { background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius); padding: 1.6rem 1.5rem; }

/* Services */
.services-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.service { background: var(--cream); border: 1px solid var(--sand); border-radius: var(--radius); padding: 1.5rem 1.4rem 1.6rem; }
.service h3 { margin-bottom: .45rem; }
.service p { margin: 0; color: var(--ink-2); font-size: 1rem; }
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

/* Photos laid out in justified rows (script.js); fallback is a wrapping flex row */
.photo-rows { display: flex; flex-wrap: wrap; gap: 10px; }
.photo { margin: 0; flex: var(--r) 1 0; min-width: 0; }
.photo button { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--sand); border-radius: var(--radius-sm); overflow: hidden; cursor: zoom-in; aspect-ratio: var(--r); }
.photo button img { width: 100%; height: 100%; object-fit: cover; }
.photo-rows.ready .photo { flex: 0 0 auto; }
.photo-rows.ready .photo.row-end { flex-grow: 1; }
.photo-rows.ready .photo button { aspect-ratio: auto; height: var(--h); }
.photo-rows:not(.ready) .photo { flex-basis: calc(var(--r) * 220px); }
.photo-tag { position: absolute; left: .6rem; top: .6rem; z-index: 1; background: var(--black); color: var(--on-black); font-family: var(--font-body); font-weight: 500; font-size: .78rem; line-height: 1; letter-spacing: .1em; text-transform: uppercase; padding: .45rem .65rem; border-radius: 999px; }

/* Job stories */
.story { display: grid; gap: 1.2rem 3rem; padding-block: 2.2rem; border-top: 1px solid var(--sand); }
.story:first-of-type { border-top: 0; padding-top: 0; }
.story-text h3 { margin-bottom: .4rem; }
.story-text p { color: var(--ink-2); max-width: 46ch; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 2.2fr; align-items: start; } }

/* Reviews */
.rating-line { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; align-items: baseline; margin-bottom: 2rem; }
.rating-line .score { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.stars { color: var(--gold-text); letter-spacing: .12em; font-size: 1rem; }
.review-meta { margin: 1rem 0 0; font-size: .98rem; color: var(--ink-2); }
.review-meta strong { color: var(--ink); font-weight: 500; }
.reviews-google { display: grid; gap: 1rem; }
.review-feature { display: grid; background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden; }
.review-feature .photo button { border-radius: 0; aspect-ratio: 4 / 3; }
.review-feature .photo button img { object-position: 50% 30%; }
.review-body { padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.review-feature blockquote { margin: .7rem 0 0; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.55rem); line-height: 1.4; }
.review-card { background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.review-card blockquote { margin: .7rem 0 0; font-family: var(--font-display); font-size: clamp(1.15rem, 1.6vw, 1.3rem); line-height: 1.45; }
@media (min-width: 700px) {
  .review-feature { grid-template-columns: .8fr 1fr; }
  .review-feature .photo button { aspect-ratio: auto; height: 100%; min-height: 340px; }
  .review-body { padding: 2rem; }
}
@media (min-width: 1000px) { .reviews-google { grid-template-columns: 2fr 1fr; } }
.testimonials h3 { margin: 2.2rem 0 1rem; }
.quotes { display: grid; gap: 1rem; }
.quotes blockquote { margin: 0; background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius); padding: 1.4rem 1.5rem; display: flex; flex-direction: column; justify-content: space-between; }
.quotes cite { display: block; margin-top: .8rem; font-style: normal; font-weight: 500; color: var(--gold-text); }
@media (min-width: 800px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* Landlords */
.landlord { display: grid; gap: 2rem 3.5rem; align-items: start; }
@media (min-width: 960px) { .landlord { grid-template-columns: 1fr 1.25fr; } }
.flat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.flat-grid .photo button { aspect-ratio: 3 / 4; }
.aspire { grid-column: 1 / -1; margin: 0; padding: 1.5rem 1.6rem; background: var(--cream); border-radius: var(--radius); border: 1px solid var(--sand); }
.aspire blockquote { margin: 0; font-style: italic; font-size: 1.08rem; }
.aspire cite { display: block; margin-top: .6rem; font-style: normal; font-weight: 500; color: var(--gold-text); }

/* FAQ */
.faq { max-width: 820px; display: grid; gap: .7rem; }
@media (min-width: 900px) { .faq { max-width: none; grid-template-columns: 1fr 1fr; align-items: start; } }
.faq details { background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius-sm); }
.faq summary { cursor: pointer; padding: 1.05rem 3rem 1.05rem 1.2rem; font-family: var(--font-display); font-size: 1.25rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: .85rem; font-family: var(--font-body); font-size: 1.5rem; color: var(--gold-text); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 1.2rem 1.1rem; margin: 0; color: var(--ink-2); }

/* Areas */
.areas { display: grid; gap: 2rem 4rem; align-items: center; }
@media (min-width: 900px) { .areas { grid-template-columns: 1fr 1.2fr; } }
.map-frame { width: 100%; height: 380px; border: 0; border-radius: var(--radius); background: var(--sand); display: block; }

/* Contact */
.contact { display: grid; gap: 2.5rem 4rem; }
@media (min-width: 920px) { .contact { grid-template-columns: 1fr 1.2fr; align-items: start; } }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.contact-list .k { display: block; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; }
.contact-list .v { font-size: 1.15rem; }
.contact-list a { color: var(--ink); }
.form-card { background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius); padding: 1.6rem 1.4rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 500; margin-bottom: .35rem; }
.field .opt { color: var(--ink-2); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .9rem; border: 1.5px solid #8b8273; border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold-text); outline-offset: 1px; border-color: var(--ink); }
.field textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.form-card .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { padding: 1.1rem 1.2rem; border-radius: var(--radius-sm); margin-top: 1rem; }
.form-note.error { background: var(--cream); border: 1.5px solid var(--ink); }
.form-note.error p { margin-bottom: .8rem; }
.form-note .btn { width: auto; }
.thanks { text-align: left; }
.thanks h3 { margin-bottom: .4rem; }

/* Footer */
.site-footer { flex-shrink: 0; background: #000; color: var(--on-black-2); padding: 3.2rem 0 2rem; font-size: .98rem; }
.site-footer a { color: var(--on-black); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; }
.footer-logo { width: 280px; height: auto; }
.footer-grid h2 { font-size: 1.25rem; color: var(--gold-light); margin-bottom: .7rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: .92rem; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

/* Photo viewer */
.viewer { border: 0; padding: 0; margin: 0; width: 100%; height: 100%; max-width: 100vw; max-height: 100vh; background: rgba(13,12,10,.96); }
.viewer::backdrop { background: rgba(13,12,10,.94); }
.viewer-inner { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 12px 24px; }
.viewer img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: var(--radius-sm); }
.viewer p { color: var(--on-black); margin: .8rem 0 0; text-align: center; max-width: 60ch; }
.viewer .icon-btn { position: absolute; background: rgba(13,12,10,.75); }
.viewer .v-close { top: 12px; right: 12px; }
.viewer .v-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.viewer .v-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* Blog posts and 404 */
.article-head { padding-block: clamp(2.5rem, 6vw, 4rem) 1rem; }
.article-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 22ch; }
.article-head .meta { color: var(--ink-2); }
.article { max-width: 720px; padding-bottom: clamp(3rem, 7vw, 5rem); }
.article h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.2rem; }
.article li { margin-bottom: .35rem; }
.article figure { margin: 2rem 0; }
.article figure img { border-radius: var(--radius); }
.article figcaption { font-size: .92rem; color: var(--ink-2); margin-top: .5rem; }
.article-cta { background: var(--paper); border: 1px solid var(--sand); border-radius: var(--radius); padding: 1.6rem 1.4rem; margin-top: 2.6rem; }
.article-cta h2 { margin-top: 0; }
.back-link { display: inline-block; margin-bottom: 1rem; }
.nb { display: inline-block; white-space: nowrap; }
