:root {
  --font: "Aharoni", Arial, sans-serif;
  --font-display: "Aharoni", Arial, sans-serif;
  --bg: #fbfaf6;
  --surface: #f4f0e5;
  --surface-strong: #e2d8bc;
  --accent: #d4c49b;
  --accent-dark: #8f7942;
  --text: #24221e;
  --muted: #6b675e;
  --border: rgba(36, 34, 30, 0.12);
  --white: #ffffff;
  --shadow: 0 1.5rem 4rem rgba(74, 62, 35, 0.10);
  --shadow-small: 0 0.75rem 2rem rgba(74, 62, 35, 0.08);
  --radius: 1.75rem;
  --radius-large: 3rem;
  --container: 70rem;
  --header-height: 5.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

h2,
h3,
nav,
button,
.btn,
.eyebrow,
.qualification-label,
.language-switcher,
.mobile-language-switcher {
  hyphens: none;
  -webkit-hyphens: none;
}

html[lang^="fr"] {
  hyphens: none;
  -webkit-hyphens: none;
}

html[lang^="fr"] * {
  hyphens: none !important;
  -webkit-hyphens: none !important;
  overflow-wrap: normal;
  word-break: normal;
}

html[lang^="en"] .hero-copy h1, .lead {
  hyphens: none !important;
  -webkit-hyphens: none !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
}

address {
  font-style: normal;
}

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 5000;
  transform: translateY(-200%);
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--text);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible {
  outline: 0.1875rem solid var(--accent-dark);
  outline-offset: 0.1875rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-height);
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(1rem);
  border-bottom: 0.0625rem solid var(--border);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 15rem;
  max-width: 42vw;
  height: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a {
  position: relative;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.4rem;
  left: 0;
  height: 0.0625rem;
  background: var(--accent-dark);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-desktop a:hover {
  color: var(--text);
}

.nav-desktop a:hover::after {
  transform: scaleX(1);
}

/* Language */

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--muted);
  white-space: nowrap;
}

