:root {
  --paper: #f3f0e9;
  --paper-deep: #e8e1d5;
  --white: #fbfaf7;
  --ink: #24221f;
  --muted: #6e6961;
  --line: rgba(36, 34, 31, .18);
  --gold: #9a7b4f;
  --brown: #574636;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 14px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { color: var(--white); background: var(--brown); }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; padding: 10px 16px; color: white; background: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.announcement { min-height: 32px; display: grid; place-items: center; color: #eee8de; background: var(--ink); text-align: center; }
.announcement p { margin: 0; padding: 6px 16px; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }

.site-header { position: absolute; top: 32px; left: 0; z-index: 50; width: 100%; min-height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px clamp(22px, 4vw, 72px); transition: background .35s ease, box-shadow .35s ease, transform .35s ease; }
.site-header.is-fixed { position: fixed; top: 0; min-height: 72px; color: var(--ink); background: rgba(243, 240, 233, .94); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(12px); }
.brand { display: flex; align-items: center; gap: 12px; width: fit-content; line-height: 1; }
.brand-mark { width: 54px; height: 54px; object-fit: contain; flex: 0 0 auto; }
.brand-type { display: flex; flex-direction: column; }
.brand-main { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; letter-spacing: -.04em; }
.brand-sub { margin-top: 5px; font-size: 8px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.desktop-nav { display: flex; gap: clamp(22px, 3vw, 48px); align-items: center; }
.desktop-nav a, .text-action { position: relative; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.desktop-nav a::after, .text-action::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: currentColor; transition: right .3s var(--ease); }
.desktop-nav a:hover::after, .desktop-nav a:focus-visible::after, .text-action:hover::after { right: 0; }
.header-actions { justify-self: end; display: flex; gap: 24px; align-items: center; }
.menu-button { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
.menu-button span { display: block; width: 24px; height: 1px; margin: 6px auto; background: currentColor; transition: transform .25s ease; }
.menu-button[aria-expanded='true'] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded='true'] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 40; padding: 140px 28px 40px; background: var(--paper); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { display: block; padding: 10px 0; font-family: var(--serif); font-size: clamp(36px, 10vw, 58px); line-height: 1.05; border-bottom: 1px solid var(--line); }

.hero { position: relative; min-height: calc(100svh - 32px); display: grid; grid-template-columns: 47% 53%; overflow: hidden; background: var(--paper); }
.hero-copy { align-self: center; padding: 150px clamp(28px, 7vw, 120px) 100px clamp(28px, 7vw, 120px); }
.eyebrow { margin: 0 0 20px; color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { margin: 0; font-family: var(--serif); font-size: clamp(64px, 7.6vw, 124px); font-weight: 400; letter-spacing: -.055em; line-height: .77; }
.hero h1 em { color: var(--gold); font-weight: 400; }
.hero-intro { max-width: 480px; margin: 38px 0 0; color: var(--muted); font-size: clamp(14px, 1.25vw, 17px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; margin-top: 38px; }
.button { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; padding: 13px 24px; border: 1px solid transparent; font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; transition: color .25s ease, background .25s ease, border-color .25s ease; }
.button-dark { color: var(--white); background: var(--ink); }
.button-dark:hover, .button-dark:focus-visible { color: var(--ink); background: transparent; border-color: var(--ink); }
.button-link { min-height: 44px; padding-inline: 0; border-bottom-color: var(--ink); }
.button-link:hover { color: var(--gold); border-bottom-color: var(--gold); }
.button-light { color: var(--ink); background: var(--white); }
.button-light:hover { color: var(--white); background: transparent; border-color: var(--white); }
.hero-media { position: relative; min-height: calc(100svh - 32px); overflow: hidden; background: #cfc7b9; isolation: isolate; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; z-index: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .55s var(--ease), visibility .55s; }
.hero-slide.is-active { z-index: 1; opacity: 1; visibility: visible; }
.hero-slide img { object-position: center; transform: scale(1.025); transition: transform 6.8s ease-out; }
.hero-slide:first-child img { object-position: 50% 52%; }
.hero-slide:nth-child(2) img { object-position: 50% 55%; }
.hero-slide:nth-child(3) img { object-position: 50% 50%; }
.hero-slide.is-active img { transform: scale(1); }
.hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.08), transparent 32%, transparent 62%, rgba(0,0,0,.48)); pointer-events: none; }
.hero-slide figcaption { position: absolute; left: clamp(20px, 3vw, 46px); right: clamp(20px, 3vw, 46px); bottom: 92px; z-index: 2; display: flex; justify-content: space-between; gap: 24px; align-items: end; color: white; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.hero-slide figcaption span { display: flex; gap: 10px; align-items: center; }
.hero-slide figcaption b { color: rgba(255,255,255,.58); font-weight: 500; }
.hero-slide figcaption a { min-height: 44px; display: inline-flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.8); }
.hero-slide figcaption a:hover, .hero-slide figcaption a:focus-visible { border-color: white; }
.carousel-controls { position: absolute; left: clamp(20px, 3vw, 46px); right: clamp(20px, 3vw, 46px); bottom: 22px; z-index: 3; display: flex; justify-content: space-between; gap: 18px; align-items: center; color: white; }
.carousel-arrow { width: 44px; height: 44px; flex: 0 0 auto; padding: 0; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: white; background: rgba(26,24,21,.12); font-size: 20px; line-height: 1; backdrop-filter: blur(5px); transition: color .25s ease, background .25s ease, border-color .25s ease; }
.carousel-arrow:hover, .carousel-arrow:focus-visible { color: var(--ink); background: white; border-color: white; }
.carousel-dots { display: flex; justify-content: center; gap: 9px; width: 100%; }
.carousel-dot { position: relative; width: 46px; min-height: 44px; padding: 0 0 9px; overflow: hidden; border: 0; color: rgba(255,255,255,.62); background: transparent; font-size: 9px; font-weight: 600; letter-spacing: .12em; text-align: left; }
.carousel-dot::before, .carousel-dot::after { content: ''; position: absolute; left: 0; bottom: 0; height: 1px; }
.carousel-dot::before { width: 100%; background: rgba(255,255,255,.34); }
.carousel-dot::after { width: 0; background: white; transition: width .45s var(--ease); }
.carousel-dot.is-active { color: white; }
.carousel-dot.is-active::after { width: 100%; }
.hero-media:focus-visible { outline-offset: -4px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.scroll-cue { position: absolute; left: clamp(28px, 7vw, 120px); bottom: 24px; display: flex; gap: 10px; align-items: center; font-size: 9px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.scroll-cue span { width: 42px; height: 1px; background: var(--ink); }

.section-pad { padding-inline: clamp(24px, 6vw, 96px); }
.manifesto { display: grid; grid-template-columns: 1fr 3fr; gap: 5vw; padding-top: clamp(90px, 12vw, 180px); padding-bottom: clamp(90px, 12vw, 180px); }
.manifesto .eyebrow { padding-top: 14px; }
.manifesto-text { max-width: 1150px; margin: 0; font-family: var(--serif); font-size: clamp(42px, 6vw, 94px); letter-spacing: -.04em; line-height: .96; }
.manifesto-text em { color: var(--gold); font-weight: 400; }

.section-heading { display: flex; justify-content: space-between; gap: 40px; align-items: end; padding-top: 70px; padding-bottom: 48px; border-top: 1px solid var(--line); }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(48px, 6vw, 88px); font-weight: 400; letter-spacing: -.045em; line-height: .92; }
.section-heading p:last-child { max-width: 340px; margin: 0; color: var(--muted); }

.category { min-height: 90vh; display: grid; grid-template-columns: 65% 35%; background: var(--white); }
.category-reverse { grid-template-columns: 35% 65%; }
.category-reverse .category-image { order: 2; }
.category-image { display: block; min-height: 620px; overflow: hidden; }
.category-image img { transition: transform 1.1s var(--ease); }
.category-image:hover img { transform: scale(1.025); }
#velas .category-image img { object-position: 50% 52%; }
#ceramicas .category-image img { object-position: center; }
#arte-3d .category-image img { object-position: center; }
.category-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(48px, 7vw, 120px); }
.category-copy h3 { margin: 0; font-family: var(--serif); font-size: clamp(44px, 5vw, 78px); font-weight: 400; letter-spacing: -.04em; line-height: .92; }
.category-copy > p:not(.eyebrow) { max-width: 390px; margin: 28px 0; color: var(--muted); }
.underlined-link { padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.underlined-link:hover { color: var(--gold); }

.products { padding-top: clamp(100px, 12vw, 180px); padding-bottom: clamp(100px, 12vw, 180px); }
.products-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 50px; }
.filters { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 24px; }
.filter { min-height: 44px; padding: 8px 0; border: 0; border-bottom: 1px solid transparent; color: var(--muted); background: transparent; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.filter.active { color: var(--ink); border-color: var(--ink); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(30px, 4vw, 70px) clamp(16px, 2vw, 30px); }
.product-empty { grid-column: 1 / -1; margin: 0; padding: 60px 0; border-block: 1px solid var(--line); color: var(--muted); font-family: var(--serif); font-size: clamp(28px, 4vw, 46px); text-align: center; }
.product-card[hidden] { display: none; }
.product-card-link { display: block; }
.product-card-link:focus-visible { outline: none; }
.product-image { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-deep); }
.product-image img { transition: transform .8s var(--ease); }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-detail-image { position: relative; display: block; }
.product-detail-image span { position: absolute; left: 14px; bottom: 14px; min-height: 38px; display: inline-flex; align-items: center; padding: 9px 12px; color: var(--white); background: rgba(36, 34, 31, .9); font-size: 8px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; backdrop-filter: blur(5px); transition: color .25s ease, background .25s ease; }
.product-card-link:hover .product-detail-image span, .product-card-link:focus-visible .product-detail-image span { color: var(--ink); background: var(--white); }
.product-card-link:focus-visible .product-detail-image { outline: 2px solid var(--ink); outline-offset: 4px; }
.product-meta { display: flex; justify-content: space-between; gap: 14px; align-items: end; padding-top: 16px; }
.product-meta p { margin: 0 0 2px; color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.product-meta h3 { margin: 0; font-family: var(--serif); font-size: clamp(22px, 2vw, 30px); font-weight: 500; line-height: 1; }
.product-meta span { color: var(--muted); font-size: 9px; letter-spacing: .07em; text-align: right; text-transform: uppercase; }

.story-copy { max-width: 680px; }
.story-copy > p:not(.eyebrow) { margin: 30px 0; color: var(--muted); font-size: clamp(15px, 1.5vw, 18px); }
.draft-note { margin-top: 38px; padding: 24px 0; border-block: 1px solid var(--line); }
.draft-note strong { font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.draft-note p { margin: 10px 0 0; color: var(--muted); font-size: 12px; }

.service { display: grid; grid-template-columns: 1fr 1fr; gap: 10vw; padding-top: clamp(90px, 10vw, 150px); padding-bottom: clamp(90px, 10vw, 150px); background: var(--paper-deep); }
.service-intro p:last-child { max-width: 500px; color: var(--muted); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.contact-form label { color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.contact-form label:nth-child(n+3) { grid-column: 1 / -1; }
input, select, textarea { width: 100%; min-height: 48px; margin-top: 7px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; outline: none; background: transparent; font-size: 14px; text-transform: none; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.contact-form .button { grid-column: 1 / -1; justify-self: start; margin-top: 12px; }
.form-status { grid-column: 1 / -1; margin: 0; color: var(--brown); font-size: 11px; }

.site-footer { position: relative; display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 50px; padding: 80px clamp(24px, 6vw, 96px) 110px; color: rgba(255,255,255,.72); background: var(--ink); }
.footer-brand { display: flex; align-items: center; gap: 18px; }
.footer-brand img { width: 82px; height: 82px; object-fit: contain; flex: 0 0 auto; }
.footer-brand span { color: white; font-family: var(--serif); font-size: clamp(34px, 4vw, 56px); }
.footer-brand p { margin: 4px 0; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.site-footer > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-title { margin: 0 0 16px; color: #d2b78f; font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.site-footer a { display: inline-block; min-height: 30px; font-size: 11px; }
.site-footer a:hover { color: white; }
.footer-bottom { position: absolute; left: clamp(24px, 6vw, 96px); right: clamp(24px, 6vw, 96px); bottom: 28px; margin: 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }

.reveal { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (max-width: 1050px) {
  .desktop-nav, .text-action { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .menu-button { display: block; }
  .hero { grid-template-columns: 50% 50%; }
  .hero-copy { padding-inline: 40px; }
  .category, .category-reverse { grid-template-columns: 58% 42%; }
  .category-reverse { grid-template-columns: 42% 58%; }
  .category-copy { padding: 50px; }
  .story { grid-template-columns: 42% 1fr; }
}

@media (max-width: 760px) {
  .announcement p { letter-spacing: .1em; }
  .site-header { top: 32px; min-height: 76px; padding: 12px 20px; }
  .site-header.is-fixed { top: 0; min-height: 64px; }
  .brand-sub { display: none; }
  .brand-mark { width: 44px; height: 44px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 108px; }
  .hero-copy { padding: 70px 24px 64px; }
  .hero h1 { font-size: clamp(62px, 20vw, 90px); line-height: .8; }
  .hero-intro { margin-top: 30px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-media { min-height: 75svh; }
  .hero-slide figcaption { left: 20px; right: 20px; bottom: 88px; }
  .carousel-controls { left: 16px; right: 16px; bottom: 16px; gap: 12px; }
  .carousel-dots { gap: 7px; }
  .carousel-dot { width: 40px; }
  .scroll-cue { display: none; }
  .manifesto { grid-template-columns: 1fr; gap: 14px; }
  .manifesto-text { font-size: clamp(40px, 13vw, 64px); }
  .section-heading { display: block; }
  .section-heading p:last-child { margin-top: 20px; }
  .category, .category-reverse { min-height: auto; display: flex; flex-direction: column; }
  .category-reverse .category-image { order: initial; }
  .category-image { min-height: 72svh; }
  .category-copy { padding: 54px 24px 70px; }
  .products-head { display: block; }
  .filters { justify-content: flex-start; margin-top: 28px; overflow-x: auto; flex-wrap: nowrap; }
  .filter { flex: 0 0 auto; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 38px 12px; }
  .product-meta { display: block; }
  .product-meta span { display: block; margin-top: 6px; text-align: left; }
  .custom-projects { min-height: auto; grid-template-columns: 1fr; }
  .custom-media { min-height: 70svh; }
  .custom-copy { padding: 72px 24px 80px; }
  .story { grid-template-columns: 1fr; }
  .story-media { width: calc(100% - 22px); justify-self: start; }
  .story-media span { right: -22px; }
  .service { grid-template-columns: 1fr; gap: 55px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label { grid-column: 1 / -1; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 460px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-image { aspect-ratio: 4 / 5; }
  .contact-form { display: block; }
  .contact-form label { display: block; margin-bottom: 22px; }
  .site-footer { grid-template-columns: 1fr; padding-bottom: 120px; }
  .footer-brand { grid-column: auto; }
  .footer-brand img { width: 68px; height: 68px; }
}

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