/* ASPECTO Painting — design tokens */

@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/assets/fonts/newsreader-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 500;
  font-display: swap;
  src: url('/assets/fonts/newsreader-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched fallbacks. Newsreader sets ~7% narrower than Georgia and
   Archivo ~2% narrower than Helvetica, so without these the hero headline
   visibly reflows the moment the webfonts swap in. size-adjust scales the
   fallback to the webfont's measured width, making the swap near-invisible. */
@font-face {
  font-family: 'Newsreader Fallback';
  src: local('Georgia'), local('Times New Roman');
  size-adjust: 92.9%;
}
@font-face {
  font-family: 'Archivo Fallback';
  src: local('Helvetica'), local('Arial');
  size-adjust: 98%;
}

:root {
  --paper: #F6F4EF;
  --paper-alt: #F1EEE7;
  --ink: #1C1E1B;
  --ink-soft: #2B2D28;
  --green: #3E5A4A;
  --muted: #5A564C;
  --faint: #8A8478;
  --line: #E2DDD2;
  --line-strong: #D3CDC0;
  --serif: Newsreader, 'Newsreader Fallback', Georgia, serif;
  --sans: Archivo, 'Archivo Fallback', Helvetica, Arial, sans-serif;
  --gutter: 28px;
  --max: 1240px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* keep anchored sections clear of the sticky header */
  scroll-padding-top: 72px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--green); text-decoration: none; }
a:hover { color: var(--ink); }

h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--paper);
  padding: 10px 16px;
  border: 1px solid var(--ink);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: 104px; }

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}
.eyebrow-dark { color: #8F9A90; }

.muted { color: var(--muted); }

.link-underline {
  font-size: 15px;
  font-weight: 600;
  color: var(--green);
  border-bottom: 1px solid var(--green);
  padding-bottom: 3px;
  align-self: flex-start;
}
.link-underline:hover { color: var(--ink); border-color: var(--ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  padding-top: 14px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
}
.logo { line-height: 0; min-width: 0; }
.logo img {
  display: block;
  width: 252px;
  max-width: 100%;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.navlink { color: #4A473F; white-space: nowrap; }
.navlink:hover { color: var(--ink); }

.btn-phone {
  white-space: nowrap;
  background: var(--green);
  color: var(--paper);
  padding: 11px 20px;
  border-radius: 2px;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.btn-phone:hover { background: var(--ink); color: var(--paper); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 0;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-light {
  background: var(--paper);
  color: var(--ink);
  padding: 17px 30px;
  font-weight: 600;
}
.btn-light:hover { background: var(--green); color: var(--paper); }
.btn-ghost {
  border: 1px solid rgba(246, 244, 239, 0.45);
  color: var(--paper);
  padding: 17px 28px;
}
.btn-ghost:hover { border-color: var(--paper); background: rgba(246, 244, 239, 0.1); }
.btn-green {
  background: var(--green);
  color: var(--paper);
  padding: 16px 28px;
  font-weight: 600;
}
.btn-green:hover { background: var(--paper); color: var(--ink); }

.btn-whatsapp {
  background: #25D366;
  color: #07301A;
  padding: 17px 28px;
  font-weight: 600;
}
.btn-whatsapp:hover { background: #1EBE5A; color: #052411; }
/* .btn already sets the gap, so the icon only needs a size */
.btn .ico {
  width: 19px;
  height: 19px;
  flex: none;
}
.nav-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #25D366;
  color: #07301A;
  flex: none;
}
.nav-wa:hover { background: #1EBE5A; color: #052411; }
.nav-wa .ico { width: 20px; height: 20px; }

.btn-outline {
  flex: 1;
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 13px 0;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }


/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  background-image:
    linear-gradient(to right, rgba(18,20,17,0.78) 0%, rgba(18,20,17,0.45) 48%, rgba(18,20,17,0.18) 100%),
    url('/assets/images/gated-house-optimised.jpg');
  background-size: cover;
  background-position: center 60%;
}
.hero-inner {
  padding-top: 120px;
  padding-bottom: 56px;
  width: 100%;
}
.hero-copy { max-width: 720px; }

.eyebrow-rule {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  color: #D9D3C6;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.eyebrow-rule .rule { width: 34px; height: 1px; background: #C9C2B4; }

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 6.4vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: #F7F5F0;
  margin: 0 0 22px;
}
.hero-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: #DCD7CC;
  margin: 0 0 36px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.hero-note { color: #B9B3A5; font-size: 13px; line-height: 1.4; }

/* ---------- Trust bar ---------- */
.trustbar {
  border-bottom: 1px solid var(--line);
  background: var(--paper-alt);
}
.trustbar-inner {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 40px;
  justify-content: space-between;
}
.trustbar-label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
}
.trustbar-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  font-size: 13px;
  color: var(--muted);
}
.trust-logo {
  height: 38px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0.85;
}

/* ---------- Section headings ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.section-head-main { max-width: 620px; }
.section-head h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0;
}
.section-head-aside {
  max-width: 340px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 48px;
  max-width: 720px;
}

/* ---------- Showcase ---------- */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(min(260px, 100%), 1fr);
  gap: 28px;
  align-items: stretch;
}
.showcase-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 3px;
  background: #DDD8CD;
  margin: 0;
}
.showcase-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-tag {
  position: absolute;
  left: 18px;
  top: 18px;
  background: rgba(246, 244, 239, 0.92);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 7px 12px;
}
.showcase-detail {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}
.showcase-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.showcase-meta .eyebrow { margin-bottom: 0; }
.counter {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: #9A9488;
}
.showcase-detail h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.15;
  margin: 0 0 18px;
}
.showcase-detail p {
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0 0 22px;
}
.spec {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 20px;
  font-size: 13.5px;
}
.spec dt { color: #9A9488; }
.spec dd { margin: 0; color: var(--ink-soft); }
.showcase-controls { display: flex; gap: 10px; }

/* ---------- Thumbnails ---------- */
.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 14px;
  margin-top: 14px;
}
.thumb {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: block;
  position: relative;
}
.thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
}
.thumb-veil {
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: rgba(28, 30, 27, 0.45);
  transition: background 0.2s;
}
.thumb[aria-selected="true"] .thumb-veil { background: rgba(28, 30, 27, 0); }
.thumb:hover .thumb-veil { background: rgba(28, 30, 27, 0.1); }
.thumb-label {
  position: absolute;
  left: 8px;
  bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  background: rgba(28, 30, 27, 0.82);
  padding: 4px 8px;
  border-radius: 2px;
}

/* ---------- Benefits ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.benefit {
  background: var(--paper);
  padding: 34px 30px 38px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.18s ease;
}
.benefit:hover { background: var(--paper-alt); }
.benefit-n { font-family: var(--serif); font-size: 15px; color: var(--green); }
.benefit h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.35;
  margin: 0;
  text-wrap: pretty;
}
.benefit p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }

/* ---------- Services ---------- */
.services {
  background: var(--ink);
  color: #EDEAE2;
  margin-top: 104px;
}
.services-inner {
  padding-top: 96px;
  padding-bottom: 96px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 56px;
}
.services-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.12;
  margin: 0 0 24px;
  color: #F7F5F0;
}
.services-lede {
  font-size: 15.5px;
  line-height: 1.7;
  color: #ABA79C;
  margin: 0 0 32px;
  max-width: 420px;
}
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 0 40px;
  align-content: start;
}
.service-list li {
  padding: 15px 0;
  border-bottom: 1px solid #32352F;
  font-size: 15px;
  color: #DCD8CE;
}

