/*
Theme Name: ZIMO Developments
Theme URI: https://www.zimobv.nl/
Author: ZIMO B.V.
Description: Maatwerkthema voor de one-page website van ZIMO Developments.
Version: 2.2.1
Text Domain: zimo-developments
*/

:root {
  --forest: #064b38;
  --deep-forest: #003d2e;
  --green: #0a6348;
  --ink: #171b18;
  --soft: #f2f5f1;
  --line: #d9dfda;
  --white: #fff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Lato, Arial, sans-serif; color: var(--ink); background: var(--white); font-size: 15px; }
body.admin-bar .nav { top: 32px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.screen-reader-text, .skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 10px 14px; }

.nav {
  position: sticky; top: 0; z-index: 20; height: 74px;
  display: grid; grid-template-columns: 150px 1fr auto; align-items: center;
  padding: 0 48px; background: #fff; border-bottom: 1px solid #e8ece8;
}
.logo { align-self: stretch; display: flex; align-items: center; width: 100px; overflow: hidden; }
.logo img { width: 88px; height: auto; filter: brightness(.55) saturate(1.45); }
.nav nav { display: flex; align-items: center; justify-content: center; gap: 30px; font-size: 13px; }
.nav nav a { text-decoration: none; color: #191b19; white-space: nowrap; }
.nav nav a.active { color: var(--deep-forest); text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 1px; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.lang { font-size: 12px; }
.lang::after { content: "⌄"; margin-left: 8px; }
.menu { display: none; border: 0; background: transparent; color: var(--deep-forest); font-size: 25px; cursor: pointer; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 20px; border-radius: 0; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.btn-dark { background: var(--deep-forest); color: #fff; border: 1px solid var(--deep-forest); }
.btn-light { color: #fff; border: 1px solid #fff; }

.hero { position: relative; height: clamp(440px, 43vw, 590px); color: #fff; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 20, 15, .58) 0%, rgba(0, 15, 15, .14) 62%, rgba(0, 10, 10, .08) 100%); }
.hero-content { position: relative; max-width: 590px; padding: 56px 0 36px 56px; }
.eyebrow { font-size: 10px; letter-spacing: .28em; margin-bottom: 28px; }
.hero h1 { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; font-size: clamp(48px, 5vw, 66px); line-height: .97; margin-bottom: 22px; }
.lead { font-size: 15px; line-height: 1.55; max-width: 440px; margin-bottom: 22px; }
.hero-aside { position: absolute; right: 64px; top: 12%; width: 180px; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; }
.hero-aside .line { display: block; width: 28px; height: 1px; background: #fff; margin: 18px 0; }
.hero-aside .small { line-height: 1.65; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar { position: relative; height: 255px; color: #fff; overflow: hidden; scroll-margin-top: 74px; }
.pillar > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.62); }
.pillar-copy { position: absolute; inset: 0; padding: 24px 56px; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(0deg, rgba(0,0,0,.42), transparent 68%); }
.pillar .icon { width: 38px; height: 38px; margin-bottom: 10px; }
.pillar .icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
.pillar h2 { font-size: 20px; font-weight: 400; line-height: 1.25; text-transform: uppercase; letter-spacing: .11em; }
.pillar p { margin: 8px 0 10px; font-size: 14px; }
.pillar a { width: max-content; padding-bottom: 3px; border-bottom: 1px solid rgba(255,255,255,.85); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }

.values { display: grid; grid-template-columns: repeat(4, 1fr) 1.05fr; gap: 18px; min-height: 94px; padding: 16px 52px; align-items: center; border-bottom: 1px solid #edf0ed; }
.value-item { display: flex; align-items: center; gap: 13px; font-size: 12px; line-height: 1.25; }
.value-icon { width: 42px; height: 42px; flex: 0 0 42px; color: var(--deep-forest); }
.value-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.values .script { min-height: 64px; padding-left: 34px; border-left: 1px solid #7f958b; font-family: 'Segoe Script', 'Brush Script MT', cursive; font-size: 19px; color: var(--deep-forest); line-height: 1.05; transform: rotate(-5deg); display: flex; align-items: center; justify-content: center; }

.project { display: grid; grid-template-columns: .78fr 1.35fr; gap: 38px; padding: 18px 42px 10px; min-height: 300px; scroll-margin-top: 74px; }
.project-copy { padding-top: 4px; }
.project .label, .about .label { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--deep-forest); margin-bottom: 10px; }
.project .label::after, .about .label::after { content: ""; display: block; width: 28px; height: 1px; background: currentColor; margin-top: 12px; }
.project h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 38px; line-height: 1; font-weight: 400; }
.project .sub { font-family: Georgia, 'Times New Roman', serif; font-size: 20px; margin: 5px 0 14px; }
.project-copy > p:not(.label):not(.sub) { max-width: 355px; margin-bottom: 14px; font-size: 13px; line-height: 1.45; }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 214px 64px; gap: 7px; }
.project-grid .main { grid-column: 1 / -1; width: 100%; height: 214px; object-fit: cover; }
.project-grid > img:not(.main) { width: 100%; height: 64px; object-fit: cover; }
.project-grid .more { display: flex; align-items: center; justify-content: center; background: var(--soft); font-size: 10px; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }

.about { display: grid; grid-template-columns: 1.35fr .54fr .66fr; min-height: 226px; scroll-margin-top: 74px; }
.about-dark { padding: 28px 52px 22px; color: #fff; background: linear-gradient(110deg, var(--deep-forest), #075841); }
.about-dark .label { color: #fff; }
.about-dark h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 27px; font-weight: 400; line-height: 1.05; margin-bottom: 11px; }
.about-dark > p:not(.label) { max-width: 455px; font-size: 12px; line-height: 1.45; margin-bottom: 12px; }
.about-mid { padding: 32px 30px; background: #f5f7f4; }
.about-mid .label { line-height: 1.6; }
.about-mid > p:not(.label) { font-size: 13px; line-height: 1.45; }
.about-mid .tag { margin-top: 25px; font-size: 10px !important; letter-spacing: .22em; text-transform: uppercase; }
.about-photo { position: relative; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; min-height: 226px; object-fit: cover; filter: brightness(.78); }
.about-photo p { position: absolute; right: 30px; bottom: 28px; color: rgba(35, 35, 35, .58); font-size: 15px; line-height: 1.55; letter-spacing: .1em; text-align: right; transform: rotate(-7deg); }

.page-hero { position: relative; min-height: 370px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,45,32,.8), rgba(0,25,18,.16)); }
.page-hero-copy { position: relative; z-index: 1; width: min(1180px, calc(100% - 96px)); margin: 0 auto; padding: 70px 0 58px; }
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { max-width: 760px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(44px, 5vw, 68px); line-height: 1; font-weight: 400; }
.page-intro { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; width: min(1180px, calc(100% - 96px)); margin: 0 auto; padding: 72px 0; }
.page-intro h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(30px, 3vw, 44px); line-height: 1.08; font-weight: 400; color: var(--deep-forest); }
.page-intro-copy { max-width: 670px; }
.page-intro-copy p { font-size: 16px; line-height: 1.75; margin-bottom: 20px; }
.page-features { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--soft); }
.page-feature { min-height: 220px; padding: 44px; border-right: 1px solid #dce4de; }
.page-feature:last-child { border-right: 0; }
.page-feature span { display: block; margin-bottom: 28px; color: var(--green); font-size: 12px; letter-spacing: .2em; }
.page-feature h3 { margin-bottom: 14px; font-family: Georgia, 'Times New Roman', serif; font-size: 25px; font-weight: 400; }
.page-feature p { line-height: 1.65; }
.page-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding: 54px max(48px, calc((100% - 1180px) / 2)); color: #fff; background: linear-gradient(110deg, var(--deep-forest), #075841); }
.page-cta h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(28px, 3vw, 42px); font-weight: 400; }
.contact-details { display: grid; gap: 14px; margin-top: 28px; }
.contact-details a { color: var(--deep-forest); text-underline-offset: 4px; }

.site-footer { background: #fff; }
.foot-grid { display: grid; grid-template-columns: .9fr 1fr 1fr .75fr 1.15fr; align-items: center; min-height: 96px; padding: 14px 52px; font-size: 11px; }
.foot-grid > * { min-height: 54px; padding: 0 28px; border-left: 1px solid #9bad9f; display: flex; flex-direction: column; justify-content: center; }
.foot-grid > :first-child { border-left: 0; padding-left: 0; }
.foot-logo { width: 105px; height: auto; filter: brightness(.55) saturate(1.45); }
.foot-contact { line-height: 1.55; }
.foot-contact a { text-decoration: none; }
.foot-contact .indent { padding-left: 17px; }
.foot-contact p > span:first-child { color: var(--deep-forest); font-size: 9px; margin-right: 8px; }
.social strong { font-size: 11px; margin-bottom: 8px; }
.social p { display: flex; gap: 13px; color: var(--deep-forest); font-size: 19px; font-weight: 700; }
.social p span:first-child { font-size: 12px; border: 2px solid currentColor; border-radius: 2px; padding: 0 2px; height: 17px; line-height: 14px; margin-top: 1px; }
.legal { gap: 8px; }
.legal a { text-decoration: none; }
.foot-bar { min-height: 58px; padding: 0 52px; display: flex; align-items: center; justify-content: space-between; background: linear-gradient(110deg, var(--deep-forest), #075841); color: #fff; font-size: 10px; letter-spacing: .34em; }

a:focus-visible, button:focus-visible { outline: 3px solid #7cb57a; outline-offset: 3px; }
@media (max-width: 1100px) {
  .nav { padding: 0 28px; grid-template-columns: 115px 1fr auto; }
  .nav nav { gap: 18px; font-size: 12px; }
  .pillar-copy { padding-left: 36px; padding-right: 36px; }
  .values, .foot-grid { padding-left: 36px; padding-right: 36px; }
  .foot-grid > * { padding-left: 18px; padding-right: 18px; }
}
@media (max-width: 900px) {
  body.admin-bar .nav { top: 46px; }
  .nav { grid-template-columns: 1fr auto auto; padding: 0 20px; }
  .nav nav { display: none; }
  .nav nav.open { position: absolute; display: flex; flex-direction: column; align-items: stretch; gap: 0; top: 74px; left: 0; right: 0; padding: 10px 20px 18px; background: #fff; box-shadow: 0 10px 20px rgba(0,0,0,.1); }
  .nav nav.open a { padding: 10px 0; }
  .nav-right .lang { display: none; }
  .menu { display: block; margin-left: 14px; }
  .hero { height: 560px; }
  .hero-content { padding: 70px 24px 36px; }
  .hero h1 { font-size: clamp(44px, 13vw, 62px); }
  .hero-aside { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { height: 270px; }
  .values { grid-template-columns: 1fr 1fr; padding: 24px; }
  .values .script { grid-column: 1 / -1; border-left: 0; border-top: 1px solid #9bad9f; padding: 18px 0 0; transform: none; }
  .project { grid-template-columns: 1fr; padding: 36px 24px; }
  .project-grid { grid-template-rows: 250px 72px; }
  .project-grid .main { height: 250px; }
  .project-grid > img:not(.main) { height: 72px; }
  .about { grid-template-columns: 1fr; }
  .about-dark, .about-mid { padding: 36px 24px; }
  .about-photo { min-height: 260px; }
  .page-hero-copy, .page-intro { width: calc(100% - 48px); }
  .page-intro { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .page-features { grid-template-columns: 1fr; }
  .page-feature { min-height: 0; border-right: 0; border-bottom: 1px solid #dce4de; padding: 34px 24px; }
  .page-cta { align-items: flex-start; flex-direction: column; padding: 42px 24px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 0; padding: 20px 24px; }
  .foot-grid > * { border-left: 0; border-top: 1px solid #dfe6e1; padding: 18px 0; }
  .foot-grid > :first-child { border-top: 0; }
  .foot-bar { padding: 16px 24px; gap: 16px; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .nav-right .btn { display: none; }
  .values { grid-template-columns: 1fr; }
  .values .script { grid-column: auto; }
  .project-grid { grid-template-columns: repeat(3, 1fr); grid-template-rows: 220px 64px 58px; }
  .project-grid .main { height: 220px; }
  .project-grid .more { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bar { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
