/* Abore Living — site styles v2 (photo-led, minimal) */
:root {
  --ink: #222420;
  --ink-soft: #5B5F59;
  --muted: #868982;
  --line: #E4E2DD;
  --bg: #FFFFFF;
  --bg-soft: #F5F4F1;
  --forest: #1F3A30;
  --forest-deep: #162B23;

  --font: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.1rem + 1vw, 1.75rem);
  --step-3: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
  --step-4: clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem);

  --gutter: clamp(16px, 4vw, 56px);
  --section: clamp(80px, 11vw, 160px);
  --hdr: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hdr); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-weight: 300; font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { margin: 0; font-weight: 300; line-height: 1.12; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--forest); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }

.h-section { font-size: var(--step-3); }

/* Text links are the site's main call-to-action style */
.tlink {
  display: inline-block; font-weight: 400; text-decoration: none;
  padding-bottom: 3px; border-bottom: 1px solid currentColor;
  transition: opacity .2s;
}
.tlink:hover { opacity: .6; }
.tlink--light { color: #fff; }

/* Header: transparent over the hero, solid after scroll */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hdr);
  color: #fff; background: transparent;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.hdr.is-solid { background: var(--bg); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.hdr__inner { height: 100%; display: flex; align-items: center; gap: 40px; padding: 0 var(--gutter); max-width: 1440px; margin: 0 auto; }
.brand { text-decoration: none; display: flex; align-items: baseline; gap: 6px; }
.brand__word { font-weight: 500; font-size: 1.35rem; letter-spacing: .08em; }
.brand__sub { font-size: .85rem; opacity: .8; }
.hdr.is-solid .brand { color: var(--forest); }
.hdr__nav { display: flex; gap: 32px; margin-left: 24px; }
.hdr__nav a, .hdr__contact { text-decoration: none; font-size: .95rem; font-weight: 400; }
.hdr__nav a:hover, .hdr__contact:hover { opacity: .6; }
.hdr__tools { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.lang { display: flex; align-items: center; gap: 4px; font-size: .85rem; }
.lang span { opacity: .5; }
.lang a { padding: 6px 2px; opacity: .55; font-weight: 400; text-decoration: none; }
.lang a:hover { opacity: .85; }
.lang a[aria-current="page"] { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.nav-contact { display: none; }
.hdr__menu { display: none; background: none; border: 0; padding: 6px 0; font-size: .95rem; font-weight: 400; cursor: pointer; }
@media (max-width: 900px) {
  .hdr__menu { display: block; }
  .hdr__contact { display: none; }
  .hdr__nav {
    display: none; position: absolute; top: var(--hdr); left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px;
    background: var(--bg); color: var(--ink); box-shadow: 0 1px 0 var(--line);
  }
  .hdr__nav a { font-size: 1.35rem; font-weight: 300; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hdr.is-open { background: var(--bg); color: var(--ink); }
  .hdr.is-open .brand { color: var(--forest); }
  .hdr.is-open .hdr__nav { display: flex; }
  .hdr__nav .nav-contact { display: block; }
}
@media (max-width: 380px) { .hdr__tools { gap: 16px; } }

/* Hero */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; color: #fff; overflow: hidden; background: #2b2b28; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 38%, rgba(0,0,0,.68) 100%);
}
.hero__text { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: clamp(32px, 7vh, 80px); max-width: 760px; }
.hero h1, .hero__title { font-size: var(--step-4); font-weight: 300; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
.hero__text, .band__text { text-shadow: 0 1px 24px rgba(0,0,0,.25); }
.hero p { margin: 14px 0 26px; font-size: var(--step-1); opacity: .92; }
@media (prefers-reduced-motion: no-preference) {
  .hero__img { animation: settle 2.4s cubic-bezier(.2,.6,.2,1) both; }
  @keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
}

/* Intro */
.intro { padding: var(--section) 0; }
.intro__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 120px); align-items: start; }
.intro h1, .intro h2 { font-size: var(--step-3); max-width: 18ch; }
.intro p { color: var(--ink-soft); max-width: 50ch; }
.intro .tlink { margin-top: 16px; }
@media (max-width: 800px) { .intro__grid { grid-template-columns: 1fr; } }

/* Collections */
.collections { padding-bottom: var(--section); }
.collections .h-section { margin-bottom: 40px; }
.col-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.col-card a { text-decoration: none; display: block; }
.col-card__img { aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-soft); }
.col-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.col-card a:hover img { transform: scale(1.04); }
.col-card h3 { font-size: var(--step-2); margin-top: 18px; }
.col-card p { color: var(--muted); font-size: var(--step--1); margin-top: 6px; }
@media (max-width: 900px) { .col-grid { grid-template-columns: 1fr 1fr; row-gap: 36px; } }

