:root {
  --ink: #0d161a;
  --ink-soft: #223136;
  --paper: #f4f1ea;
  --stone: #cbc5bb;
  --line: rgba(13, 22, 26, 0.16);
  --blue: #00aeef;
  --blue-dark: #008fc6;
  --white: #ffffff;
  --serif: "Bodoni Moda", Georgia, serif;
  --sans: "Manrope", sans-serif;
  --radius-sharp: 2px;
  --radius-card: 16px;
  --shadow: 0 18px 50px rgba(4, 15, 19, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; text-wrap: pretty; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img { display: block; width: 100%; }
::selection { background: var(--blue); color: var(--ink); }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--blue); color: var(--ink); padding: .7rem 1rem; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(244, 241, 234, 0.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
.header-inner { max-width: 1440px; min-height: 82px; margin: 0 auto; padding: 0 3.25rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.wordmark { display: grid; grid-template-columns: auto auto; column-gap: .44rem; align-items: baseline; text-decoration: none; letter-spacing: -.08em; line-height: .85; min-width: max-content; }
.wordmark__group { grid-column: 1 / -1; font-size: .47rem; font-weight: 700; letter-spacing: .16em; margin-bottom: .1rem; }
.wordmark__jaex { font-size: 1.55rem; font-weight: 700; color: var(--blue-dark); }
.wordmark__panel { font-size: .63rem; letter-spacing: .12em; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 1.8rem; font-size: .76rem; font-weight: 700; letter-spacing: .04em; }
.site-nav a { text-decoration: none; transition: color .2s ease; }
.site-nav > a:not(.nav-cta):hover { color: var(--blue-dark); }
.nav-cta { border: 1px solid var(--ink); padding: .7rem .95rem; }
.nav-cta:hover { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 9px; background: transparent; border: 1px solid var(--ink); cursor: pointer; }
.menu-toggle span { display: block; height: 2px; width: 100%; margin: 5px 0; background: var(--ink); }

.hero { max-width: 1440px; min-height: min(760px, calc(100vh - 82px)); margin: 0 auto; padding: clamp(3.5rem, 7vw, 7.5rem) 3.25rem 4rem; display: grid; grid-template-columns: minmax(0, .94fr) minmax(350px, .82fr); gap: clamp(2.5rem, 6vw, 8.5rem); align-items: center; position: relative; overflow: hidden; }
.hero__copy { position: relative; z-index: 2; max-width: 690px; }
.hero__kicker, .section-label { margin: 0 0 1.25rem; color: var(--blue-dark); font-size: .68rem; font-weight: 700; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.hero__kicker { display: flex; align-items: center; gap: .65rem; }
.hero__kicker span { display: inline-block; width: 30px; height: 3px; background: var(--blue); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.055em; line-height: .98; }
h1 { margin-bottom: 1.6rem; font-size: clamp(3.8rem, 7.2vw, 7.4rem); max-width: 650px; }
h1 em { color: var(--blue-dark); font-style: normal; }
.hero__lead { max-width: 520px; color: #415055; font-size: clamp(1.03rem, 1.6vw, 1.25rem); }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.4rem; margin-top: 2.25rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 1.2rem; min-height: 50px; padding: .9rem 1.2rem; border: 1px solid var(--ink); color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-decoration: none; cursor: pointer; transition: background .22s ease, transform .22s ease, color .22s ease; }
.button--primary { background: var(--blue); border-color: var(--blue); }
.button--primary:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-decoration: none; }
.text-link:hover span { transform: translate(3px, -3px); }
.text-link span { color: var(--blue-dark); font-size: 1.05em; transition: transform .2s ease; }
.hero__detail { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; margin-top: 4.5rem; color: #536166; font-size: .66rem; letter-spacing: .08em; text-transform: uppercase; }
.hero__detail i { height: 3px; width: 3px; border-radius: 50%; background: var(--blue); }
.hero__brand-image { width: min(100%, 525px); margin: 0 0 0 auto; position: relative; box-shadow: var(--shadow); background: var(--ink); }
.hero__brand-image::before { content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem; border: 1px solid var(--blue); z-index: -1; }
.hero__brand-image img { aspect-ratio: 3 / 4; object-fit: cover; object-position: center; }
.hero__brand-image figcaption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem 1.15rem; background: linear-gradient(transparent, rgba(0,0,0,.9)); color: var(--white); font-size: .68rem; letter-spacing: .06em; }
.hero__cut { position: absolute; width: 23vw; height: 6px; background: var(--blue); bottom: 13%; left: 0; }

.material-rail { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); color: var(--paper); }
.material-link { min-height: 185px; padding: 2rem clamp(1.3rem, 4vw, 4.5rem); display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: start; border-right: 1px solid rgba(255,255,255,.2); text-decoration: none; transition: background .25s ease, color .25s ease; }
.material-link:last-child { border-right: 0; }
.material-link:hover { background: var(--blue); color: var(--ink); }
.material-link__number { color: var(--blue); font-family: var(--serif); font-size: 1rem; }
.material-link:hover .material-link__number { color: var(--ink); }
.material-link span:nth-child(2) { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.6rem); line-height: 1; letter-spacing: -.045em; }
.material-link b { font-size: 1.05rem; }

.intro-section { max-width: 1440px; margin: 0 auto; padding: clamp(5rem, 10vw, 10rem) 3.25rem; display: grid; grid-template-columns: .48fr 1.52fr; gap: clamp(2rem, 8vw, 10rem); }
.intro-section__marker { color: var(--blue); font-size: clamp(1.7rem, 3vw, 3.2rem); font-weight: 700; letter-spacing: -.09em; line-height: .75; }
.intro-section__marker span { color: var(--ink); font-size: .48em; letter-spacing: .09em; }
.intro-section__content h2 { max-width: 910px; margin-bottom: 2rem; font-size: clamp(2.85rem, 5.2vw, 5.7rem); }
.intro-section__body { max-width: 640px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; color: #4e5b5f; font-size: .95rem; }
.text-link--dark { color: var(--ink); align-self: start; }

.brand-showcase { background: var(--ink); color: var(--paper); padding: clamp(5rem, 10vw, 9rem) 0 1rem; }
.section-heading { max-width: 1440px; margin: 0 auto; padding: 0 3.25rem; }
.section-heading--dark { display: grid; grid-template-columns: 1.2fr .55fr; justify-content: space-between; gap: 4rem; align-items: end; margin-bottom: 4rem; }
.section-label--light { color: var(--blue); }
.section-heading h2 { max-width: 700px; margin-bottom: 0; font-size: clamp(3rem, 5vw, 5.4rem); }
.section-heading > p { margin: 0 0 .5rem; color: #bcc7c6; font-size: .92rem; }
.brand-row { min-height: 480px; max-width: 1440px; margin: 0 auto 1rem; display: grid; grid-template-columns: 1fr 1fr; background: #152126; overflow: hidden; }
.brand-row__media { min-height: 410px; overflow: hidden; }
.brand-row__media img { height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.65,.2,1); }
.brand-row:hover .brand-row__media img { transform: scale(1.035); }
.brand-row__media--make img { object-position: center 35%; }
.brand-row__content { padding: clamp(2.5rem, 5vw, 5.5rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.brand-logo { width: auto; object-fit: contain; object-position: left center; margin-bottom: 2.1rem; filter: grayscale(1) brightness(0) invert(1); }
.brand-logo--make { max-width: 165px; height: 82px; }
.brand-logo--reviste { max-width: 180px; max-height: 54px; filter: none; }
.brand-logo--panespol { max-width: 210px; max-height: 58px; }
.brand-row__content > p { max-width: 470px; color: #dce5e2; font-size: 1.08rem; }
.brand-row ul { margin: .6rem 0 2.2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem .8rem; list-style: none; color: #a7b5b3; font-size: .72rem; }
.brand-row li { padding-right: .8rem; border-right: 1px solid rgba(255,255,255,.25); }
.brand-row li:last-child { border-right: 0; }
.text-link--light { color: var(--paper); }
.brand-row--reviste { grid-template-columns: .85fr 1.15fr; background: #25433e; }
.brand-row--reviste .brand-logo--reviste { background: #fff; padding: .2rem .5rem; }
.brand-row--panespol { grid-template-columns: 1.1fr .9fr; background: #252321; }

.catalogue-section { max-width: 1440px; margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) 3.25rem; }
.catalogue-section__header { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 3rem; }
.catalogue-section h2 { max-width: 700px; margin-bottom: 0; font-size: clamp(3rem, 5vw, 5.2rem); }
.filter-controls { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-end; }
.filter { min-height: 38px; padding: .45rem .8rem; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: .68rem; font-weight: 700; letter-spacing: .04em; }
.filter:hover, .filter.is-active { border-color: var(--blue); background: var(--blue); }
.collection-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: .9rem; }
.collection-card { grid-column: span 4; min-height: 310px; position: relative; overflow: hidden; background: var(--ink); cursor: pointer; }
.collection-card--tall { grid-column: span 5; grid-row: span 2; min-height: 630px; }
.collection-card--stone { grid-column: span 3; }
.collection-card--dark { grid-column: span 3; }
.collection-card img { position: absolute; inset: 0; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2,.65,.2,1); }
.collection-card--tall img, .collection-card--dark img { object-position: center; }
.collection-card:hover img { transform: scale(1.055); }
.collection-card__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: end; padding: 1.25rem; background: linear-gradient(180deg, transparent 42%, rgba(5,10,12,.84)); color: var(--white); }
.collection-card__overlay p { margin-bottom: .25rem; color: var(--blue); font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.collection-card h3 { margin-bottom: .8rem; font-family: var(--serif); font-size: 1.9rem; font-weight: 600; letter-spacing: -.05em; line-height: 1; }
.card-detail { padding: 0; border: 0; color: var(--white); background: transparent; cursor: pointer; font-size: .7rem; font-weight: 700; text-decoration: underline; text-underline-offset: .3rem; }
.card-detail span { color: var(--blue); }
.collection-card.is-hidden { display: none; }
.catalogue-note { margin: 1.2rem 0 0; color: #647174; font-size: .72rem; }

.projects-section { background: #e7e2d8; padding: clamp(5rem, 10vw, 9rem) 3.25rem; }
.projects-section__intro { max-width: 1440px; margin: 0 auto 3.5rem; display: grid; grid-template-columns: .55fr 1.45fr; gap: 3rem; }
.projects-section h2 { max-width: 860px; margin: 0; font-size: clamp(3rem, 5.1vw, 5.6rem); }
.project-wall { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1.25fr .75fr .75fr; grid-template-rows: 320px 250px; gap: .9rem; }
.project-wall figure { position: relative; overflow: hidden; margin: 0; background: var(--ink); }
.project-wall img { height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-wall figure:hover img { transform: scale(1.04); }
.project-wall figcaption { position: absolute; left: 0; bottom: 0; padding: .75rem 1rem; background: var(--ink); color: var(--paper); font-size: .68rem; font-weight: 700; letter-spacing: .05em; }
.project-wall__large { grid-row: span 2; }
.project-wall__large img { object-position: 35% center; }
.project-wall__texture { grid-column: 2 / span 2; }
.project-wall__texture img { object-position: center 37%; }

.quote-section { max-width: 1440px; margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) 3.25rem; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 10rem); align-items: start; }
.quote-section__intro h2 { margin-bottom: 1.4rem; font-size: clamp(3rem, 5vw, 5.4rem); }
.quote-section__intro > p:last-child { max-width: 430px; color: #506064; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1.3rem; row-gap: 1.35rem; padding: clamp(1.6rem, 3vw, 2.75rem); background: var(--white); border-top: 5px solid var(--blue); box-shadow: 0 16px 40px rgba(16,30,33,.08); }
.form-row { display: grid; gap: .45rem; }
.form-row--full { grid-column: 1 / -1; }
.form-row label { font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.form-row label span { color: var(--blue-dark); }
.form-row input, .form-row select, .form-row textarea { width: 100%; border: 0; border-bottom: 1px solid #aab2ae; border-radius: 0; background: transparent; padding: .55rem 0; color: var(--ink); outline: none; }
.form-row textarea { resize: vertical; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--blue-dark); box-shadow: 0 2px 0 var(--blue); }
.quote-form .button { justify-self: start; margin-top: .5rem; }
.form-hint { grid-column: 1 / -1; margin: 0; color: #6b7676; font-size: .7rem; }
.quote-result { grid-column: 2; padding: 2rem 2.3rem; border: 1px solid var(--ink); border-top: 5px solid var(--blue); background: #eef5f4; }
.quote-result p:not(.section-label) { max-width: 500px; margin-bottom: 1rem; }

.site-footer { display: grid; grid-template-columns: .75fr 1.25fr .8fr; gap: 2rem; align-items: start; padding: 3.25rem; background: var(--ink); color: var(--paper); }
.footer-brand { display: grid; line-height: .8; letter-spacing: -.08em; }
.footer-brand span:first-child { font-size: .5rem; letter-spacing: .16em; }
.footer-brand strong { color: var(--blue); font-size: 2.4rem; }
.footer-brand span:last-child { font-size: .66rem; letter-spacing: .13em; font-weight: 700; }
.site-footer > p { max-width: 390px; color: #c5d0cd; font-family: var(--serif); font-size: 1.25rem; line-height: 1.1; }
.footer-links { display: flex; flex-wrap: wrap; gap: .75rem 1.2rem; align-self: center; font-size: .7rem; font-weight: 700; }
.footer-links a { color: var(--paper); text-decoration-color: var(--blue); text-underline-offset: .3rem; }
.footer-note { grid-column: 2 / -1; margin: 0; color: #8d9c99 !important; font-family: var(--sans) !important; font-size: .67rem !important; }

.collection-dialog { width: min(940px, calc(100% - 2rem)); max-height: min(760px, calc(100dvh - 2rem)); padding: 0; border: 0; box-shadow: var(--shadow); color: var(--ink); background: var(--paper); overflow: auto; }
.collection-dialog::backdrop { background: rgba(4, 13, 16, .76); backdrop-filter: blur(5px); }
.collection-dialog[open] { display: grid; grid-template-columns: .88fr 1.12fr; }
.dialog-close { position: absolute; top: .85rem; right: .85rem; z-index: 2; width: 40px; height: 40px; border: 0; background: var(--paper); color: var(--ink); font-size: 2rem; line-height: 1; cursor: pointer; }
.dialog-media { min-height: 490px; background: var(--ink); }
.dialog-media img { height: 100%; object-fit: cover; }
.dialog-content { padding: clamp(2rem, 5vw, 4.5rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.dialog-content h2 { margin-bottom: 1rem; font-size: clamp(2.7rem, 4vw, 4rem); }
.dialog-content > p:not(.section-label) { color: #4c5b5e; }
.dialog-content dl { width: 100%; margin: 1rem 0 2rem; }
.dialog-content dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 1rem; padding: .65rem 0; border-top: 1px solid var(--line); }
.dialog-content dt { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.dialog-content dd { margin: 0; color: #536166; font-size: .82rem; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px, 1px, 1px, 1px) !important; white-space: nowrap !important; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 960px) {
  .header-inner, .hero, .intro-section, .section-heading, .catalogue-section, .projects-section, .quote-section { padding-left: 2rem; padding-right: 2rem; }
  .site-nav { gap: 1.05rem; }
  .hero { grid-template-columns: 1fr .84fr; gap: 2rem; }
  .intro-section { grid-template-columns: .35fr 1.65fr; gap: 2rem; }
  .brand-row, .brand-row--reviste, .brand-row--panespol { grid-template-columns: 1fr 1fr; }
  .collection-card { grid-column: span 6; }
  .collection-card--tall { grid-column: span 6; grid-row: span 2; }
  .collection-card--stone, .collection-card--dark { grid-column: span 6; }
  .quote-section { grid-template-columns: .75fr 1.25fr; gap: 2.5rem; }
}

@media (max-width: 720px) {
  .header-inner { min-height: 70px; padding-left: 1.25rem; padding-right: 1.25rem; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 1rem 1.25rem 1.4rem; flex-direction: column; align-items: stretch; background: var(--paper); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .nav-cta { text-align: center; }
  .hero { min-height: auto; padding: 3.6rem 1.25rem 3rem; grid-template-columns: 1fr; }
  .hero__brand-image { width: min(100%, 500px); margin: 1.2rem 0 0; }
  .hero__brand-image img { aspect-ratio: 4 / 3; object-position: center 53%; }
  .hero__detail { margin-top: 2.6rem; }
  .hero__cut { width: 46vw; bottom: 0; }
  .material-rail { grid-template-columns: 1fr; }
  .material-link { min-height: 130px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); padding: 1.45rem 1.25rem; }
  .intro-section { padding: 5rem 1.25rem; grid-template-columns: 1fr; gap: 2rem; }
  .intro-section__body { grid-template-columns: 1fr; gap: .7rem; }
  .section-heading { padding-left: 1.25rem; padding-right: 1.25rem; }
  .section-heading--dark { grid-template-columns: 1fr; gap: 1.4rem; margin-bottom: 2.4rem; }
  .brand-row, .brand-row--reviste, .brand-row--panespol { margin-bottom: .75rem; grid-template-columns: 1fr; }
  .brand-row--reviste .brand-row__content { order: 2; }
  .brand-row__media { min-height: 300px; }
  .brand-row__content { padding: 2.25rem 1.25rem 2.65rem; }
  .catalogue-section { padding: 5rem 1.25rem; }
  .catalogue-section__header { display: block; }
  .filter-controls { justify-content: flex-start; margin-top: 1.7rem; }
  .collection-grid { gap: .65rem; }
  .collection-card, .collection-card--tall, .collection-card--stone, .collection-card--dark { grid-column: span 12; grid-row: auto; min-height: 340px; }
  .collection-card--tall { min-height: 480px; }
  .projects-section { padding: 5rem 1.25rem; }
  .projects-section__intro { grid-template-columns: 1fr; gap: 1.2rem; margin-bottom: 2.25rem; }
  .project-wall { grid-template-columns: 1fr 1fr; grid-template-rows: 310px 190px 190px; gap: .65rem; }
  .project-wall__large { grid-column: 1 / -1; grid-row: auto; }
  .project-wall__texture { grid-column: 1 / -1; }
  .quote-section { padding: 5rem 1.25rem; grid-template-columns: 1fr; gap: 2rem; }
  .quote-form { grid-template-columns: 1fr; padding: 1.5rem; }
  .form-row--full { grid-column: auto; }
  .quote-result { grid-column: auto; padding: 1.5rem; }
  .site-footer { padding: 2.75rem 1.25rem; grid-template-columns: 1fr; gap: 1.3rem; }
  .footer-note { grid-column: auto; }
  .collection-dialog[open] { grid-template-columns: 1fr; }
  .dialog-media { min-height: 260px; max-height: 330px; }
  .dialog-content { padding: 2rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
