/* /contact/ (19 Oct): three form designs, three "what happens next" designs, three "other ways" designs (route page).
   Builds on about2.css (white space, word rise, route switches). Hit areas never move; Reduce Motion = finished states. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-top { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.ctf { list-style: none; margin: clamp(30px, 5vh, 46px) 0 0; padding: 0; display: grid; gap: 18px; }
.ctf li { display: flex; gap: 14px; align-items: flex-start; }
.ctf .ic { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--gold); }
.ctf b { display: block; font-size: .95rem; } .ctf span { color: var(--muted); font-size: .98rem; }
.ctf a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* shared form parts */
.cf { position: relative; padding: clamp(24px, 3.4vw, 44px); border-radius: 28px; background: #FAFAF8; color: #17110E; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.fm-head h2 { margin: 0 0 8px !important; font: 700 1.6rem/1.2 var(--serif) !important; color: #17110E; }
.fm-head p { margin: 0 0 22px !important; color: #5F5A55; }
.fm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.ff { position: relative; margin-bottom: 20px; }
.ff label { display: block; margin-bottom: 6px; font: 600 .92rem/1.3 var(--sans); color: #17110E; }
.req { font-weight: 500; color: #7A5A16; } .opt { font-weight: 400; color: #8A817A; }
.ff input, .ff textarea, .lt-in, .lt-area { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid rgba(23,17,14,.18); border-radius: 12px; background: #fff; color: #17110E; font: 400 1rem/1.4 var(--sans); outline: none; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.ff textarea { min-height: 130px; resize: vertical; }
.ff input:focus, .ff textarea:focus, .lt-in:focus, .lt-area:focus { border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(205,168,95,.25); }
.ff-line { position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform .35s var(--ease); pointer-events: none; }
.ff:focus-within .ff-line { transform: scaleX(1); }
.ff:has(.ff-err:not([hidden])) input, .ff:has(.ff-err:not([hidden])) textarea { border-color: #B3382C; }
.ff-err { margin: 6px 0 0 !important; color: #B3382C; font-size: .9rem; font-weight: 600; }
.chips { margin: 0 0 20px; padding: 0; border: 0; } .chips legend { margin-bottom: 10px; padding: 0; font: 600 .92rem/1.3 var(--sans); color: #17110E; }
.chips-in { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 9px 15px; border-radius: 999px; border: 1px solid rgba(23,17,14,.16); background: #fff; font-size: .9rem; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.chip input:checked + span { background: #17110E; border-color: #17110E; color: var(--gold); }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (hover: hover) { .chip:hover input:not(:checked) + span { border-color: var(--gold-deep); } }
.fm-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }
.fm-btn .ic { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.cf.sending .fm-btn .ic { transform: translate(60px, -40px) rotate(12deg); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease); }
.fm-priv { margin: 0 !important; color: #5F5A55; font-size: .9rem; }
.fm-done { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; align-content: center; gap: 6px; padding: 30px; border-radius: inherit; background: #FAFAF8; text-align: center; animation: fadeup .5s var(--ease); }
.fm-done[hidden] { display: none; }
.fm-tick { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 8px; border-radius: 50%; background: var(--gold); }
.fm-tick .ic { width: 30px; height: 30px; color: #17110E; stroke-width: 2.4; stroke-dasharray: 30; stroke-dashoffset: 30; animation: tick .6s .25s var(--ease) forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }
.fm-done h3 { margin: 0 !important; font: 700 1.7rem/1.2 var(--serif); color: #17110E; } .fm-done p { margin: 0 !important; color: #5F5A55; } .fm-rev { font-size: .85rem; color: #8A817A !important; }
@media (max-width: 900px) { .ct-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .fm-grid { grid-template-columns: minmax(0, 1fr); } .cf { padding: 22px 18px; border-radius: 22px; } }

/* 2 · one question at a time */
.ct-c2 { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "copy form" "facts form"; gap: 0 clamp(40px, 6vw, 100px); align-items: start; }
.ct-c2 .ct-copy { grid-area: copy; } .ct-c2 .cf { grid-area: form; } .ct-c2 .ctf { grid-area: facts; }
.f2 { min-height: 420px; }
.f2-prog { height: 4px; border-radius: 2px; background: rgba(23,17,14,.08); overflow: hidden; }
.f2-prog i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, .25)); transition: transform .5s var(--ease); }
.f2-count { margin: 10px 0 22px !important; font: 600 .82rem/1 var(--mono); color: #7A5A16; }
.f2-st { margin: 0; padding: 0; border: 0; min-width: 0; }
.f2-q { margin-bottom: 18px; padding: 0; font: 700 clamp(1.6rem, 2.6vw, 2.2rem)/1.15 var(--serif); color: #17110E; }
.f2.js .f2-st { display: none; } .f2.js .f2-st.on { display: block; animation: slidein .45s var(--ease); }
@keyframes slidein { from { opacity: 0; transform: translateX(26px); } }
.f2-st .ff label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.f2-st .ff input { min-height: 58px; font-size: 1.2rem; }
.f2-st.more-open .ff label, .f2-more .ff label { position: static; width: auto; height: auto; clip: auto; }
.f2-nav { display: flex; align-items: center; gap: 14px; margin-top: 14px; }
.f2-back { min-height: 44px; padding: 10px 16px; border: 1px solid rgba(23,17,14,.16); border-radius: 999px; background: #fff; color: #17110E; font: 600 .92rem/1 var(--sans); cursor: pointer; }
.f2-more { margin: 4px 0 10px; } .f2-more summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: #7A5A16; font-weight: 600; }
.f2:not(.js) .f2-st { margin-bottom: 26px; } .f2:not(.js) .f2-next, .f2:not(.js) .f2-back { display: none; }
@media (max-width: 900px) { .ct-c2 { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "form" "facts"; } .ct-c2 .ctf { margin-top: 40px; } }

/* 3 · a letter with blanks to fill in */
.f3 { padding: clamp(26px, 4vw, 50px); background: #FFFDF8 repeating-linear-gradient(transparent 0 2.45rem, rgba(23,17,14,.06) 2.45rem calc(2.45rem + 1px)); transform-origin: 50% 0; }
.lt { font: 400 clamp(1.05rem, 1.3vw, 1.2rem)/2.45rem var(--sans); color: #17110E; }
.lt p { margin: 0 !important; line-height: 2.45rem; }
.lt-to, .lt-sign { font: 700 1.3rem/2.45rem var(--serif) !important; }
.lt-in { display: inline-block; width: auto; min-height: 0; height: 2rem; margin: 0 2px; padding: 0 8px; border: 0; border-bottom: 2px solid var(--gold); border-radius: 6px 6px 0 0; background: rgba(205,168,95,.12); font-size: 1rem; vertical-align: baseline; }
.lt-in.w-m { width: 11em; } .lt-in.w-l { width: 15em; max-width: 100%; }
select.lt-in { padding-right: 4px; }
.lt-area { display: block; margin: 4px 0 8px; min-height: 110px; background: rgba(255,255,255,.7); }
.lt-opt { color: #5F5A55; font-size: .95rem; }
.lt-echo { color: #7A5A16; font-style: italic; }
.lt-err { line-height: 1.4 !important; margin-top: 10px !important; }
.lt-in[aria-invalid="true"] { border-bottom-color: #B3382C; background: rgba(179,56,44,.08); }
.env { position: absolute; left: 50%; bottom: -40px; width: 180px; height: 110px; margin-left: -90px; border-radius: 8px; background: #E9DFCF; box-shadow: 0 16px 30px rgba(0,0,0,.25); opacity: 0; transform: translateY(40px); pointer-events: none; }
.env-flap { position: absolute; left: 0; right: 0; top: 0; height: 60px; background: #DCCDB4; clip-path: polygon(0 0, 100% 0, 50% 100%); }
.f3.sending { animation: fold .8s var(--ease) forwards; }
.f3.sending .env { animation: env 1.2s .5s var(--ease) forwards; }
@keyframes fold { to { transform: scaleY(.25) translateY(40%); opacity: .0; } }
@keyframes env { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 1; transform: translateY(-30px); } 100% { opacity: 0; transform: translate(260px, -200px) rotate(18deg); } }
@media (max-width: 560px) { .lt-in.w-m, .lt-in.w-l { width: 100%; display: block; margin: 4px 0; } .lt { line-height: 1.7rem; } .lt p { line-height: 1.9rem; } }

/* next 1 · the message travels along a line through three steps */
.n1 { position: relative; }
.n1-track { position: relative; height: 4px; margin: 0 0 clamp(30px, 5vh, 50px); border-radius: 2px; background: var(--rule); }
.n1-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--gold-deep); transform-origin: left; transform: scaleX(var(--p, 0)); }
.n1-env { position: absolute; top: 50%; left: 0; display: grid; place-items: center; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--espresso); transform: translateX(calc(var(--p, 0) * (min(1320px, 100vw - 2 * var(--px))))); }
.n1-env .ic { color: var(--gold); }
.n1 ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 60px); }
.n1-s { transition: opacity .6s var(--ease), transform .6s var(--ease); }
.n1-s:not(.on) { opacity: .35; transform: translateY(10px); }
.n1-dot { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 50%; background: #fff; border: 1px solid var(--rule); }
.n1-dot .ic { width: 26px; height: 26px; color: var(--gold-deep); }
.n1-s h3 { margin: 0 0 10px; font: 700 1.5rem/1.2 var(--serif); } .n1-s p { margin: 0 !important; color: var(--muted); font-size: 1.05rem; max-width: 32ch; }
@media (max-width: 760px) { .n1 ol { grid-template-columns: minmax(0, 1fr); } .n1-track { display: none; } .n1-s:not(.on) { opacity: 1; transform: none; } }
/* next 2 · a mock inbox: the message is sent, then each step ticks in */
.ib { max-width: 760px; }
.ib-win { padding: 0 0 22px; border-radius: 24px; background: #fff; border: 1px solid var(--rule); box-shadow: 0 30px 60px rgba(23,17,14,.08); overflow: hidden; }
.ib-bar { display: flex; align-items: center; gap: 7px; padding: 14px 18px; border-bottom: 1px solid var(--rule); background: #F6F2EC; }
.ib-bar i { width: 10px; height: 10px; border-radius: 50%; background: #DCD3C6; } .ib-bar span { margin-left: 10px; font-size: .9rem; color: #5F5A55; }
.ib-msg { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-bottom: 1px dashed var(--rule); }
.ib-av { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--espresso); } .ib-av .ic { color: var(--gold); }
.ib-msg b { display: block; } .ib-msg p { margin: 0 !important; color: #5F5A55; }
.ib-st { margin-left: auto; padding: 5px 12px; border-radius: 999px; background: var(--panel2); font: 600 .78rem/1 var(--mono); font-style: normal; color: #7A5A16; }
.ib-rs { list-style: none; margin: 0; padding: 8px 22px 0; }
.ib-r { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(.5s + var(--i) * .7s); }
.ax:not(.in) .ib-r { opacity: 0; transform: translateX(-14px); }
.ib-tk { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); } .ib-tk .ic { width: 16px; height: 16px; color: var(--espresso); stroke-width: 2.4; }
.ib-r b { display: block; font: 700 1.15rem/1.3 var(--serif); } .ib-r span { color: var(--muted); }
.ib-foot { display: flex; align-items: center; gap: 8px; margin: 16px 22px 0 !important; color: #7A5A16; font-weight: 600; } .ib-foot .ic { width: 18px; height: 18px; }
/* next 3 · three cards; point or tap and the icon comes alive */
.n3 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.n3-c { outline: none; border-radius: 26px; transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i) * 120ms); }
.ax:not(.in) .n3-c { opacity: 0; transform: translateY(30px); }
.n3-in { position: relative; isolation: isolate; overflow: hidden; height: 100%; padding: 34px 30px; border-radius: 26px; background: linear-gradient(135deg, #F1E9DE, #F7F1E7); border: 1px solid rgba(169,133,61,.22); transition: color .3s var(--ease); }
.n3-in::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--espresso); transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease); }
.n3-n { position: absolute; right: 24px; top: 18px; font: 700 3.4rem/1 var(--serif); color: rgba(169,133,61,.25); }
.n3-ic { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 22px; border-radius: 50%; background: #fff; border: 1px solid rgba(169,133,61,.35); transition: background .3s var(--ease), transform .5s var(--ease); }
.n3-ic .ic { width: 28px; height: 28px; color: var(--gold-deep); }
.n3-in h3 { margin: 0 0 10px; font: 700 1.45rem/1.2 var(--serif); } .n3-in p { margin: 0 !important; color: var(--muted); transition: color .3s var(--ease); }
.n3-c.on .n3-in, .n3-c:focus-visible .n3-in { color: var(--bone); } .n3-c.on .n3-in::before, .n3-c:focus-visible .n3-in::before { transform: scaleY(1); }
.n3-c.on .n3-ic, .n3-c:focus-visible .n3-ic { background: var(--gold); transform: rotate(-10deg) scale(1.08); } .n3-c.on p, .n3-c:focus-visible p { color: #D8CBB8; }
@media (hover: hover) { .n3-c:hover .n3-in { color: var(--bone); } .n3-c:hover .n3-in::before { transform: scaleY(1); } .n3-c:hover .n3-ic { background: var(--gold); transform: rotate(-10deg) scale(1.08); } .n3-c:hover p { color: #D8CBB8; } }
@media (max-width: 900px) { .n3 { grid-template-columns: minmax(0, 1fr); } }

/* reach 1 · six cards (email copies with one tap) */
.wys { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.wy { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i) * 80ms); }
.ax:not(.in) .wy { opacity: 0; transform: translateY(24px); }
.wy-in { position: relative; isolation: isolate; overflow: hidden; height: 100%; display: grid; align-content: start; gap: 6px; padding: 28px 26px; border-radius: 22px; border: 1px solid var(--line); background: var(--panel); transition: color .3s var(--ease), border-color .3s var(--ease); }
.wy-in::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--bone); transform: scaleY(0); transform-origin: bottom; transition: transform .38s var(--ease); }
.wy-in > .ic { width: 30px; height: 30px; margin-bottom: 12px; color: var(--gold); }
.wy-in b { font: 700 1.25rem/1.2 var(--serif); } .wy-in span { color: var(--muted); }
.wy-in a { color: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
@media (hover: hover) { .wy:hover .wy-in { color: var(--espresso); border-color: var(--bone); } .wy:hover .wy-in::before { transform: scaleY(1); } .wy:hover .wy-in span { color: #3E3631; } .wy:hover .wy-in > .ic { color: #7A5A16; } }
.cpy { justify-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; margin-top: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--rule); background: transparent; color: inherit; font: 600 .85rem/1 var(--sans); cursor: pointer; }
.cpy .ic { width: 16px; height: 16px; } .cpy:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.cpy-msg { min-height: 1.5em; margin: 16px 0 0 !important; color: var(--gold); font-weight: 600; }
@media (max-width: 900px) { .wys { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .wys { grid-template-columns: minmax(0, 1fr); } }
/* reach 2 · the company's own business card */
.cc { display: grid; justify-items: center; gap: 20px; perspective: 1400px; }
.cc-tilt { width: min(100%, 520px); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform .25s ease-out; }
.cc-card { position: relative; height: 300px; transform-style: preserve-3d; transition: transform 1s var(--ease); cursor: pointer; }
.cc-card[data-side="back"] { transform: rotateY(180deg); }
.cc-face { position: absolute; inset: 0; border-radius: 22px; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: 0 26px 50px rgba(0,0,0,.35); }
.cc-front { display: grid; align-content: space-between; padding: 30px; background: #0E0A08; border: 1px solid rgba(205,168,95,.45); }
.cc-front img { width: 200px; height: auto; } .cc-tag { margin: 8px 0 0 !important; color: var(--gold); font: 600 .85rem/1.3 var(--mono); }
.cc-front .cr { grid-template-columns: 1fr 1fr; column-gap: 18px; color: #F1E9DE; } .cc-front .cr a { color: #F1E9DE; } .cc-front .cr .ic { color: var(--gold); }
.cc-back { display: grid; place-items: center; align-content: center; gap: 16px; background: #F6F2EC; transform: rotateY(180deg); } .cc-back img { width: 70px; height: 70px; border-radius: 16px; } .cc-back p { margin: 0 !important; color: #17110E; font: 700 1.15rem/1.3 var(--serif); }
@media (max-width: 560px) { .cc-card { height: 360px; } .cc-front .cr { grid-template-columns: minmax(0, 1fr); } }
/* reach 3 · Chennai now: the sun (or moon) moves across the sky with the time of day */
.cn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.cn-sky svg { width: 100%; height: auto; }
.cn-arc { fill: none; stroke: var(--rule); stroke-width: 1.5; stroke-dasharray: 4 6; }
.cn-sun { fill: var(--gold); filter: drop-shadow(0 0 12px rgba(205,168,95,.7)); transition: cx 1s var(--ease), cy 1s var(--ease); }
.cn.night .cn-sun { fill: var(--bone); filter: drop-shadow(0 0 10px rgba(241,233,222,.5)); }
.cn-l { margin: 0 !important; color: var(--muted); }
.cn-time { margin: 6px 0 !important; font: 700 clamp(3.6rem, 8vw, 6.4rem)/1 var(--serif); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.cn-day { margin: 0 0 18px !important; color: var(--gold); font-weight: 600; } .cn-l2 { margin: 0 0 24px !important; color: var(--muted); max-width: 32ch; }
@media (max-width: 760px) { .cn { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .ff-line, .f2-prog i, .n1-s, .ib-r, .n3-c, .n3-in::before, .n3-ic, .wy, .cc-card, .cc-tilt, .cn-sun { transition: none !important; }
  .f2.js .f2-st.on, .fm-done, .f3.sending, .f3.sending .env, .fm-tick .ic { animation: none !important; } .fm-tick .ic { stroke-dashoffset: 0; }
  .ax:not(.in) .ib-r, .ax:not(.in) .n3-c, .ax:not(.in) .wy { opacity: 1; transform: none; } .n1-s:not(.on) { opacity: 1; transform: none; }
}

.sv[data-tone="dark"] .c-turn { background: transparent; color: var(--ink); border-color: var(--rule); }
@media (hover: hover) { .sv[data-tone="dark"] .c-turn:hover { background: var(--gold); color: var(--espresso); } }
@media (max-width: 560px) { .lt-dot { display: none; } }
@media (pointer: coarse) { .ctf a { display: inline-block; padding: 12px 0; } .ctf li { gap: 12px; } }
@media (pointer: coarse) { .wy-in a { display: inline-block; padding: 12px 0; } }