/* Feature split */
.feature { display: grid; grid-template-columns: 55fr 45fr; background: var(--bg-soft); }
.feature__img { min-height: 560px; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature__text { padding: clamp(40px, 7vw, 120px) var(--gutter); align-self: center; max-width: 620px; }
.feature h2 { font-size: var(--step-3); margin-bottom: 28px; }
.feature p { color: var(--ink-soft); }
.feature .tlink { margin-top: 16px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature__img { min-height: 0; aspect-ratio: 4 / 3; }
}

/* Projects gallery */
.projects { padding: var(--section) 0; }
.projects__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.projects__head p { color: var(--muted); max-width: 42ch; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(240px, 26vw, 420px); gap: clamp(12px, 1.6vw, 24px); }
.g { display: flex; flex-direction: column; min-height: 0; }
.g--wide { grid-column: span 2; }
.g button { flex: 1; min-height: 0; padding: 0; border: 0; background: var(--bg-soft); cursor: zoom-in; overflow: hidden; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.6,.2,1); }
.g button:hover img { transform: scale(1.04); }
.g span { font-size: var(--step--1); color: var(--muted); padding-top: 10px; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 56vw; } }
@media (max-width: 520px) {
  .gallery { grid-auto-rows: 64vw; gap: 10px; }
  .g span { font-size: .8rem; padding-top: 6px; }
}

