@font-face { font-family: Cormorant; src: url("/assets/fonts/cormorant-site.woff2") format("woff2"); font-display: swap; font-weight: 600; }
@font-face { font-family: Hanken; src: url("/assets/fonts/hanken-site.woff2") format("woff2"); font-display: swap; font-weight: 400 700; }

:root {
  color-scheme: light;
  --paper: #f5f2ea;
  --surface: #fbf9f3;
  --tint: #ebe5d6;
  --ink: #1c2a21;
  --muted: #536052;
  --forest: #101a14;
  --forest-soft: #24382b;
  --olive: #566638;
  --lime: #c3cc9a;
  --cream: #f5f2ea;
  --line: #d6cdb8;
  --serif: Cormorant, Georgia, serif;
  --sans: Hanken, system-ui, sans-serif;
  --outer: clamp(18px, 4.3vw, 76px);
  --width: 1440px;
  --header: 71px;
  --ease: cubic-bezier(.22,.63,.27,1);
}
*,*::before,*::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--header) + 18px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.62 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 23px; height: 23px; flex: none; }
button,input,textarea,select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
figure,p,h1,h2,h3 { margin: 0; }
h1,h2,h3 { font-family: var(--serif); font-weight: 600; line-height: .96; letter-spacing: -.04em; text-wrap: balance; }
h1 { font-size: clamp(3.05rem, 7vw, 7.2rem); }
h2 { font-size: clamp(2.35rem, 5vw, 5rem); }
h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
:focus-visible { outline: 3px solid #7a894b; outline-offset: 4px; }
.dark :focus-visible,.header :focus-visible,.footer :focus-visible,.hero :focus-visible { outline-color: var(--lime); }
.wrap { width: min(100% - var(--outer) * 2, var(--width)); margin-inline: auto; }
.section { padding-block: clamp(46px, 7.2vw, 114px); }
.section--tinted { background: var(--tint); }
.dark { color: var(--cream); background: var(--forest-soft); }
.eyebrow { color: var(--olive); font-size: .875rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.dark .eyebrow,.hero .eyebrow { color: var(--lime); }
.lead { font-size: clamp(1.04rem, 1.7vw, 1.28rem); line-height: 1.55; color: var(--muted); max-width: 49ch; }
.visually-hidden,.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; inset: 10px auto auto 10px; z-index: 10; background: var(--cream); color: var(--ink); padding: 10px 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px clamp(15px, 2.2vw, 27px); border: 1px solid transparent; font-weight: 700; text-align: center; text-decoration: none; line-height: 1.25; transition: background .23s, color .23s, border-color .23s, transform .23s; }
.button--primary { color: var(--cream); background: var(--forest-soft); }
.button--outline { border-color: var(--olive); color: var(--ink); background: transparent; }
.button--light { color: var(--forest); background: var(--cream); }
.button--light-outline { border-color: #cbd2bb; color: var(--cream); background: transparent; }
.button--primary:hover,.button--outline:hover { background: var(--olive); border-color: var(--olive); color: white; }
.button--light:hover,.button--light-outline:hover { background: var(--lime); border-color: var(--lime); color: var(--forest); }
.button:active { transform: translateY(2px); }
.text-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .32em; }

.header { position: sticky; top: 0; z-index: 5; background: var(--forest); color: var(--cream); border-bottom: 1px solid #405044; }
.header__inner { position: relative; min-height: var(--header); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.brand { display: inline-flex; align-items: center; width: 81px; height: 59px; flex: none; text-decoration: none; }
.brand img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: screen; }
.menu-button { display: none; align-items: center; gap: 8px; border: 0; background: transparent; color: var(--cream); min-height: 44px; padding: 5px 0 5px 12px; }
.navigation { display: flex; flex-wrap: wrap; gap: 0 18px; align-items: center; }
.navigation a { text-decoration: none; font-size: .925rem; line-height: 1.25; color: #e1e3d7; padding: 11px 0; position: relative; }
.navigation a:hover,.navigation a[aria-current] { color: white; }
.navigation a[aria-current]::after { content: ""; position: absolute; inset: auto 0 4px; border-bottom: 1px solid var(--lime); }

.hero { position: relative; display: grid; align-items: end; min-height: clamp(520px, 77svh, 860px); isolation: isolate; color: var(--cream); background: #27372a; overflow: hidden; }
.hero__media,.hero::after { position: absolute; inset: 0; z-index: -1; }
.hero__media picture { display: block; width: 100%; height: 100%; animation: hero-scale 20s .72s var(--ease) forwards; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 49%; }
.hero::after { content: ""; background: linear-gradient(90deg,rgba(10,19,13,.76),rgba(10,19,13,.32) 66%,rgba(10,19,13,.12)),linear-gradient(0deg,rgba(10,19,13,.51),transparent 70%); }
.hero__inner { padding-block: 46px clamp(54px, 9vw, 120px); }
.hero__copy { max-width: 900px; }
.hero h1 { margin-block: 17px 19px; }
.hero-mobile-break { display: none; }
.hero h1 em { color: #e8eccd; font-weight: inherit; }
.hero__copy > p:not(.eyebrow) { max-width: 44ch; font-size: clamp(1.03rem, 2vw, 1.24rem); color: #f2f1e9; }
.hero .actions { margin-top: 27px; }
.hero__copy > * { animation: hero-enter .63s var(--ease) both; }
.hero__copy > h1 { animation-delay: .07s; }
.hero__copy > p:not(.eyebrow) { animation-delay: .13s; }
.hero__copy > .actions { animation-delay: .18s; }
@keyframes hero-scale { from { scale: 1; } to { scale: 1.055; } }
@keyframes hero-enter { from { transform: translateY(10px); } to { transform: none; } }
@keyframes section-enter { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: none; } }
.has-reveal .is-revealed { animation: section-enter .57s var(--ease) both; }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root),::view-transition-new(root) { animation-duration: .18s; }
}

.intro,.section-row,.split { display: grid; gap: 20px; }
.intro { margin-bottom: clamp(29px, 4vw, 56px); }
.intro > p,.split > div > p { max-width: 52ch; color: var(--muted); }
.section-row { margin-bottom: clamp(24px, 3.2vw, 42px); justify-items: start; }
.section-heading .eyebrow { margin-bottom: 9px; }
.section-heading > p:not(.eyebrow) { color: var(--muted); margin-top: 16px; max-width: 48ch; }
.split .actions { margin-top: 22px; }
.service-grid { display: grid; gap: 20px; }
.service-card { min-width: 0; }
.service-card a { display: block; text-decoration: none; background: var(--surface); height: 100%; border-bottom: 1px solid var(--line); }
.service-card__image { overflow: hidden; aspect-ratio: 4/3; background: var(--tint); }
.service-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .62s var(--ease); }
.service-card:hover img,.service-card:focus-within img,.gallery__image:hover img { transform: scale(1.045); }
.service-card__copy { padding: clamp(18px, 3vw, 32px); }
.service-card__copy p { color: var(--muted); margin-block: 8px 12px; }
.service-card .text-link { font-size: .94rem; font-weight: 700; color: var(--olive); }
.visit__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 25px; padding-block: clamp(43px, 6vw, 84px); }
.visit h2 { font-size: clamp(2.25rem, 5.2vw, 4.6rem); margin-block: 7px 13px; }
.visit p:not(.eyebrow) { color: #e1e8d8; }

.masthead { background: var(--tint); padding-block: clamp(35px, 7vw, 96px); }
.masthead__grid { display: grid; gap: clamp(22px, 5vw, 85px); align-items: center; }
.masthead__text { min-width: 0; }
.masthead h1 { margin-block: 10px 15px; font-size: clamp(3rem, 7vw, 6.6rem); }
.masthead .button { margin-top: 23px; }
.masthead__photo { overflow: hidden; aspect-ratio: 5/3; background: var(--tint); }
.masthead__photo picture { display: block; width: 100%; height: 100%; }
.masthead__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
[data-page="market"] .masthead__photo img,[data-page="about"] .masthead__photo img { object-position: center 34%; }
.service-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.service-list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 5px 0; font-size: 1.12rem; }
.service-list li > span::before { content: ""; display: inline-block; width: 12px; margin: 0 10px 4px 0; border-top: 1px solid var(--olive); }
.service-list a { flex: none; display: inline-flex; align-items: center; min-height: 44px; color: var(--olive); font-size: .95rem; font-weight: 700; }

.market__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 18px; }
.catalog-links { display: flex; flex-wrap: wrap; gap: 8px; }
.catalog-link { display: flex; min-height: 49px; gap: 9px; align-items: center; border: 1px solid var(--line); background: var(--surface); text-decoration: none; padding: 8px 13px; font-weight: 700; }
.catalog-link small { display: block; font-weight: 400; font-size: .875rem; color: var(--muted); }
.catalog-link:hover { border-color: var(--olive); }
.market__filters { margin-block: 23px 19px; }
.search { display: flex; width: min(100%, 510px); align-items: center; gap: 8px; padding: 0 12px; color: var(--muted); background: var(--surface); border: 1px solid #9e9e86; }
.search input { width: 100%; min-height: 46px; color: var(--ink); background: transparent; border: 0; padding: 7px 2px; }
.search:focus-within { outline: 2px solid var(--olive); outline-offset: 2px; }
.search input:focus-visible { outline: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 15px 12px; }
.chips button { background: var(--surface); color: var(--ink); border: 1px solid #a7a78f; border-radius: 999px; min-height: 44px; padding: 5px 12px; font-size: .91rem; line-height: 1.2; transition: background .18s, color .18s; }
.chips button:hover { border-color: var(--olive); }
.chips button[aria-pressed="true"] { background: var(--forest-soft); color: var(--cream); border-color: var(--forest-soft); }
.result-count,.empty { color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(8px, 2vw, 22px); }
.product-grid.is-filtered { animation: product-enter .22s var(--ease); }
@keyframes product-enter { from { opacity: .72; } to { opacity: 1; } }
.product { min-width: 0; }
.product__button { padding: 0; background: var(--surface); border: 1px solid var(--line); text-align: left; width: 100%; height: 100%; display: flex; flex-direction: column; color: var(--ink); transition: border-color .2s, background .2s; }
.product__button:hover { background: #f5f2e5; border-color: var(--olive); }
.product__image { display: block; width: 100%; height: clamp(125px, 30vw, 225px); padding: 10px; background: #ede9dc; overflow: hidden; }
.product__image img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.product__button:hover img { transform: scale(1.055); }
.product__body { display: grid; gap: 3px; padding: 11px clamp(9px, 2vw, 19px) 14px; overflow-wrap: anywhere; }
.product__name { font: 600 clamp(1.22rem, 2.5vw, 1.7rem)/1.04 var(--serif); }
.product__size { font-size: .9rem; color: var(--muted); }

.gallery { display: grid; gap: 20px clamp(12px, 2vw, 28px); margin-top: 27px; }
.gallery__item { min-width: 0; }
.gallery__image { display: block; position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--forest-soft); }
.gallery__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__zoom { position: absolute; display: grid; place-items: center; min-width: 41px; min-height: 41px; inset: auto 9px 9px auto; padding: 5px 8px; background: var(--cream); color: var(--forest); }
.gallery__item figcaption { font-size: .925rem; color: var(--muted); margin-top: 6px; }
.comparison { margin-top: 28px; max-width: 900px; }
.comparison__frame { position: relative; aspect-ratio: 16/9; background: var(--forest); }
.comparison__frame img { position: absolute; width: 100%; height: 100%; object-fit: cover; }
.comparison__before { clip-path: inset(0 50% 0 0); }
.comparison__label { position: absolute; top: 10px; left: 10px; background: var(--forest); color: var(--cream); padding: 4px 8px; }
.comparison__label--after { left: auto; right: 10px; }
.comparison label { display: grid; gap: 5px; padding-top: 8px; }

.contact-grid { display: grid; gap: clamp(20px, 5vw, 65px); }
.contact-info h2,.quote h2 { font-size: clamp(2.2rem, 4.25vw, 3.9rem); }
address { font-style: normal; }
.contact-info address { margin-top: 15px; max-width: 32ch; }
.contact-links { list-style: none; margin: 9px 0 0; padding: 0; }
.contact-links a { overflow-wrap: anywhere; }
.contact-info .contact-links a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-hours { max-width: 26rem; border-top: 1px solid var(--line); margin-top: 18px; padding-top: 19px; }
.business-hours { margin: 8px 0; }
.business-hours > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0 12px; padding-block: 3px; }
.business-hours dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.open-status { display: inline-flex; align-items: center; gap: 8px; min-height: 1.62em; font-weight: 700; color: var(--olive); }
.open-status:not([data-state]) { visibility: hidden; }
.open-status::before { content: ""; width: .52rem; height: .52rem; border-radius: 50%; background: currentColor; flex: none; }
.open-status[data-state="closed"] { color: var(--muted); }
.footer .open-status { color: var(--lime); }
.footer .open-status[data-state="closed"] { color: #c2cbbc; }
.quote > p { color: var(--muted); }
.quote { min-width: 0; border: 1px solid var(--line); background: var(--surface); padding: clamp(14px, 3.1vw, 36px); }
.quote > p { margin-top: 9px; }
.quote form,.form-grid { display: grid; gap: 15px; }
.quote form { margin-top: 18px; justify-items: start; }
.quote form label,.form-grid { width: 100%; min-width: 0; }
.quote label { display: grid; gap: 4px; font-weight: 600; }
.quote input,.quote textarea,.quote select { width: 100%; min-height: 44px; padding: 8px; border: 1px solid #9d9c88; background: var(--paper); color: var(--ink); }
.quote textarea { resize: vertical; }
.field-note { color: var(--muted); font-weight: 400; font-size: .875rem; }
.form-message { color: var(--ink); border-left: 2px solid var(--olive); padding-left: 9px; overflow-wrap: anywhere; }
.quote-submit { gap: 8px; }

.whatsapp { display: flex; align-items: center; gap: 7px; min-height: 45px; border: 1px solid #a1ab83; border-radius: 999px; background: var(--forest-soft); color: var(--cream); text-decoration: none; padding: 6px 13px; font-size: .875rem; font-weight: 700; transition: background .2s; }
.whatsapp--float { position: fixed; z-index: 4; bottom: calc(12px + env(safe-area-inset-bottom)); right: max(12px, env(safe-area-inset-right)); box-shadow: 0 4px 19px #131d1650; }
.whatsapp--header { display: none; }
.whatsapp:hover { background: #405437; }
.footer { background: var(--forest); color: var(--cream); padding: 33px 0 65px; }
.footer__body { display: grid; gap: 23px; }
.footer__title { color: var(--lime); font-weight: 700; margin-bottom: 8px; }
.footer nav { display: flex; gap: 5px 13px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }
.footer address,.footer__base { color: #c2cbbc; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 20px; font-size: .875rem; border-top: 1px solid #495248; margin-top: 25px; padding-top: 15px; }

#viewer { max-width: none; max-height: none; width: min(700px, calc(100% - 24px)); padding: 0; border: 0; color: var(--ink); background: var(--surface); overflow: auto; }
#viewer::backdrop { background: #0b140ee5; }
#viewer[data-mode="gallery"] { position: fixed; inset: 0; margin: 0; width: 100%; height: 100%; background: #101a14; color: var(--cream); }
.viewer__bar { display: flex; justify-content: space-between; gap: 10px; align-items: center; min-height: 58px; padding: 8px clamp(14px, 4vw, 44px); }
.viewer__bar h2 { font-size: clamp(1.45rem, 3.5vw, 2.5rem); }
.icon-button,.viewer__controls button { min-width: 44px; min-height: 44px; background: transparent; border: 1px solid currentColor; color: inherit; padding: 7px; display: grid; place-items: center; }
.viewer__controls { display: flex; align-items: center; justify-content: center; gap: 15px; padding: 7px 10px 16px; }
.viewer__content { padding: 0 clamp(12px, 3vw, 32px) 16px; }
[data-mode="gallery"] .viewer__content { display: grid; place-items: center; height: calc(100dvh - 125px); }
[data-mode="gallery"] .viewer__content img,[data-mode="gallery"] video { max-width: 100%; max-height: 100%; min-height: 0; width: auto; height: auto; object-fit: contain; }
.product-detail { display: grid; gap: 14px; }
.product-detail__photo { background: var(--tint); display: grid; place-items: center; padding: 12px; }
.product-detail__photo img { max-height: 320px; width: 100%; object-fit: contain; }
.product-detail__copy { align-self: start; }
.product-detail dl { margin-block: 9px; }
.product-detail dt { font-weight: 700; }
.product-detail dd { margin: 0 0 8px; }
.product-detail dd img { max-width: min(100%, 410px); }
.product-detail .button { margin-top: 8px; }

@media (max-width: 959px) {
  .header__inner { min-height: 65px; }
  .header .brand { width: 69px; height: 53px; }
  .js .menu-button { display: flex; }
  .navigation { width: 100%; }
  .js .navigation { left: calc(-1 * var(--outer)); right: calc(-1 * var(--outer)); top: 100%; width: auto; position: absolute; background: var(--forest); padding: 7px var(--outer) 14px; display: grid; visibility: hidden; opacity: 0; transform: translateY(-7px); transition: opacity .21s, transform .21s, visibility .21s; }
  .js .navigation.is-open { visibility: visible; opacity: 1; transform: none; }
  .navigation a { min-height: 44px; display: flex; align-items: center; }
  .navigation a[aria-current]::after { width: 28px; }
}
@media (max-width: 570px) {
  .hero { min-height: clamp(510px, 78svh, 720px); }
  .hero__media picture { animation-duration: 24s; }
  .hero__media img { object-position: center; }
  .hero::after { background: linear-gradient(0deg,rgba(10,19,13,.85) 1%,rgba(10,19,13,.56) 54%,rgba(10,19,13,.12)); }
  .hero h1 { font-size: clamp(2.65rem, 12vw, 3.27rem); }
  .hero-mobile-break { display: initial; }
  .whatsapp--float { display: none; }
  .whatsapp--header { display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0; margin-inline: auto 8px; }
  .whatsapp--header span { display: none; }
  .catalog-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); width: 100%; }
  .catalog-link { padding-inline: 9px; font-size: .9rem; }
  .catalog-link svg { width: 18px; }
}
@media (min-width: 510px) {
  .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .gallery--projects .gallery__item:first-child { grid-column: span 2; }
  .gallery--projects .gallery__item:first-child .gallery__image { aspect-ratio: 2/1; }
  .form-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 711px) {
  .service-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .service-card:nth-child(2) { margin-top: 20px; }
  .intro,.split { grid-template-columns: 1fr 1fr; align-items: end; gap: clamp(22px, 6vw, 105px); }
  .split { align-items: start; }
  .section-row { display: flex; justify-content: space-between; align-items: end; }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .gallery--home { grid-template-columns: 1.5fr 1fr; }
  .gallery--home .gallery__item:first-child { grid-row: span 2; }
  .gallery--home .gallery__item:first-child .gallery__image { height: calc(100% - 30px); aspect-ratio: auto; }
  .gallery--home .gallery__item:not(:first-child) .gallery__image { aspect-ratio: 2.15; }
  .contact-grid { grid-template-columns: minmax(0,.75fr) minmax(0,1.3fr); }
  .product-detail { grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); }
  .footer__body { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 761px) {
  .masthead__grid:has(.masthead__photo) { grid-template-columns: minmax(0,.95fr) minmax(0,1fr); }
  .masthead__photo { aspect-ratio: 4/3; }
}
@media (min-width: 960px) {
  .navigation { gap: clamp(11px, 1.6vw, 32px); flex-wrap: nowrap; }
  .product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .gallery--projects { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .gallery--projects .gallery__item:first-child .gallery__image { aspect-ratio: 1.8; }
  .hero__media { transform: translateY(var(--parallax,0px)); }
}
@media (min-width: 1080px) {
  .footer__body { grid-template-columns: minmax(0,.85fr) minmax(0,1fr) minmax(0,1.1fr) minmax(0,.95fr); }
}
@media (prefers-color-scheme: dark) {
  :root { color-scheme: dark; --paper:#16211a; --surface:#1e2c23; --tint:#202e25; --ink:#f1eee2; --muted:#c1ccba; --olive:#b1c180; --line:#485748; }
  .button--outline:hover { color: var(--forest); }
  .service-card__image,.product__image { background: #e4e0d3; }
  .product__button:hover { background: #263729; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero__media { transform: none; }
}
