/* Rithya Creations · product-first editorial commerce */

:root {
  --paper: #f1e6d8;
  --paper-light: #fbf6ef;
  --ink: #1d1714;
  --ink-soft: #6d5d50;
  --line: #d7c5b4;
  --saffron: #d76e18;
  --rust: #87321e;
  --olive: #657052;
  --night: #191512;
  --white-ink: #fff7ee;
  --shadow-rust: rgba(131, 48, 30, .14);
  --shadow-night: rgba(25, 21, 18, .34);
  --shell: min(1280px, calc(100% - 48px));
  --display: "Playfair Display", Georgia, serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { min-width: 0; margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a, select { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 4px; }
.section-shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; top: 16px; left: 16px; z-index: 30; padding: 10px 14px; background: var(--ink); color: var(--paper-light); transform: translateY(-160%); transition: transform 180ms ease; }
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; width: var(--shell); margin-inline: auto; padding: 20px 0; background: rgba(241, 230, 216, .9); backdrop-filter: blur(12px); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; letter-spacing: -.025em; white-space: nowrap; }
.wordmark img { width: 29px; height: 29px; }
.site-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 600; }
.site-nav a { position: relative; padding-block: 8px; }
.site-nav a:not(.nav-enquire)::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 1px; background: var(--ink); content: ""; transform: scaleX(0); transform-origin: right; transition: transform 220ms var(--ease); }
.site-nav a:not(.nav-enquire):hover::after, .site-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-enquire { color: var(--rust); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); font-style: normal; font-weight: 600; letter-spacing: -.055em; line-height: .98; overflow-wrap: anywhere; }
h1 { max-width: 680px; margin-bottom: 30px; font-size: clamp(58px, 7vw, 104px); }
h2 { font-size: clamp(48px, 6.4vw, 88px); }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: var(--rust); font-size: 11px; font-weight: 700; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; }
.eyebrow-dot { width: 8px; height: 8px; border: 1px solid currentColor; border-radius: 50%; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 19px; border: 1px solid var(--ink); cursor: pointer; font-size: 14px; font-weight: 700; transition: transform 180ms var(--ease), background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button-solid { background: var(--ink); color: var(--paper-light); }
.button-solid:hover { background: var(--rust); border-color: var(--rust); }
.button-light { background: var(--paper-light); border-color: var(--paper-light); color: var(--ink); }
.button-light:hover { background: var(--saffron); border-color: var(--saffron); }
.button span, .text-link span, .arrow-link span, .category-card strong span { display: inline-block; margin-left: 8px; transition: transform 180ms var(--ease); }
.button:hover span, .text-link:hover span, .arrow-link:hover span, .category-card:hover strong span { transform: translate(3px, -3px); }
.text-link, .arrow-link { font-weight: 700; }

.hero { display: grid; grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr); gap: clamp(52px, 8vw, 128px); align-items: center; min-height: min(820px, calc(100vh - 72px)); padding-block: 70px 110px; }
.hero-copy { max-width: 610px; }
.hero-intro { max-width: 500px; margin-bottom: 34px; color: var(--ink-soft); font-size: 19px; line-height: 1.45; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.hero-media { min-width: 0; }
.hero-media-frame { position: relative; aspect-ratio: 1.12 / 1; margin: 0; overflow: hidden; background: var(--night); box-shadow: 20px 24px 0 var(--shadow-rust); }
.hero-media-frame::before { position: absolute; inset: 0; z-index: 3; border: 1px solid rgba(255, 255, 255, .28); content: ""; pointer-events: none; }
.hero-media-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.01); transition: opacity 460ms ease, transform 1200ms var(--ease); }
.hero-media-frame video.is-active { opacity: 1; transform: scale(1); }
.video-wash { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(25, 21, 18, .03), rgba(25, 21, 18, .3)); pointer-events: none; }
.video-control { position: absolute; right: 16px; bottom: 15px; z-index: 4; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(255, 247, 238, .72); border-radius: 50%; background: rgba(25, 21, 18, .3); color: var(--white-ink); cursor: pointer; font-size: 12px; line-height: 1; backdrop-filter: blur(8px); transition: background-color 180ms ease, transform 180ms var(--ease); }
.video-control:hover { background: rgba(25, 21, 18, .72); transform: scale(1.05); }
.media-note { margin: 13px 0 0; color: var(--ink-soft); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.video-source-list { display: none; }

.section-heading { display: flex; justify-content: space-between; gap: 48px; align-items: end; margin-bottom: 55px; }
.section-heading h2 { max-width: 750px; margin-bottom: 0; }
.section-heading-link { white-space: nowrap; }
.category-choices { border-top: 1px solid var(--line); padding-block: 130px 165px; }
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.category-card { position: relative; min-width: 0; overflow: hidden; background: var(--night); color: var(--paper-light); }
.category-card figure { aspect-ratio: 1.3 / 1; margin: 0; overflow: hidden; }
.category-card img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity 400ms ease, transform 900ms var(--ease); }
.category-card::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(25, 21, 18, .82)); content: ""; pointer-events: none; }
.category-card:hover img, .category-card:focus-visible img { opacity: 1; transform: scale(1.035); }
.category-card > div { position: absolute; right: 22px; bottom: 20px; left: 22px; z-index: 1; display: flex; justify-content: space-between; gap: 18px; align-items: end; }
.category-card > div span { font-family: var(--display); font-size: clamp(32px, 4.5vw, 62px); letter-spacing: -.055em; line-height: .95; }
.category-card strong { font-size: 12px; letter-spacing: .1em; text-align: right; text-transform: uppercase; white-space: nowrap; }

