/* Propaintersa: Lime Wash (11 Gradient mesh on Minimalist). Young Serif + Albert Sans. */

:root {
  --lime: #F3EFE7;
  --mount: #F7F4EE;
  --bone: #E4DCCD;
  --stone: #A89F90;
  --bluegrey: #CFD5D8;
  --ink: #2A2622;
  --ink-2: #4A433B;
  --line: rgba(42, 38, 34, 0.14);
  --cta: #33597F;
  --serif: "Young Serif", Georgia, serif;
  --sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 68px;
  --pad: clamp(20px, 5vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--lime);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.7rem + 3.8vw, 4.4rem); line-height: 1.04; }
h2 { font-size: clamp(1.95rem, 1.45rem + 2vw, 2.9rem); line-height: 1.08; }
p { text-wrap: pretty; }

.wrap { width: min(100% - 2 * var(--pad), 1180px); margin-inline: auto; }
.flip { transform: scaleX(-1); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 12px 16px; background: var(--ink); color: var(--lime); border-radius: 6px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.site-footer :focus-visible, .lightbox :focus-visible { outline-color: var(--lime); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 20px;
  border: 1px solid rgba(42, 38, 34, 0.55); border-radius: 6px; background: transparent;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(0.98); }
.btn--cta { border-color: var(--cta); background: var(--cta); color: #FFFFFF; }
.btn--lg { min-height: 54px; padding: 14px 24px; font-size: 1.0625rem; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-1px); }
  .btn--cta:hover { background: #2C4F71; border-color: #2C4F71; }
}
.text-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px;
}
.text-link svg { width: 18px; height: 18px; transition: transform 200ms var(--ease); }
@media (hover: hover) { .text-link:hover svg { transform: translateX(3px); } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--lime); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 12px; height: var(--nav-h); }
.brand { display: inline-flex; align-items: center; min-height: 44px; margin-right: auto; }
.brand img { width: auto; height: 40px; }
.nav-links { display: none; }
.nav-links a, .mobile-menu a { text-decoration: none; font-weight: 600; }
.nav-tel { min-height: 44px; min-width: 44px; padding: 10px 12px; }
.nav-tel span { display: none; }
.menu-toggle { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; }
.menu-toggle .i-close, .menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--lime); }
.mobile-menu.is-open { display: block; }
.mobile-menu .wrap { display: grid; padding: 8px 0 16px; }
.mobile-menu a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border-bottom: 0; }
@media (min-width: 900px) {
  .brand img { height: 44px; }
  .nav { gap: 28px; }
  .nav-links { display: flex; gap: 28px; }
  .nav-links a { display: inline-flex; align-items: center; min-height: 44px; }
  .nav-links a:hover { text-decoration: underline; text-underline-offset: 6px; }
  .nav-tel span { display: inline; }
  .menu-toggle, .mobile-menu, .mobile-menu.is-open { display: none; }
}

/* ---------- Sections and the dry-brush wet edge between them ---------- */
.section { position: relative; padding: clamp(64px, 9vw, 112px) 0; scroll-margin-top: var(--nav-h); }
.edge::before {
  content: ""; position: absolute; left: 0; right: 0; top: -23px; height: 24px;
  background: inherit; pointer-events: none;
  -webkit-mask: url("images/edge.svg") 0 0 / 100% 100% no-repeat;
  mask: url("images/edge.svg") 0 0 / 100% 100% no-repeat;
}
.head { max-width: 40rem; margin-bottom: clamp(36px, 5vw, 56px); }
.head p { margin-top: 16px; color: var(--ink-2); font-size: 1.125rem; }

