/* Frederique Home. Modelled on the old WordPress site (Elementor). Colours from its CSS:
   primary #8BB2C1, dark #608796, light #E7F1F4, box #81A5B3. System fonts only. */
:root {
  --primary: #8bb2c1;
  --dark: #608796;
  --light: #e7f1f4;
  --box: #81a5b3;
  --ink: #4f6f7c;
  --sans: "Avenir Next", Avenir, "Century Gothic", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --script: "Snell Roundhand", "Apple Chancery", "Segoe Script", "Brush Script MT", cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 1rem/1.6 var(--sans); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dark); }
a:hover { color: var(--primary); }
:focus-visible { outline: 3px solid var(--dark); outline-offset: 3px; }
.wrap { width: min(100% - 32px, 1140px); margin-inline: auto; }
.nowrap { white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--dark); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { top: 8px; }
h1, h2, h3 { color: var(--primary); font-weight: 500; line-height: 1.2; letter-spacing: 0.02em; }

/* Header */
.site-header { background: #fff; position: relative; z-index: 10; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 140px; padding-block: 16px; }
.logo { text-decoration: none; }
.sitename { display: block; font: 500 1.5rem/1.1 var(--sans); color: var(--primary); text-transform: uppercase; letter-spacing: 0.08em; }
.header-tools { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.lang-switches { display: flex; gap: 2px; }
.lang-switch { padding: 2px 8px; font-size: 12px; text-transform: uppercase; color: var(--primary); text-decoration: none; }
.lang-switch[aria-current="true"], .lang-switch:hover { color: var(--dark); }
.nav-desktop ul { list-style: none; margin: 0; padding: 0; display: flex; }
.nav-desktop a { display: block; padding: 6px 10px; font-size: 17px; text-transform: uppercase; color: var(--primary); text-decoration: none; letter-spacing: 0.02em; }
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--dark); }
.nav-mobile { display: none; }

/* Content */
.content { padding-block: 0 100px; }
.content > .cta:last-child { margin-bottom: -100px; }
.full { width: 100vw; margin-left: calc(50% - 50vw); }
section { margin-block: 100px; }
.more a, .cta-link a { text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.85rem; }
.more a:hover { text-decoration: underline; }

/* Home: slideshow images (no JavaScript, shown as one large image and a row) */
.slides { margin-top: 0; }
.slide-main { width: 100%; height: 80vh; object-fit: cover; }
.slide-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 6px; }
.slide-strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.intro { max-width: 560px; margin-inline: auto; text-align: center; }
.intro .more { margin-top: 2em; }

