/* ==========================================================================
   MDesign — quiet paper
   Desktop values are taken from the 1440px Figma frames (content 1200px).
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin + latin-ext) ---------- */
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("assets/fonts/worksans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0152-0153, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2190-2193;
}
@font-face {
  font-family: "Work Sans";
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url("assets/fonts/worksans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-017F, U+0218-021B;
}
@font-face {
  font-family: "Work Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/worksans-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0152-0153, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2190-2193;
}
@font-face {
  font-family: "Work Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/worksans-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-017F, U+0218-021B;
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/lora-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0152-0153, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2190-2193;
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/lora-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-017F, U+0218-021B;
}
@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/lora-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0152-0153, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2190-2193;
}
@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/lora-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-017F, U+0218-021B;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/caveat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0152-0153, U+2013-2014, U+2018-201E, U+2022, U+2026, U+2039-203A, U+20AC, U+2122, U+2190-2193;
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/caveat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-017F, U+0218-021B;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #fbf6ec;
  --ink: #16232e;
  --body: #4a4438;
  --muted: #6b5f45;
  --link: #7a6e53;        /* spec #8a7d5f is 3.76:1 on paper; nudged to pass WCAG AA (4.66:1) */
  --gold: #c9a876;
  --gold-deep: #b39456;   /* process number underline, as sampled from the Figma export */
  --rule: #d6ceba;        /* section hairline, as sampled from the Figma export */
  --card: #fffdf8;
  --card-line: #e3d9c4;

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --shadow-paper: 0 1px 3px 0 rgb(22 35 46 / 0.08), 0 10px 24px -6px rgb(22 35 46 / 0.10);
  --gutter: 120px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }

h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 44px;
  line-height: 1.2;
  color: var(--ink);
}

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  width: min(1200px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}
@media (max-width: 1439px) { :root { --gutter: 48px; } }
@media (max-width: 767px)  { :root { --gutter: 24px; } }

/* Section frame + gold hairline (every section except Hero) */
.section {
  position: relative;
  padding-top: 40px;
}
.section > .wrap::before {
  content: "";
  display: block;
  height: 1px;
  background: var(--rule);
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-block;
  padding: 11px 26px;
  border: 0;
  border-radius: 6px;
  background: var(--ink);
  color: #fbf6ec;
  font-family: var(--sans);
  font-weight: 400;       /* regular in the Figma exports */
  font-size: 17px;
  line-height: 18px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 180ms ease;
}
.btn:hover { opacity: 0.86; }

.link {
  font-size: 14px;
  line-height: 1.4;
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 180ms ease;
}
.link:hover { color: var(--gold); }

/* ==========================================================================
   Header / nav
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  padding-top: 42px;
  padding-right: 24px;
}
.logo { display: block; flex: none; line-height: 0; }
.logo img { width: 143px; height: auto; }

.nav { margin-left: auto; }
.nav-links {
  display: flex;
  gap: 33px;
}
.nav-links a {
  display: block;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 180ms ease;
}
.nav-links a:hover { color: var(--gold); }

.lang {
  display: flex;
  align-items: center;
  margin-left: 41px;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.02em;
}
.lang li + li::before {
  content: "\00B7" / "";
  margin: 0 4px;
  color: var(--muted);
}
.lang a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}
.lang a:hover { color: var(--gold); }
.lang a[aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle [aria-hidden] {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 200ms var(--ease);
}
.nav-toggle[aria-expanded="true"] .vh + span   { transform: translateY(3.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 203px;
  padding-bottom: 150px;
  text-align: center;
}
.eyebrow {
  font-size: 13px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-title {
  width: 680px;
  max-width: 100%;
  margin-top: 61px;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 52px;
  line-height: 67px;
  color: var(--ink);
  text-align: left;
}
.hero-sub {
  margin-top: 71px;
  font-weight: 400;
  color: var(--body);
}
.hero .btn { margin-top: 61.5px; }
.hero .hero-link { margin-top: 31px; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 58px;
  width: 16px;
  height: 28px;
  margin-left: -8px;
  color: var(--ink);
}
.scroll-cue svg { display: block; width: 100%; height: 100%; }

/* ---------- Handwriting entrance (visual only; real text stays in the DOM) ---------- */
/* The real text is painted from the first frame (readers, search engines and
   LCP all see it). A paper-coloured sheet sits on top and is drawn back left to
   right, word by word, so the line appears to be written. Transform-only, so it
   runs on the compositor. */
