/* Boutique & tailoring - editorial: ivory, ink, rose and plum with a hand-stitched feel. */
:root {
  --ivory: #f7f1e8; --ivory2: #efe4d4; --ink: #231a22; --rose: #c4577a; --plum: #5a2a4f; --gold: #b88a44; --mute: #6e5f69; --line: rgba(35, 26, 34, .16);
  --head: 'Playfair Display', 'Noto Serif Tamil', Georgia, serif;
  --body: 'Jost', 'Hind Madurai', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; -webkit-text-size-adjust: 100%; background: var(--ivory); }
body { margin: 0; font-family: var(--body); font-weight: 400; font-size: 18px; line-height: 1.65; color: var(--ink); background: var(--ivory); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--rose); }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
html[data-lang="en"] .ta, html[data-lang="ta"] .en { display: none !important; }
html[data-lang="ta"] body { font-family: 'Hind Madurai', var(--body); }
html[data-lang="ta"] h1, html[data-lang="ta"] h2, html[data-lang="ta"] h3 { font-family: 'Noto Serif Tamil', var(--head); font-weight: 600; font-style: normal; }

.strip { position: fixed; z-index: 55; left: 0; right: 0; top: 0; height: 34px; background: var(--plum); color: #f4dfe8; text-align: center; font-size: 13.5px; letter-spacing: .06em; line-height: 34px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 12px; }
.site-header { position: fixed; z-index: 60; left: 0; right: 0; top: 34px; height: 72px; display: flex; align-items: center; gap: 22px; padding: 0 clamp(16px, 4vw, 56px); background: rgba(247, 241, 232, .95); border-bottom: 1px solid var(--line); transition: top .3s, box-shadow .3s; }
.site-header.scrolled { top: 0; box-shadow: 0 10px 28px rgba(35, 26, 34, .1); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.mono { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px dashed var(--rose); font-family: var(--head); font-style: italic; font-size: 26px; color: var(--plum); }
.bn { font-family: var(--head); font-style: italic; font-size: 26px; line-height: 1; } .bn small { display: block; font-family: var(--body); font-style: normal; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--mute); margin-top: 3px; }
html[data-lang="ta"] .bn { font-style: normal; font-size: 22px; font-weight: 600; } html[data-lang="ta"] .bn small { letter-spacing: 0; text-transform: none; font-size: 13px; }
#menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
#menu a { display: block; padding: 6px 14px; text-decoration: none; color: var(--ink); font-size: 14px; letter-spacing: .14em; text-transform: uppercase; background: linear-gradient(var(--rose), var(--rose)) no-repeat 14px calc(100% - 2px) / 0 2px; transition: background-size .35s, color .2s; }
html[data-lang="ta"] #menu a { letter-spacing: 0; text-transform: none; font-size: 16px; }
#menu a:hover, #menu a:focus-visible { background-size: calc(100% - 28px) 2px; color: var(--rose); outline: none; }
.lang { display: flex; } .lang button { border: 1px solid var(--ink); background: transparent; min-width: 38px; height: 32px; font-size: 13px; cursor: pointer; letter-spacing: .08em; }
.lang button + button { border-left: 0; } .lang button[aria-pressed="true"] { background: var(--ink); color: var(--ivory); }
.nav-toggle { display: none; }

.wrap { width: min(1160px, 100%); margin: 0 auto; padding: 0 28px; }
.sec { padding: 104px 0; position: relative; }
.sec.tint { background: var(--ivory2); } .sec.dark { background: var(--plum); color: #f7e8ef; }
.head-c { text-align: center; } .head-c .sub { margin-inline: auto; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--rose); font-weight: 500; }
html[data-lang="ta"] .eyebrow { letter-spacing: .02em; text-transform: none; font-size: 16px; font-weight: 600; }
.dark .eyebrow { color: #e9b4c8; }
.sec-h { font-family: var(--head); font-weight: 400; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.15; margin: 10px 0 14px; max-width: 22ch; }
.head-c .sec-h { margin-inline: auto; }
html[data-lang="ta"] .sec-h { font-size: clamp(24px, 3.4vw, 38px); line-height: 1.4; max-width: 28ch; }
.sub { max-width: 56ch; color: var(--mute); } .dark .sub { color: #dcc0cf; }
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.btn { display: inline-block; background: var(--plum); color: #fff; border: 1px solid var(--plum); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; padding: 15px 32px; text-decoration: none; cursor: pointer; transition: background .3s, color .3s; font-family: var(--body); position: relative; }
html[data-lang="ta"] .btn { letter-spacing: 0; text-transform: none; font-size: 16px; }
.btn::after { content: ""; position: absolute; inset: 4px; border: 1px dashed rgba(255, 255, 255, .55); pointer-events: none; }
.btn:hover, .btn:focus-visible { background: var(--rose); border-color: var(--rose); outline: none; }
.btn.alt { background: transparent; color: var(--plum); } .btn.alt::after { border-color: rgba(90, 42, 79, .4); } .btn.alt:hover { background: var(--plum); color: #fff; }

/* hero */
.hero { padding: 190px 0 90px; position: relative; overflow: hidden; background: radial-gradient(circle at 85% 30%, #f3d8e1, transparent 45%), var(--ivory); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.hero h1 { font-family: var(--head); font-weight: 400; font-size: clamp(40px, 6vw, 78px); line-height: 1.08; margin: 14px 0 18px; }
html[data-lang="ta"] .hero h1 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.35; }
.hero h1 em { color: var(--rose); font-style: italic; } html[data-lang="ta"] .hero h1 em { font-style: normal; }
.lead { font-size: 20px; color: var(--mute); max-width: 46ch; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.facts { list-style: none; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px dashed var(--ink); display: flex; gap: 40px; flex-wrap: wrap; }
.facts b { display: block; font-family: var(--head); font-style: italic; font-weight: 400; font-size: 40px; line-height: 1; color: var(--plum); }
.facts span { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); } html[data-lang="ta"] .facts span { letter-spacing: 0; text-transform: none; font-size: 15px; }
.hv { position: relative; aspect-ratio: 500 / 520; }
.thread { position: absolute; inset: 0; width: 100%; height: 100%; } .thread path:first-child { stroke-dashoffset: 0; animation: dash 6s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -190; } }
.sw-float { position: absolute; width: 38%; aspect-ratio: 4 / 5; box-shadow: 0 18px 34px rgba(35, 26, 34, .25); animation: bob 7s ease-in-out infinite; }
.s1 { left: 6%; top: 8%; background: repeating-linear-gradient(45deg, #7a1f4d 0 10px, #9a2f64 10px 20px); transform: rotate(-8deg); }
.s2 { right: 4%; top: 30%; background: radial-gradient(circle, #f1cf7a 0 6px, transparent 7px) 0 0/22px 22px, #2d6a6e; transform: rotate(7deg); animation-delay: -2s; }
.s3 { left: 26%; bottom: 4%; background: linear-gradient(90deg, #1c2a4f 0 14%, #c4577a 14% 20%, #1c2a4f 20% 80%, #c4577a 80% 86%, #1c2a4f 86%); transform: rotate(-3deg); animation-delay: -4s; }
@keyframes bob { 50% { translate: 0 -14px; } }
.needle { position: absolute; width: 36%; right: 8%; bottom: 14%; animation: sew 3s ease-in-out infinite; transform-origin: 90% 50%; }
@keyframes sew { 0%, 100% { transform: rotate(-12deg) translateX(0); } 50% { transform: rotate(-4deg) translateX(-18px); } }

/* price list */
.pls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; margin-top: 50px; }
.pg h3 { font-family: var(--head); font-style: italic; font-weight: 400; font-size: 30px; color: var(--plum); padding-bottom: 8px; border-bottom: 2px solid var(--ink); margin-bottom: 8px; }
html[data-lang="ta"] .pg h3 { font-style: normal; font-size: 24px; }
.pg ul { list-style: none; margin: 0; padding: 0; }
.pg li { display: flex; align-items: baseline; gap: 8px; padding: 9px 0; font-size: 17px; line-height: 1.35; }
.pg li i { flex: 1; border-bottom: 2px dotted rgba(35, 26, 34, .35); transform: translateY(-4px); min-width: 12px; }
.pg li b { font-weight: 500; color: var(--rose); white-space: nowrap; }
.pg li:hover span { color: var(--rose); }

/* measurement guide */
.meas-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.mdesc { margin-top: 26px; min-height: 160px; border-left: 3px solid var(--rose); padding-left: 22px; }
.md { display: none; } .md.on { display: block; animation: fade .5s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.md h3 { font-family: var(--head); font-style: italic; font-weight: 400; font-size: 30px; margin-bottom: 6px; } html[data-lang="ta"] .md h3 { font-style: normal; font-size: 24px; }
.md p { color: var(--mute); max-width: 48ch; }
.dummy-wrap { max-width: 340px; margin: 0 auto; width: 100%; }
.dummy { width: 100%; height: auto; display: block; }
.tape { animation: dash2 4s linear infinite; } @keyframes dash2 { to { stroke-dashoffset: -26; } }
.hs { cursor: pointer; outline: none; } .hs circle { fill: var(--plum); stroke: #fff; stroke-width: 3; transition: r .25s, fill .25s; } .hs text { fill: #fff; font-size: 14px; font-weight: 600; pointer-events: none; }
.hs:hover circle, .hs:focus-visible circle { fill: var(--rose); r: 16; } .hs.on circle { fill: var(--rose); r: 17; animation: ping 1.6s ease-out infinite; }
@keyframes ping { 0% { stroke-width: 3; } 50% { stroke-width: 9; stroke: rgba(196, 87, 122, .4); } 100% { stroke-width: 3; } }

/* process: a stitched line that fills with scroll */
.psteps { list-style: none; margin: 56px 0 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; --p: 0; }
.psteps::before { content: ""; position: absolute; left: 4%; right: 4%; top: 27px; border-top: 3px dashed var(--line); }
.psteps::after { content: ""; position: absolute; left: 4%; top: 27px; width: calc(92% * var(--p)); border-top: 3px dashed var(--rose); }
.pstep { position: relative; z-index: 1; }
.pstep i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--ivory); border: 2px solid var(--plum); font-family: var(--head); font-style: italic; font-size: 24px; color: var(--plum); margin-bottom: 14px; }
.pstep h3 { font-family: var(--head); font-weight: 400; font-size: 24px; margin-bottom: 4px; } html[data-lang="ta"] .pstep h3 { font-size: 19px; }
.pstep p { color: var(--mute); font-size: 15.5px; line-height: 1.55; }

/* fabric reel */
.reel { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 36px clamp(20px, 6vw, 90px) 20px; scrollbar-width: none; cursor: grab; }
.reel::-webkit-scrollbar { display: none; }
.sw { flex: 0 0 min(300px, 70vw); aspect-ratio: 4 / 5; position: relative; scroll-snap-align: center; overflow: hidden; border: 6px solid #fff; box-shadow: 0 16px 34px rgba(0, 0, 0, .3); text-decoration: none; transition: transform .4s; }
.sw:nth-child(odd) { transform: rotate(-1.5deg); } .sw:nth-child(even) { transform: rotate(1.5deg) translateY(14px); }
.sw:hover, .sw:focus-visible { transform: rotate(0) translateY(-8px) scale(1.03); outline: none; z-index: 2; }
.sw img { width: 100%; height: 100%; object-fit: cover; }
.cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; background: linear-gradient(transparent, rgba(35, 26, 34, .85)); color: #fff; font-family: var(--head); font-style: italic; font-size: 20px; text-align: center; }
html[data-lang="ta"] .cap { font-style: normal; font-size: 17px; }

/* booking */
.book-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.info { list-style: none; margin: 18px 0 24px; padding: 0; } .info li { display: grid; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.info b { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--rose); font-weight: 500; } html[data-lang="ta"] .info b { letter-spacing: 0; text-transform: none; font-size: 15px; font-weight: 600; }
.enquiry-form { display: grid; gap: 16px; padding: 38px 34px 28px; background: #fff; position: relative; box-shadow: 0 20px 44px rgba(35, 26, 34, .12); }
.enquiry-form::before { content: ""; position: absolute; inset: 8px; border: 1px dashed var(--rose); pointer-events: none; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 5px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field label, .field legend { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--plum); padding: 0; font-weight: 500; } html[data-lang="ta"] .field label, html[data-lang="ta"] .field legend { letter-spacing: 0; text-transform: none; font-size: 15.5px; font-weight: 600; }
.field input[type="text"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--ink); background: transparent; padding: 10px 2px; font-size: 18px; outline: none; border-radius: 0; transition: border-color .3s, background .3s; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--rose); background: #fbeef3; }
.field textarea { resize: vertical; } .opt { text-transform: none; letter-spacing: 0; color: var(--mute); }
.radio { display: flex; gap: 10px; align-items: center; font-size: 17px; cursor: pointer; letter-spacing: 0; text-transform: none; } .field .radio { text-transform: none; letter-spacing: 0; font-size: 17px; color: var(--ink); }
.radio input { accent-color: var(--rose); width: 18px; height: 18px; }
.err { color: #c0392b; font-size: 13.5px; } .err:empty { display: none; } .field.invalid input { border-bottom-color: #c0392b; }
.enquiry-form .btn { width: 100%; text-align: center; } .fine { font-size: 14.5px; color: var(--mute); text-align: center; line-height: 1.5; } .fine a { white-space: nowrap; }

.foot { background: var(--ink); color: var(--ivory); text-align: center; padding: 64px 0 30px; }
.fb { font-family: var(--head); font-style: italic; font-size: 38px; } html[data-lang="ta"] .fb { font-style: normal; font-size: 30px; } .ft { color: #cdbec8; margin-top: 4px; }
.credit { margin-top: 24px; font-size: 14px; color: #968590; } .credit a { color: #cdbec8; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 12, 20, .94); display: grid; place-items: center; padding: 20px; }
.lightbox figure { margin: 0; max-width: min(820px, 94vw); } .lightbox img { max-height: 80vh; margin: 0 auto; border: 8px solid #fff; }
.lightbox figcaption { text-align: center; color: #fff; margin-top: 10px; font-family: var(--head); font-style: italic; font-size: 22px; }
.lb-close { position: absolute; right: 22px; top: 14px; width: 46px; height: 46px; border: 1px solid #fff; background: transparent; color: #fff; font-size: 28px; cursor: pointer; border-radius: 50%; }

@media (max-width: 1000px) {
  .hero-grid, .meas-grid, .book-grid { grid-template-columns: 1fr; } .hv { max-width: 420px; margin: 0 auto; width: 100%; }
  .pls { grid-template-columns: 1fr; gap: 34px; }
  .psteps { grid-template-columns: 1fr 1fr 1fr; gap: 34px 18px; } .psteps::before, .psteps::after { display: none; }
  #menu a { padding: 6px 8px; }
}
@media (max-width: 820px) {
  .site-header { height: 62px; } .lang { margin-left: auto; }
  .nav-toggle { display: block; width: 42px; height: 38px; border: 1px solid var(--ink); background: transparent; position: relative; cursor: pointer; }
  .nav-toggle span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--ink); transition: .25s; } .nav-toggle span:nth-child(1) { top: 13px; } .nav-toggle span:nth-child(2) { top: 22px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 17px; transform: rotate(45deg); } .nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 17px; transform: rotate(-45deg); }
  #menu { position: fixed; top: 96px; left: 0; right: 0; background: var(--ivory); border-bottom: 2px solid var(--plum); max-height: 0; overflow: hidden; transition: max-height .35s, top .3s; }
  .site-header.scrolled #menu { top: 62px; }
  #menu.open { max-height: 80vh; overflow: auto; } #menu ul { flex-direction: column; padding: 8px 20px 18px; } #menu a { padding: 14px 4px; font-size: 15px; border-bottom: 1px dashed var(--line); background: none; }
  .sec { padding: 72px 0; } .wrap { padding: 0 20px; } .hero { padding-top: 160px; }
  .bn { font-size: 22px; } .mono { width: 38px; height: 38px; font-size: 22px; }
}
@media (max-width: 560px) {
  body { font-size: 17px; } .psteps { grid-template-columns: 1fr 1fr; } .two { grid-template-columns: 1fr; } .enquiry-form { padding: 30px 18px 22px; }
  .cta .btn { flex: 1 1 100%; text-align: center; } .facts { gap: 24px; } .strip { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
