:root {
  --paper: #f8f3ec;
  --paper-soft: #fffaf4;
  --ink: #171514;
  --muted: #71685f;
  --line: #ded4c8;
  --accent: #8c5f7b;
  --accent-soft: #f0e3ea;
  --shadow: 0 18px 45px rgba(63, 52, 43, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 22px clamp(22px, 5vw, 68px);
  background: rgba(248, 243, 236, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  grid-column: 2;
  text-align: center;
  text-decoration: none;
}

.brand-logo {
  width: clamp(120px, 14vw, 180px);
  height: auto;
  margin: 0 auto;
}

.site-nav {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: clamp(28px, 7vw, 118px);
  padding-top: 18px;
  font-size: 17px;
}

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

.site-nav a:hover,
.site-nav a.active,
.footer-links a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
}

.hero {
  display: block;
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(58px, 7vw, 96px) clamp(24px, 6vw, 84px) clamp(46px, 6vw, 78px);
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
  line-height: 1.12;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

h1 {
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 0;
}

h2 {
  max-width: 840px;
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: 0;
}

h3 {
  font-size: 17px;
  font-weight: 500;
}

.hero-copy > p:not(.eyebrow),
.intro-section p,
.section-heading p,
.contact p {
  max-width: 720px;
  color: var(--muted);
  font-size: 19px;
}

.hero img {
  height: min(68vh, 720px);
  min-height: 460px;
  object-fit: cover;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 22px;
  padding: 0 34px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button:hover {
  background: var(--ink);
  color: var(--paper-soft);
}

.intro-section,
.split-section,
.projects,
.services,
.contact,
.legal,
.page-hero,
.legal-page {
  padding: clamp(62px, 9vw, 124px) clamp(24px, 7vw, 94px);
}

.intro-section {
  text-align: center;
}

.intro-section h2,
.intro-section p {
  margin-left: auto;
  margin-right: auto;
}

.page-hero {
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.page-hero h1,
.page-hero p,
.legal-page h1,
.legal-page p {
  margin-left: auto;
  margin-right: auto;
}

.page-hero p:not(.eyebrow),
.legal-page p {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

.values,
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 5vw, 72px);
  background: transparent;
}

.values article,
.service-list article {
  min-height: 250px;
  padding: clamp(28px, 4vw, 52px);
  background: transparent;
}

.values {
  border-block: 1px solid var(--line);
}

.values span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--accent);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
}

.values p,
.service-list p,
.text-column p,
.project-card p,
.legal p,
address {
  color: var(--muted);
}

.split-section,
.contact {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(40px, 8vw, 112px);
  align-items: start;
}

.univers-layout {
  grid-template-columns: minmax(420px, 1.35fr) minmax(300px, 0.85fr);
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
}

.univers-story {
  padding: 0 0 clamp(62px, 9vw, 124px);
}

.univers-story .text-column {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 clamp(24px, 7vw, 94px);
}

.univers-story .text-column p {
  text-align: justify;
}

.univers-story .univers-intro {
  margin-bottom: 0;
  padding-top: clamp(54px, 7vw, 92px);
  padding-bottom: clamp(54px, 7vw, 92px);
}

.univers-wide-image {
  width: 100%;
  height: min(68vh, 720px);
  min-height: 460px;
  display: block;
  object-fit: cover;
  margin: 0 0 clamp(42px, 6vw, 76px);
}

.univers-story .split-cta {
  margin-top: clamp(34px, 5vw, 62px);
}

.split-cta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  margin-top: clamp(10px, 2vw, 24px);
}