.motion .hero-title,
.motion .hero-sub { position: relative; }
.motion .hero-sub::after,
.motion .hero-title .w::after {
  content: "";
  position: absolute;
  background: var(--paper);
  transform-origin: 100% 50%;
  pointer-events: none;
}
.motion .hero-sub::after { inset: -0.3em -0.3em -0.4em -0.3em; }
.motion .hero-title .w { position: relative; }
.motion .hero-title .w::after { inset: 0 -0.26em -0.05em -0.1em; } /* Caveat glyphs overhang their advance */
/* safety net: if script.js never runs, uncover the text anyway */
.motion .hero-sub::after,
.motion .hero-title .w::after { animation: uncover 0s linear 3.5s forwards; }
/* each word: the pen starts gently, gathers speed, settles at the end */
.motion .hero-title.is-writing .w::after {
  animation: wipe var(--dur, 200ms) cubic-bezier(0.37, 0.08, 0.63, 0.96) var(--delay, 0ms) forwards;
}
.motion .hero-sub.is-writing::after {
  animation: wipe 700ms cubic-bezier(0.4, 0.1, 0.4, 1) var(--delay, 0ms) forwards;
}
@keyframes wipe { to { transform: scaleX(0); } }
@keyframes uncover { to { visibility: hidden; } }

/* ==========================================================================
   About
   ========================================================================== */
.about { min-height: 1341px; }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(240px, 425px);
  grid-template-areas:
    "head  ."
    "text  photo"
    "cta   .";
  justify-content: space-between;
  padding-left: 34px;
}
.about h2 {
  grid-area: head;
  margin-top: 54px;
  margin-left: 12px;
}
.about-text {
  grid-area: text;
  margin-top: 96px;
}
.about-text p + p { margin-top: 24px; }
.about-text .first { margin-bottom: 45px; }
.about-text .note {
  font-style: italic;
  color: var(--muted);
}
.about-text .mission {
  font-weight: 500;
  color: var(--ink);
}
.about-photo {
  grid-area: photo;
  position: relative;
  align-self: start;
  margin-top: 95px;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 425 / 756;
  object-fit: cover;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 8px;
  box-shadow: var(--shadow-paper);
}
.about-photo figcaption {
  margin-top: 25px;
  margin-left: 2px;
  font-family: var(--hand);
  font-weight: 700;
  font-size: 21.6px;
  line-height: 1.2;
  color: var(--muted);
  transform: rotate(3deg);
  transform-origin: left center;
  width: max-content;
}
.about-cta {
  grid-area: cta;
  justify-self: center;
  margin-top: 187px;
}

/* ---------- Hero → About paper-corner lift (one time) ---------- */
.page-corner {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  /* the flap is clip-pathed, so its shadow lives on the parent */
  filter: drop-shadow(-2px 3px 3px rgb(22 35 46 / 0.14));
}
.page-corner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 64px;
  height: 64px;
  background:
    linear-gradient(225deg,
      var(--paper) 0 50%,
      #efe5d0 50%,
      #f7efe0 78%,
      var(--card) 100%);
  clip-path: polygon(0 0, 100% 100%, 0 100%);
  transform-origin: 100% 0;
  transform: scale(0);
  opacity: 0;
}
.motion .about.is-lifted .page-corner::before {
  animation: corner-lift 1400ms var(--ease) forwards;
}
@keyframes corner-lift {
  0%   { transform: scale(0);    opacity: 0; }
  18%  { opacity: 1; }
  45%  { transform: scale(1);    opacity: 1; }
  100% { transform: scale(0);    opacity: 0; }
}
.motion .about .about-grid { transition: transform 900ms var(--ease); }
.motion .about:not(.is-lifted) .about-grid { transform: translateY(10px); }

/* ==========================================================================
   Projects
   ========================================================================== */
.projects { min-height: 1024px; }
.projects-inner {
  max-width: 1160px;
  margin-left: 23px;
}
.projects h2 { margin-top: 61px; }
.projects-intro {
  max-width: 800px;
  margin-top: 22px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 80px;
}
.card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.card {
  align-self: stretch;
  flex: 1;
  padding: 54px 33px 103px;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 8px;
  box-shadow: var(--shadow-paper);
}
.card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.3;
  color: var(--ink);
  text-align: center;
}
.card p {
  margin-top: 45px;
  font-size: 15px;
  line-height: 23px;
}
.card-item .link { margin-top: 22px; }
.section-cta {
  text-align: center;
  line-height: 1;
}
.projects .section-cta { margin-top: 127px; padding-left: 40px; }