.featured { padding-bottom: 175px; }
.featured-grid { display: grid; grid-template-columns: 1.05fr .8fr .8fr; gap: 24px; align-items: start; }
.featured-card { min-width: 0; }
.featured-card-tall { padding-top: 38px; }
.featured-card-offset { padding-top: 150px; }
.piece-image { position: relative; margin: 0; overflow: hidden; background: var(--night); }
.piece-image::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(25, 21, 18, .7)); content: ""; opacity: .62; pointer-events: none; transition: opacity 220ms ease; }
.piece-image img { width: 100%; height: auto; transition: transform 700ms var(--ease); }
.piece-image:hover img, .piece-image:focus-within img { transform: scale(1.025); }
.piece-image:hover::after, .piece-image:focus-within::after { opacity: .9; }
.image-open { position: absolute; right: 14px; bottom: 13px; left: 14px; z-index: 3; display: flex; justify-content: space-between; border: 0; background: transparent; color: var(--white-ink); cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-align: left; text-transform: uppercase; opacity: .9; }
.item-code { position: absolute; top: 14px; right: 14px; z-index: 3; padding: 7px 9px; background: var(--paper-light); color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: .08em; opacity: 0; transform: translateY(-5px); transition: opacity 220ms ease, transform 220ms var(--ease); }
.piece-image:hover .item-code, .piece-image:focus-within .item-code, .piece-image.is-revealed .item-code { opacity: 1; transform: translateY(0); }
.piece-meta { padding-top: 16px; }
.piece-meta .arrow-link { display: inline-block; margin-top: 13px; color: var(--rust); font-size: 13px; }

.home-cta { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; margin-bottom: 150px; padding: 75px 7%; background: var(--night); color: var(--paper-light); }
.home-cta-mark { color: var(--saffron); font-size: clamp(110px, 16vw, 230px); font-family: var(--display); line-height: .7; letter-spacing: -.15em; }
.home-cta h2 { max-width: 690px; margin-bottom: 32px; color: var(--paper-light); }
.home-cta .eyebrow { color: var(--saffron); }

.page-hero { display: grid; grid-template-columns: 1fr .65fr; gap: 60px; align-items: end; padding-block: 100px 120px; }
.page-hero h1 { margin-bottom: 0; }
.page-hero-note { max-width: 430px; margin: 0 0 5px; color: var(--ink-soft); font-size: 18px; }
.collections-page { padding-bottom: 150px; }
.collection-tools { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.filter-list { display: flex; flex-wrap: wrap; gap: 9px; }
.filter-button { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--ink-soft); cursor: pointer; font-size: 12px; font-weight: 700; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms var(--ease); }
.filter-button:hover { transform: translateY(-1px); }
.filter-button:hover, .filter-button.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper-light); }
.masonry-grid { columns: 3 280px; column-gap: 24px; padding-top: 42px; }
.masonry-card { break-inside: avoid; margin: 0 0 72px; }
.masonry-card:nth-child(3n + 2) { margin-top: 38px; }
.masonry-card.is-hidden { display: none; }
.collection-empty { margin: 60px 0 0; color: var(--ink-soft); }