/* ---------- Hero: lime-wash mesh, photos in a lime-white mount ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; padding: 36px 0 72px; scroll-margin-top: var(--nav-h); }
.hero::before {
  content: ""; position: absolute; inset: -18%; z-index: -2;
  background:
    radial-gradient(60% 70% at 18% 22%, #F7F4EE 0%, transparent 70%),
    radial-gradient(50% 60% at 72% 30%, #E4DCCD 0%, transparent 72%),
    radial-gradient(55% 55% at 40% 86%, #D9D2C6 0%, transparent 70%),
    radial-gradient(40% 50% at 90% 78%, #CFD5D8 0%, transparent 70%),
    #ECE6DB;
  animation: drift 40s ease-in-out infinite alternate;
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5; pointer-events: none;
  background:
    repeating-linear-gradient(35deg, rgba(255, 255, 255, 0.22) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(-40deg, rgba(120, 110, 95, 0.07) 0 1px, transparent 1px 11px);
}
@keyframes drift { to { transform: translate3d(5%, -4%, 0) scale(1.08); } }
.hero__grid { display: grid; gap: 40px; }
.hero .lead { max-width: 30rem; margin-top: 20px; color: var(--ink-2); font-size: 1.1875rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (min-width: 900px) {
  .hero { padding: 56px 0 96px; }
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); align-items: center; gap: clamp(40px, 5vw, 72px); }
}

.carousel { width: 100%; max-width: 560px; justify-self: center; }
.mount {
  padding: 12px; background: var(--mount);
  box-shadow: 0 1px 2px rgba(42, 38, 34, 0.06), 0 28px 50px -30px rgba(42, 38, 34, 0.35);
}
.slides {
  display: flex; aspect-ratio: 1 / 1; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; overflow: hidden; scroll-snap-align: start; scroll-snap-stop: always; }
/* Natural aspect ratio: each photo is contained, so the mount shows round it instead of a crop. */
.slide img { width: 100%; height: 100%; object-fit: contain; transform-origin: 50% 60%; animation: kenburns 30s ease-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.06); } }
.carousel-bar { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 10px; }
.carousel-bar button { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.carousel-bar svg { width: 22px; height: 22px; }
.count { min-width: 3.5em; font-variant-numeric: tabular-nums; text-align: center; color: var(--ink-2); font-weight: 600; }

/* ---------- Services ---------- */
.services { background-color: var(--lime); }
.svc { display: grid; gap: 48px; }
.svc__label { margin-bottom: 22px; color: var(--ink-2); font-size: 1rem; font-weight: 600; }
.svc li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 20px; align-items: start; }
.svc li + li { margin-top: 26px; }
.svc li p { grid-column: 2; color: var(--ink-2); }
.svc h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.375rem; line-height: 1.2; }
.svc__lead h3 { font-size: clamp(1.6rem, 1.25rem + 1vw, 1.95rem); line-height: 1.15; }
.swatch {
  grid-row: span 2; width: 48px; height: 30px; margin-top: 2px; background: var(--tint);
  -webkit-mask: url("images/swatch.svg") 0 0 / 100% 100% no-repeat;
  mask: url("images/swatch.svg") 0 0 / 100% 100% no-repeat;
}
.svc__lead .swatch { width: 88px; height: 55px; }
/* Lime-wash and earth tints, one per service; decoration only. */
.t1 { --tint: #CFD5D8; } .t2 { --tint: #A89F90; } .t3 { --tint: #6E7A80; } .t4 { --tint: #D9CDB8; }
.t5 { --tint: #7F8A8C; } .t6 { --tint: #C7C2B8; } .t7 { --tint: #B9A58C; } .t8 { --tint: #8A6E55; }
.svc__lead li + li { margin-top: 34px; }
@media (min-width: 900px) {
  .svc { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(48px, 7vw, 104px); }
  .svc__rest { padding-top: 6px; }
}

/* ---------- About ---------- */
.about { background-color: var(--bone); }
.about__body { max-width: 44rem; }
.about__body p { margin-top: 20px; font-size: 1.1875rem; color: var(--ink-2); }
.about__body p:first-of-type { color: var(--ink); }
.facts { display: grid; gap: 22px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.facts dt { color: var(--ink-2); font-size: 0.9375rem; }
.facts dd { font-family: var(--serif); font-size: 1.375rem; line-height: 1.25; }
@media (min-width: 700px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }

/* ---------- Recent work strip ---------- */
.work { background-color: var(--lime); }
.strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.strip a { display: block; overflow: hidden; background: var(--bone); }
.strip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform 400ms var(--ease); }
@media (hover: hover) { .strip a:hover img { transform: scale(1.03); } }
.work .text-link { margin-top: 24px; }
@media (min-width: 900px) { .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }

/* ---------- Quote band ---------- */
.quote { background-color: var(--bluegrey); }
.quote__grid { display: grid; gap: 28px; align-items: end; }
.quote p { max-width: 34rem; margin-top: 16px; color: var(--ink-2); font-size: 1.125rem; }
.quote__act { display: grid; gap: 6px; justify-items: start; }
@media (min-width: 900px) { .quote__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .quote__act { justify-items: end; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding: 64px 0 112px; background-color: var(--ink); color: var(--lime); }
.foot-grid { display: grid; gap: 36px; }
.site-footer img { width: auto; height: 40px; }
.site-footer p { max-width: 30rem; margin-top: 16px; color: #CFC6B8; }
.foot-head { margin-bottom: 10px; color: #CFC6B8; font-size: 0.9375rem; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot-bottom { display: grid; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(243, 239, 231, 0.16); color: #CFC6B8; font-size: 0.9375rem; }
.foot-bottom a { display: inline-flex; align-items: center; min-height: 44px; color: var(--lime); }
@media (min-width: 900px) {
  .site-footer { padding-bottom: 64px; }
  .foot-grid { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
  .foot-bottom { grid-template-columns: 1fr auto; align-items: center; }
}

/* ---------- Floating WhatsApp and the privacy notice ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 30;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--cta); color: #FFFFFF; box-shadow: 0 10px 24px -10px rgba(42, 38, 34, 0.55);
  transition: transform 160ms var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:active { transform: scale(0.96); }
.notice {
  position: fixed; left: 12px; right: 84px; bottom: 16px; z-index: 30;
  display: flex; align-items: center; gap: 12px; max-width: 30rem; padding: 10px 10px 10px 16px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--mount); font-size: 0.875rem; line-height: 1.4;
  box-shadow: 0 10px 30px -14px rgba(42, 38, 34, 0.45);
}
.notice[hidden] { display: none; }
.notice .btn { min-height: 44px; padding: 10px 16px; }

/* ---------- Reveal on scroll ---------- */
.reveal { transition: opacity 360ms var(--ease) var(--delay, 0ms), transform 360ms var(--ease) var(--delay, 0ms); }
.reveal.is-pending { opacity: 0; transform: translate3d(0, 14px, 0); }

/* ---------- Gallery page ---------- */
.hero--page { padding-bottom: 56px; }
.hero--page .lead { max-width: 36rem; }
.photos { padding-top: 48px; background-color: var(--lime); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { min-height: 44px; padding: 10px 18px; border: 1px solid rgba(42, 38, 34, 0.55); border-radius: 6px; background: transparent; font-weight: 600; cursor: pointer; }
.filters button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--lime); }
/* Columns, not rows: photos keep their natural shape and any count packs without gaps. */
.shots { columns: 2; column-gap: 12px; }
.shot { display: block; width: 100%; margin: 0 0 12px; padding: 0; border: 0; background: var(--bone); break-inside: avoid; cursor: zoom-in; overflow: hidden; }
.shot[hidden] { display: none; }
.shot img { width: 100%; transition: transform 400ms var(--ease); }
@media (hover: hover) { .shot:hover img { transform: scale(1.03); } }
@media (min-width: 900px) { .shots { columns: 3; column-gap: 16px; } .shot { margin-bottom: 16px; } }

.lightbox {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 16px;
  border: 0; background: rgba(28, 25, 22, 0.95); color: var(--lime);
}
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; animation: fade 220ms var(--ease); }
.lb-figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; min-height: 0; touch-action: pan-y; }
.lb-figure img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lb-figure figcaption { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: center; text-align: center; }
.lb-count { color: #CFC6B8; font-variant-numeric: tabular-nums; }
.lb-bar { display: flex; justify-content: center; gap: 12px; }
.lb-bar button { display: inline-grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(243, 239, 231, 0.4); border-radius: 6px; background: transparent; color: var(--lime); cursor: pointer; }
.lb-bar svg { width: 22px; height: 22px; }
body:has(.lightbox[open]) { overflow: hidden; }
@keyframes fade { from { opacity: 0; } }

/* ---------- 404 ---------- */
.lost { min-height: calc(100dvh - var(--nav-h)); display: grid; align-content: center; }

/* ---------- Reduced motion: everything still, nothing hidden ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
}
