@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');
@import 'tailwindcss';
@import 'tw-animate-css';
@plugin "@tailwindcss/typography";

@custom-variant dark (&:is(.dark *));

@theme inline {
  --color-background: hsl(var(--background));
  --color-foreground: hsl(var(--foreground));
  --color-border: hsl(var(--border));
  --color-input: hsl(var(--input));
  --color-ring: hsl(var(--ring));
  --color-card: hsl(var(--card));
  --color-card-foreground: hsl(var(--card-foreground));
  --color-card-border: hsl(var(--card-border));
  --color-popover: hsl(var(--popover));
  --color-popover-foreground: hsl(var(--popover-foreground));
  --color-popover-border: hsl(var(--popover-border));
  --color-primary: hsl(var(--primary));
  --color-primary-foreground: hsl(var(--primary-foreground));
  --color-secondary: hsl(var(--secondary));
  --color-secondary-foreground: hsl(var(--secondary-foreground));
  --color-muted: hsl(var(--muted));
  --color-muted-foreground: hsl(var(--muted-foreground));
  --color-accent: hsl(var(--accent));
  --color-accent-foreground: hsl(var(--accent-foreground));
  --color-destructive: hsl(var(--destructive));
  --color-destructive-foreground: hsl(var(--destructive-foreground));
  --font-sans: var(--app-font-sans);
  --font-serif: var(--app-font-serif);
  --font-mono: var(--app-font-mono);
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
}

:root {
  --background: 42 33% 91%;
  --foreground: 286 18% 15%;
  --border: 38 19% 79%;
  --input: 38 19% 79%;
  --ring: 42 64% 55%;
  --card: 40 36% 94%;
  --card-foreground: 286 18% 15%;
  --card-border: 38 20% 82%;
  --popover: 40 36% 94%;
  --popover-foreground: 286 18% 15%;
  --primary: 286 28% 18%;
  --primary-foreground: 42 33% 91%;
  --secondary: 103 13% 46%;
  --secondary-foreground: 40 36% 94%;
  --muted: 39 24% 84%;
  --muted-foreground: 285 9% 39%;
  --accent: 42 64% 55%;
  --accent-foreground: 286 28% 18%;
  --destructive: 3 52% 45%;
  --destructive-foreground: 40 36% 94%;
  --app-font-sans: 'DM Sans', sans-serif;
  --app-font-serif: 'Playfair Display', Georgia, serif;
  --app-font-mono: 'DM Mono', monospace;
  --radius: 0.2rem;
  --sidebar: 286 28% 18%;
  --sidebar-foreground: 42 33% 91%;
  --sidebar-border: 286 20% 28%;
  --sidebar-primary: 42 64% 55%;
  --sidebar-primary-foreground: 286 28% 18%;
  --sidebar-accent: 103 13% 46%;
  --sidebar-accent-foreground: 40 36% 94%;
  --sidebar-ring: 42 64% 55%;
  --chart-1: 42 64% 55%;
  --chart-2: 103 13% 46%;
  --chart-3: 286 28% 18%;
  --chart-4: 22 44% 61%;
  --chart-5: 39 24% 84%;
  --shadow-soft: 0 18px 50px rgba(50, 31, 47, 0.1);
}

.dark {
  --background: 286 28% 12%;
  --foreground: 42 33% 91%;
  --border: 286 20% 28%;
  --input: 286 20% 28%;
  --ring: 42 64% 55%;
  --card: 286 24% 17%;
  --card-foreground: 42 33% 91%;
  --popover: 286 24% 17%;
  --popover-foreground: 42 33% 91%;
  --primary: 42 64% 55%;
  --primary-foreground: 286 28% 18%;
  --secondary: 103 13% 46%;
  --secondary-foreground: 42 33% 91%;
  --muted: 286 20% 25%;
  --muted-foreground: 42 13% 69%;
  --accent: 42 64% 55%;
  --accent-foreground: 286 28% 18%;
  --destructive: 3 52% 45%;
  --destructive-foreground: 42 33% 91%;
}

@layer base {
  * { @apply border-border; }
  html { scroll-behavior: smooth; }
  body { @apply font-sans antialiased bg-background text-foreground; margin: 0; }
  button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
  button, a { cursor: pointer; }
}

@layer utilities {
  .font-display { font-family: var(--app-font-serif); }
  .font-mono-custom { font-family: var(--app-font-mono); }
  .text-balance { text-wrap: balance; }
}

:root { --ease-editorial: cubic-bezier(.22, 1, .36, 1); }

