/* ==========================================================
   Murray Co — commercial property services
   Barlow (display) + Manrope (body), monochrome palette.
   ========================================================== */

:root {
	--ink: #0A0A0A;
	--muted: #6B6B6B;
	--line: #E5E5E5;
	--field: #CCCCCC;
	--max: 1280px;
	--header-h: 105px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; color: var(--ink); background: #fff; font-family: Manrope, Arial, sans-serif; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
main:focus { outline: none; }

.wrap { width: min(var(--max), calc(100% - 96px)); margin: 0 auto; }

h1, h2, h3, h4 { font-family: Barlow, Arial, sans-serif; font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -.025em; }
p { margin: 0 0 1em; }

.skip { position: absolute; top: -100px; left: 15px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 10px; }

/* ---------- Eyebrow ---------- */
.eyebrow { font-size: .875rem; text-transform: uppercase; font-weight: 800; letter-spacing: .15em; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.eyebrow::before { content: ''; flex-shrink: 0; width: 28px; height: 3px; background: var(--ink); }

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; justify-content: center; align-items: center; min-height: 51px; padding: 13px 25px; background: var(--ink); color: #fff; font-size: .875rem; font-weight: 800; border: 1px solid var(--ink); transition: transform .2s, background-color .2s; }
.btn:hover { background: #333; border-color: #333; transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn.outline { background: transparent; color: #fff; border-color: var(--field); }
.btn.outline:hover { background: var(--ink); }
.btn.light-outline { background: transparent; color: var(--ink); border-color: var(--field); }
.btn.light-outline:hover { background: var(--line); }

.text-link { display: block; width: fit-content; font-size: .875rem; font-weight: 800; text-decoration: underline; text-underline-offset: 6px; margin-top: 18px; }
.text-link + .text-link { margin-top: 14px; }
button.text-link { background: none; border: 0; padding: 0; color: inherit; font-family: inherit; line-height: inherit; }
.text-link.inline { display: inline; margin: 0; font-weight: 700; text-underline-offset: 4px; }
.parent-link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 10; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 7px; flex-shrink: 0; }
.brand-logo { width: 240px; height: auto; }
.brand-descriptor { font-size: 12.375px; font-weight: 500; letter-spacing: .035em; line-height: 1.4; color: #4D4D4D; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 25px; font-size: .875rem; font-weight: 700; }
.nav a { padding: 12px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="true"] { border-color: var(--ink); }
.menu { display: none; background: none; border: 1px solid var(--line); padding: 8px 12px; font-weight: 700; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--ink); color: #fff; min-height: 660px; display: flex; align-items: center; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% center; z-index: -2; }
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(10, 10, 10, .70); z-index: -1; }
.hero-content { padding: 76px 0 100px; max-width: 650px; }
.hero h1 { font-size: clamp(2.8rem, 5.1vw, 4.7rem); font-weight: 800; line-height: 1.04; text-transform: uppercase; }
.hero h1 span { display: block; }
.hero p { font-size: 1.125rem; color: #E5E5E5; max-width: 570px; line-height: 1.7; margin: 25px 0 30px; }
.hero .hero-brand-line { font-size: .95rem; font-weight: 600; letter-spacing: .035em; color: #fff; margin: -8px 0 30px; line-height: 1.5; }
.hero a:focus-visible { outline-color: #fff; }

/* ---------- Belief band ---------- */
.belief { border-bottom: 1px solid var(--line); }
.belief-inner { padding: 28px 0; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.belief h2 { font-size: 1.7rem; font-weight: 600; }
.belief p { font-size: .875rem; max-width: 330px; margin: 0; color: var(--muted); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
#about { padding-bottom: 55px; }
#properties { padding-top: 55px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 45px; margin-bottom: 48px; }
.section-head h2 { max-width: 750px; }
.section-head h2, h2.large { font-size: clamp(2.5rem, 4vw, 3.5rem); }
.section-head p { max-width: 430px; color: var(--muted); margin: 0; }
.section-head p + p { margin-top: 0; }
.lead { margin-top: 25px; }

/* About pillars */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pillar { padding: 33px; border: 1px solid var(--line); min-height: 260px; transition: border-color .2s; }
.pillar:hover { border-color: var(--ink); }
.pillar h3 { font-size: 2rem; }
.pillar p { color: var(--muted); margin: 18px 0 0; }

.about-ai { margin-top: 32px; border-left: 3px solid var(--ink); padding-left: 20px; }
.about-ai-statement { font-size: 1.125rem; font-weight: 700; line-height: 1.5; margin: 0 0 8px; }
.about-ai-copy { font-size: .875rem; color: var(--muted); max-width: 780px; margin: 0; line-height: 1.7; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact-grid { align-items: start; }
.portfolio-image img { height: 390px; width: 100%; object-fit: cover; object-position: 72% center; }

/* Capabilities */
.capabilities-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability { padding: 30px 24px; border-right: 1px solid var(--line); }
.capability:first-child { padding-left: 0; }
.capability:last-child { border-right: 0; padding-right: 0; }
.capability h3 { font-size: 1.7rem; line-height: 1.15; min-height: 60px; }
.capability ul { list-style: none; padding: 0; margin: 24px 0 0; }
.capability li { font-size: .9rem; color: var(--muted); padding: 10px 0; border-top: 1px solid var(--line); }

/* Contact */
.tenant-note { border-left: 3px solid var(--ink); padding: 8px 0 8px 24px; margin-top: 32px; }
.tenant-note h3 { font-size: 1.35rem; margin-bottom: 8px; }
.tenant-note p { font-size: .9rem; margin: 0; }

.inquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .875rem; font-weight: 700; }
.field input, .field textarea { width: 100%; border: 1px solid var(--field); padding: 13px 15px; background: #fff; color: var(--ink); border-radius: 0; min-height: 50px; }
.field textarea { resize: vertical; min-height: 125px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #B42318; }
.form-explanation { font-size: .875rem; color: var(--muted); margin: 0; }
.form-status { padding: 20px; border-left: 3px solid var(--ink); background: #F3F3F3; margin: 20px 0 0; }
.form-status:empty { display: none; }
.form-status.is-error { border-color: #B42318; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #E5E5E5; padding: 65px 0 25px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; }
.footer-brand { display: inline-block; margin-bottom: 22px; }
.footer-brand img { width: 180px; height: auto; }
.footer p { font-size: .875rem; max-width: 350px; }
.footer h4 { font-family: Manrope, Arial, sans-serif; font-size: .875rem; letter-spacing: 0; color: #fff; margin: 4px 0 18px; }
.footer nav a, .footer-link { display: block; font-size: .875rem; margin: 8px 0; }
.footer-link { background: none; border: 0; padding: 0; color: inherit; }
.footer nav a:hover, .footer-link:hover, .footer .parent-link:hover { color: #fff; }
.footer .parent-operation { font-size: .8rem; line-height: 1.8; margin-top: 20px; }
.footer a:focus-visible, .footer button:focus-visible { outline-color: #fff; }
.footer-bottom { margin-top: 60px; padding-top: 20px; border-top: 1px solid #ffffff20; font-size: .75rem; display: flex; justify-content: space-between; gap: 25px; }

/* ---------- Privacy dialog ---------- */
dialog { border: 0; max-width: 650px; width: calc(100% - 40px); padding: 35px; color: var(--ink); box-shadow: 0 20px 80px #0004; }
dialog::backdrop { background: #000000aa; }
dialog .btn { float: right; min-height: 44px; }
dialog h2 { font-size: 2.3rem; margin: 25px 0 20px; clear: both; }
dialog p { color: #333; }

/* ---------- Responsive ---------- */
@media (min-width: 1500px) {
	.hero { min-height: 740px; }
	.hero-content { padding: 100px 0 120px; }
}

@media (max-width: 1100px) {
	.wrap { width: calc(100% - 56px); }
	.nav { gap: 16px; }
	.header-inner { gap: 15px; }
	.split { gap: 45px; }
	.hero { min-height: 610px; }
	.pillars { gap: 15px; }
	.pillar { padding: 25px; }
	.capabilities-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.capability:nth-child(2) { border-right: 0; padding-right: 0; }
	.capability:nth-child(3) { padding-left: 0; }
	.capability:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 850px) {
	:root { --header-h: 85px; }
	.brand-logo { width: 200px; }
	.brand-descriptor { font-size: 11.25px; letter-spacing: .02em; }
	.menu { display: block; }
	.nav { display: none; position: absolute; left: 0; top: var(--header-h); background: #fff; width: 100%; padding: 20px 28px; box-shadow: 0 20px 30px #0001; flex-direction: column; align-items: stretch; gap: 4px; }
	.nav.open { display: flex; }
	.nav a { padding: 12px; font-size: 1rem; }
	.hero { min-height: 650px; }
	.belief-inner { align-items: flex-start; flex-direction: column; gap: 14px; }
	.belief p { max-width: none; }
	.section { padding: 70px 0; }
	#about { padding-bottom: 38.5px; }
	#properties { padding-top: 38.5px; }
	.section-head { align-items: flex-start; flex-direction: column; gap: 22px; }
	.pillars { grid-template-columns: 1fr; }
	.pillar { min-height: 0; padding: 32px; }
	.split { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1.6fr 1fr; gap: 40px; }
	.footer-top > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
	.hero h1 { font-size: clamp(2rem, 10.5vw, 2.8rem); }
	.hero img { object-position: 65% center; }
	.portfolio-image img { height: 280px; }
	.capabilities-grid { grid-template-columns: 1fr; }
	.capability { border-right: 0; padding: 28px 0 !important; border-bottom: 1px solid var(--line); }
	.capability:last-child { border-bottom: 0; }
	.capability h3 { min-height: 0; font-size: 1.8rem; }
	.capability ul { margin-top: 20px; }
	.nav.open { max-height: calc(100vh - 90px); overflow: auto; }
}

@media (max-width: 500px) {
	.wrap { width: calc(100% - 40px); }
	.brand-logo { width: 180px; }
	.brand-descriptor { font-size: 10px; }
	.hero-content { padding: 60px 0 85px; }
	.hero p { font-size: 1rem; }
	.belief h2 { font-size: 1.55rem; }
	.belief h2 span { display: block; margin-top: 5px; }
	.section-head h2, h2.large { font-size: 2.5rem; }
	.inquiry-form { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr; gap: 30px; }
	.footer-bottom { flex-direction: column; gap: 10px; }
	dialog { padding: 25px; }
	dialog h2 { font-size: 1.9rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