.feature-image {
  min-height: 620px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.text-column p:first-child {
  margin-top: 0;
}

.univers-layout .text-column p {
  text-align: justify;
}

.section-heading {
  max-width: 860px;
  margin-bottom: 44px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.project-card {
  background: var(--paper-soft);
  box-shadow: var(--shadow);
}

.project-link {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.project-link img {
  transition: filter 180ms ease, transform 180ms ease;
}

.project-link:hover img {
  filter: brightness(0.94);
  transform: scale(1.01);
}

.project-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.project-card img.project-cover-left {
  object-position: center center;
}

.project-card img.casatin-cover {
  aspect-ratio: 4 / 3;
  object-position: center 16%;
}

.project-card img.petit-prince-cover {
  object-position: center 62%;
}

.project-card div {
  padding: 28px;
}

.project-card.text-only {
  display: flex;
  min-height: 310px;
  align-items: end;
  background: var(--accent-soft);
  box-shadow: none;
}

.project-card.text-only .project-link {
  display: flex;
  align-items: end;
}

.project-hero {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(62px, 9vw, 124px) clamp(24px, 7vw, 94px) clamp(42px, 6vw, 74px);
  text-align: center;
}

.project-hero p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 19px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

.back-link:hover {
  color: var(--accent);
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "salon salon"
    "chambre sdb"
    "cuisine salon-detail"
    "cuisine detail"
    "sam sam"
    "ext ext";
  gap: clamp(22px, 2.8vw, 34px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(24px, 7vw, 94px) clamp(36px, 5vw, 68px);
}

.project-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.alba-salon {
  grid-area: salon;
  aspect-ratio: 2.55 / 1;
}

.alba-chambre {
  grid-area: chambre;
  aspect-ratio: 1.18 / 1;
}

.alba-sdb {
  grid-area: sdb;
  aspect-ratio: 1.18 / 1;
}

.alba-cuisine {
  grid-area: cuisine;
}

.alba-salon-detail {
  grid-area: salon-detail;
  aspect-ratio: 1.18 / 1;
}

.alba-detail {
  grid-area: detail;
  aspect-ratio: 1.18 / 1;
}

.alba-sam {
  grid-area: sam;
  aspect-ratio: 2.55 / 1;
}

.alba-ext {
  grid-area: ext;
  aspect-ratio: 2.55 / 1;
}

.single-project-image {
  display: block;
}

.single-project-image img {
  aspect-ratio: 2.55 / 1;
}

.casatin-gallery {
  grid-template-areas:
    "casatin-ambiance casatin-shower-detail-two"
    "casatin-ambiance casatin-basin"
    "casatin-bathroom-two casatin-bathroom-two"
    "casatin-curtain casatin-head";
  padding-bottom: clamp(62px, 9vw, 124px);
}

.casatin-head {
  grid-area: casatin-head;
  aspect-ratio: 1.18 / 1;
}

.casatin-curtain {
  grid-area: casatin-curtain;
  aspect-ratio: 1.18 / 1;
}

.casatin-shower-detail-two {
  grid-area: casatin-shower-detail-two;
  aspect-ratio: 1.18 / 1;
}

.casatin-basin {
  grid-area: casatin-basin;
  aspect-ratio: 1.18 / 1;
}

.casatin-bathroom-two {
  grid-area: casatin-bathroom-two;
  aspect-ratio: 2.55 / 1;
}

.casatin-ambiance {
  grid-area: casatin-ambiance;
  aspect-ratio: 0.72 / 1;
}

.petit-prince-gallery {
  grid-template-areas:
    "pp-chambre pp-entree"
    "pp-chambre pp-sam"
    "pp-sejour-bis pp-sdb"
    "pp-sejour-two pp-sdb"
    "pp-sejour pp-sejour";
  padding-bottom: clamp(62px, 9vw, 124px);
}

.petit-prince-chambre {
  grid-area: pp-chambre;
  aspect-ratio: 0.74 / 1;
}

.petit-prince-entree {
  grid-area: pp-entree;
  aspect-ratio: 1.18 / 1;
}

.petit-prince-sam {
  grid-area: pp-sam;
  aspect-ratio: 1.18 / 1;
}

.petit-prince-sejour-bis {
  grid-area: pp-sejour-bis;
  aspect-ratio: 1.18 / 1;
}

.petit-prince-sejour-two {
  grid-area: pp-sejour-two;
  aspect-ratio: 1.18 / 1;
}

.petit-prince-sdb {
  grid-area: pp-sdb;
  aspect-ratio: 0.74 / 1;
}

.petit-prince-sejour {
  grid-area: pp-sejour;
  aspect-ratio: 2.55 / 1;
}

.amourie-gallery {
  grid-template-areas:
    "amourie-two amourie-two"
    "amourie-three amourie-six"
    "amourie-four amourie-four"
    "amourie-five amourie-seven"
    "amourie-eight amourie-eight";
  padding-bottom: clamp(62px, 9vw, 124px);
}

.amourie-two {
  grid-area: amourie-two;
  aspect-ratio: 2.55 / 1;
}

.amourie-three {
  grid-area: amourie-three;
  aspect-ratio: 1.18 / 1;
}

.amourie-six {
  grid-area: amourie-six;
  aspect-ratio: 1.18 / 1;
}

.amourie-four {
  grid-area: amourie-four;
  aspect-ratio: 2.55 / 1;
}

.amourie-five {
  grid-area: amourie-five;
  aspect-ratio: 1.18 / 1;
}

.amourie-seven {
  grid-area: amourie-seven;
  aspect-ratio: 1.18 / 1;
}

.amourie-eight {
  grid-area: amourie-eight;
  aspect-ratio: 2.55 / 1;
}

.work-progress {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(24px, 7vw, 94px) clamp(62px, 9vw, 124px);
  overflow: hidden;
}

.work-progress-strip {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: work-scroll 72s linear infinite;
}

.work-progress-strip img {
  flex: 0 0 clamp(180px, 22vw, 260px);
  height: clamp(140px, 16vw, 190px);
  object-fit: cover;
  filter: grayscale(1);
  opacity: 0.92;
}

.work-progress-strip:hover {
  animation-play-state: paused;
}

@keyframes work-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 8px));
  }
}

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

