:root {
  --deep: #102c2b;
  --deepest: #0b2222;
  --ink: #142f2e;
  --muted: #46605c;
  --line: #d8e3db;
  --paper: #f7f9f4;
  --sage: #e8f1e8;
  --lime: #d6ee7b;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #43846a; outline-offset: 5px; }
.skip { position: absolute; z-index: 10; top: 1rem; left: 1rem; transform: translateY(-200%); background: white; color: var(--ink); padding: .7rem; }
.skip:focus { transform: none; }
.wrap { max-width: 1280px; width: calc(100% - 112px); margin-inline: auto; }
.header { background: var(--paper); }
.header-inner, .footer-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark { display: grid; grid-auto-flow: column; place-content: center; width: 47px; height: 47px; border-radius: .3rem; background: var(--deep); color: #fff; font-weight: 900; letter-spacing: -.045em; }
.brand-mark span { color: var(--lime); }
.brand-text { font-size: 1.13rem; font-weight: 850; line-height: 1; }
.brand-text strong { display: block; margin-top: .33rem; font-size: .63rem; letter-spacing: .11em; }
nav { display: flex; gap: clamp(1rem, 3.2vw, 3.2rem); }
nav a { text-decoration: none; font-size: .93rem; font-weight: 650; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: .65rem 1.15rem; border-radius: .25rem; text-decoration: none; font-size: .93rem; font-weight: 750; line-height: 1.3; }
.header-button { border: 1px solid #3b5950; }
.header-button:hover { background: var(--sage); }
.button-primary { color: var(--deepest); background: var(--lime); }
.button-primary:hover { background: #ecf9a9; }
.hero { display: grid; grid-template-columns: minmax(0, 47fr) minmax(0, 53fr); background: var(--deep); color: white; }
.hero-copy { min-height: 570px; padding: 5.4rem clamp(2rem, 4vw, 4rem) 5.4rem max(56px, calc((100vw - 1280px) / 2)); align-self: center; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; container-type: inline-size; }
.eyebrow { display: flex; align-items: center; gap: .65rem; font-size: .85rem; font-weight: 750; letter-spacing: .114em; text-transform: uppercase; margin: 0 0 1.15rem; }
.eyebrow span { display: inline-block; width: 1.28rem; height: 2px; background: #5a8438; }
.hero .eyebrow, .contact .eyebrow { color: var(--lime); }
.hero .eyebrow span, .contact .eyebrow span { background: var(--lime); }
h1, h2, h3 { margin: 0; }
h1, h2 { letter-spacing: -.06em; }
h1 { font-size: clamp(3rem, 5.8vw, 6rem); line-height: .99; }
.hero-copy h1 { font-size: min(clamp(3rem, 5.8vw, 6rem), 16.5cqi); text-wrap: balance; }
h1 span { color: var(--lime); }
.hero-copy > p:not(.eyebrow) { max-width: 30rem; color: #e0ece6; font-size: 1.07rem; line-height: 1.6; margin: 1.5rem 0 1.8rem; }
.hero-visual { margin: 0; position: relative; min-height: 350px; background: #486058; }
.hero-visual img { display: block; object-fit: cover; object-position: center; position: absolute; height: 100%; width: 100%; }
.hero-visual figcaption { position: absolute; bottom: .8rem; right: .8rem; background: rgb(13 32 30 / 88%); color: #fff; padding: .4rem .6rem; border-radius: .2rem; font-size: .75rem; }
.section { padding-block: 4.7rem; }
h2 { font-size: clamp(2.15rem, 4vw, 3.75rem); line-height: 1.06; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.service-grid article { border: 1px solid var(--line); padding: 1.65rem; background: #fff; }
.icon { display: grid; place-items: center; background: var(--sage); width: 3rem; height: 3rem; border-radius: .3rem; margin-bottom: 1.5rem; }
.icon svg { width: 1.65rem; }
h3 { font-size: 1.22rem; letter-spacing: -.028em; }
.service-grid p, .socials p:not(.eyebrow), .about p:not(.eyebrow) { color: var(--muted); line-height: 1.6; }
.service-grid p { margin: .65rem 0 0; }
.about { background: var(--sage); }
.about-inner, .contact-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 7vw, 7rem); padding-block: 4.3rem; align-items: center; }
.about p:first-child:not(.eyebrow) { margin-top: 0; }
.about p:last-child:not(.eyebrow) { margin-bottom: 0; }
.socials { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.socials p:last-child { margin-bottom: 0; }
.social-grid { display: flex; flex-wrap: wrap; gap: .75rem; }
.social { display: flex; align-items: center; gap: .75rem; border: 1px solid var(--line); padding: .9rem 1rem; background: white; flex: 1 1 145px; }
.social span { display: block; color: var(--muted); margin-top: .2rem; font-size: .87rem; }
.social svg { width: 1.5rem; height: 1.5rem; flex: none; }
.contact { background: var(--deep); color: white; }
.contact p:not(.eyebrow) { line-height: 1.6; color: #e0ece6; max-width: 32rem; }
.contact-card { padding: 1.5rem; border: 1px solid #496660; justify-self: start; width: min(100%, 360px); }
address { font-style: normal; line-height: 1.55; margin: .65rem 0 1rem; }
.footer-inner { align-items: baseline; min-height: 0; padding-block: 1.3rem; font-size: .88rem; }
.footer-inner span { font-weight: 750; }
details { max-width: 27rem; }
summary { cursor: pointer; }
details p { line-height: 1.5; margin-bottom: 0; }
@media (max-width: 1000px) {
  .wrap { width: calc(100% - 64px); }
  .hero-copy { padding-inline: 32px; min-height: 510px; }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { min-height: 0; padding-block: .8rem; flex-wrap: wrap; gap: .8rem; }
  nav { order: 3; flex-basis: 100%; padding-top: .55rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 3.5rem 18px; min-height: 0; }
  .hero-visual { min-height: 0; aspect-ratio: 1.6; }
  .section { padding-block: 3rem; }
  .about-inner, .contact-inner { padding-block: 3rem; }
  .service-grid, .about-inner, .socials, .contact-inner { grid-template-columns: 1fr; gap: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
}
.phone { display: block; width: fit-content; margin-top: .9rem; text-underline-offset: .22em; font-weight: 700; }

nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: .3em; }
.project-preview { display: flex; align-items: center; justify-content: space-between; gap: 1.75rem; padding-block: 2.6rem 3.5rem; }
.project-preview > a { flex: none; }
.project-preview p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); line-height: 1.6; }
.project-hero { background: var(--deep); color: white; padding-block: 4.5rem; }
.project-hero .eyebrow { color: var(--lime); }
.project-hero .eyebrow span { background: var(--lime); }
.project-hero p:last-child { max-width: 32rem; color: #e0ece6; line-height: 1.6; margin: 1rem 0 0; }
.project-list { padding-block: 1.3rem 3.5rem; }
.project { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; border-bottom: 1px solid var(--line); padding-block: 2.25rem; }
.project h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); }
.project p:not(.eyebrow) { margin: 0 0 1rem; color: var(--muted); line-height: 1.6; }
.project-tags { display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; list-style: none; }
.project-tags li { background: var(--sage); padding: .3rem .55rem; font-size: .9rem; }
#quote-form:not([hidden]) { display: grid; gap: .9rem; margin-top: 1.35rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
#quote-form label { display: grid; align-content: start; gap: .4rem; font-weight: 650; font-size: .94rem; }
#quote-form input, #quote-form select, #quote-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #bdd1c8;
  border-radius: .25rem;
  background: white;
  color: var(--ink);
  min-height: 44px;
  padding: .5rem .65rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
}
#quote-form select { appearance: none; padding-right: 2rem; background-image: url("chevron.svg"); background-repeat: no-repeat; background-position: right .7rem center; }
#quote-form textarea { resize: vertical; }
#quote-form button { justify-self: start; border: 0; cursor: pointer; font-family: inherit; }
.form-help { margin: 0; font-size: .93rem; }
.email-address { overflow-wrap: anywhere; text-underline-offset: .22em; }
@media (max-width: 740px) {
  .project-preview { flex-direction: column; align-items: flex-start; }
  .project { grid-template-columns: 1fr; gap: .75rem; }
  .project-hero { padding-block: 3rem; }
}
@media (max-width: 475px) {
  .form-row { grid-template-columns: 1fr; }
}

.gallery-intro { margin: .9rem 0 1.8rem; color: var(--muted); line-height: 1.6; }
.gallery-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 24%); gap: 1.15rem; align-items: start; }
.gallery figure { margin: 0; border: 1px solid var(--line); background: white; }
.gallery-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gallery-photos figure:last-child { grid-column: 1 / -1; }
.gallery-photos a { display: block; }
.gallery-photos img { display: block; width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.gallery-photos figure:last-child img { aspect-ratio: 2.2; }
.gallery figcaption { padding: .7rem .85rem; font-weight: 650; color: var(--muted); font-size: .93rem; }
.gallery-video video { display: block; width: 100%; aspect-ratio: 9 / 16; background: var(--deep); }
@media (max-width: 740px) {
  .gallery-layout, .gallery-photos { grid-template-columns: 1fr; }
  .gallery-video { width: min(100%, 360px); }
}

.house-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.house-photos figure:first-child { grid-column: 1 / -1; }
.house-photos a { display: block; }
.house-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.house-photos figure:first-child img { aspect-ratio: 2 / 1; object-position: 50% 35%; }
@media (max-width: 900px) {
  .house-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .house-photos { grid-template-columns: 1fr; }
  .house-photos figure:first-child img { aspect-ratio: 4 / 3; }
}

.portrait-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.portrait-photos a { display: block; }
.portrait-photos img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .portrait-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .portrait-photos { grid-template-columns: 1fr; }
}

@media (min-width: 901px) {
  .boucherie-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
