/* Akhurath Studio — full site (references: prapermedia.com layout, kiranproductions.in serif mood) */
:root {
  --bg: #fbf9f6;
  --bg-dark: #121110;
  --bg-muted: #f0ebe4;
  --ink: #1a1715;
  --muted: #5e5852;
  --line: rgba(26, 23, 21, 0.1);
  --accent: #c9a227;
  --accent-dark: #8a6f18;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
  --radius: 12px;
  --shadow: 0 18px 50px rgba(26, 23, 21, 0.08);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

code {
  font-size: 0.88em;
  background: var(--bg-muted);
  padding: 0.12em 0.35em;
  border-radius: 4px;
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.site-nav__portal {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink) !important;
  background: var(--bg);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}

.site-nav__portal:hover {
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(300px, 88vw);
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.25rem;
    padding: 2rem;
    background: var(--bg);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  body.nav-open {
    overflow: hidden;
  }

  .site-nav a {
    font-size: 0.95rem;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* --- Hero --- */
.hero {
  padding: clamp(3rem, 10vw, 6rem) 1.5rem clamp(4rem, 12vw, 7rem);
}

.hero__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 1.25rem;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  line-height:1.05;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

.hero__line {
  display: block;
}

.hero__line--accent {
  font-style: italic;
  color: var(--accent-dark);
}

.hero__lead {
  max-width: 38ch;
  margin: 0 0 2rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
}

.btn--primary {
  background: var(--ink);
  color: var(--bg);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--block {
  width: 100%;
}

/* --- Marquee band --- */
.band--accent {
  background: var(--bg-dark);
  color: #f5f0e8;
  overflow: hidden;
  padding: 0.85rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.marquee {
  overflow: hidden;
}

.marquee__inner {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 1.5rem;
  align-items: center;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.85;
  animation: marquee 35s linear infinite;
}

.marquee__dot {
  opacity: 0.45;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__inner {
    animation: none;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 1rem;
  }
}

/* --- Sections --- */
.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 5.5rem) 1.5rem;
}

.section--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 800px) {
  .section--split {
    grid-template-columns: 1fr;
  }
}

.section__kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin: 0 0 0.75rem;
}

.section__big {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  line-height: 1.2;
  margin: 0;
  font-weight: 500;
}

.section__big em {
  font-style: italic;
  color: var(--accent-dark);
}

.section__body p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.section__head {
  margin-bottom: 2.5rem;
  max-width: 40rem;
}

.section__title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.section__subtitle {
  margin: 0;
  color: var(--muted);
}

.section--dark {
  background: var(--bg-dark);
  color: #f2ebe3;
  max-width: none;
  padding-left: max(1.5rem, calc(50vw - var(--max) / 2));
  padding-right: max(1.5rem, calc(50vw - var(--max) / 2));
}

.section--dark .section__subtitle {
  color: rgba(242, 235, 227, 0.72);
}

.section--dark .section__head {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.section--dark .service-grid {
  max-width: var(--max);
  margin: 0 auto;
}

.section--muted {
  background: var(--bg-muted);
  max-width: none;
  padding-left: max(1.5rem, calc(50vw - var(--max) / 2));
  padding-right: max(1.5rem, calc(50vw - var(--max) / 2));
}

.section--muted .section__head,
.section--muted .client-list {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

/* --- Services --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  padding: 1.75rem 1.5rem;
  background: #181614;
  transition: background 0.35s, transform 0.35s var(--ease), box-shadow 0.35s;
}

.service-card:hover {
  background: #1f1c19;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(242, 235, 227, 0.75);
  line-height: 1.55;
}

/* --- Work / portfolio --- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

.work-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.35s;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(201, 162, 39, 0.35);
}

.work-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s var(--ease);
}

.work-card:hover .work-card__media img {
  transform: scale(1.05);
}

.work-card__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s, transform 0.35s var(--ease);
}

.work-card__play::after {
  content: "";
  position: absolute;
  left: 54%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent var(--ink);
}

.work-card:hover .work-card__play {
  opacity: 1;
  transform: scale(1);
}

.work-card__body {
  padding: 1.1rem 1.25rem 1.25rem;
}

.work-card__body h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.work-card__body p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.work-card__embed {
  display: none;
  border-top: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  background: #000;
}

.work-card__embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.work-card.is-preview .work-card__embed {
  display: block;
}

/* --- Clients --- */
.client-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem 1.5rem;
}

.client-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.15rem;
  transition: color 0.25s, padding-left 0.3s var(--ease);
}

.client-list li:hover {
  color: var(--accent-dark);
  padding-left: 0.35rem;
}

/* --- CTA --- */
.cta-block {
  text-align: center;
  padding-bottom: clamp(4rem, 10vw, 6rem);
}

.cta-block .section__title {
  margin-bottom: 0.75rem;
}

.cta-block__text {
  max-width: 36ch;
  margin: 0 auto 1.75rem;
  color: var(--muted);
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-muted);
  padding: 2.5rem 1.5rem;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr auto;
  align-items: start;
}

.site-footer__tag {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.site-footer__links a {
  color: var(--muted);
  transition: color 0.25s;
}

.site-footer__links a:hover {
  color: var(--ink);
}

.site-footer__copy {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

@media (max-width: 640px) {
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

/* --- Contact --- */
.contact-main {
  padding: clamp(3rem, 8vw, 5rem) 1.5rem 4rem;
}

.contact-shell {
  max-width: 36rem;
  margin: 0 auto;
}

.contact-title {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 500;
  margin: 0 0 0.5rem;
}

.contact-lead {
  color: var(--muted);
  margin: 0 0 2rem;
}

.req {
  color: var(--accent-dark);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
}

.field input,
.field textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(201, 162, 39, 0.55);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.banner {
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.banner--ok {
  background: rgba(60, 120, 80, 0.12);
  color: #1f4d32;
}

.banner--info {
  background: rgba(26, 23, 21, 0.05);
  color: var(--muted);
  font-size: 0.92rem;
}

.banner--err {
  background: rgba(160, 50, 50, 0.1);
  color: #6b1c1c;
}

.contact-alt {
  margin-top: 2rem;
  color: var(--muted);
}

.text-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-link:hover {
  color: var(--accent-dark);
}

/* --- Portal --- */
.portal-main {
  padding: clamp(3rem, 10vw, 5rem) 1.5rem 4rem;
  min-height: 60vh;
}

.portal-card {
  max-width: 28rem;
  margin: 0 auto;
  padding: 2rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: #fff;
  box-shadow: var(--shadow);
}

.portal-card--wide {
  max-width: 36rem;
}

.portal-title {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.portal-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.portal-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.portal-actions {
  margin: 1.5rem 0;
}

.portal-note {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.portal-checklist {
  margin: 0 0 1.5rem;
  padding-left: 1.2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.portal-foot {
  margin: 0;
  font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .marquee__inner,
  .service-card,
  .work-card,
  .btn {
    transition: none !important;
  }

  .work-card:hover,
  .service-card:hover,
  .btn--primary:hover {
    transform: none;
  }

  .marquee__inner {
    animation: none;
  }
}
