/* ===== Fonts ===== */
@font-face {
  font-family: "Noto Serif Display";
  src: url("../fonts/NotoSerifDisplay-VariableFont_wdth,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 25% 151%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ===== Design tokens ===== */
:root {
  --blush: #dec9c2;
  --blush-light: #f2e9e5;
  --taupe: #948e8d;
  --taupe-dark: #6f6a68;
  --ink: #2a2624;
  --cream: #faf6f3;
  --white: #ffffff;

  --font-title: "Noto Serif Display", serif;
  --font-body: "Montserrat", sans-serif;

  --container-width: 1160px;
  --section-padding: clamp(4rem, 8vw, 7rem);
}

/* ===== Reset ===== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  font-weight: 350;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.75rem;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin: 0 0 1rem;
}
.eyebrow--light { color: var(--blush); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.95rem 2.1rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}
.btn--light {
  background: var(--white);
  color: var(--ink);
}
.btn--light:hover { background: var(--blush); }
.btn--dark {
  background: var(--ink);
  color: var(--white);
}
.btn--dark:hover { background: var(--taupe-dark); }
.btn--blush {
  background: var(--blush);
  color: var(--ink);
}
.btn--blush:hover { background: var(--taupe); color: var(--white); }

section[id] {
  scroll-margin-top: 90px;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.is-scrolled {
  background: var(--white);
  box-shadow: 0 1px 0 rgba(148, 142, 141, 0.2);
  padding: 0.7rem 0;
}
.site-header--legal {
  background: var(--taupe);
  box-shadow: 0 1px 0 rgba(148, 142, 141, 0.2);
  padding: 0.7rem 0;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.site-header__logo img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}
.site-header.is-scrolled .site-header__logo img {
  filter: none;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 2.1rem;
}
.site-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.3s ease, opacity 0.2s ease;
}
.site-header.is-scrolled .site-nav a { color: var(--ink); }
.site-nav a:hover { opacity: 0.65; }
.site-nav__cta {
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--white);
}
.site-header.is-scrolled .site-nav__cta { border-color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 38, 36, 0.6) 0%, rgba(42, 38, 36, 0.5) 40%, rgba(42, 38, 36, 0.88) 100%);
}
.hero__content {
  position: relative;
  color: var(--white);
  padding-top: 8rem;
  padding-bottom: 5rem;
  max-width: 780px;
}
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero__lead {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--blush-light);
  margin-bottom: 1.5rem;
}
.hero__body {
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 620px;
}
.hero .btn { margin-top: 1.5rem; }

/* ===== About ===== */
.about {
  padding: var(--section-padding) 0;
  background: var(--white);
}
.about__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
}
.about__content p { color: var(--taupe-dark); }

/* ===== Values ===== */
.values {
  padding: var(--section-padding) 0;
  background: var(--blush-light);
}
.values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.value-card { text-align: left; }
.value-card__icon {
  height: 56px;
  width: auto;
  margin-bottom: 1.5rem;
}
.value-card h3 { margin-bottom: 0.75rem; }
.value-card p { color: var(--taupe-dark); font-size: 0.95rem; }

/* ===== Method ===== */
.method {
  padding: var(--section-padding) 0;
  background: var(--white);
  text-align: center;
}
.method .eyebrow, .method h2 { text-align: center; }
.method h2 { max-width: 640px; margin-left: auto; margin-right: auto; }
.method__steps {
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.method__step {
  position: relative;
  padding: 0 1.25rem;
}
.method__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0.75rem;
  right: -0.5rem;
  width: 1px;
  height: calc(100% - 3.5rem);
  background: var(--blush);
}
.method__number {
  display: block;
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--taupe);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.method__step h3 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}
.method__step p { color: var(--taupe-dark); font-size: 0.92rem; }