.services-intro {
  max-width: 720px;
  margin: 0 auto clamp(58px, 7vw, 92px);
  color: var(--muted);
  font-size: 19px;
  line-height: 1.75;
  text-align: center;
}

.service-icons {
  max-width: 1520px;
  margin: 0 auto;
  text-align: center;
  gap: clamp(24px, 3vw, 44px);
}

.service-icons article {
  padding: 0 clamp(8px, 1.4vw, 22px);
}

.service-icon {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 28px;
  color: #5e5148;
}

.icon-projection::before,
.icon-projection::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 34px;
  height: 60px;
  background: currentColor;
}

.icon-projection::before {
  left: 3px;
  border-radius: 38px 0 0 38px;
}

.icon-projection::after {
  right: 3px;
  border-radius: 0 38px 38px 0;
}

.icon-conception {
  border-radius: 50%;
  background: conic-gradient(currentColor 0 75%, transparent 75% 100%);
}

.icon-clefs::before,
.icon-clefs::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 42px;
  height: 64px;
  background: currentColor;
}

.icon-clefs::before {
  left: 3px;
  border-radius: 44px 0 0 44px;
}

.icon-clefs::after {
  right: 3px;
  border-radius: 44px 0 0 44px;
  transform: rotate(180deg);
}

.service-icons h3 {
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(26px, 2.7vw, 34px);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.service-icons .service-subtitle {
  margin-top: 2px;
  margin-bottom: 18px;
  color: var(--muted);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.45;
}

.service-icons p {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  font-size: 17px;
  text-align: center;
}

.service-after {
  max-width: 880px;
  margin: clamp(52px, 7vw, 86px) auto 0;
  text-align: center;
}

.service-centered-note {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.contact {
  border-top: 1px solid var(--line);
}

.page-contact {
  min-height: 64vh;
  border-top: 0;
}

.contact-thanks {
  min-height: 45vh;
  align-items: center;
}

.contact-thanks .contact-intro {
  max-width: 760px;
}

.contact-intro .eyebrow {
  margin-bottom: 16px;
}

.contact-details {
  display: grid;
  gap: 8px;
  margin-top: 34px;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.65;
}

.contact-details strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(25px, 2.1vw, 34px);
  font-weight: 500;
  line-height: 1.1;
}

.contact-details span {
  margin-bottom: 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(19px, 1.6vw, 25px);
  line-height: 1.2;
}

.contact-details a {
  text-decoration: none;
}

.contact-details address {
  margin-top: 12px;
}

.contact-page-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 26px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-page-socials a {
  text-decoration: none;
}

.contact-page-socials a:hover {
  color: var(--accent);
}

address {
  margin-top: 30px;
  font-style: normal;
}

form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.form-wide {
  grid-column: 1 / -1;
}

.hidden-field {
  display: none;
}

input,
textarea,
select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  padding: 12px 0;
  color: var(--ink);
  font: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: 0;
  border-color: var(--accent);
}

select {
  appearance: none;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

form .button {
  justify-self: start;
}

.contact-direct {
  align-self: center;
  max-width: 520px;
}

.contact-direct p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 18px;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button-secondary {
  border-color: var(--accent);
  color: var(--accent);
}

.button-secondary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--paper-soft);
}