.language-switcher button {
  padding: 0.2rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.language-switcher button:hover {
  color: var(--text);
}

.language-switcher button.is-active {
  color: var(--accent-dark);
  font-weight: 700;
}

.language-switcher span {
  color: var(--border);
}

/* Mobile navigation */

.hamburger {
  display: none;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  padding: 0.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hamburger {
  display: none;
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  padding: 0.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hamburger-box {
  position: relative;
  display: block;
  width: 1.75rem;
  height: 1.125rem;
  margin: auto;
}

.hamburger-inner {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 99rem;
  transform: translateY(-50%);
  box-shadow: 0 -7px 0 var(--text), 0 7px 0 var(--text);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 99rem;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger[aria-expanded="true"] .hamburger-inner {
  background: transparent;
  box-shadow: none;
  transform: translateY(-50%);
}

.hamburger[aria-expanded="true"] .hamburger-inner::before {
  opacity: 1;
  transform: rotate(45deg);
}

.hamburger[aria-expanded="true"] .hamburger-inner::after {
  opacity: 1;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: var(--header-height) 0 0;
  z-index: 900;
  background: var(--bg);
  opacity: 0;
  transform: translateY(-1rem);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  padding: 5rem 2rem 2rem;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 2rem;
  text-decoration: none;
}

.mobile-language-switcher {
  justify-content: center;
  margin-top: 1rem;
}

/* Common */

.section {
  padding: 6rem 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-head {
  max-width: 46rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head h2,
.about-content h2,
.contact-intro h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
}

.section-head > p:last-child {
  max-width: 42rem;
  margin: 1.25rem auto 0;
  color: var(--muted);
}

/* Buttons */

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn {
  width: 14rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border: 0.0625rem solid transparent;
  border-radius: 999rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-0.125rem);
}

.btn.primary {
  background: var(--text);
  color: var(--white);
}

.btn.primary:hover {
  background: var(--accent-dark);
}

.btn.secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.4);
}

.btn.secondary:hover {
  border-color: var(--accent);
  background: var(--surface);
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 4vw, 4rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.hero-copy h1 span {
  color: var(--accent-dark);
}

.lead {
  max-width: 45rem;
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 1.075rem;
}

.hero-decoration {
  position: absolute;
  border-radius: 999rem;
  pointer-events: none;
}

.hero-decoration-left {
  top: 8rem;
  left: -10rem;
  width: 22rem;
  height: 22rem;
  background: var(--surface-strong);
  opacity: 0.6;
}

.hero-decoration-right {
  right: -10rem;
  bottom: -12rem;
  width: 30rem;
  height: 30rem;
  border: 5rem solid var(--surface-strong);
  opacity: 0.6;
}

/* Services */

.services {
  background: var(--surface);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service-card {
  padding: 2rem;
  border: 0.0625rem solid rgba(143, 121, 66, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-0.25rem);
  background: var(--white);
  box-shadow: var(--shadow-small);
}

.service-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
}

.service-card p {
  max-width: 32rem;
  margin: 0.75rem 0 0;
  color: var(--muted);
}

/* About */

.about {
  overflow: hidden;
}

.about-wrapper {
  width: min(calc(100% - 2.5rem), 60rem);
}

.about-heading {
  margin-left: 16.75rem;
  margin-bottom: 2.25rem;
}

.about-heading h2 {
  max-width: 38rem;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
}

.about-main {
  display: grid;
  grid-template-columns: 12.5rem minmax(0, 1fr);
  gap: 4.25rem;
  align-items: stretch;
}

.about-image {
  position: relative;
  max-width: 10rem;
}

.about-image::before {
  content: "";
  position: absolute;
  top: 0.75rem;
  right: -0.75rem;
  bottom: -0.75rem;
  left: 0.75rem;
  background: var(--surface-strong);
  border-radius: var(--radius-large) 0 var(--radius-large) 0;
}

.about-image-inner {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: var(--radius-large) 0 var(--radius-large) 0;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.about-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-text p {
  margin: 0;
  color: var(--muted);
}

.about-text .about-lead {
  color: var(--text);
  font-size: 1.1rem;
}

.about-text p + p {
  margin-top: 1.25rem;
}
.about-bottom {
  margin-left: 16.75rem;
}

.qualification {
  display: flex;
  flex-direction: column;
  margin: 2rem 0;
  padding: 1.5rem;
  border-left: 0.2rem solid var(--accent);
  background: var(--surface);
}

.qualification-label {
  margin-bottom: 0.65rem;
  color: var(--accent-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.qualification strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.qualification span:last-child {
  margin-top: 0.2rem;
  color: var(--muted);
}

/* Contact */

.contact {
  padding-top: 3rem;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 0.0625rem solid rgba(143, 121, 66, 0.16);
  border-radius: var(--radius-large);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}

.contact-intro,
.contact-details {
  padding: 4rem;
}

.contact-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--surface);
  color: var(--text);
}

.contact-intro .eyebrow {
  color: rgba(36, 34, 30, 0.65);
}

.contact-intro p:last-child {
  max-width: 31rem;
  margin: 1.5rem 0 0;
}

.contact-details {
  display: grid;
  gap: 1.5rem;
  background: var(--surface-strong);
  color: var(--text);
}

.contact-item {
  display: flex;
  flex-direction: column;
  padding-bottom: 1.25rem;
  border-bottom: 0.0625rem solid rgba(36, 34, 30, 0.15);
}

.contact-label {
  margin-bottom: 0.35rem;
  color: var(--accent-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-item a {
  color: var(--text);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

.contact-button {
  justify-self: start;
  margin-top: 0.5rem;
  background: var(--text);
  color: var(--white);
}

.contact-button:hover {
  background: var(--accent-dark);
}

/* Footer */

.site-footer {
  padding: 0 0 2rem;
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--muted);
  font-size: 1rem;
}

.footer-company,
.footer-links {
  display: flex;
  flex-direction: column;
}

.footer-links {
  align-items: flex-end;
}

.footer-company a,
.footer-links {
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
}

.footer-company a:hover,
.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
}

.footer-links a {
  text-decoration: none;
}

/* Legal modal */

.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal[hidden] {
  display: none;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 34, 30, 0.72);
  backdrop-filter: blur(0.3rem);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 50rem);
  max-height: calc(100vh - 3rem);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-bottom: 0.0625rem solid var(--border);
  background: var(--surface);
}

.modal-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
}

.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: var(--surface-strong);
}

.modal-content {
  max-height: calc(100vh - 9rem);
  overflow-y: auto;
  padding: 2rem;
}

.modal-content h3 {
  margin: 2rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.modal-content h3:first-child {
  margin-top: 0;
}

.modal-content p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.modal-content a {
  color: var(--text);
}

/* Responsive */

@media (max-width: 1000px) {
  .header-right {
    gap: 1rem;
  }

  .nav-desktop {
    gap: 1.25rem;
  }
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }

  .header-right > .language-switcher {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .about-wrapper {
    width: min(calc(100% - 2.5rem), var(--container));
  }

  .about-heading {
    margin-left: 0;
  }

  .about-main {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image {
    width: 11rem;
    height: 13rem;
    min-height: 0;
    margin: 0 auto;
  }

  .about-image-inner {
    position: relative;
    height: 100%;
  }

  .about-bottom {
    margin-left: 0;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .mobile-language-switcher {
    justify-content: center;
    margin-top: 1.25rem;
    gap: 0.6rem;
  }

  .mobile-language-switcher button {
    font-size: 1.5rem;
    padding: 0.3rem;
  }

  .mobile-language-switcher span {
    font-size: 1rem;
  }
}

@media (max-width: 650px) {
  :root {
    --header-height: 4.75rem;
  }

  .container {
    width: min(calc(100% - 2rem), var(--container));
  }

  .brand-logo {
    width: 11rem;
    max-width: 65vw;
  }

  .section {
    padding: 2.5rem 0;
  }

  .hero {
    padding: 2.75rem 0 3.5rem;
  }

  .hero-copy {
    min-width: 0;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.05;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .lead {
    max-width: 100%;
    font-size: 1rem;
  }

  .cta-row {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .contact-intro,
  .contact-details {
    padding: 2.25rem 1.5rem;
  }

  .contact-button {
    width: 100%;
  }

  .site-footer {
    padding: 0.5rem 0 2rem;
  }

  .footer-inner,
  .footer-links,
  .footer-company {
    flex-direction: column;
    align-items: center;
  }

  .footer-inner {
    text-align: center;
  }

  .modal {
    padding: 0;
  }

  .modal-dialog {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }

  .modal-header {
    padding: 1.25rem;
  }

  .modal-content {
    max-height: calc(100vh - 5rem);
    padding: 1.5rem 1.25rem 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}