:root {
  color-scheme: light;
  --paper: #fbf7ef;
  --cream: #f4ebdd;
  --ink: #322b25;
  --muted: #695c4e;
  --thread: #8b6546;
  --line: #d8c7b3;
  --display: 'Cormorant Garamond', Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-height: 77px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 Inter, Arial, sans-serif; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3,.phone,.atelier-fact b { font-family: var(--display); font-weight: 500; }
h1,h2,h3 { line-height: .99; letter-spacing: -.038em; }
h1 { font-size: clamp(4.3rem, 7.8vw, 7.5rem); }
h2 { font-size: clamp(3.3rem, 5.5vw, 5.2rem); }
h3 { font-size: clamp(2rem, 3vw, 2.8rem); }
em { color: var(--thread); font-weight: 500; }
a { color: inherit; text-decoration: none; }
button,input,select,textarea { font: inherit; color: inherit; }
button,select { cursor: pointer; }
img,canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--thread); outline-offset: 4px; }
.wrap,.container { width: min(calc(100% - clamp(2.5rem, 9vw, 10rem)), 1192px); margin-inline: auto; }
.section-pad { padding-block: clamp(3.8rem, 6.5vw, 6rem); position: relative; }
.alias { position: absolute; top: 0; }
.kicker,.label { font: 600 .75rem/1.4 Inter, Arial, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #79583e; margin-bottom: 1rem; }
.skip { position: fixed; z-index: 9; background: white; padding: .7rem; top: -5rem; left: 1rem; }
.skip:focus { top: 1rem; }
.mast { position: sticky; top: 0; z-index: 5; background: rgba(251,247,239,.98); border-bottom: 1px solid var(--line); }
.mast-row { display: flex; align-items: center; gap: 2rem; min-height: 76px; }
.logo { width: 103px; aspect-ratio: 650 / 395; display: block; flex: none; mix-blend-mode: multiply; }
.brand-art { display: block; width: 100%; height: 100%; background: url('../assets/brand/tuana-logo.jpg') 46.79% 51.67% / 157.54% auto no-repeat; }
.mast nav { display: flex; gap: clamp(.9rem,2.1vw,2.1rem); margin: 0 auto; }
nav a,.under { font-size: .9rem; font-weight: 500; }
nav a { padding-block: .65rem; }
nav a:hover { color: var(--thread); }
.menu-key { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.55rem; background: #6e4f39; color: #fffcf7; font-size: .9rem; font-weight: 500; border: 1px solid #6e4f39; border-radius: 4px; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; }
.btn,.studio-toolbar button,.fabric-option,.menu-key { transition: transform .32s var(--ease), box-shadow .32s var(--ease), background-color .24s; }
.btn::before { content: ''; position: absolute; inset: -80% -75%; background: linear-gradient(110deg,transparent 40%,#ffffff38,transparent 60%); transform: translateX(-85%); pointer-events: none; }
.btn:focus-visible::before { transform: translateX(85%); transition: transform .65s; }
.btn:active,.fabric-option:active,.studio-toolbar button:active,.menu-key:active { transform: scale(.965); }
.btn .wave { position: absolute; border-radius: 50%; background: #fff9ea70; pointer-events:none; animation: ripple .55s ease-out both; }
@keyframes ripple { from { transform: translate(-50%,-50%) scale(0); } to { transform: translate(-50%,-50%) scale(1); opacity: 0; } }
.under { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .36em; text-decoration-color: #aa8969; }
.under:hover { color: var(--thread); }
.cover,.contact,.atelier-studio { position: relative; isolation: isolate; overflow: hidden; }
.cover { background: linear-gradient(115deg,#fbf7ef 20%,#f3e7d6 68%,#e6d4bc); }
.cover::before,.contact::before { content: ''; position: absolute; inset: -15% -7%; z-index: -1; background: radial-gradient(ellipse at 25% 20%,#fffcf4 0%,transparent 48%),radial-gradient(ellipse at 75% 90%,#d3b18680,transparent 58%); animation: daylight 4.7s ease-in-out both; pointer-events: none; }
@keyframes daylight { from { transform: translateX(-4%); } to { transform: translateX(4%); } }
.cover-grid { padding-block: clamp(1.8rem,3.8vw,3.8rem); display: grid; grid-template-columns: minmax(0,1.04fr) minmax(0,1fr); gap: clamp(2rem,5vw,5rem); align-items: center; }
.cover-copy { padding-block: 1.2rem; }
.cover .kicker { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.6rem; }
.stitch { width: 2.8rem; border-top: 1px solid var(--thread); }
.intro,.contact-copy>p:not(.kicker),.studio-copy>p:not(.label) { color: var(--muted); max-width: 46ch; margin-top: 1.3rem; }
.actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }
.atelier-fact { margin-top: 2.2rem; padding-top: .85rem; border-top: 1px solid var(--line); display: flex; align-items: center; gap: .85rem; width: min(19rem,100%); }
.atelier-fact b { color: var(--thread); font-size: 2.8rem; line-height: 1; }
.atelier-fact span,.cover-figure figcaption { font-size: .8rem; color: var(--muted); }
.hero-media { overflow: hidden; position: relative; border-radius: 47% 47% 3px 3px; aspect-ratio: .98; background: #dbcebc; border: 1px solid #99785859; }
.hero-media::after { content: ''; position: absolute; inset: 10px; border: 1px solid #fff5df77; border-radius: inherit; pointer-events: none; }
.cover-photo,.look-photo img { width: 100%; height: 100%; object-fit: cover; }
.cover-photo { object-position: 50% 33%; }
.cover-figure figcaption { padding-top: .65rem; display: flex; justify-content: space-between; gap: 1rem; }
.cover-figure i { font: italic 1.1rem/1.3 var(--display); }
.chapter { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.chapter>p { max-width: 36ch; color: var(--muted); }
.looks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem,3vw,2.6rem); }
.look,.look-copy,.brief,.studio-display,.studio-copy,.steps li { min-width: 0; }
.look-photo { border-radius: 3px; overflow: hidden; aspect-ratio: 1.68; }
.look-photo img { object-position: 50% 43%; transition: transform .65s var(--ease); }
.look-photo.chef img { object-position: 50% 26%; }
.look-copy { padding-top: 1.3rem; }
.look-copy p,.steps p,.custom-order p { margin-block: .65rem .35rem; color: var(--muted); max-width: 48ch; }
.custom-order,.sources,.foot { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.custom-order { margin-top: 2.2rem; padding: 1.3rem 1.65rem; background: var(--cream); border-left: 2px solid #ac8c67; }
.custom-order h3 { font-size: 1.8rem; }.custom-order .under { flex-shrink: 0; }
.sources { align-items: start; margin-top: 1rem; color: var(--muted); font-size: .8rem; }
.sources details { max-width: 36ch; }.sources a,.foot .under { text-decoration: underline; text-underline-offset: 3px; }
summary { cursor: pointer; }
.atelier-studio { background: linear-gradient(118deg,#efe3d1,#f8f1e7 58%,#e8d8c3); border-block: 1px solid var(--line); }
.studio-layout,.contact-layout { display: grid; grid-template-columns: minmax(0,.91fr) minmax(0,1.09fr); align-items: center; gap: clamp(2rem,7vw,7rem); }
.studio-copy .label { display: block; }.studio-copy .studio-disclaimer,.note,.studio-help,.studio-choice { font-size: .85rem; color: var(--muted); }
.studio-options { margin: 1.4rem 0 1rem; }.fabric-picker { border: 0; margin: 0; padding: 0; min-width: 0; }
.fabric-picker legend,.model-picker legend { font-size: .85rem; font-weight: 600; margin-bottom: .6rem; }
.fabric-options,.model-picker,.studio-toolbar,.rotation-tools,.zoom-tools { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.fabric-option,.model-picker button,.studio-toolbar button,.menu-key { min-height: 44px; border-radius: 4px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); font-size: .85rem; padding: .4rem .7rem; }
.fabric-option { display: flex; align-items: center; gap: .45rem; }
.fabric-option > span:first-child { width: 18px; height: 18px; border-radius: 50%; background: var(--swatch); border: 1px solid #44342730; }
.studio-options fieldset + fieldset { margin-top: .85rem; }.studio-choice { margin-top: .7rem; }.model-picker button { transition: background-color .2s, border-color .2s; }.fabric-option[aria-pressed=true],.model-picker button[aria-pressed=true],.studio-toolbar button[aria-pressed=true] { background: #fffdf8; border-color: #74573e; box-shadow: inset 0 0 0 1px #74573e; }
.studio-stage { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--line); border-radius: 46% 46% 4px 4px; height: clamp(380px,42vw,540px); background: radial-gradient(ellipse at 48% 28%,#fffcf7,#e4d4bd); }
.studio-backdrop { position: absolute; inset: 5%; border: 1px solid #c6aa8838; border-radius: inherit; }
.studio-fallback,.apron-canvas { position: absolute; inset: 0; }
.studio-fallback { display: grid; place-items: center; }
.garment-still { height: 100%; max-width: 100%; aspect-ratio: 4/5; width: auto; background: url('../assets/photos/uniform-previews.webp') 0 0 / 500% 400% no-repeat; }
.apron-canvas:empty { display: none; }
.apron-canvas canvas { width: 100%; height: 100%; touch-action: pan-y pinch-zoom; cursor: grab; outline-offset: -8px; }.apron-canvas canvas.is-dragging { cursor: grabbing; }
.studio-status { position: absolute; bottom: .8rem; left: 50%; transform: translateX(-50%); padding: .35rem .8rem; background: #fffaf0ea; color: var(--muted); font-size: .8rem; white-space: nowrap; pointer-events: none; }
.studio-toolbar { justify-content: center; margin-top: .8rem; }.studio-toolbar button { min-width: 44px; }.studio-help { margin-top: .6rem; text-align: center; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2.3rem; }
.steps li { border-top: 1px solid var(--line); padding-top: 1.2rem; }.steps h3 { font-size: 2rem; }
.contact { background: var(--cream); }.contact-layout { align-items: start; }
.contact-copy { padding-top: 1rem; }.contact address { font-style: normal; margin-top: 2.1rem; }
.phone { display: inline-flex; font-size: clamp(1.9rem,3.7vw,3rem); }.contact address div { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.brief { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.25rem,3vw,2.6rem); border-radius: 5px; display: grid; gap: 1rem; }
.brief h3 { font-size: 2.4rem; margin-bottom: .4rem; }.brief-fields { display: grid; gap: 1rem; }
.brief label { display: block; font-size: .88rem; font-weight: 500; }.brief small { font-weight: 400; color: var(--muted); }
.product-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: .75rem; }
.brief select,.brief input,.brief textarea { display: block; font-size: 1rem; font-weight: 400; width: 100%; min-width: 0; min-height: 46px; border: 1px solid #bfac95; background: #fffdf8; border-radius: 3px; padding: .65rem; margin-top: .25rem; }
.brief textarea { resize: vertical; }.model-note { display: flex; justify-content: space-between; align-items: center; gap: .65rem; padding: .5rem .75rem; font-size: .87rem; background: #efe6d7; }
.model-note button { background: transparent; border: 0; text-decoration: underline; min-height: 44px; }
.foot { min-height: 6.4rem; color: var(--muted); font-size: .83rem; }.foot .logo { width: 95px; }
@media(hover:hover) and (pointer:fine) {
 .btn:hover { transform: translateY(-3px); box-shadow: 0 9px 19px #73544230; background: #5b412f; }
 .btn:hover::before { transform: translateX(85%); transition: transform .7s; }
 .look:hover img { transform: scale(1.035); }.fabric-option:hover,.studio-toolbar button:hover { transform: translateY(-2px); }
}
@media(prefers-reduced-motion:no-preference) {
 .cover-copy,.cover-figure { animation: arrival .65s var(--ease) backwards; }.cover-figure { animation-delay: .09s; }
 .arriving { animation: arrival .62s var(--ease) both; }
 @keyframes arrival { from { opacity: .05; transform: translateY(13px); } to { opacity: 1; transform: none; } }
}
@media(max-width:850px) {
 .mast-row { gap: .8rem; flex-wrap: wrap; }.mast-row>.logo { margin-right:auto; }.mast-cta { display:none; }
 .js .menu-key { display:inline-block; }.mast nav { width:100%; flex-wrap:wrap; margin:0; }
 .js .mast nav { display:none; position:absolute; top:100%; left:0; right:0; padding: .6rem 6vw; background:var(--paper); border-bottom:1px solid var(--line); box-shadow:0 10px 18px #4a351012; }
 .js nav.open { display:grid; gap:.1rem; }.mast nav a { min-height:44px; }.mast-row { min-height:66px; }.mast .logo { width:86px; }
 .studio-layout,.contact-layout { gap:2rem; }.product-row { grid-template-columns:1fr; }
 .chapter>p { max-width:29ch; }.studio-stage { height:430px; }
}
@media(max-width:690px) {
 .cover-grid,.studio-layout,.contact-layout,.looks,.steps { grid-template-columns: minmax(0,1fr); }
 .cover-grid { padding-block:2.3rem 1.6rem; gap:1.5rem; }.cover-copy { padding:0; }.cover .kicker { margin-bottom:.9rem; }
 h1 { font-size:clamp(3.9rem,12.6vw,5rem); }.intro { margin-top:.9rem; }.actions { margin-top:1.3rem; gap:1.1rem; }
 .atelier-fact { width:auto; margin-top:1.25rem; padding-top:.65rem; }.atelier-fact b { font-size:1.9rem; }.atelier-fact span br { display:none; }.atelier-fact span br::after { content:' '; }
 .hero-media { aspect-ratio:1.36; border-radius:10rem 10rem 3px 3px; }.cover-photo { object-position:50% 27%; }.chapter,.custom-order,.sources { display:block; }
 .chapter>p { max-width:43ch; margin-top:.9rem; }.looks { gap:2rem; }.look-copy { padding-top:1rem; }.custom-order .under { margin-top:.35rem; }
 .sources details { margin-top:.7rem; }.studio-layout { gap:1.5rem; }.studio-display { grid-row:2; }.studio-stage { height:clamp(355px,105vw,465px); }
 .studio-copy { display:contents; }.studio-intro { grid-row:1; }.studio-order { grid-row:3; }.studio-options { margin-top:0; }.studio-disclaimer { margin-top:.7rem; }
 .steps { gap:1rem; }.contact-copy { padding-top:0; }.contact-copy h2 br { display:none; }.foot { gap:.75rem; flex-wrap:wrap; padding-block:.9rem; }.foot .logo { width:76px; }
}
@media(prefers-reduced-motion:reduce) {
 html { scroll-behavior:auto; }*,*::before,*::after { animation:none!important; transition:none!important; }.btn:hover,.btn:active,.look:hover img,.fabric-option:hover,.studio-toolbar button:hover { transform:none; }.btn .wave { display:none; }
}

/* Keep the language switcher within reach while navigating or completing the order. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.locale-control { order: 2; flex: none; }
.locale-control select {
  min-height: 44px;
  max-width: 100%;
  padding: .4rem .3rem;
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.mast-cta { order: 3; }
.mast-row { gap: clamp(.55rem, 1.4vw, 1.4rem); }
.cover-copy, .contact-copy, .product-row label { min-width: 0; }
:lang(kk) .cover h1, :lang(tr) .cover h1, :lang(en) .cover h1 {
  font-size: clamp(3.7rem, 6.1vw, 6.35rem);
}
@media(max-width:850px) {
  .locale-control { order: 0; }
  .locale-control select { font-size: 1rem; }
  .mast-row { column-gap: .6rem; }
}
@media(max-width:690px) {
  :lang(kk) .cover h1, :lang(tr) .cover h1, :lang(en) .cover h1 { font-size: clamp(2.9rem, 10.4vw, 4.25rem); }
  .cover-copy h1, .chapter h2, .studio-copy h2, .contact-copy h2, .look-copy h3 { overflow-wrap: break-word; }
}

