/*
Theme Name: Foppen Onepager
Description: Eén pagina voor Foppen Vastgoedbeheer & Projectmanagement met de originele FVP-huisstijl.
Template: twentytwentyfive
Version: 1.1.0
Requires at least: 6.9
Requires PHP: 8.3
Text Domain: foppen-onepager
*/

@font-face {
    font-family: "DM Sans";
    src: url("assets/dm-sans.woff2") format("woff2");
    font-display: swap;
    font-weight: 400 700;
}

:root {
    --blue: #2b3085;
    --green: #0e854b;
    --orange: #e9580c;
    --ink: #232532;
    --muted: #515565;
    --line: #dfe1e9;
    --soft: #f4f5f8;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: white; color: var(--ink); font: 1rem/1.65 "DM Sans", system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.07; letter-spacing: -.045em; }
h1 { font-size: clamp(2.2rem, 5.6vw, 5rem); }
h2 { font-size: clamp(2.1rem, 4.7vw, 3.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--orange); outline-offset: 5px; }
.wrap { width: min(100% - 5rem, 71rem); margin-inline: auto; }
.skip { position: absolute; z-index: 10; background: white; padding: .7rem 1rem; top: .5rem; left: .5rem; transform: translateY(-200%); }
.skip:focus { transform: none; }

.site-header { background: white; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.brand img, .custom-logo { width: clamp(6rem, 12vw, 9.75rem); height: auto; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem clamp(.75rem, 3vw, 2.3rem); }
nav a { font-size: .92rem; font-weight: 700; text-decoration: none; color: var(--blue); }
nav a:hover { text-decoration: underline; }

.hero { background: var(--blue); color: white; }
.hero-photo { background: #202331; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 1600 / 776; max-height: 34rem; object-fit: cover; object-position: 50% 56%; }
.hero-copy { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.7rem; padding-block: clamp(1.55rem, 4.1vw, 3.4rem); }
.hero-name > p { color: #fff; font-size: .87rem; font-weight: 700; letter-spacing: .06em; margin-bottom: .7rem; }
.hero-action { padding-bottom: .15rem; max-width: 15rem; }
.hero-action p { margin-bottom: .85rem; }
.button { display: inline-flex; align-items: center; gap: 1.35rem; padding: .7rem 1rem; background: white; color: var(--blue); text-decoration: none; font-weight: 700; white-space: nowrap; }
.button:hover { background: #ffeadf; }

.about { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 8vw, 8rem); align-items: center; padding-block: clamp(3rem, 8vw, 7rem); }
.portrait { position: relative; }
.portrait::after { content: ""; display: block; height: .36rem; background: linear-gradient(to right, var(--orange) 0 33.33%, var(--green) 33.33% 66.67%, var(--blue) 66.67%); }
.portrait img { width: 100%; height: auto; aspect-ratio: 1 / 1.08; object-fit: cover; object-position: 50% 37%; }
.about h2, .services h2, .contact h2 { color: var(--blue); }
.about h2 { margin-bottom: 1rem; }
.prose { font-size: clamp(1rem, 1.65vw, 1.2rem); color: var(--muted); }
.prose p + p { margin-top: .85rem; }

.services { background: var(--soft); padding-block: clamp(2.7rem, 7vw, 6rem); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3.2vw, 3rem); margin-top: clamp(1.5rem, 3.4vw, 3rem); }
.service-grid article { border-top: .24rem solid var(--blue); padding-top: 1.15rem; }
.service-grid article:nth-child(1) { border-color: var(--orange); }
.service-grid article:nth-child(2) { border-color: var(--green); }
.service-grid h3 { margin-bottom: .65rem; color: var(--ink); }
.service-grid p { color: var(--muted); }

.contact { padding-block: clamp(2.7rem, 7vw, 6rem); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.5rem; }
.contact p { color: var(--muted); margin-top: .65rem; }
.contact address { border-left: 1px solid var(--line); padding-left: clamp(1.25rem, 4vw, 3rem); display: grid; justify-items: start; gap: .35rem; font-style: normal; }
.contact address a { color: var(--blue); font-size: 1.2rem; font-weight: 700; }
.contact address span { margin-top: .4rem; color: var(--muted); }

.site-footer { color: var(--ink); background: var(--soft); border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; column-gap: 1.4rem; row-gap: .4rem; font-size: .86rem; padding-block: 1rem; }

@media (max-width: 720px) {
    .wrap { width: min(100% - 2rem, 71rem); }
    .hero-copy { flex-direction: column; align-items: flex-start; gap: .85rem; }
    .hero-action { max-width: none; }
    .about, .contact-grid { grid-template-columns: 1fr; }
    .about { gap: 1.45rem; }
    .portrait { width: min(100%, 23rem); }
    .service-grid { grid-template-columns: 1fr; }
    .contact address { border: 0; padding: 0; }
}
@media (max-width: 345px) {
    .masthead { gap: .6rem; }
    nav { column-gap: .55rem; }
    nav a { font-size: .82rem; }
}
