/*
Theme Name: LOF Business Park
Theme URI: https://example.com/lof-business-park
Author: LOF Property Ltd
Description: A bespoke marketing theme for LOF Business Park, Langar.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: lof-business-park
*/

:root {
  --navy: #08263a;
  --navy-deep: #051b2b;
  --blue: #0e6fa8;
  --gold: #f2aa00;
  --ink: #142432;
  --muted: #5d6a73;
  --line: #d9dfe3;
  --mist: #f3f5f6;
  --white: #ffffff;
  --shell: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p { line-height: 1.7; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -0.035em; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(5, 27, 43, .96); color: var(--white); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.1); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.wordmark { display: inline-flex; align-items: center; gap: 17px; color: var(--white); white-space: nowrap; }
.wordmark strong { font-size: 42px; line-height: .8; letter-spacing: -0.06em; }
.wordmark span { padding-left: 17px; border-left: 1px solid rgba(255,255,255,.55); font-size: 12px; text-transform: uppercase; letter-spacing: .26em; line-height: 1.4; max-width: 110px; white-space: normal; }
.desktop-nav { display: flex; align-items: center; gap: 36px; font-size: 15px; }
.desktop-nav a { padding: 35px 0 32px; border-bottom: 3px solid transparent; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: #ffd15a; border-color: var(--gold); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { cursor: pointer; list-style: none; padding: 12px 16px; border: 1px solid rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .13em; font-size: 12px; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: 54px; min-width: 220px; display: grid; background: var(--navy-deep); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 18px 45px rgba(0,0,0,.3); }
.mobile-menu nav a { padding: 15px 18px; border-bottom: 1px solid rgba(255,255,255,.1); }

.home-hero { min-height: 720px; position: relative; display: grid; align-items: center; overflow: hidden; color: var(--white); }
.home-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,20,33,.93) 0%, rgba(3,20,33,.72) 42%, rgba(3,20,33,.18) 78%); }
.hero-content { position: relative; z-index: 2; padding-block: 90px; }
.eyebrow { margin-bottom: 21px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.home-hero .eyebrow, .section-navy .eyebrow, .callout .eyebrow { color: #ffc739; }
.home-hero h1 { max-width: 780px; margin-bottom: 26px; font-size: clamp(54px, 7vw, 92px); line-height: .94; font-weight: 700; }
.home-hero p:not(.eyebrow) { max-width: 610px; margin-bottom: 34px; font-size: 20px; line-height: 1.55; color: rgba(255,255,255,.88); }
.image-note { position: absolute; right: 26px; bottom: 18px; z-index: 2; color: rgba(255,255,255,.74); font-size: 11px; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 14px 22px; border: 1px solid transparent; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-2px); }
.button-gold { background: var(--gold); color: #142432; }
.button-outline { border-color: rgba(255,255,255,.72); color: var(--white); }
.button-dark { margin-top: 26px; background: var(--navy); color: var(--white); }
.button-light { background: var(--white); color: var(--navy); }

.stats-band { background: var(--navy); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-grid > div { min-height: 122px; padding: 26px 30px; display: grid; align-content: center; gap: 6px; border-left: 1px solid rgba(255,255,255,.14); }
.stats-grid > div:last-child { border-right: 1px solid rgba(255,255,255,.14); }
.stats-grid strong { font-size: 24px; color: var(--gold); }
.stats-grid span { font-size: 12px; text-transform: uppercase; letter-spacing: .13em; color: rgba(255,255,255,.72); }

.section { padding-block: 104px; }
.section-muted { background: var(--mist); }
.section-navy { background: var(--navy-deep); color: var(--white); }
.section h2 { margin-bottom: 24px; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; }
.split-copy { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; align-items: start; }
.split-copy p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.two-column { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: start; }
.text-link { display: inline-flex; gap: 10px; align-items: center; margin-top: 20px; color: var(--blue); font-weight: 700; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.unit-table-wrap { margin-top: 34px; }
.unit-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.unit-table th, .unit-table td { padding: 17px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.unit-table thead th { padding-top: 0; color: var(--muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.unit-table tbody th { font-weight: 700; }
.status { display: inline-flex; padding: 6px 9px; background: #e4f3ea; color: #17613b; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.plan-card { margin: 0; padding: 20px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 22px 60px rgba(9,31,46,.1); }
.plan-card img { width: 100%; max-height: 710px; object-fit: contain; }
.plan-card figcaption { padding: 16px 4px 0; color: var(--muted); font-size: 12px; }

.feature-section { background: #fff; }
.feature-section > .shell > h2 { max-width: 760px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 54px; background: var(--line); }
.feature-grid article { min-height: 280px; padding: 34px; background: var(--white); }
.feature-grid article > span { display: block; margin-bottom: 55px; color: var(--gold); font-size: 13px; font-weight: 700; }
.feature-grid h3 { font-size: 24px; }
.feature-grid p { color: var(--muted); }
.selling-point-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: 54px; background: var(--line); border: 1px solid var(--line); }
.selling-point-card { min-height: 240px; padding: 28px 24px; background: var(--white); }
.selling-point-card > span { display: block; margin-bottom: 40px; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.selling-point-card h3 { margin-bottom: 13px; font-size: 20px; line-height: 1.15; }
.selling-point-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.yard-unit-section { background: var(--navy); }
.yard-unit-card { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: center; padding: 64px; background: var(--navy-deep); color: var(--white); border: 1px solid rgba(255,255,255,.12); box-shadow: 0 28px 70px rgba(2,15,25,.25); }
.yard-unit-copy .eyebrow { color: var(--gold); }
.yard-unit-copy h2 { max-width: 720px; }
.yard-unit-copy > p:not(.eyebrow) { max-width: 730px; margin-bottom: 30px; color: rgba(255,255,255,.72); font-size: 18px; }
.yard-unit-facts { margin: 0; border-top: 1px solid rgba(255,255,255,.2); }
.yard-unit-facts > div { display: grid; grid-template-columns: .8fr 1.2fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.yard-unit-facts dt { color: rgba(255,255,255,.58); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.yard-unit-facts dd { margin: 0; color: var(--white); font-weight: 700; }
.configuration-note { margin-top: 28px; padding: 24px 26px; background: var(--mist); border-left: 4px solid var(--gold); }
.configuration-note strong { display: block; margin-bottom: 7px; font-size: 18px; }
.configuration-note p { margin-bottom: 0; color: var(--muted); }

.page-hero { padding-block: 105px 112px; color: var(--white); background: linear-gradient(120deg, var(--navy-deep), #0b3b56); }
.page-hero h1 { max-width: 900px; margin-bottom: 28px; font-size: clamp(50px, 7vw, 86px); line-height: .98; }
.page-hero .eyebrow { color: var(--gold); }
.hero-intro { max-width: 760px; margin-bottom: 0; color: rgba(255,255,255,.78); font-size: 20px; }
.units-layout { grid-template-columns: 1.1fr .9fr; }
.tall-plan { position: sticky; top: 120px; }
.image-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.image-grid figure { margin: 0; position: relative; overflow: hidden; }
.image-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.image-grid figure:hover img { transform: scale(1.025); }
.image-grid figcaption { padding: 17px 0 0; color: rgba(255,255,255,.78); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; }
.illustration-disclaimer { margin-top: 28px; color: rgba(255,255,255,.5); font-size: 12px; }
.spec-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.spec-list { margin: 0; border-top: 1px solid var(--line); }
.spec-list > div { display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.spec-list dd { margin: 0; font-weight: 700; }

.history-intro .split-copy { align-items: center; }
.history-aerial-section { padding-bottom: 0; background: var(--mist); }
.history-aerial { margin-block: 0; background: var(--navy-deep); box-shadow: 0 24px 65px rgba(9,31,46,.16); }
.history-aerial img { width: 100%; aspect-ratio: 2.2 / 1; object-fit: cover; }
.history-aerial figcaption { padding: 18px 22px; color: rgba(255,255,255,.68); font-size: 12px; line-height: 1.6; }
.history-aerial figcaption a { color: #ffd15a; font-weight: 700; }
.year-mark { min-height: 410px; display: grid; align-content: center; justify-items: center; background: var(--navy); color: var(--white); }
.year-mark strong { font-size: clamp(80px, 13vw, 160px); line-height: .9; letter-spacing: -.08em; color: var(--gold); }
.year-mark span { margin-top: 20px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.timeline article { position: relative; padding: 8px 34px 10px 0; border-top: 2px solid var(--navy); }
.timeline article::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.timeline span { display: block; margin-top: 28px; margin-bottom: 36px; color: var(--blue); font-weight: 700; }
.timeline h2 { font-size: 24px; }
.timeline p { color: var(--muted); }
.narrow-copy { max-width: 800px; }
.narrow-copy > p:not(.eyebrow) { font-size: 19px; color: var(--muted); }

.agent-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.agent-card { padding: 42px; border: 1px solid var(--line); background: var(--white); }
.agent-company { margin-bottom: 42px; color: var(--blue); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.agent-card h2 { margin-bottom: 7px; font-size: 36px; }
.agent-card p { margin-bottom: 8px; }
.qualifications { color: var(--muted); }
.agent-card address { margin-top: 22px; color: var(--muted); font-style: normal; line-height: 1.6; }
.agent-actions { display: flex; flex-wrap: wrap; gap: 11px 18px; align-items: center; margin-top: 34px; }
.agent-actions > a:not(.button) { font-weight: 700; }
.agent-actions .button { width: 100%; margin-top: 7px; }
.large-address { font-style: normal; font-size: 20px; line-height: 1.75; }
.location-panel { padding: 46px; background: var(--white); border-left: 4px solid var(--gold); }
.location-panel h2 { font-size: 34px; }
.location-panel p { color: var(--muted); }

.callout { padding-block: 72px; background: var(--gold); color: var(--navy-deep); }
.callout-inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.callout .eyebrow { margin-bottom: 13px; color: rgba(5,27,43,.65); }
.callout h2 { margin: 0; font-size: clamp(34px, 4vw, 50px); }

.site-footer { padding-top: 72px; background: var(--navy-deep); color: rgba(255,255,255,.75); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 80px; padding-bottom: 60px; }
.site-footer h2 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: .12em; }
.site-footer p { margin-bottom: 8px; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-grid > div:first-child p { max-width: 300px; margin-top: 24px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 11px; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .mobile-menu { display: block; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .split-copy, .two-column, .spec-layout { grid-template-columns: 1fr; gap: 48px; }
  .feature-grid, .image-grid { grid-template-columns: 1fr; }
  .selling-point-grid { grid-template-columns: repeat(2, 1fr); }
  .yard-unit-card { grid-template-columns: 1fr; gap: 44px; padding: 46px; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .agent-grid { grid-template-columns: 1fr; }
  .tall-plan { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 30px, var(--shell)); }
  .header-inner { min-height: 74px; }
  .wordmark strong { font-size: 34px; }
  .wordmark span { font-size: 9px; }
  .home-hero { min-height: 650px; }
  .hero-shade { background: rgba(3,20,33,.76); }
  .home-hero h1 { font-size: 52px; }
  .home-hero p:not(.eyebrow), .hero-intro { font-size: 17px; }
  .button-row .button { width: 100%; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid > div { min-height: 104px; padding: 20px 16px; }
  .stats-grid strong { font-size: 18px; }
  .section { padding-block: 72px; }
  .page-hero { padding-block: 72px 78px; }
  .page-hero h1 { font-size: 48px; }
  .unit-table th, .unit-table td { padding: 14px 7px; font-size: 12px; }
  .unit-table thead th { font-size: 9px; }
  .status { font-size: 8px; }
  .plan-card { padding: 9px; }
  .feature-grid article { min-height: 230px; padding: 26px; }
  .feature-grid article > span { margin-bottom: 30px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline article { padding-right: 0; }
  .year-mark { min-height: 290px; }
  .selling-point-grid { grid-template-columns: 1fr; }
  .selling-point-card { min-height: 0; }
  .selling-point-card > span { margin-bottom: 24px; }
  .yard-unit-card { padding: 30px 24px; }
  .yard-unit-facts > div { grid-template-columns: 1fr; gap: 6px; }
  .history-aerial img { aspect-ratio: 4 / 3; }
  .agent-card { padding: 28px; }
  .agent-card h2 { font-size: 30px; }
  .callout-inner { display: grid; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { width: auto; height: auto; margin: 0; clip: auto; z-index: 100000; top: 8px; left: 8px; padding: 12px 16px; background: #fff; color: #111; }
.wp-content { padding-block: 80px; }
.wp-content > * { width: min(800px, calc(100% - 48px)); margin-inline: auto; }