.contact-socials {
  display: flex;
  gap: 28px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 15px;
}

.contact-socials a {
  color: inherit;
  text-decoration: none;
}

.contact-socials a:hover {
  color: var(--accent);
}

.legal {
  padding-top: 20px;
  padding-bottom: 48px;
}

.legal-page {
  min-height: 58vh;
  text-align: center;
}

details {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}

summary {
  cursor: pointer;
  font-weight: 500;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 1fr) 1fr;
  align-items: center;
  gap: 34px;
  min-height: 280px;
  padding: 46px clamp(24px, 9vw, 140px) 34px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 22px;
}

.social-link {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
}

.social-link svg {
  width: 34px;
  height: 34px;
}

.social-link svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-link.pinterest svg circle,
.social-link.pinterest svg path {
  fill: currentColor;
  stroke: none;
}

.instagram {
  color: #d94d7f;
}

.pinterest {
  color: #bd1e2d;
}

.footer-contact {
  display: grid;
  justify-items: center;
  text-align: center;
  color: var(--ink);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.55;
}

.footer-contact strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(22px, 1.9vw, 30px);
  font-weight: 500;
  line-height: 1.1;
}

.footer-contact span {
  margin: 4px 0 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(19px, 1.55vw, 25px);
  line-height: 1.2;
}

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

.footer-contact address {
  margin: 20px 0 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(18px, 1.45vw, 24px);
  line-height: 1.25;
  font-style: normal;
}

.footer-links {
  display: grid;
  justify-content: end;
  gap: 4px;
  font-size: clamp(13px, 0.92vw, 16px);
  line-height: 1.45;
  color: #8f8a86;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 20px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    padding: 20px;
  }

  .brand {
    grid-column: 1;
    justify-self: start;
    text-align: left;
  }

  .brand-logo {
    width: 130px;
  }

  .menu-toggle {
    display: inline-flex;
    grid-column: 2;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: transparent;
    padding: 10px 16px;
    font: inherit;
  }

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 0 4px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero,
  .split-section,
  .contact,
  .site-footer {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 52px 24px;
    text-align: center;
  }

  .univers-layout {
    grid-template-columns: 1fr;
  }

  .split-cta {
    margin-top: 0;
  }

  .feature-image {
    min-height: 380px;
  }

  .univers-story {
    padding-top: 0;
  }

  .univers-story .univers-intro {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  .univers-wide-image {
    height: 56vh;
    min-height: 330px;
  }

  .hero-copy {
    padding: 44px 24px 38px;
  }

  .hero img {
    height: 56vh;
    min-height: 330px;
  }

  .values,
  .service-list,
  .project-grid,
  form {
    grid-template-columns: 1fr;
  }

  .project-gallery {
    grid-template-columns: 1fr;
    grid-template-areas:
      "salon"
      "chambre"
      "sdb"
      "cuisine"
      "salon-detail"
      "detail"
      "sam"
      "ext";
  }

  .casatin-gallery {
    grid-template-areas:
      "casatin-ambiance"
      "casatin-shower-detail-two"
      "casatin-basin"
      "casatin-bathroom-two"
      "casatin-curtain"
      "casatin-head";
  }

  .petit-prince-gallery {
    grid-template-areas:
      "pp-chambre"
      "pp-entree"
      "pp-sam"
      "pp-sejour-bis"
      "pp-sejour-two"
      "pp-sdb"
      "pp-sejour";
  }

  .amourie-gallery {
    grid-template-areas:
      "amourie-two"
      "amourie-three"
      "amourie-six"
      "amourie-four"
      "amourie-five"
      "amourie-seven"
      "amourie-eight";
  }

  .project-gallery img {
    aspect-ratio: 1.35 / 1;
  }

  .alba-cuisine {
    aspect-ratio: 0.82 / 1;
  }

  .petit-prince-chambre,
  .petit-prince-sdb {
    aspect-ratio: 0.82 / 1;
  }

  label:nth-child(3),
  label:nth-child(4) {
    grid-column: auto;
  }

  .footer-links {
    justify-content: center;
  }

  .footer-social {
    justify-content: center;
    order: 2;
  }

  .footer-contact {
    order: 1;
  }

  .footer-links {
    order: 3;
  }

  .footer-copy {
    order: 4;
  }
}