/* ===== Artistic direction ===== */
.artistic {
  padding: var(--section-padding) 0;
  background: var(--cream);
}
.artistic__intro {
  max-width: 680px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.artistic__intro .eyebrow { text-align: center; }
.artistic__intro p { color: var(--taupe-dark); }

/* ===== Galleries ===== */
.gallery {
  display: grid;
  gap: 0.9rem;
}
.gallery--detail {
  grid-template-columns: repeat(5, 1fr);
}
.gallery--realisations {
  grid-template-columns: repeat(3, 1fr);
}
.gallery__item {
  position: relative;
  display: block;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 3 / 4;
}
.gallery--realisations .gallery__item { aspect-ratio: 4 / 3; }
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item::after {
  content: attr(data-caption);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.9rem 1rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--white);
  background: linear-gradient(180deg, rgba(42, 38, 36, 0) 0%, rgba(42, 38, 36, 0.72) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery__item:hover::after { opacity: 1; }

/* ===== Services ===== */
.services {
  padding: var(--section-padding) 0;
  background: var(--white);
}
.services h2 { max-width: 620px; }
.services__grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
}
.services__col h3 { margin-bottom: 1.5rem; }
.services__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem 1.5rem;
}
.services__list li {
  font-size: 0.92rem;
  color: var(--taupe-dark);
  padding-left: 1.1rem;
  position: relative;
}
.services__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--blush);
  border-radius: 50%;
}
.services__col p { color: var(--taupe-dark); }
.services__materials {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.services__materials img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 2px;
}

/* ===== Realisations ===== */
.realisations {
  padding: var(--section-padding) 0;
  background: var(--cream);
}
.realisations h2 { max-width: 620px; }

/* ===== Contact ===== */
.contact {
  padding: var(--section-padding) 0;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}
.contact__inner { max-width: 620px; margin: 0 auto; }
.contact .eyebrow { color: var(--blush); text-align: center; }
.contact h2 { color: var(--white); }
.contact p { color: rgba(255, 255, 255, 0.75); }
.contact .btn { margin-top: 1.75rem; }

/* ===== Footer ===== */
.site-footer {
  background: var(--taupe-dark);
  color: var(--blush-light);
  padding: 3rem 0 2rem;
}
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}
.site-footer__logo {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
}
.site-footer__nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blush-light);
  opacity: 0.85;
}
.site-footer__nav a:hover { opacity: 1; }
.site-footer__copy {
  font-size: 0.75rem;
  opacity: 0.65;
  margin: 0;
}

/* ===== Legal page ===== */
.legal-hero {
  padding: 10rem 0 3rem;
  background: var(--cream);
}
.legal-hero h1 { max-width: 700px; }
.legal {
  padding: 0 0 var(--section-padding);
  background: var(--white);
}
.legal__content {
  max-width: 760px;
}
.legal__content h2 {
  font-size: 1.35rem;
  margin-top: 2.75rem;
}
.legal__content h2:first-child { margin-top: 0; }
.legal__content p,
.legal__content li {
  color: var(--taupe-dark);
  font-size: 0.98rem;
}
.legal__content ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  list-style: disc;
}
.legal__content li { margin-bottom: 0.4rem; }
.legal__content a { text-decoration: underline; text-underline-offset: 2px; color: var(--ink); }
.legal__placeholder {
  background: var(--blush-light);
  padding: 0 0.3em;
  border-radius: 2px;
}
.legal__back {
  display: inline-block;
  margin-bottom: 2.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--taupe-dark);
}
.legal__back:hover { color: var(--ink); }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 18, 17, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(90vw, 1100px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 2px;
}
.lightbox__caption {
  color: var(--blush-light);
  margin-top: 1.25rem;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}
.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .values__grid { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .value-card { text-align: center; }
  .value-card__icon { margin-left: auto; margin-right: auto; }
  .method__steps { grid-template-columns: 1fr 1fr; gap: 2.5rem 1rem; }
  .method__step:nth-child(2)::after { display: none; }
  .method__step::after { display: none; }
  .gallery--detail { grid-template-columns: repeat(3, 1fr); }
  .gallery--realisations { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: 1fr; gap: 3rem; }
  .services__materials { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 640px) {
  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(80vw, 320px);
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 2.5rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a,
  .site-header.is-scrolled .site-nav a { color: var(--white); font-size: 1rem; }
  .site-nav__cta,
  .site-header.is-scrolled .site-nav__cta { border-color: var(--white); }
  .nav-toggle { display: flex; }
  .nav-toggle.is-open span,
  .site-header.is-scrolled .nav-toggle.is-open span { background: var(--white); }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero__content { padding-top: 7rem; padding-bottom: 3.5rem; }
  .method__steps { grid-template-columns: 1fr; gap: 2.25rem; }
  .gallery--detail { grid-template-columns: repeat(2, 1fr); }
  .gallery--realisations { grid-template-columns: 1fr; }
  .services__list { grid-template-columns: 1fr; }
  .services__materials { grid-template-columns: repeat(2, 1fr); }
  .site-footer__nav { gap: 1.1rem 1.5rem; }
}