.site-shell { overflow: clip; }
.topline { height: 31px; background: #29200f; color: #eadbb8; display: flex; align-items: center; justify-content: center; font: 500 10px var(--app-font-mono); letter-spacing: .13em; text-transform: uppercase; }
.nav-shell { position: sticky; top: 0; z-index: 30; height: 76px; background: rgba(237, 231, 219, .92); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(50, 31, 47, .12); }
.nav-inner { max-width: 1320px; height: 100%; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand-mark { display: inline-flex; align-items: center; gap: 11px; color: #321f2f; text-decoration: none; }
.brand-symbol { width: 33px; height: 43px; position: relative; display: inline-block; }
.brand-symbol::before, .brand-symbol::after { content: ''; position: absolute; border: 1.6px solid #321f2f; border-radius: 50% 50% 0 0; transform: rotate(180deg); }
.brand-symbol::before { width: 25px; height: 38px; left: 0; top: 3px; border-bottom: 0; }
.brand-symbol::after { width: 25px; height: 38px; right: 0; top: 3px; border-bottom: 0; }
.brand-word { font: 600 16px var(--app-font-serif); letter-spacing: -.02em; line-height: 1; }
.brand-word small { display: block; margin-top: 4px; font: 8px var(--app-font-mono); letter-spacing: .18em; text-transform: uppercase; color: #6a5c63; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link { color: #554950; font-size: 12px; text-decoration: none; transition: color .25s ease; }
.nav-link:hover, .nav-link.active { color: #9a6d1d; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 39px; height: 39px; display: inline-flex; align-items: center; justify-content: center; color: #321f2f; background: transparent; border: 1px solid transparent; transition: all .25s ease; }
.icon-btn:hover { border-color: rgba(50,31,47,.25); background: rgba(255,255,255,.3); }
.cart-count { width: 17px; height: 17px; display: inline-flex; align-items: center; justify-content: center; background: #bd8c32; color: #fff7e6; border-radius: 50%; font: 10px var(--app-font-mono); position: absolute; top: -3px; right: -2px; }
.menu-toggle { display: none; }
.hero { min-height: 650px; display: grid; grid-template-columns: 1.02fr .98fr; background: #321f2f; color: #f1e8d9; position: relative; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px clamp(36px, 8vw, 135px); position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 10px; font: 10px var(--app-font-mono); text-transform: uppercase; letter-spacing: .17em; color: #c9a356; }
.eyebrow::before { content: ''; width: 31px; height: 1px; background: currentColor; }
.hero-title { margin: 25px 0 22px; max-width: 570px; font: 500 clamp(50px, 6.5vw, 90px)/.99 var(--app-font-serif); letter-spacing: -.055em; }
.hero-title em { color: #d8af60; }
.hero-subtitle { max-width: 430px; color: #d4c9c2; font-size: 15px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 45px; padding: 0 20px; border: 1px solid transparent; font: 600 11px var(--app-font-sans); letter-spacing: .06em; text-decoration: none; text-transform: uppercase; transition: all .3s var(--ease-editorial); }
.btn-primary { background: #d8af60; color: #321f2f; }
.btn-primary:hover { background: #efd18b; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(241,232,217,.4); color: #f1e8d9; }
.btn-ghost:hover { border-color: #d8af60; color: #d8af60; transform: translateY(-2px); }
.hero-note { margin-top: 55px; font: 11px/1.7 var(--app-font-mono); color: #aa9ba1; max-width: 265px; }
.hero-image-wrap { position: relative; min-height: 650px; overflow: hidden; }
.hero-image-wrap::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #321f2f 0%, rgba(50,31,47,.14) 30%, transparent 60%); }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.8) contrast(.98); animation: hero-zoom 18s ease-out both; }
.hero-stamp { position: absolute; z-index: 2; right: 38px; bottom: 37px; width: 98px; height: 98px; border: 1px solid rgba(241,232,217,.65); border-radius: 50%; display: grid; place-items: center; text-align: center; color: #f1e8d9; font: 8px/1.55 var(--app-font-mono); letter-spacing: .08em; text-transform: uppercase; animation: slow-spin 18s linear infinite; }
.hero-stamp span { width: 65px; }
.hero-vertical { position: absolute; z-index: 2; right: 15px; top: 42px; writing-mode: vertical-rl; font: 9px var(--app-font-mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(241,232,217,.6); }
.section { padding: 115px max(24px, calc((100vw - 1180px) / 2)); }
.section-kicker { font: 10px var(--app-font-mono); letter-spacing: .15em; color: #8b6a2b; text-transform: uppercase; }
.section-title { margin: 14px 0 0; color: #321f2f; font: 500 clamp(37px, 4.2vw, 61px)/1.05 var(--app-font-serif); letter-spacing: -.045em; }
.section-lead { max-width: 540px; color: #665a5d; font-size: 15px; line-height: 1.7; }
.intro-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: end; background: #ede7db; }
.intro-copy { padding-bottom: 8px; }
.intro-quote { margin: 0; max-width: 570px; color: #321f2f; font: italic 500 clamp(25px, 3vw, 40px)/1.25 var(--app-font-serif); }
.intro-meta { display: flex; gap: 35px; margin-top: 35px; padding-top: 19px; border-top: 1px solid #cfc4b1; font: 10px/1.4 var(--app-font-mono); color: #766a6b; text-transform: uppercase; letter-spacing: .08em; }
.collection-section { background: #f5f0e8; }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 41px; }
.text-link { color: #321f2f; display: inline-flex; align-items: center; gap: 9px; font: 600 11px var(--app-font-mono); text-transform: uppercase; text-decoration: none; border-bottom: 1px solid #321f2f; padding-bottom: 6px; transition: color .25s; }
.text-link:hover { color: #a47b30; border-color: #a47b30; }
.product-grid { display: grid; grid-template-columns: 1.18fr .82fr .82fr; grid-template-rows: 270px 270px; gap: 18px; }
.product-card { position: relative; overflow: hidden; background: #d5c8b5; }
.product-card:first-child { grid-row: span 2; }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-editorial), filter .7s; }
.product-card:hover .product-image { transform: scale(1.055); filter: saturate(1.07); }
.product-overlay { position: absolute; inset: auto 0 0; padding: 65px 22px 22px; color: #f8f1e8; background: linear-gradient(transparent, rgba(36,22,31,.84)); transform: translateY(5px); transition: transform .4s var(--ease-editorial); }
.product-card:hover .product-overlay { transform: translateY(0); }
.product-tag { font: 9px var(--app-font-mono); text-transform: uppercase; letter-spacing: .13em; color: #dcc07f; }
.product-name { margin: 7px 0 4px; font: 500 26px var(--app-font-serif); }
.product-detail { display: flex; justify-content: space-between; align-items: end; gap: 10px; font: 11px var(--app-font-mono); color: #e7ddd3; }
.product-price { color: #f3dc9a; }
.quick-view { position: absolute; top: 15px; right: 15px; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.55); color: #fff; background: rgba(50,31,47,.24); display: grid; place-items: center; opacity: 0; transform: translateY(-6px); transition: all .3s; }
.product-card:hover .quick-view, .quick-view:focus-visible { opacity: 1; transform: translateY(0); }
.category-section { background: #dce1d4; position: relative; }
.category-section::after { content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 1px solid rgba(50,31,47,.14); right: 11%; top: 16%; box-shadow: 0 0 0 22px rgba(50,31,47,.025), 0 0 0 43px rgba(50,31,47,.022); pointer-events: none; }
.category-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.category-list { border-top: 1px solid #aeb7a3; }
.category-item { display: flex; align-items: center; justify-content: space-between; padding: 23px 0; border-bottom: 1px solid #aeb7a3; color: #321f2f; text-decoration: none; transition: padding .3s var(--ease-editorial), color .3s; }
.category-item:hover { padding-left: 14px; color: #98712b; }
.category-item span:first-child { font: 500 26px var(--app-font-serif); }
.category-item span:last-child { font: 10px var(--app-font-mono); letter-spacing: .1em; }
.process-section { background: #321f2f; color: #f1e8d9; }
.process-section .section-title { color: #f1e8d9; }
.process-section .section-kicker { color: #d8af60; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 68px; border-top: 1px solid rgba(241,232,217,.3); }
.process-step { padding: 28px 25px 12px 0; margin-right: 28px; border-right: 1px solid rgba(241,232,217,.25); }
.process-step:last-child { border-right: 0; }
.step-number { color: #d8af60; font: 11px var(--app-font-mono); }
.step-title { margin: 38px 0 14px; font: 500 25px var(--app-font-serif); }
.step-copy { max-width: 185px; margin: 0; color: #b9abb0; font-size: 13px; line-height: 1.65; }
.atelier-section { display: grid; grid-template-columns: 1fr 1fr; padding: 0; background: #e6dccb; }
.atelier-image { min-height: 500px; background: #6d6b53; position: relative; overflow: hidden; }
.atelier-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(49,31,47,.24), transparent); z-index: 1; }
.atelier-image img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.18) saturate(.72); }
.atelier-copy { padding: 100px max(30px, 8vw) 90px 75px; }
.atelier-copy .section-title { max-width: 480px; }
.atelier-copy .section-lead { margin-top: 23px; }
.atelier-facts { display: flex; gap: 35px; margin-top: 40px; }
.fact strong { display: block; color: #321f2f; font: 500 30px var(--app-font-serif); }
.fact span { color: #706260; font: 10px var(--app-font-mono); text-transform: uppercase; letter-spacing: .08em; }
.inquiry-section { background: #c1a4a0; display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: center; }
.inquiry-section .section-title { color: #321f2f; }
.inquiry-form { padding: 32px; background: rgba(246, 238, 228, .64); border: 1px solid rgba(50,31,47,.16); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 15px; }
.field label { font: 9px var(--app-font-mono); color: #554950; letter-spacing: .1em; text-transform: uppercase; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid rgba(50,31,47,.23); background: rgba(255,250,242,.6); color: #321f2f; padding: 13px 12px; outline: none; font: 13px var(--app-font-sans); border-radius: 0; }
.field textarea { min-height: 86px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #98712b; box-shadow: 0 0 0 2px rgba(152,113,43,.12); }
.inquiry-form .btn { width: 100%; margin-top: 6px; }
.form-success { display: flex; gap: 12px; align-items: center; color: #40533c; font-size: 13px; line-height: 1.5; }
.footer { padding: 73px max(24px, calc((100vw - 1180px) / 2)) 32px; background: #211521; color: #d9ccc3; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.35fr; gap: 40px; padding-bottom: 64px; }
.footer .brand-mark { color: #f1e8d9; align-items: flex-start; }
.footer .brand-symbol::before, .footer .brand-symbol::after { border-color: #d8af60; }
.footer .brand-word small { color: #a89591; }
.footer-copy { max-width: 260px; margin: 23px 0; color: #9e8c8e; font-size: 12px; line-height: 1.65; }
.footer-title { margin: 2px 0 19px; color: #d8af60; font: 10px var(--app-font-mono); text-transform: uppercase; letter-spacing: .12em; }
.footer-link { display: block; width: fit-content; margin: 0 0 11px; color: #d9ccc3; font-size: 12px; text-decoration: none; transition: color .2s; }
.footer-link:hover { color: #d8af60; }
.newsletter-form { display: flex; border-bottom: 1px solid #6f5c62; padding-bottom: 8px; }
.newsletter-form input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: #f1e8d9; font-size: 12px; }
.newsletter-form input::placeholder { color: #938084; }
.newsletter-form button { border: 0; background: transparent; color: #d8af60; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; border-top: 1px solid rgba(241,232,217,.15); color: #806e73; font: 10px var(--app-font-mono); }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 80; padding: 15px 18px; background: #321f2f; color: #f1e8d9; box-shadow: var(--shadow-soft); font-size: 12px; animation: toast-in .45s var(--ease-editorial); }
.drawer-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(30,18,27,.42); opacity: 0; pointer-events: none; transition: opacity .35s; }
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; z-index: 60; right: 0; top: 0; bottom: 0; width: min(420px, 100%); padding: 30px; background: #f5f0e8; transform: translateX(100%); transition: transform .45s var(--ease-editorial); box-shadow: -18px 0 45px rgba(30,18,27,.14); }
.cart-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 21px; border-bottom: 1px solid #cfc4b1; }
.drawer-head h2 { margin: 0; font: 500 31px var(--app-font-serif); color: #321f2f; }
.drawer-empty { padding: 72px 10px; color: #73666a; text-align: center; font-size: 13px; line-height: 1.7; }
.cart-line { display: flex; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid #d8cdbd; }
.cart-line img { width: 68px; height: 82px; object-fit: cover; }
.cart-line h3 { margin: 0 0 5px; color: #321f2f; font: 500 18px var(--app-font-serif); }
.cart-line p { margin: 0; color: #73666a; font: 10px var(--app-font-mono); }
.cart-total { display: flex; justify-content: space-between; margin: 24px 0; color: #321f2f; font: 500 18px var(--app-font-serif); }
.modal-backdrop { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 24px; background: rgba(30,18,27,.55); opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.product-modal { width: min(820px, 100%); display: grid; grid-template-columns: .9fr 1.1fr; background: #f5f0e8; transform: translateY(15px); transition: transform .4s var(--ease-editorial); }
.modal-backdrop.open .product-modal { transform: translateY(0); }
.modal-image { min-height: 430px; width: 100%; object-fit: cover; }
.modal-content { padding: 39px; color: #321f2f; }
.modal-content h2 { margin: 12px 0 13px; font: 500 40px/1 var(--app-font-serif); }
.modal-content p { margin: 0 0 25px; color: #73666a; font-size: 14px; line-height: 1.7; }
.modal-meta { display: flex; justify-content: space-between; margin: 20px 0 27px; padding: 16px 0; border-top: 1px solid #d7cbbd; border-bottom: 1px solid #d7cbbd; font: 11px var(--app-font-mono); }
.close-modal { float: right; width: 30px; height: 30px; border: 1px solid #cfc4b1; background: transparent; color: #321f2f; display: grid; place-items: center; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-editorial), transform .8s var(--ease-editorial); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes hero-zoom { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes slow-spin { to { transform: rotate(360deg); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 900px) {
  .nav-inner { padding: 0 20px; }
  .nav-links { gap: 14px; }
  .nav-link { font-size: 11px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 530px; padding: 75px 9vw; }
  .hero-image-wrap { min-height: 480px; }
  .hero-image-wrap::before { background: linear-gradient(0deg, #321f2f 0%, transparent 50%); }
  .intro-section, .category-layout, .inquiry-section { grid-template-columns: 1fr; gap: 42px; }
  .product-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 220px; }
  .product-card:first-child { grid-row: span 2; }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 35px; }
  .process-step:nth-child(2) { border-right: 0; }
  .atelier-copy { padding: 72px 9vw; }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-newsletter { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .topline { font-size: 8px; padding: 0 12px; letter-spacing: .08em; text-align: center; }
  .nav-shell { height: 67px; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 67px; padding: 18px 22px 23px; flex-direction: column; align-items: flex-start; background: #ede7db; border-bottom: 1px solid #cfc4b1; box-shadow: var(--shadow-soft); }
  .nav-links.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .brand-word { font-size: 15px; }
  .hero-copy { min-height: 520px; padding: 62px 26px; }
  .hero-title { font-size: clamp(51px, 15vw, 75px); }
  .hero-image-wrap { min-height: 380px; }
  .hero-stamp { right: 22px; bottom: 22px; transform: scale(.8); }
  .section { padding: 77px 22px; }
  .section-heading-row { align-items: start; flex-direction: column; margin-bottom: 28px; }
  .product-grid { display: flex; flex-direction: column; }
  .product-card, .product-card:first-child { height: 360px; }
  .product-card:not(:first-child) { height: 270px; }
  .quick-view { opacity: 1; transform: none; }
  .category-section::after { width: 190px; height: 190px; right: -40px; top: 29%; }
  .category-item span:first-child { font-size: 23px; }
  .process-grid { grid-template-columns: 1fr; margin-top: 42px; }
  .process-step { border-right: 0; border-bottom: 1px solid rgba(241,232,217,.25); padding-bottom: 27px; margin-right: 0; }
  .process-step:last-child { border-bottom: 0; }
  .step-title { margin-top: 20px; }
  .atelier-image { min-height: 320px; }
  .atelier-copy { padding: 70px 22px; }
  .atelier-facts { gap: 20px; }
  .fact strong { font-size: 25px; }
  .inquiry-form { padding: 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer { padding: 58px 22px 25px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .footer-brand, .footer-newsletter { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .product-modal { display: block; max-height: calc(100dvh - 48px); overflow: auto; }
  .modal-image { height: 280px; min-height: 0; }
  .modal-content { padding: 26px; }
  .modal-content h2 { font-size: 35px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Admin — a quieter, operational expression of the Ayna Bahçesi studio. */
.admin-shell { min-height: 100dvh; display: flex; background: #eee8dd; color: #321f2f; }
.admin-sidebar { width: 246px; flex: 0 0 246px; min-height: 100dvh; display: flex; flex-direction: column; padding: 31px 25px 24px; background: #321f2f; color: #f1e8d9; }
.admin-brand { display: inline-block; width: 151px; text-decoration: none; }
.admin-brand img { display: block; width: 151px; height: auto; }
.admin-sidebar-caption { margin: 76px 0 16px; color: #9b8589; font: 9px var(--app-font-mono); letter-spacing: .16em; text-transform: uppercase; }
.admin-nav { display: flex; flex-direction: column; gap: 5px; }
.admin-nav-item { display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 0 11px; color: #bbaeb0; border-left: 1px solid transparent; font-size: 12px; text-decoration: none; transition: color .25s, border-color .25s, background .25s; }
.admin-nav-item:hover, .admin-nav-item.active { color: #f1e8d9; border-left-color: #d8af60; background: rgba(216,175,96,.09); }
.admin-nav-index { width: 22px; color: #d8af60; font: 10px var(--app-font-mono); }
.admin-sidebar-note { display: flex; gap: 11px; max-width: 155px; margin-top: auto; color: #968589; font: 11px/1.65 var(--app-font-serif); }
.admin-sidebar-note svg { flex: none; color: #d8af60; margin-top: 2px; }
.admin-user { display: flex; align-items: center; gap: 9px; margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(241,232,217,.14); }
.admin-avatar { width: 28px; height: 28px; display: grid; place-items: center; flex: none; color: #321f2f; background: #d8af60; border-radius: 50%; font: 11px var(--app-font-mono); }
.admin-user div:nth-child(2) { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.admin-user strong { overflow: hidden; color: #ede4d7; font-size: 10px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.admin-user span { color: #97868a; font: 9px var(--app-font-mono); text-transform: uppercase; letter-spacing: .08em; }
.admin-logout { width: 26px; height: 26px; display: grid; place-items: center; margin-left: auto; color: #a99599; background: transparent; border: 0; transition: color .2s; }
.admin-logout:hover { color: #d8af60; }
.admin-main { width: min(100%, 1380px); min-width: 0; padding: 61px clamp(24px, 5vw, 78px) 76px; }
.admin-header { display: flex; align-items: end; justify-content: space-between; gap: 28px; padding-bottom: 44px; border-bottom: 1px solid #d2c7b8; }
.admin-kicker { color: #9a6d1d; font: 10px var(--app-font-mono); letter-spacing: .15em; text-transform: uppercase; }
.admin-header h1 { margin: 15px 0 7px; font: 500 clamp(43px, 5vw, 68px)/.95 var(--app-font-serif); letter-spacing: -.05em; }
.admin-header p { margin: 0; color: #776a6a; font-size: 13px; }
.admin-header-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.admin-button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 16px; border: 1px solid transparent; font: 600 10px var(--app-font-sans); letter-spacing: .07em; text-transform: uppercase; transition: background .25s, border-color .25s, color .25s, transform .25s; }
.admin-button:hover:not(:disabled) { transform: translateY(-2px); }
.admin-button:disabled { cursor: wait; opacity: .58; }
.admin-button-primary { color: #f5f0e8; background: #321f2f; }
.admin-button-primary:hover:not(:disabled) { background: #4b3046; }
.admin-button-muted { color: #4c3c45; background: transparent; border-color: #c6b9aa; }
.admin-button-muted:hover:not(:disabled) { color: #321f2f; border-color: #9a6d1d; background: #f4eee5; }
.admin-button-danger { color: #f7eee9; background: #934b43; }
.admin-button-danger:hover:not(:disabled) { background: #773832; }
.admin-summary { display: grid; grid-template-columns: repeat(3, minmax(135px, 1fr)) minmax(220px, 1.45fr); gap: 1px; margin: 34px 0 42px; background: #d2c7b8; border: 1px solid #d2c7b8; }
.admin-summary-card { min-height: 126px; display: flex; flex-direction: column; padding: 21px 22px; background: #f5f0e8; }
.admin-summary-card.accent { background: #dce1d4; }
.admin-summary-card span { color: #817475; font: 9px var(--app-font-mono); letter-spacing: .1em; text-transform: uppercase; }
.admin-summary-card strong { margin: 15px 0 4px; color: #321f2f; font: 500 35px/.9 var(--app-font-serif); }
.admin-summary-card small { color: #87797a; font-size: 10px; }
.admin-summary-aside { display: flex; align-items: center; gap: 10px; padding: 0 25px; color: #6d6462; background: #e5dfd3; font: 11px/1.5 var(--app-font-mono); }
.admin-live-dot { width: 7px; height: 7px; flex: none; background: #71805d; border-radius: 50%; box-shadow: 0 0 0 4px rgba(113,128,93,.13); }
.admin-products-panel { background: #f5f0e8; border: 1px solid #d2c7b8; }
.admin-panel-head { display: flex; align-items: end; justify-content: space-between; gap: 22px; padding: 27px 28px 24px; border-bottom: 1px solid #d9cfc2; }
.admin-panel-head h2 { margin: 9px 0 0; font: 500 30px var(--app-font-serif); letter-spacing: -.03em; }
.admin-search { width: min(280px, 100%); display: flex; align-items: center; gap: 9px; padding: 10px 11px; color: #8c7c7d; border-bottom: 1px solid #bfb1a5; }
.admin-search input { min-width: 0; flex: 1; border: 0; outline: 0; color: #321f2f; background: transparent; font: 12px var(--app-font-sans); }
.admin-search input::placeholder { color: #97898a; }
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { padding: 14px 20px; color: #897b7a; border-bottom: 1px solid #d9cfc2; font: 9px var(--app-font-mono); font-weight: 400; letter-spacing: .1em; text-align: left; text-transform: uppercase; }
.admin-table td { padding: 16px 20px; border-bottom: 1px solid #e1d8cc; vertical-align: middle; }
.admin-table tbody tr { transition: background .2s; }
.admin-table tbody tr:hover { background: #eee8dd; }
.admin-product-cell { display: flex; align-items: center; gap: 13px; min-width: 220px; }
.admin-product-cell img, .admin-product-placeholder { width: 46px; height: 53px; display: grid; place-items: center; flex: none; object-fit: cover; color: #9a8b83; background: #dfd5c7; }
.admin-product-cell strong { display: block; color: #321f2f; font: 500 17px var(--app-font-serif); }
.admin-product-cell span { display: block; margin-top: 4px; color: #887c7c; font: 9px var(--app-font-mono); }
.admin-category { color: #645759; font-size: 11px; }
.admin-price { color: #321f2f; font: 12px var(--app-font-mono); white-space: nowrap; }
.admin-statuses { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.admin-status { display: inline-flex; align-items: center; gap: 6px; color: #557049; font: 10px var(--app-font-mono); white-space: nowrap; }
.admin-status i { width: 6px; height: 6px; display: inline-block; background: #718b64; border-radius: 50%; }
.admin-status.is-muted { color: #988c8b; }
.admin-status.is-muted i { background: #b2a8a4; }
.admin-featured { display: inline-flex; align-items: center; gap: 5px; color: #9a6d1d; font: 9px var(--app-font-mono); }
.admin-row-actions { display: flex; justify-content: flex-end; gap: 2px; }
.admin-icon-button { width: 32px; height: 32px; display: grid; place-items: center; color: #6e5e63; border: 1px solid transparent; background: transparent; transition: color .2s, border-color .2s, background .2s; }
.admin-icon-button:hover { color: #321f2f; border-color: #c6b9aa; background: #eee8dd; }
.admin-icon-button.danger:hover { color: #934b43; border-color: #c78e7e; background: #f4e4dd; }
.admin-empty-state { display: flex; align-items: center; flex-direction: column; padding: 77px 25px 84px; text-align: center; }
.admin-state-mark { width: 47px; height: 47px; display: grid; place-items: center; margin-bottom: 20px; color: #9a6d1d; border: 1px solid #c8b89f; border-radius: 50%; font: 21px var(--app-font-serif); }
.admin-empty-state h3 { margin: 0; font: 500 27px var(--app-font-serif); }
.admin-empty-state p { max-width: 330px; margin: 9px 0 22px; color: #7b6d6e; font-size: 12px; line-height: 1.6; }
.admin-table-skeleton { padding: 8px 20px 22px; }
.admin-skeleton-row { display: grid; grid-template-columns: 1.3fr .8fr .5fr .8fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid #e1d8cc; }
.admin-skeleton-row span, .admin-skeleton-logo, .admin-skeleton-line { background: linear-gradient(90deg, #e5ddd1 20%, #f1ebdf 45%, #e5ddd1 70%); background-size: 200% 100%; animation: admin-shimmer 1.6s infinite; }
.admin-skeleton-row span { height: 15px; }
.admin-loading-screen { min-height: 100dvh; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 13px; background: #eee8dd; }
.admin-loading-screen p { margin-top: 8px; color: #776a6a; font: 10px var(--app-font-mono); letter-spacing: .1em; text-transform: uppercase; }
.admin-skeleton-logo { width: 150px; height: 45px; }
.admin-skeleton-line { width: 230px; height: 10px; }
.admin-skeleton-line.short { width: 150px; }
.admin-state-page { min-height: 100dvh; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 30px; color: #321f2f; background: #eee8dd; text-align: center; }
.admin-state-page h1 { max-width: 500px; margin: 14px 0 11px; font: 500 clamp(37px, 5vw, 58px)/1 var(--app-font-serif); letter-spacing: -.04em; }
.admin-state-page p { max-width: 390px; margin: 0 0 24px; color: #776a6a; font-size: 13px; line-height: 1.7; }
.admin-inline-error { margin-top: 18px; padding: 11px 13px; color: #873f39; background: #f4e4dd; border: 1px solid #d1a196; font-size: 12px; }
.admin-toast { position: fixed; right: 24px; bottom: 24px; z-index: 100; display: flex; align-items: center; gap: 9px; padding: 14px 17px; color: #f5f0e8; background: #321f2f; box-shadow: 0 13px 30px rgba(50,31,47,.18); font-size: 12px; animation: toast-in .4s var(--ease-editorial); }
.admin-modal-backdrop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 25px; background: rgba(39,24,34,.48); animation: admin-fade-in .25s ease-out; }
.admin-editor { width: min(680px, 100%); max-height: calc(100dvh - 50px); overflow: auto; padding: 31px; background: #f5f0e8; box-shadow: 0 20px 70px rgba(39,24,34,.2); }
.admin-editor-head { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid #d9cfc2; }
.admin-editor h2, .admin-confirm h2 { margin: 9px 0 0; font: 500 34px var(--app-font-serif); letter-spacing: -.035em; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 14px; }
.admin-field { display: flex; flex-direction: column; gap: 7px; }
.admin-field-wide { grid-column: 1 / -1; }
.admin-field span { color: #756769; font: 9px var(--app-font-mono); letter-spacing: .11em; text-transform: uppercase; }
.admin-field input, .admin-field textarea { width: 100%; box-sizing: border-box; padding: 11px 12px; resize: vertical; color: #321f2f; outline: 0; border: 1px solid #c9bdae; border-radius: 0; background: #fffaf2; font: 12px var(--app-font-sans); transition: border-color .2s, box-shadow .2s; }
.admin-field input:focus, .admin-field textarea:focus { border-color: #9a6d1d; box-shadow: 0 0 0 2px rgba(154,109,29,.11); }
.admin-image-upload { display: flex; align-items: center; gap: 15px; padding: 13px; border: 1px solid #c9bdae; background: #fffaf2; }
.admin-image-preview { width: 69px; height: 80px; display: grid; place-items: center; flex: none; overflow: hidden; color: #9a8b83; background: #dfd5c7; }
.admin-image-preview img { width: 100%; height: 100%; object-fit: cover; }
.admin-image-upload-copy { display: flex; align-items: flex-start; flex-direction: column; gap: 8px; }
.admin-image-upload-copy small { color: #897b7a; font: 10px/1.45 var(--app-font-mono); }
.admin-image-upload-button { min-height: 36px; }
.admin-image-url-fallback { display: flex; flex-direction: column; gap: 7px; margin-top: 9px; }
.admin-image-url-fallback span { color: #897b7a; font: 9px var(--app-font-mono); letter-spacing: .08em; text-transform: uppercase; }
.admin-visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.admin-switch-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 23px; padding-top: 19px; border-top: 1px solid #d9cfc2; }
.admin-switch { display: inline-flex; align-items: center; gap: 8px; color: #5f5155; font-size: 11px; cursor: pointer; }
.admin-switch input { position: absolute; opacity: 0; pointer-events: none; }
.admin-switch-track { width: 27px; height: 16px; position: relative; background: #c6bcb2; border-radius: 10px; transition: background .2s; }
.admin-switch-track::after { content: ''; width: 12px; height: 12px; position: absolute; top: 2px; left: 2px; background: #f5f0e8; border-radius: 50%; transition: transform .2s; }
.admin-switch input:checked + .admin-switch-track { background: #71805d; }
.admin-switch input:checked + .admin-switch-track::after { transform: translateX(11px); }
.admin-editor-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 27px; padding-top: 21px; border-top: 1px solid #d9cfc2; }
.admin-confirm { width: min(425px, 100%); position: relative; padding: 34px; color: #321f2f; background: #f5f0e8; text-align: center; }
.admin-confirm .confirm-close { position: absolute; right: 19px; top: 19px; }
.admin-confirm .admin-state-mark { margin: 0 auto 20px; color: #934b43; border-color: #c78e7e; }
.admin-confirm h2 { font-size: 31px; }
.admin-confirm p { margin: 11px 0 0; color: #776a6a; font-size: 12px; line-height: 1.65; }
.admin-confirm .admin-editor-actions { justify-content: center; }
.spin { animation: admin-spin .9s linear infinite; }
.auth-page { min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 5vw; padding: 35px clamp(24px, 8vw, 120px); background: #321f2f; }
.auth-copy { color: #f1e8d9; }
.auth-back { display: inline-block; margin-bottom: clamp(75px, 15vh, 170px); color: #d8af60; font: 10px var(--app-font-mono); letter-spacing: .09em; text-decoration: none; text-transform: uppercase; }
.auth-mark { font: 500 clamp(50px, 6vw, 86px)/.86 var(--app-font-serif); letter-spacing: -.07em; }
.auth-mark em { color: #d8af60; }
.auth-copy p { margin-top: 26px; color: #b9abb0; font: italic 20px var(--app-font-serif); }
@keyframes admin-shimmer { to { background-position: -200% 0; } }
@keyframes admin-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes admin-spin { to { transform: rotate(360deg); } }
@media (max-width: 980px) {
  .admin-sidebar { width: 205px; flex-basis: 205px; padding-left: 18px; padding-right: 18px; }
  .admin-main { padding-left: 27px; padding-right: 27px; }
  .admin-summary { grid-template-columns: repeat(3, 1fr); }
  .admin-summary-aside { min-height: 75px; grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .admin-shell { display: block; }
  .admin-sidebar { width: auto; min-height: auto; padding: 17px 20px; flex-direction: row; align-items: center; gap: 22px; }
  .admin-brand, .admin-brand img { width: 119px; }
  .admin-sidebar-caption, .admin-sidebar-note { display: none; }
  .admin-nav { flex-direction: row; margin-left: auto; }
  .admin-nav-item { min-height: 34px; padding: 0 7px; border-left: 0; border-bottom: 1px solid transparent; }
  .admin-nav-item.active { border-bottom-color: #d8af60; background: transparent; }
  .admin-nav-item .admin-nav-index { display: none; }
  .admin-user { margin: 0; padding: 0; border: 0; }
  .admin-user div:nth-child(2), .admin-logout { display: none; }
  .admin-main { padding: 37px 18px 50px; }
  .admin-header { display: block; padding-bottom: 28px; }
  .admin-header-actions { margin-top: 24px; }
  .admin-header-actions .admin-button { flex: 1; }
  .admin-summary { grid-template-columns: repeat(3, 1fr); margin: 25px 0 28px; }
  .admin-summary-card { min-height: 100px; padding: 14px 12px; }
  .admin-summary-card strong { margin-top: 12px; font-size: 28px; }
  .admin-summary-card small { font-size: 9px; }
  .admin-summary-aside { padding: 15px; font-size: 10px; }
  .admin-panel-head { display: block; padding: 22px 17px 18px; }
  .admin-search { width: auto; margin-top: 20px; }
  .admin-table th, .admin-table td { padding-left: 12px; padding-right: 12px; }
  .admin-table th:nth-child(2), .admin-table td:nth-child(2), .admin-table th:nth-child(4), .admin-table td:nth-child(4) { display: none; }
  .admin-row-actions { flex-direction: column; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-field-wide { grid-column: auto; }
  .admin-editor { padding: 23px 18px; }
  .auth-page { grid-template-columns: 1fr; gap: 36px; padding: 28px 18px 50px; align-items: start; }
  .auth-copy { text-align: center; }
  .auth-back { margin-bottom: 44px; }
  .auth-mark { font-size: 54px; }
  .auth-copy p { margin: 12px 0 0; font-size: 16px; }
  .auth-page > .cl-rootBox { width: 100%; }
}