.about-layout { padding-bottom: 150px; }
.about-intro { display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(50px, 9vw, 140px); border-top: 1px solid var(--line); padding-block: 120px 150px; }
.about-intro h2 { max-width: 560px; margin-bottom: 0; }
.about-body { max-width: 650px; }
.large-copy { margin-bottom: 60px; font-family: var(--display); font-size: clamp(28px, 3.15vw, 45px); line-height: 1.08; }
.story-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; border-top: 1px solid var(--line); padding-top: 17px; }
.story-note p { margin-bottom: 7px; font-weight: 700; }
.story-note small { display: block; color: var(--ink-soft); font-size: 13px; line-height: 1.4; }
.about-gallery { display: grid; grid-template-columns: 1.25fr .75fr; gap: 24px; align-items: start; border-top: 1px solid var(--line); padding-top: 32px; }
.about-gallery figure { margin: 0; }
.about-gallery figure:last-child { padding-top: 120px; }
.about-gallery figcaption { margin-top: 13px; color: var(--ink-soft); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.about-principles { display: grid; grid-template-columns: .7fr 1.3fr; gap: 70px; border-top: 1px solid var(--line); margin-top: 150px; padding-top: 30px; }
.about-principles h2 { max-width: 450px; margin: 0; font-size: clamp(40px, 5vw, 68px); }
.principle-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.principle-list div { border-top: 1px solid var(--line); padding-top: 15px; }
.principle-list span { color: var(--rust); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.principle-list p { margin-top: 20px; font-size: 18px; font-weight: 600; }

.enquire-layout { padding-bottom: 150px; }
.enquire { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 10vw, 150px); border-top: 1px solid var(--line); padding-block: 110px 150px; }
.enquire-intro > p:not(.eyebrow) { max-width: 390px; margin-top: 25px; color: var(--ink-soft); font-size: 18px; }
.enquiry-form { max-width: 640px; }
.form-row { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; align-items: start; border-top: 1px solid var(--line); padding: 18px 0; }
.form-row label { padding-top: 9px; font-size: 14px; font-weight: 600; }
.form-row label span { color: var(--rust); }
.form-row input, .form-row textarea, .form-row select { width: 100%; min-height: 46px; padding: 8px 0; border: 0; border-bottom: 1px solid var(--ink-soft); border-radius: 0; background: transparent; color: var(--ink); }
.form-row textarea { min-height: 100px; resize: vertical; }
.form-row select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 7px) 21px, calc(100% - 2px) 21px; background-repeat: no-repeat; background-size: 5px 5px, 5px 5px; cursor: pointer; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--saffron); outline: 0; }
.field-error { grid-column: 2; min-height: 0; color: var(--rust); font-size: 13px; }
.field-error:not(:empty) { margin-top: -10px; }
.form-submit { margin-top: 22px; }
.form-note { margin: 14px 0 0; color: var(--ink-soft); font-size: 13px; }
.form-status { min-height: 30px; margin-top: 20px; color: var(--ink); font-weight: 600; }
.form-status[data-tone="error"] { color: var(--rust); }
.form-status[data-tone="success"] { color: var(--olive); }
.contact-fallback { margin-top: 55px; border-left: 2px solid var(--saffron); padding-left: 16px; color: var(--ink-soft); font-size: 14px; }
.fallback-title { margin-bottom: 4px; color: var(--ink); font-weight: 700; }
.contact-fallback .arrow-link { color: var(--rust); }

.site-footer { border-top: 1px solid var(--line); padding-block: 30px 24px; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr auto; gap: 28px; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 40px; }
.footer-top p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; color: var(--ink-soft); font-size: 12px; }
.footer-bottom a { color: var(--ink); font-weight: 700; }