/* ==========================================================================
   Process
   ========================================================================== */
.process { min-height: 1024px; }
.process h2 {
  margin-top: 92px;
  margin-left: 26px;
  color: var(--ink);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 310px)) minmax(0, 1fr);
  margin-top: 82px;
  margin-left: 49px;
}
.step h3 {
  display: flex;
  align-items: baseline;
  gap: 13px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  color: var(--ink);
}
.step-num {
  position: relative;
  font-size: 32px;
  line-height: 1;
  color: var(--muted);
}
.step-num::after {
  content: "";
  position: absolute;
  left: -2px;
  right: -1px;
  bottom: -3px;
  height: 2px;
  background: var(--gold-deep);
  transform-origin: left center;
}
.motion .steps:not(.is-traced) .step-num::after { transform: scaleX(0); }
.motion .steps.is-traced .step-num::after {
  transition: transform 700ms var(--ease);
  transition-delay: calc(var(--i, 0) * 140ms);
}
.step p {
  max-width: 206px;
  margin-top: 22px;
  padding-left: 13.5px;
  font-size: 15px;
  line-height: 23px;
  color: var(--ink);
}
.process-close {
  margin-top: 106px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink);
  text-align: center;
  padding-left: 50px;
}
.process .section-cta { margin-top: 40px; padding-left: 12px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { min-height: 1024px; }
.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.contact-inner::before { align-self: stretch; }
.contact h2 {
  margin-top: 59px;
  font-size: 32px;
  line-height: 1.25;
}
.contact-intro {
  max-width: 600px;
  margin-top: 26px;
  margin-right: 35px; /* Figma frame sits this paragraph ~17px left of centre */
}
.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 480px;
  max-width: 100%;
  margin-top: 56px;
}
.field {
  display: block;
  width: 100%;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--card-line);
  border-radius: 6px;
  font-size: 15px;
  line-height: 22px;
  color: var(--ink);
  text-align: left;
  transition: border-color 180ms ease;
}
.field ~ .field { margin-top: 18px; }
.field::placeholder { color: var(--muted); opacity: 1; }
.field:hover { border-color: #d6c8aa; }
.field:focus { outline: none; border-color: var(--gold); }
.field:focus-visible { outline: none; }
textarea.field {
  height: 120px;
  padding-top: 16px;
  resize: none;
}
.contact-form .btn { margin-top: 42px; margin-left: 16px; }
.contact .wa-link { margin-top: 17px; margin-left: 28px; }
.pricing {
  width: 495px;
  max-width: 100%;
  margin-top: 50.5px;
  margin-left: 16px;
  padding-left: 15px;
  font-size: 15px;
  line-height: 23.7px;
  text-align: left;
}
.reply {
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  padding-top: 40px;
  padding-bottom: 120px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 418px 1fr;
  grid-template-areas:
    "rule  rule"
    "brand social"
    "email copy";
  align-items: start;
  padding-left: 56px;
}
.site-footer .wrap::before {
  content: "";
  grid-area: rule;
  height: 1px;
  margin-left: -56px;
  margin-bottom: 185.5px;
  background: var(--rule);
}
.f-brand {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: max-content;
}
.f-brand img { width: 146px; height: auto; }
.f-brand span {
  margin-top: 1px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}
.f-social {
  grid-area: social;
  display: flex;
  margin-top: 13px;
  font-size: 14px;
  line-height: 20px;
}
.f-social li + li::before {
  content: "\00B7" / "";
  margin: 0 4px;
  color: var(--muted);
}
.f-social a {
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}
.f-social a:hover { color: var(--gold); }
.f-email {
  grid-area: email;
  margin-top: 61px;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  text-decoration: none;
  transition: color 180ms ease;
}
.f-email:hover { color: var(--gold); }
.f-copy {
  grid-area: copy;
  margin-top: 59px;
  font-size: 12px;
  line-height: 20px;
  color: var(--muted);
}

/* ==========================================================================
   Tablet (768–1239): keep the desktop structure, let fixed tracks flex
   ========================================================================== */
@media (max-width: 1239px) {
  .about-grid { padding-left: 0; column-gap: 56px; grid-template-columns: minmax(0, 1fr) minmax(220px, 36%); }
  .projects-inner { margin-left: 0; }
  .process h2 { margin-left: 0; }
  .steps { margin-left: 0; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 24px; }
  .process-close { padding-left: 0; }
  .footer-grid { padding-left: 0; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-footer .wrap::before { margin-left: 0; }
}
@media (max-width: 1023px) {
  .nav-links { gap: 24px; }
  .lang { margin-left: 28px; }
  .cards { gap: 24px; }
  .card { padding: 40px 24px 72px; }
  .card p { margin-top: 32px; }
}

/* ==========================================================================
   Mobile (< 768)
   ========================================================================== */
@media (max-width: 767px) {
  body { font-size: 16px; }
  h2 { font-size: 30px; line-height: 1.25; }

  .about, .projects, .process, .contact { min-height: 0; }
  .section { padding-top: 0; }
  .section > .wrap { padding-bottom: 72px; }

  /* header: logo — language — hamburger */
  .site-header { padding-top: 24px; padding-right: 0; }
  .logo img { width: 112px; }
  .nav { margin-left: 0; order: 3; }
  .lang { margin-left: auto; font-size: 13px; order: 2; }
  .nav-toggle { display: block; margin-left: 12px; order: 4; }
  .nav-links {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    background: var(--card);
    border: 1px solid var(--card-line);
    border-radius: 8px;
    box-shadow: var(--shadow-paper);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
  }
  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s;
  }
  .nav-links a { padding: 12px 20px; font-size: 17px; }

  /* hero */
  .hero-inner { padding-top: 132px; padding-bottom: 120px; }
  .eyebrow { margin-left: 0; }
  .hero-title {
    width: 300px;
    margin-top: 40px;
    font-size: 31px;
    line-height: 1.12;
    text-wrap: pretty;
  }
  .hero-sub { margin-top: 36px; max-width: 342px; }
  .hero .btn { margin-top: 40px; }
  .hero .hero-link { margin-top: 24px; }
  .scroll-cue { bottom: 32px; }

  /* dividers + section spacing */
  .section > .wrap::before { margin-bottom: 0; }

  /* about: heading → text → photo + note → link */
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "text" "photo" "cta";
    padding-left: 0;
  }
  .about h2 { margin: 72px 0 0; }
  .about-text { margin-top: 32px; }
  .about-text p + p { margin-top: 20px; }
  .about-text .first { margin-bottom: 12px; }
  .about-photo { margin-top: 48px; }
  .about-photo figcaption { font-size: 20px; margin-top: 20px; }
  .about-cta { margin-top: 48px; }

  /* projects */
  .projects h2 { margin-top: 72px; }
  .projects-intro { margin-top: 16px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 36px; margin-top: 44px; }
  .card { padding: 36px 24px 44px; }
  .card p { margin-top: 24px; }
  .card-item .link { margin-top: 16px; }
  .projects .section-cta { margin-top: 56px; }

  /* process */
  .process h2 { margin-top: 72px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 36px; margin-top: 44px; }
  .step p { max-width: none; margin-top: 18px; }
  .process-close { margin-top: 56px; font-size: 20px; }
  .process .section-cta { margin-top: 32px; }

  /* contact */
  .contact h2 { margin-top: 72px; font-size: 26px; }
  .contact-intro { margin-top: 16px; }
  .contact-form { width: 100%; margin-top: 36px; }
  .contact-form .btn { margin-top: 32px; }
  .pricing { width: 100%; margin-top: 40px; padding-left: 0; }
  .reply { margin-top: 28px; }

  /* footer: logo → Brussels → social → email → copyright, left-aligned */
  /* footer: side by side — logo + city left; socials, email, © right */
  .site-footer { padding-top: 0; padding-bottom: 56px; }
  .footer-grid {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "rule  rule"
      "brand social"
      "brand email"
      "brand copy";
    column-gap: 32px;
  }
  .site-footer .wrap::before { margin-bottom: 64px; }
  .f-brand img { width: 112px; }
  .f-brand span { margin-top: 2px; }
  .f-social { margin-top: 6px; font-size: 14px; white-space: nowrap; }
  .f-email { margin-top: 12px; font-size: 14px; }
  .f-copy { margin-top: 12px; }
}

@media (max-width: 359px) {
  .lang { font-size: 12px; }
  .lang li + li::before { margin: 0 2px; }
  .logo img { width: 96px; }
  .footer-grid { column-gap: 20px; }
  .f-brand img { width: 96px; }
  .f-social, .f-email { font-size: 13px; }
  .f-social li + li::before { margin: 0 3px; }
}