/* ---------- Reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 40px;
}
.review {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid #D8D2C6;
  padding-top: 26px;
}
.review p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 21px;
  line-height: 1.45;
  margin: 0;
  color: #22241F;
}
.review footer {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.about-media {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.about-copy {
  padding: clamp(36px, 5vw, 64px);
  background: var(--paper-alt);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-copy h2 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  margin: 0 0 20px;
}
.about-copy p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #4F4C43;
  margin: 0 0 14px;
}
.about-copy p + p { margin-bottom: 28px; }

/* ---------- Instagram (Elfsight) ---------- */
#social .section-head { align-items: center; }
/* Reserve height so the lazy widget does not collapse the section before it loads */
[class^="elfsight-app-"] { min-height: 320px; }

/* ---------- Quote form ---------- */
.quote {
  margin-top: 104px;
  background: var(--green);
  color: #F1EFE9;
}
.quote-inner {
  padding-top: 88px;
  padding-bottom: 88px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 48px;
  align-items: center;
}
.quote-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  margin: 0 0 18px;
  color: #FBFAF6;
}
.quote-lede {
  font-size: 16px;
  line-height: 1.65;
  color: #CFD9D1;
  margin: 0;
  max-width: 460px;
}
.quote-lede + .quote-lede { margin-top: 16px; }

.contact-card {
  display: grid;
  gap: 16px;
  justify-items: start;
}
.btn-contact {
  width: 100%;
  justify-content: center;
  padding: 17px 28px;
  font-size: 16px;
}
.contact-note {
  margin: 4px 0 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: #CFD9D1;
  max-width: 44ch;
}
.contact-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
.contact-hours { font-size: 13px; color: #AEBCB1; }

.link-on-green {
  color: #DDE5DE;
  font-size: 15px;
  font-weight: 400;
  border-bottom: 1px solid rgba(221, 229, 222, 0.45);
  padding-bottom: 2px;
}
.link-on-green:hover { color: #FFF; border-color: #FFF; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--paper-alt);
  border-top: 1px solid var(--line);
}
.footer-inner {
  padding-top: 56px;
  padding-bottom: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 36px;
}
.footer-inner > * { min-width: 0; }
.footer-logo {
  display: block;
  width: 269px;
  max-width: 100%;
  height: auto;
  margin-bottom: 14px;
}
.footer-tag {
  font-size: 13.5px;
  line-height: 1.6;
  color: #6B665C;
  margin: 0;
  max-width: 240px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 13.5px;
  color: var(--muted);
}
.footer-col a { color: var(--muted); }
.footer-col a:hover { color: var(--ink); }
.footer-head {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 4px;
}
.footer-bar { border-top: 1px solid var(--line); }
.footer-bar .wrap {
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 12px;
  color: var(--faint);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .showcase { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .navlink { display: none; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .section { padding-top: 72px; }
  .services, .quote { margin-top: 72px; }
  .services-inner { padding-top: 64px; padding-bottom: 64px; }
  .quote-inner { padding-top: 64px; padding-bottom: 64px; }
  .hero { min-height: 0; }
  .hero-inner { padding-top: 96px; padding-bottom: 48px; }
  .hero-note { flex-basis: 100%; }
}
@media (max-width: 560px) {
  .benefits { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