.lightbox { width: min(92vw, 1100px); max-height: 92vh; padding: 18px; border: 0; background: var(--night); color: var(--paper-light); box-shadow: 0 28px 90px var(--shadow-night); }
.lightbox::backdrop { background: rgba(22, 15, 12, .82); backdrop-filter: blur(6px); }
.lightbox-close { display: flex; align-items: center; gap: 8px; margin-left: auto; border: 0; background: transparent; color: var(--paper-light); cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lightbox-close span { font-size: 25px; font-weight: 400; line-height: .7; }
.lightbox-content { display: grid; place-items: center; padding: 10px 4px 4px; }
.lightbox-content img { max-height: calc(92vh - 90px); width: auto; max-width: 100%; object-fit: contain; }
.lightbox-content p { width: 100%; margin: 13px 0 0; color: #cabbad; font-size: 13px; }

.reveal { opacity: 1; transform: none; transition: opacity 500ms var(--ease), transform 500ms var(--ease); }
html.js .reveal { opacity: 0; transform: translateY(16px); }
html.js .reveal.is-visible, html.js .home-hero .reveal { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: 80ms; }

@media (max-width: 900px) {
  :root { --shell: min(100% - 32px, 720px); }
  .hero, .page-hero, .about-intro, .about-principles, .enquire { grid-template-columns: 1fr; gap: 44px; }
  .hero { min-height: auto; padding-block: 55px 90px; }
  .section-heading { align-items: start; flex-direction: column; gap: 25px; }
  .section-heading-link { margin-top: -8px; }
  .category-choices { padding-block: 100px 120px; }
  .featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-card-tall, .featured-card-offset { padding-top: 0; }
  .featured-card:first-child { grid-row: span 2; }
  .home-cta { grid-template-columns: .5fr 1.5fr; gap: 30px; }
  .page-hero { padding-block: 75px 95px; }
  .about-gallery { grid-template-columns: 1fr 1fr; }
  .about-gallery figure:last-child { padding-top: 65px; }
  .about-principles { gap: 34px; }
  .enquire { padding-block: 90px 120px; }
}

@media (max-width: 680px) {
  :root { --shell: calc(100% - 32px); }
  body { font-size: 15px; }
  .site-header { display: grid; gap: 12px; padding-block: 14px; }
  .site-nav { justify-content: space-between; gap: 10px; font-size: 12px; }
  .site-nav a { padding-block: 4px; }
  h1 { font-size: clamp(54px, 15vw, 78px); }
  .hero { gap: 46px; padding-top: 45px; }
  .hero-intro { font-size: 18px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-media-frame { aspect-ratio: .95 / 1; box-shadow: 10px 13px 0 var(--shadow-rust); }
  .media-note { font-size: 9px; }
  .category-choices { padding-block: 90px 110px; }
  .category-grid { grid-template-columns: 1fr; gap: 16px; }
  .category-card > div { right: 16px; bottom: 16px; left: 16px; }
  .category-card > div span { font-size: 44px; }
  .category-card strong { font-size: 10px; }
  .section-heading h2, .page-hero h1, .about-intro h2, .enquire h2, .home-cta h2 { font-size: clamp(43px, 13vw, 68px); }
  .featured { padding-bottom: 115px; }
  .featured-grid { grid-template-columns: 1fr; gap: 58px; }
  .featured-card:first-child { grid-row: auto; }
  .home-cta { grid-template-columns: 1fr; gap: 35px; margin-bottom: 100px; padding: 52px 9%; }
  .home-cta-mark { font-size: 130px; }
  .page-hero { padding-block: 55px 75px; }
  .page-hero-note { font-size: 17px; }
  .collections-page, .about-layout, .enquire-layout { padding-bottom: 105px; }
  .collection-tools { align-items: flex-start; }
  .masonry-grid { columns: 1; padding-top: 30px; }
  .masonry-card, .masonry-card:nth-child(3n + 2) { margin: 0 0 58px; }
  .about-intro { padding-block: 90px 110px; }
  .large-copy { font-size: 30px; }
  .story-notes, .principle-list { grid-template-columns: 1fr; gap: 26px; }
  .about-gallery { grid-template-columns: 1fr; gap: 46px; }
  .about-gallery figure:last-child { padding-top: 0; }
  .about-principles { margin-top: 100px; }
  .enquire { padding-block: 75px 100px; }
  .form-row { grid-template-columns: 1fr; gap: 8px; }
  .form-row label { padding-top: 0; }
  .field-error { grid-column: 1; }
  .footer-top { grid-template-columns: 1fr; gap: 15px; padding-bottom: 28px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .lightbox { padding: 12px; }
}

@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; }
}