/* Full-bleed band */
.band { position: relative; height: 90vh; min-height: 480px; color: #fff; overflow: hidden; background: #2b2b28; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.6) 100%); }
.band__text { position: absolute; z-index: 1; left: var(--gutter); bottom: clamp(32px, 7vh, 80px); right: var(--gutter); }
.band h2 { font-size: var(--step-4); max-width: 14ch; margin-bottom: 24px; }

/* Materials */
.materials { padding: var(--section) 0 0; }
.materials .h-section { margin-bottom: 40px; }
.mat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.6vw, 24px); }
.mat-grid h3 { font-size: var(--step-1); margin-top: 16px; }
.mat-grid p { color: var(--muted); font-size: var(--step--1); margin-top: 4px; }
.chip { aspect-ratio: 1; }
.chip--teak {
  background:
    repeating-radial-gradient(ellipse 140% 22% at 30% 120%, transparent 0 6px, rgba(60,32,14,.22) 6px 7px, transparent 7px 13px),
    repeating-linear-gradient(92deg, rgba(255,220,180,.06) 0 3px, transparent 3px 9px),
    linear-gradient(170deg, #A8724A, #8A5634 60%, #74462A);
}
.chip--rattan {
  background:
    repeating-linear-gradient(0deg, transparent 0 7px, rgba(120,84,40,.35) 7px 9px, transparent 9px 16px),
    repeating-linear-gradient(90deg, rgba(255,244,214,.35) 0 6px, rgba(150,108,56,.3) 6px 8px, transparent 8px 16px),
    linear-gradient(160deg, #D8B983, #C29D62);
}
.chip--linen {
  background:
    repeating-linear-gradient(0deg, rgba(120,110,95,.22) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(120,110,95,.2) 0 1px, transparent 1px 4px),
    linear-gradient(170deg, #EFE9DF, #DCD3C4);
}
.chip--stone {
  background:
    radial-gradient(circle at 20% 30%, #8E8A82 0 3px, transparent 4px) 0 0 / 34px 34px,
    radial-gradient(circle at 70% 60%, #B9A58C 0 5px, transparent 6px) 0 0 / 46px 46px,
    radial-gradient(circle at 40% 80%, #5E655F 0 2px, transparent 3px) 0 0 / 22px 22px,
    radial-gradient(circle at 85% 15%, #FFFFFF 0 3px, transparent 4px) 0 0 / 40px 40px,
    linear-gradient(160deg, #D6D1C8, #C3BDB2);
}
@media (max-width: 900px) { .mat-grid { grid-template-columns: 1fr 1fr; row-gap: 32px; } }

/* Process */
.process { padding: var(--section) 0; }
.process .h-section { margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.steps li { padding: 28px 28px 0 0; }
.steps__n { display: block; color: var(--muted); font-size: var(--step--1); margin-bottom: 14px; }
.steps h3 { font-size: var(--step-1); margin-bottom: 8px; }
.steps p { color: var(--ink-soft); font-size: var(--step--1); max-width: 30ch; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li { padding-bottom: 28px; }
}
@media (max-width: 480px) { .steps { grid-template-columns: 1fr; } }

/* Contact */
.contact { padding: var(--section) 0; background: var(--bg-soft); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 120px); }
.contact .h-section { max-width: 14ch; margin-bottom: 24px; }
.contact__intro > p { color: var(--ink-soft); max-width: 42ch; }
.contact__list { margin-top: 40px; border-top: 1px solid var(--line); }
.contact__list > div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact__list dt { color: var(--muted); font-size: var(--step--1); padding-top: 2px; }
.contact__list dd a { text-decoration: none; }
.contact__list dd a:hover { text-decoration: underline; }
.contact__list .tlink { margin-top: 8px; font-size: var(--step--1); }
.contact__list .tlink:hover { text-decoration: none; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .contact__list > div { grid-template-columns: 1fr; gap: 4px; } }

.form__row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; min-width: 0; }
.form__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 560px) { .form__cols { grid-template-columns: 1fr; } }
.form label { font-size: var(--step--1); color: var(--ink-soft); font-weight: 400; }
.form input, .form select, .form textarea {
  width: 100%; font: 300 1.0625rem/1.4 var(--font); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid #C9C6BF; border-radius: 0;
  padding: 10px 0; min-height: 46px;
}
.form select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23222420'/%3E%3C/svg%3E") right 4px center no-repeat;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--forest); box-shadow: 0 1px 0 var(--forest); }
.form [aria-invalid="true"] { border-bottom-color: #A2412F; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 36px; margin-top: 8px;
  background: var(--forest); color: #fff; border: 0; border-radius: 0;
  font: 400 1rem/1 var(--font); cursor: pointer; transition: background-color .2s;
}
.btn:hover { background: var(--forest-deep); }
.btn[disabled] { opacity: .6; cursor: progress; }
.form__status { margin-top: 16px; font-size: var(--step--1); min-height: 1.4em; }
.form__status.is-ok { color: var(--forest); }
.form__status.is-err { color: #A2412F; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.ftr { padding: 64px 0 48px; border-top: 1px solid var(--line); }
.ftr__inner { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.ftr__brand { text-decoration: none; color: var(--forest); display: flex; align-items: baseline; gap: 6px; }
.ftr__links { display: flex; gap: 28px; flex-wrap: wrap; }
.ftr__links a { text-decoration: none; font-size: var(--step--1); }
.ftr__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ftr__copy { margin-left: auto; color: var(--muted); font-size: var(--step--1); }
@media (max-width: 700px) { .ftr__copy { margin-left: 0; width: 100%; } }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 94vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 20, 18, .92); }
.lightbox img { max-width: 94vw; max-height: 86vh; width: auto; height: auto; }
.lightbox__close { display: block; margin: 14px auto 0; background: none; border: 0; border-bottom: 1px solid #fff; color: #fff; padding: 4px 0; cursor: pointer; }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--forest); color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(22, 43, 35, .3);
}
.wa-float:hover { background: var(--forest-deep); }

[hidden] { display: none !important; }
