/* Cook Development — shared styles for every page */
:root {
  --yellow: #ffee12;
  --ink: #3d3d3d;
  --gray: #888;
  --dark-0: #020202;
  --dark-1: #171717;
  --dark-2: #1e1e1e;
  --dark-3: #272727;
  --dark-4: #1f1f1f;
  --circle: #363636;
  --header-h: 94px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font: 14px/1.7 "Open Sans", sans-serif; color: var(--gray); background: var(--dark-1); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1100px, 100% - 32px); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s; }
.topbar { height: 24px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: #fff; }
.topbar svg { width: 12px; height: 12px; fill: #fff; }
.navbar { background: rgba(0,0,0,.45); transition: background .3s; }
.navbar .wrap { height: 70px; display: flex; align-items: center; justify-content: space-between; transition: height .3s; }
.logo img { width: 125px; height: auto; transition: width .3s; }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav > li { position: relative; }
.nav > li > a { display: block; padding: 0 11px; line-height: 70px; color: #fff; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; transition: color .2s; }
.nav > li > a:hover, .nav > li > a.active { color: var(--yellow); }
.nav .sub { display: none; position: absolute; top: 100%; left: 0; min-width: 180px; background: #262626; list-style: none; padding: 8px 0; }
.nav li:hover > .sub { display: block; }
.nav .sub a { display: block; padding: 7px 18px; color: #bbb; font-size: 12px; }
.nav .sub a:hover, .nav .sub a.active { color: #fff; }
.menu-btn { background: none; border: 0; cursor: pointer; padding: 0 0 0 11px; color: #fff; }
.menu-btn span { display: block; width: 13px; height: 2px; background: currentColor; margin: 2px 0; }
.site-header.scrolled .topbar-row { display: none; }
.site-header.scrolled .navbar { background: rgba(26,26,26,.95); }
.site-header.scrolled .navbar .wrap { height: 50px; }
.site-header.scrolled .nav > li > a { line-height: 50px; }
.site-header.scrolled .logo img { width: 80px; }

/* Inner pages: solid header that sits above the content */
.inner .topbar-row { background: #8a8a8a; }
.inner .navbar { background: #6f6f6f; }
.inner main { padding-top: var(--header-h); }

/* Side / mobile menu */
.side-menu { position: fixed; top: 0; right: 0; bottom: 0; width: 270px; background: #0e0e0e; z-index: 60; transform: translateX(100%); transition: transform .35s; padding: 70px 30px; }
.side-menu.open { transform: none; }
.side-menu .close { position: absolute; top: 22px; right: 24px; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }
.side-menu ul { list-style: none; }
.side-menu a { display: block; padding: 10px 0; color: #bbb; font-size: 13px; text-transform: uppercase; font-weight: 600; border-bottom: 1px solid #1f1f1f; }
.side-menu a:hover, .side-menu a.active { color: var(--yellow); }
.side-menu p { margin-top: 24px; font-size: 13px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 22px; padding: 0 18px; height: 39px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; transition: background .2s, color .2s; }
.btn::after { content: "›"; font-size: 18px; line-height: 1; }
.btn:hover { background: #fff; }
.btn.dark { background: #444; color: var(--yellow); }
.btn.dark:hover { background: var(--yellow); color: var(--ink); }
.arrow { position: absolute; top: 50%; z-index: 5; transform: translateY(-50%); width: 44px; height: 44px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; opacity: .75; }
.arrow:hover { opacity: 1; }
.arrow.prev { left: 14px; } .arrow.next { right: 14px; }

/* ---------- Page title bands (inner pages) ---------- */
.title-band { position: relative; height: 60px; background: repeating-linear-gradient(135deg, #fff 0 3px, #ececec 3px 5px); }
.title-band.dark { background: repeating-linear-gradient(135deg, #1b1b1b 0 3px, #2a2a2a 3px 5px); }
.title-band h1 { position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 50%); width: max-content; max-width: min(900px, calc(100% - 32px)); background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.6; letter-spacing: 1.5px; text-align: center; text-transform: uppercase; padding: 3px 30px; }
.title-band + .article, .title-band + section { padding-top: max(70px, 4.5em); }
.photo-band { height: 500px; background: center/cover no-repeat; }

/* ---------- Home: hero slider ---------- */
.hero { position: relative; height: 100vh; min-height: 520px; overflow: hidden; background: #000; }
.slide { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transition: opacity 1s; }
.slide.active { opacity: 1; z-index: 1; }
.slide .caption { position: absolute; top: calc(var(--header-h) + 8px); left: 0; right: 0; }
.slide h2 { color: #fff; font-size: 42px; font-weight: 300; line-height: 1.25; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.slide p { color: #fff; font-size: 17px; font-weight: 300; margin: 8px 0 26px; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.slide.center .caption { top: 50%; transform: translateY(-50%); text-align: center; }
.slide.center h2 { font-size: 46px; }
.dots { position: absolute; bottom: 30px; left: 0; right: 0; z-index: 5; display: flex; justify-content: center; gap: 10px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.45); cursor: pointer; }
.dots button.active { background: #fff; }

/* ---------- Home: services ---------- */
.services { background: var(--dark-1); padding: 90px 0; }
.services .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.service .icon { width: 104px; height: 104px; border-radius: 50%; background: var(--circle); display: grid; place-items: center; margin-bottom: 26px; }
.service .icon svg { width: 44px; height: 44px; fill: #fff; }
.service h4 { color: #fff; font-size: 17px; font-weight: 400; margin-bottom: 10px; }
.service p { margin-bottom: 12px; }
.service a { color: var(--yellow); }
.service a:hover { text-decoration: underline; }

/* ---------- Quote (home + about) ---------- */
.quote { background: #606060 url("bigger3.jpg") center/cover no-repeat; padding: 80px 0; text-align: center; }
.quote .mark { width: 74px; height: 74px; border-radius: 50%; background: var(--circle); display: grid; place-items: center; margin: 0 auto 26px; }
.quote .mark svg { width: 32px; fill: #fff; }
.quote blockquote { color: #fff; font-size: 17px; font-style: italic; }
.quote cite { display: block; margin-top: 8px; color: var(--yellow); font-style: normal; font-size: 16px; }

/* ---------- Home: Sales Place ---------- */
.feature { background: var(--dark-2); padding: 65px 0; }
.feature .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.feature img { width: 100%; height: auto; }
.feature h3 { color: #fff; font-size: 24px; font-weight: 300; margin-bottom: 18px; }
.feature p { margin-bottom: 26px; }

/* ---------- Home: developments strip ---------- */
.developments { background: #222 url("bigger2.jpg") center/cover no-repeat; background-attachment: fixed; padding: 75px 0 85px; text-align: center; }
.developments h2 { color: #fff; font-size: 36px; font-weight: 300; }
.developments .sub { color: #fff; font-size: 13px; margin: 6px 0 40px; }
.carousel { position: relative; }
.track-window { overflow: hidden; }
.track { display: flex; transition: transform .5s; }
.logo-card { flex: 0 0 25%; padding: 0 10px; position: relative; }
.logo-card img { width: 100%; max-width: 300px; margin: 0 auto; transition: opacity .3s; }
.logo-card .hover { position: absolute; inset: 0; margin: 0 auto; opacity: 0; }
.logo-card:hover .base { opacity: 0; }
.logo-card:hover .hover { opacity: 1; }
.carousel .arrow { font-size: 34px; }
.carousel .arrow.prev { left: -40px; } .carousel .arrow.next { right: -40px; }

/* ---------- About: team ---------- */
.team { background: var(--dark-0); padding: 70px 0 60px; }
.team .grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px 30px; }
.member img { width: 181px; height: 265px; object-fit: cover; margin-bottom: 30px; }
.member h4 { color: #fff; font-size: 15px; font-weight: 400; line-height: 1.5; margin-bottom: 12px; }
.member p { font-size: 13px; }
.member .social { display: flex; gap: 6px; margin-top: 24px; }
.member .social a { width: 30px; height: 30px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.member .social svg { width: 13px; fill: #111; }

/* ---------- About: who we are ---------- */
.who { background: var(--dark-1); padding: 70px 0; }
.who .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.who h3 { color: #fff; font-size: 24px; font-weight: 300; margin-bottom: 18px; }
.who a { color: var(--yellow); }
.progress h5 { display: flex; justify-content: space-between; color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.progress h5 span { background: var(--circle); padding: 0 6px; font-size: 11px; }
.progress .bar { height: 6px; background: var(--circle); }
.progress .bar div { height: 100%; width: 0; background: var(--yellow); transition: width 1.6s ease-out; }
.progress.done .bar div { width: 100%; }

/* ---------- About: testimonials ---------- */
.testimonials { background: #fff; padding: 90px 0; }
.testimonials .slides { position: relative; min-height: 110px; }
.testimonials blockquote { position: absolute; inset: 0 0 auto; background: #e5e5e5; color: var(--ink); font-size: 16px; padding: 22px 26px; text-align: justify; opacity: 0; transition: opacity .6s; }
.testimonials blockquote.active { opacity: 1; position: relative; }
.testimonials .dots { position: static; margin-top: 26px; }
.testimonials .dots button { background: #ddd; }
.testimonials .dots button.active { background: var(--yellow); }

/* ---------- About: counters + services ---------- */
.stats { background: var(--dark-1); padding: 80px 0; }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; margin-bottom: 80px; }
.counters strong { display: block; color: #fff; font-size: 52px; font-weight: 300; line-height: 1.2; }
.counters span { color: #fff; font-size: 15px; font-weight: 600; }
.offerings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 40px; }
.offering { display: grid; grid-template-columns: 30px 1fr; gap: 14px; }
.offering svg { width: 24px; height: 24px; fill: var(--yellow); margin-top: 2px; }
.offering h4 { color: #fff; font-size: 15px; font-weight: 400; margin-bottom: 8px; }
.offering p { font-size: 13px; }
.yellow-bar { background: var(--yellow); color: var(--ink); text-align: center; font-size: 18px; padding: 36px 0; }

/* ---------- Developments + Built to Suit: project grid ---------- */
.projects { background: #fff; padding-top: 40px; }
.projects .grid { display: grid; grid-template-columns: 1fr 1fr; }
.project { position: relative; display: block; overflow: hidden; aspect-ratio: 1100 / 338; background: #ddd; }
.project:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 1100 / 260; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project .label { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.55); color: #fff; font-size: 20px; font-weight: 300; text-align: center; padding: 12px; opacity: 0; transition: opacity .3s; }
.project .label::after { content: "View project ›"; display: block; margin-top: 4px; color: var(--yellow); font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; }
.project .label span { display: block; }
.project:hover img { transform: scale(1.04); }
.project:hover .label, .project:focus-visible .label { opacity: 1; }
.projects + .spacer { height: 40px; background: #fff; }

/* ---------- Blog ---------- */
.blog { background: #fff; padding: 80px 0 60px; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 23px; align-items: start; }
.post-card { background: #dcdcdc; padding: 30px 30px 18px; }
.post-card .meta { color: #555; font-size: 13px; margin-bottom: 10px; }
.post-card .meta span { margin: 0 10px; color: #999; }
.post-card h2 { color: #333; font-size: 25px; font-weight: 300; line-height: 1.2; margin-bottom: 20px; }
.post-card h2 a:hover { color: #000; }
.post-card p { color: #888; font-size: 13px; margin-bottom: 20px; }
.post-card .read { display: inline-block; background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 13px; }
.post-card .read:hover { background: #fff; }
.post-card .date { border-top: 1px solid #ccc; margin-top: 20px; padding-top: 12px; color: #999; font-size: 14px; line-height: 1.4; }
.post-card .date b { display: block; color: #333; font-size: 24px; font-weight: 300; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 70px; }
.pager a, .pager span { display: inline-grid; place-items: center; width: 35px; height: 35px; background: #eee; color: #777; font-size: 14px; }
.pager .current { background: var(--yellow); color: var(--ink); }
.pager .disabled { color: #ccc; }
.pager div { display: flex; gap: 5px; }

/* ---------- Contact ---------- */
.contact { background: #fff; padding: 70px 0; color: #888; }
.contact .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact h2 { color: #333; font-size: 20px; font-weight: 400; margin-bottom: 14px; }
.contact p { margin-bottom: 18px; }
.contact b { color: #888; font-weight: 600; }
.contact a { color: #333; font-weight: 600; }
.contact a:hover { color: #000; text-decoration: underline; }
.contact .map { width: 100%; height: 320px; border: 0; background: #eee; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-3); }
.footer-top { padding: 60px 0 40px; }
.footer-top .grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.footer-top .col { padding: 0 15px; min-height: 260px; border-left: 1px solid #333; }
.footer-top .col:first-child { border-left: 0; padding-left: 0; }
.footer-top img { width: 125px; margin-bottom: 18px; }
.footer-top h5 { color: #fff; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; }
.footer-top .fb { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #333; margin-top: 14px; }
.footer-top .fb svg { width: 12px; fill: #fff; }
.posts { list-style: none; }
.posts li { background: #333; margin-bottom: 4px; padding: 10px 12px; }
.posts a { display: block; color: #bbb; font-size: 12px; line-height: 1.5; }
.posts a:hover { color: #fff; }
.posts time { font-size: 12px; }
.footer-top .col p { margin-bottom: 12px; }
.footer-top .col p a:hover, .footer-links a:hover { color: #fff; }
.footer-links { list-style: none; }
.footer-links a { display: block; padding: 3px 0; font-size: 13px; }
.footer-bottom { background: var(--dark-4); text-align: center; padding: 20px 0; font-size: 12px; }

.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 34px; height: 34px; border: 0; background: #363636; color: #fff; font-size: 16px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .3s; }
.to-top.show { opacity: 1; pointer-events: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav > li:not(.menu-li) { display: none; }
  .logo-card { flex-basis: 33.333%; }
  .carousel .arrow.prev { left: -6px; } .carousel .arrow.next { right: -6px; }
  .team .grid { grid-template-columns: repeat(3, 1fr); }
  .posts-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .services .grid, .footer-top .grid, .team .grid { grid-template-columns: 1fr 1fr; }
  .feature .grid, .who .grid, .contact .grid, .projects .grid { grid-template-columns: 1fr; }
  .offerings { grid-template-columns: 1fr 1fr; }
  .footer-top .col:nth-child(3) { border-left: 0; padding-left: 0; }
  .project:last-child:nth-child(odd) { aspect-ratio: 1100 / 338; }
  .footer-top .col { min-height: 0; margin-bottom: 30px; }
  .slide h2, .slide.center h2 { font-size: 30px; }
  .logo-card { flex-basis: 50%; }
  .developments { background-attachment: scroll; }
  .photo-band { height: 260px; }
  .project .label { opacity: 1; background: linear-gradient(transparent 40%, rgba(0,0,0,.65)); place-items: end start; text-align: left; font-size: 17px; }
}
@media (max-width: 480px) {
  .services .grid, .footer-top .grid, .team .grid, .offerings, .posts-grid { grid-template-columns: 1fr; }
  .testimonials blockquote { text-align: left; font-size: 15px; }
  .counters strong { font-size: 40px; }
  .counters span { font-size: 13px; }
  .footer-top .col { border-left: 0; padding-left: 0; }
  .topbar .phone-label { display: none; }
}

/* ---------- Blog post + project detail pages ---------- */
.article { background: #fff; padding: 70px 0 80px; color: #666; font-size: 15px; line-height: 1.8; }
.article .wrap { max-width: 820px; }
.article .meta { color: #999; font-size: 13px; margin-bottom: 24px; }
.article .meta span { margin: 0 10px; }
.article .lead-img { width: 100%; height: auto; margin-bottom: 30px; }
.article .body > * + * { margin-top: 18px; }
.article .body h2 { color: #333; font-size: 24px; font-weight: 400; line-height: 1.3; margin-top: 36px; }
.article .body h3 { color: #333; font-size: 19px; font-weight: 600; margin-top: 30px; }
.article .body ul, .article .body ol { padding-left: 22px; }
.article .body li + li { margin-top: 6px; }
.article .body a { color: #333; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.article .body a:hover { color: #000; }
.article .body img { height: auto; margin: 8px 0; }
.article .body blockquote { border-left: 4px solid var(--yellow); padding: 4px 0 4px 18px; color: #555; font-style: italic; }
.article .back { display: inline-block; margin-top: 50px; color: #333; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.article .back:hover { color: #000; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #e5e5e5; margin-top: 50px; padding-top: 24px; font-size: 13px; }
.post-nav a { color: #333; max-width: 48%; }
.post-nav a:hover { color: #000; }
.post-nav small { display: block; color: #999; text-transform: uppercase; letter-spacing: .5px; font-size: 11px; }
.post-nav .next { text-align: right; margin-left: auto; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-bottom: 36px; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery img:only-child { aspect-ratio: auto; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; border-top: 1px solid #e5e5e5; margin-top: 36px; padding-top: 24px; }
.facts h4 { color: #333; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.facts a { color: #333; word-break: break-word; }
.post-card .thumb { display: block; margin: -30px -30px 22px; }
.post-card .thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 480px) {
  .article { padding: 60px 0 60px; }
  .title-band h1 { padding: 4px 14px; letter-spacing: 1px; font-size: 12px; }
  .post-nav { flex-direction: column; }
  .post-nav a { max-width: none; }
  .post-nav .next { text-align: left; margin-left: 0; }
}