.quote-box { background: var(--box); color: #fff; padding: 50px 40px; }
.quote-box p { margin: 0 0 0.6em; }
.quote-box em, .script-quote, .quote-box p:last-of-type:not(.more) { font-family: var(--script); font-style: normal; }
.quote-box em { font-size: 1.6rem; line-height: 1.7; }
.quote-box p:nth-of-type(2) { font-size: 1.4rem; }
.quote-box .more { margin-top: 1.5em; font-family: var(--sans); font-size: 1rem; }
.quote-box a { color: #fff; }

.quote-feature { display: grid; grid-template-columns: 7fr 5fr; align-items: start; }
.quote-feature .quote-box { grid-column: 1; grid-row: 1; margin-top: 180px; position: relative; z-index: 1; }
.quote-feature .framed-dark { grid-column: 2; grid-row: 1; margin-left: -60px; }
.framed-dark { border: 14px solid var(--dark); }
.framed-dark img, .framed-light img { width: 100%; }
.framed-light { background: var(--light); padding: 22px; }

.feature { display: grid; grid-template-columns: 2fr 3fr; align-items: center; position: relative; }
.feature::before { content: ""; position: absolute; left: 0; width: 20%; height: 50%; top: 25%; background: var(--box); z-index: -1; }
.feature-text { background: var(--box); color: #fff; padding: 40px 36px; }
.feature-text h2 { color: #fff; font-size: 1.4rem; margin: 0 0 0.6em; text-transform: uppercase; }
.feature-text p { margin: 0; font-size: 0.95rem; }
.feature-img { padding-left: 10%; }
.feature.reverse { grid-template-columns: 3fr 2fr; }
.feature.reverse .feature-img { order: 2; padding: 0 10% 0 0; }
.feature.reverse::before { left: auto; right: 0; }

/* Projects (cards with a hover layer, as on the old site) */
.projects-band { background: var(--light); padding-block: 60px; }
.band-inner { width: min(100% - 32px, 1140px); margin-inline: auto; }
.band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.band-head h2 { font-size: 3em; margin: 0 0 24px; text-transform: uppercase; }
.project-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.content > .project-grid { margin-top: 20px; }
.project-card { position: relative; display: block; height: 60vh; min-height: 320px; overflow: hidden; color: #fff; text-decoration: none; }
.project-card img { width: 100%; height: 100%; object-fit: cover; }
.project-card-text { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; background: var(--box); opacity: 0; transition: opacity 0.3s; }
.project-card:hover .project-card-text, .project-card:focus-visible .project-card-text { opacity: 1; }
.project-card-title { font-size: 38px; line-height: 1.1; font-weight: 500; }
.project-card-sub { font-size: 16px; margin-top: 8px; }
.project-card:hover { color: #fff; }

.about-teaser { display: grid; grid-template-columns: 5fr 7fr; align-items: start; }
.about-teaser .framed-side { grid-column: 1; grid-row: 1; box-shadow: -24px 24px 0 var(--light); position: relative; z-index: 1; }
.about-teaser .quote-box { grid-column: 2; grid-row: 1; margin: 60px 0 0 -120px; padding-left: 160px; }

.cta { background: url("/img/exterior-6-e1630937960131.jpg") center / cover; padding: 110px 16px; text-align: center; color: #fff; margin-bottom: 0; }
.cta-link a { color: #fff; font-size: 2.6rem; letter-spacing: 0.02em; }
.cta p { margin: 0.4em 0; }

/* Concept */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .framed-dark { border-width: 0 0 0 14px; border-top: 14px solid var(--dark); margin-top: 40px; }
.split-text h2 { font-size: 3em; margin: 0 0 0.4em; }
.split-text p { font-size: 0.95rem; }
.steps p { margin: 0.2em 0; }
.tip { max-width: 760px; margin-inline: auto; text-align: center; font-size: 0.9rem; }

/* Frederique */
.about-hero { min-height: 45vw; background: url("/img/about.jpg") center / cover; margin-bottom: 0; }
.about-text { max-width: 1060px; margin-inline: auto; padding-inline: 15%; color: var(--primary); }
.script-quote { margin: 2em 0 0; font-size: 1.9rem; line-height: 1.6; color: var(--primary); }
.script-quote p { margin: 0; }

/* Contact */
.contact-hero { background: url("/img/interior-7-3.jpg") bottom center / cover; padding: 120px 16px; margin-top: 0; }
.contact-box { background: rgba(255, 255, 255, 0.9); max-width: 520px; margin-left: max(16px, calc(50% - 570px)); padding: 40px; }
.contact-box h1 { margin-top: 0; font-size: 3em; }
.contact-more { max-width: 760px; margin-inline: auto; text-align: center; }
.quote-plain { margin: 0 0 2em; font-family: var(--script); font-size: 1.6rem; line-height: 1.6; color: var(--primary); }
.connect { margin-top: 3em; text-transform: uppercase; color: var(--primary); }

/* Project pages */
.project-head { margin-block: 20px 40px; }
.project-head h2 { font-size: 3em; margin: 0 0 0.3em; text-transform: uppercase; }
.placeholder { font-style: italic; }
.gallery { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 10px; }
.gallery li { break-inside: avoid; margin-bottom: 10px; }
.gallery img { width: 100%; }

/* Social links */
.social { list-style: none; margin: 0.6em 0; padding: 0; display: flex; gap: 10px; justify-content: center; }
.social a { display: inline-block; padding: 4px 12px; border-radius: 30px; background: var(--light); color: var(--primary); text-decoration: none; font-size: 0.85rem; }
.social a:hover { color: var(--dark); }

/* Footer */
.site-footer { background: var(--light); padding: 30px 0; color: var(--primary); }
.footer-cols { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-contact h2 { font-size: 2em; margin: 0 0 0.3em; }
.footer-contact p { margin: 0; font-size: 0.9rem; }
.footer-contact a, .site-footer a { color: var(--primary); }
.footer-brand { text-align: center; }
.footer-brand h2 { font-size: 1.6em; margin: 0; }
.footer-brand .social a { background: #fff; }
.rights { font-size: 12px; margin: 0.4em 0 0; }

/* Small screens */
@media (max-width: 900px) {
  .header-row { min-height: 90px; }
  .nav-desktop { display: none; }
  .nav-mobile { display: block; position: relative; }
  .nav-mobile summary { cursor: pointer; list-style: none; padding: 6px 12px; color: var(--dark); text-transform: uppercase; border: 1px solid var(--primary); }
  .nav-mobile summary::-webkit-details-marker { display: none; }
  .nav-mobile nav { position: absolute; right: 0; top: calc(100% + 6px); background: var(--dark); min-width: 200px; }
  .nav-mobile ul { list-style: none; margin: 0; padding: 6px 0; }
  .nav-mobile a { display: block; padding: 10px 16px; color: #fff; text-decoration: none; text-transform: uppercase; }
  section { margin-block: 60px; }
  .slide-main { height: 55vh; }
  .slide-strip { grid-template-columns: repeat(3, 1fr); }
  .quote-feature, .feature, .feature.reverse, .about-teaser, .split { grid-template-columns: 1fr; gap: 0; }
  .quote-feature .quote-box, .quote-feature .framed-dark, .about-teaser .framed-side, .about-teaser .quote-box { grid-column: 1; grid-row: auto; margin: 0; }
  .about-teaser .quote-box { padding-left: 40px; }
  .feature-img, .feature.reverse .feature-img { padding: 0; order: 0; }
  .feature::before { display: none; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { height: 50vh; }
  .project-card-text { opacity: 1; background: linear-gradient(transparent 40%, rgba(96, 135, 150, 0.9)); }
  .band-head h2, .split-text h2, .project-head h2, .contact-box h1 { font-size: 2.1em; }
  .about-text { padding-inline: 0; }
  .cta-link a { font-size: 1.8rem; }
  .contact-box { padding: 24px; }
}
