@charset "UTF-8";
html {
  background: var(--bg);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Hind Siliguri", sans-serif;
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  line-height: 1.75;
  overflow-x: hidden;
}

:root {
  color-scheme: light;
  --bg: #E9EEF4;
  --card: rgba(255, 255, 255, 0.72);
  --card-solid: #FAFCFD;
  --header-bg: rgba(255, 255, 255, 0.42);
  --glass: rgba(255, 255, 255, 0.6);
  --glass-strong: rgba(255, 255, 255, 0.75);
  --hairline: rgba(255, 255, 255, 0.7);
  --ring: #FBFDFE;
  --ink: #35424F;
  --ink-soft: #6E7D8E;
  --ink-faint: #93A1B1;
  --prose: #414E5C;
  --accent: #7590AC;
  --accent-deep: #56708C;
  --on-accent: #F7FAFC;
  --blob-1: #C9DAEB;
  --blob-2: #DCD6EC;
  --blob-3: #CFE4DD;
  --blob-opacity: 0.55;
  --blob-blur: 90px;
  --btn-grad: linear-gradient(140deg, #8AA3BD, #6E88A4);
  --brand-grad: linear-gradient(140deg, #8AA3BD, #B9A9D6);
  --ring-grad: linear-gradient(140deg, #C9DAEB, #DCD6EC 55%, #CFE4DD);
  --thumb-bg: #D5E2EF;
  --img-filter: saturate(0.78) brightness(1.04);
  --pill-bg: rgba(255, 255, 255, 0.82);
  --play-bg: rgba(255, 255, 255, 0.78);
  --fallback-grad: linear-gradient(150deg, #D5E2EF, #C2D2E2);
  --fallback-sheen: rgba(255, 255, 255, 0.55);
  --fallback-letter: rgba(86, 112, 140, 0.32);
  --quote-sheen: rgba(201, 218, 235, 0.5);
  --news-1: rgba(201, 218, 235, 0.85);
  --news-2: rgba(184, 203, 218, 0.7);
  --rule: rgba(117, 144, 172, 0.18);
  --rule-strong: rgba(117, 144, 172, 0.4);
  --focus-ring: rgba(117, 144, 172, 0.18);
  --shadow-soft: 0 18px 45px -18px rgba(86, 112, 140, 0.22);
  --shadow-hover: 0 24px 55px -18px rgba(86, 112, 140, 0.3);
  --shadow-input: 0 6px 16px -8px rgba(86, 112, 140, 0.28);
  --radius-lg: 26px;
  --radius-md: 18px;
}

/* ---- Dark theme tokens ---- */
[data-theme=dark] {
  color-scheme: dark;
  --bg: #171E26;
  --card: rgba(255, 255, 255, 0.045);
  --card-solid: #1E2731;
  --header-bg: rgba(255, 255, 255, 0.03);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-strong: rgba(255, 255, 255, 0.06);
  --hairline: rgba(255, 255, 255, 0.07);
  --ring: #1E2731;
  --ink: #E3E9F0;
  --ink-soft: #A3B1C0;
  --ink-faint: #74838F;
  --prose: #C3CDD8;
  --accent: #8FA9C4;
  --accent-deep: #A9C0D8;
  --on-accent: #E8EFF6;
  --blob-1: #2E4763;
  --blob-2: #3A3454;
  --blob-3: #26483F;
  --blob-opacity: 0.42;
  --blob-blur: 100px;
  --btn-grad: linear-gradient(140deg, #3E5A78, #2F4A66);
  --brand-grad: linear-gradient(140deg, #7C9BBC, #9F8FC4);
  --ring-grad: linear-gradient(140deg, #3D5876, #4A4368 55%, #2F5A4E);
  --thumb-bg: #223040;
  --img-filter: saturate(0.72) brightness(0.82);
  --pill-bg: rgba(20, 27, 35, 0.72);
  --play-bg: rgba(28, 37, 47, 0.78);
  --fallback-grad: linear-gradient(150deg, #26323F, #1D2833);
  --fallback-sheen: rgba(143, 169, 196, 0.16);
  --fallback-letter: rgba(163, 177, 192, 0.24);
  --quote-sheen: rgba(62, 90, 120, 0.35);
  --news-1: rgba(58, 84, 112, 0.55);
  --news-2: rgba(45, 62, 82, 0.5);
  --rule: rgba(255, 255, 255, 0.07);
  --rule-strong: rgba(143, 169, 196, 0.32);
  --focus-ring: rgba(143, 169, 196, 0.16);
  --shadow-soft: 0 20px 48px -20px rgba(0, 0, 0, 0.55);
  --shadow-hover: 0 28px 60px -20px rgba(0, 0, 0, 0.65);
  --shadow-input: 0 6px 16px -8px rgba(0, 0, 0, 0.45);
}

body, .post-card, .newsletter, .author-box, .post-nav a, .work-nav a,
.site-nav a, .social-link, .page-link, .post-thumb img {
  transition: background-color 0.45s ease, color 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease, filter 0.45s ease;
}

@media (prefers-reduced-motion: reduce) {
  body, .post-card, .newsletter, .author-box, .post-nav a, .work-nav a,
  .site-nav a, .social-link, .page-link, .post-thumb img {
    transition: none;
  }
}
/* ---- Soft blob gradient background ---- */
.blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(var(--blob-blur));
  opacity: var(--blob-opacity);
}

.blob-1 {
  width: 560px;
  height: 560px;
  top: -160px;
  left: -120px;
  background: radial-gradient(circle, var(--blob-1) 0%, transparent 70%);
  animation: drift 26s ease-in-out infinite alternate;
}

.blob-2 {
  width: 640px;
  height: 640px;
  top: 20%;
  right: -220px;
  background: radial-gradient(circle, var(--blob-2) 0%, transparent 70%);
  animation: drift 32s ease-in-out infinite alternate-reverse;
}

.blob-3 {
  width: 520px;
  height: 520px;
  bottom: -180px;
  left: 22%;
  background: radial-gradient(circle, var(--blob-3) 0%, transparent 70%);
  animation: drift 29s ease-in-out infinite alternate;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(46px, -34px) scale(1.07);
  }
}
@media (prefers-reduced-motion: reduce) {
  .blob {
    animation: none;
  }
}
.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 24px 72px;
}

/* ---- Site header ----
   Sticks to the top of the viewport on scroll; assets/js/sticky-header.js
   toggles `.is-scrolled` once the page has scrolled past a small
   threshold, which fades in the glass background/shadow below so the
   header doesn't sit as a plain transparent bar over page content. */
.site-header {
  position: sticky;
  top: 12px;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 6px 4px 0;
  margin-bottom: 64px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
.site-header.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: var(--hairline);
  box-shadow: var(--shadow-soft);
  border-radius: 16px;
  padding: 14px 20px;
}
@media (max-width: 620px) {
  .site-header {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 44px;
  }
  .site-header.is-scrolled {
    padding: 16px 18px;
  }
}

body.admin-bar .site-header {
  top: 44px;
}
@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 58px;
  }
}

#works,
#services,
#blog,
#contact {
  scroll-margin-top: var(--scroll-offset, 90px);
}

.site-brand {
  font-family: "Tiro Bangla", serif;
  font-size: 23px;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}
.site-brand .brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-grad);
}
.site-brand--logo .custom-logo-link {
  display: block;
}
.site-brand--logo img {
  display: block;
  width: 160px;
  height: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}
.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 400;
  padding: 8px 16px;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--accent-deep);
  background: var(--glass);
}
.site-nav a:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 2px;
}
.site-nav li.current-menu-item > a,
.site-nav li.current_page_item > a {
  color: var(--accent-deep);
  background: var(--glass);
}

/* ============================================================
   Theme switcher — fixed on the right side of the body
   ============================================================ */
.theme-switcher {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 7px;
  border-radius: 999px;
  background: var(--card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}
@media (max-width: 820px) {
  .theme-switcher {
    top: auto;
    bottom: 16px;
    right: 50%;
    transform: translateX(50%);
    flex-direction: row;
    gap: 4px;
  }
}

.theme-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-faint);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.28s ease, background 0.28s ease, transform 0.28s ease;
}
.theme-btn:hover {
  color: var(--accent-deep);
  background: var(--glass);
  transform: translateY(-1px);
}
.theme-btn[aria-pressed=true] {
  background: var(--btn-grad);
  color: var(--on-accent);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.45);
}
.theme-btn:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}
.theme-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme-btn {
  /* Tooltip */
}
.theme-btn::after {
  content: attr(data-label);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: var(--card-solid);
  border: 1px solid var(--hairline);
  color: var(--ink-soft);
  font-family: "Hind Siliguri", sans-serif;
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
@media (max-width: 820px) {
  .theme-btn::after {
    display: none;
  }
}
.theme-btn:hover::after {
  opacity: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

footer {
  margin-top: 72px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 14px;
  font-weight: 300;
}

/* ---- Author section ---- */
.author-card {
  display: flex;
  align-items: center;
  gap: 44px;
}
@media (max-width: 620px) {
  .author-card {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
}

.author-info {
  flex: 1;
  max-width: 620px;
}

.author-social {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
}
.author-social::before, .author-social::after {
  content: "";
  width: 1px;
  height: 26px;
  background: linear-gradient(to bottom, transparent, var(--rule-strong), transparent);
}
@media (max-width: 620px) {
  .author-social {
    margin-left: 0;
    flex-direction: row;
    gap: 16px;
  }
  .author-social::before, .author-social::after {
    width: 26px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--rule-strong), transparent);
  }
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--hairline);
  color: var(--accent-deep);
  box-shadow: 0 10px 26px -14px rgba(86, 112, 140, 0.3);
  transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease;
}
.social-link:hover {
  transform: translateY(-3px);
  background: var(--btn-grad);
  color: var(--on-accent);
}
.social-link:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}
.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.author-greeting {
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 10px;
}

.author-name {
  font-family: "Tiro Bangla", serif;
  font-size: clamp(30px, 4.4vw, 42px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 12px;
}

.author-bio {
  color: var(--ink-soft);
  font-size: 17.5px;
  font-weight: 400;
}

.author-photo {
  flex-shrink: 0;
  width: 168px;
  height: 168px;
  border-radius: 50%;
  padding: 7px;
  background: var(--ring-grad);
  box-shadow: var(--shadow-soft);
}
@media (max-width: 620px) {
  .author-photo {
    width: 132px;
    height: 132px;
  }
}
.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  border: 4px solid var(--ring);
}

/* ---- Post grid ---- */
.section-label {
  margin: 58px 0 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink-faint);
  font-size: 14px;
  letter-spacing: 0.14em;
  font-weight: 500;
}
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--rule-strong), transparent);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
@media (max-width: 900px) {
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

.post-card {
  background: var(--card-solid);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--hairline);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}
.post-card:hover .post-thumb img {
  transform: scale(1.045);
}
.post-card:hover .play-badge {
  transform: translate(-50%, -50%) scale(1.08);
}

.post-thumb {
  position: relative;
  height: 168px;
  overflow: hidden;
  background: var(--thumb-bg);
}
.post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: var(--img-filter);
  transition: transform 0.5s ease;
}
.post-thumb {
  /* ---- No featured image: fallback ---- */
}
.post-thumb--none {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 20% 25%, var(--fallback-sheen), transparent 60%), var(--fallback-grad);
}
.post-thumb--none .thumb-letter {
  font-family: "Tiro Bangla", serif;
  font-size: 74px;
  line-height: 1;
  color: var(--fallback-letter);
  user-select: none;
}

.post-tag {
  position: absolute;
  left: 16px;
  bottom: 14px;
  background: var(--pill-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--accent-deep);
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.post-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-title {
  font-family: "Tiro Bangla", serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3em;
  flex: 1;
}
.post-title a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.25s ease;
}
.post-title a:hover {
  color: var(--accent-deep);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-faint);
  font-size: 13.5px;
}
.post-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-faint);
}

/* ---- Quote format ---- */
.post-card--quote .post-body {
  padding: 30px 28px;
  background: radial-gradient(circle at 85% 15%, var(--quote-sheen), transparent 55%), var(--card-solid);
}
.post-card--quote .post-title {
  font-style: italic;
  font-size: 19.5px;
  -webkit-line-clamp: 4;
  min-height: 0;
}

.quote-mark {
  font-family: "Tiro Bangla", serif;
  font-size: 54px;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.55;
  margin-bottom: 14px;
}

/* ---- Video format ---- */
.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--play-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -12px rgba(53, 66, 79, 0.4);
  transition: transform 0.3s ease;
}
.play-badge::after {
  content: "";
  display: block;
  margin-left: 4px;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--accent-deep);
}

/* ---- Pagination ---- */
.pagination {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.page-link {
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--hairline);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 8px 22px -12px rgba(86, 112, 140, 0.25);
  transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.page-link:hover {
  transform: translateY(-2px);
  color: var(--accent-deep);
}
.page-link.current {
  background: var(--btn-grad);
  color: var(--on-accent);
  border-color: transparent;
}
.page-link:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}

/* ---- Newsletter banner ---- */
.newsletter {
  margin-top: 144px;
  border-radius: 26px;
  padding: 72px 48px;
  text-align: center;
  background: radial-gradient(circle at 15% 25%, var(--news-1), transparent 55%), radial-gradient(circle at 85% 75%, var(--news-2), transparent 55%), var(--glass);
  border: 2px solid var(--hairline);
  box-shadow: var(--shadow-soft);
}
@media (max-width: 620px) {
  .newsletter {
    margin-top: 64px;
    padding: 48px 24px;
  }
}

.newsletter-title {
  font-family: "Tiro Bangla", serif;
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
}

.newsletter-sub {
  color: var(--ink-soft);
  font-size: 17px;
  font-weight: 400;
  max-width: 460px;
  margin: 0 auto 28px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form > p {
  display: contents;
}
.newsletter-form br {
  display: none;
}
.newsletter-form .hidden-fields-container {
  display: none;
}
.newsletter-form .wpcf7-form-control-wrap {
  flex: 1;
  display: block;
}
@media (max-width: 620px) {
  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form .wpcf7-form-control-wrap {
    flex: none;
  }
}
.newsletter-form .wpcf7-response-output {
  flex: 1 0 100%;
  margin: 8px 0 0;
  font-size: 13px;
}
.newsletter-form .wpcf7-spinner {
  display: none;
}
.newsletter-form.submitting .wpcf7-spinner {
  display: inline-block;
  margin: 0 0 0 8px;
}

.newsletter-input {
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: var(--glass-strong);
  font-family: "Hind Siliguri", sans-serif;
  font-size: 15.5px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.newsletter-input::placeholder {
  color: var(--ink-faint);
}
.newsletter-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--rule);
}
@media (max-width: 620px) {
  .newsletter-input {
    height: 60px;
  }
}

.newsletter-btn {
  height: 54px;
  padding: 0 30px;
  border: none;
  border-radius: 999px;
  background: var(--btn-grad);
  color: var(--on-accent);
  font-family: "Hind Siliguri", sans-serif;
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 12px 28px -12px rgba(86, 112, 140, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.newsletter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(86, 112, 140, 0.55);
}
.newsletter-btn:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}
@media (max-width: 620px) {
  .newsletter-btn {
    width: 100%;
    height: 60px;
  }
}

.newsletter-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-faint);
  font-weight: 300;
}

.work-hero, .post-hero {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.work-tag, .hero-tag {
  display: inline-block;
  background: var(--glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--hairline);
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 7px 20px;
  border-radius: 999px;
  margin-bottom: 22px;
  text-decoration: none;
}

.work-title, .hero-title {
  font-family: "Tiro Bangla", serif;
  font-size: clamp(30px, 5vw, 46px);
  font-weight: 400;
  line-height: 1.42;
}

/* ---- Post hero (blog single) ---- */
.hero-title {
  margin-bottom: 22px;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ink-faint);
  font-size: 14.5px;
}
.hero-meta .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ring);
  box-shadow: 0 6px 16px -8px rgba(86, 112, 140, 0.4);
}
.hero-meta .author-link {
  color: var(--ink-soft);
  font-weight: 500;
  text-decoration: none;
}
.hero-meta .author-link:hover {
  color: var(--accent-deep);
}
.hero-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-faint);
}

/* ---- Work hero (portfolio single) ---- */
.work-title {
  margin-bottom: 18px;
}

.work-summary {
  color: var(--ink-soft);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Featured image (blog + work single) ---- */
.featured-img {
  max-width: 900px;
  margin: 40px auto 0;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--hairline);
}
.featured-img img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 21/10;
  object-fit: cover;
  filter: var(--img-filter);
}

.work-content blockquote, .post-content blockquote {
  background: var(--glass);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--accent);
  border-radius: 18px;
  padding: 26px 30px;
  font-family: "Tiro Bangla", serif;
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.work-content blockquote cite, .post-content blockquote cite {
  display: block;
  margin-top: 12px;
  font-family: "Hind Siliguri", sans-serif;
  font-style: normal;
  font-size: 14px;
  color: var(--ink-faint);
}

/* ---- Article content (WordPress the_content) — blog single ---- */
.post-content {
  max-width: 700px;
  margin: 48px auto 0;
  font-size: 17.5px;
  font-weight: 300;
  color: var(--prose);
}
.post-content > * + * {
  margin-top: 1.5em;
}
.post-content p:first-of-type::first-letter {
  font-family: "Tiro Bangla", serif;
  font-size: 3.2em;
  float: left;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--accent-deep);
}
.post-content h2 {
  font-family: "Tiro Bangla", serif;
  font-size: 27px;
  font-weight: 400;
  color: var(--ink);
  margin-top: 2em;
  line-height: 1.5;
}
.post-content h3 {
  font-family: "Tiro Bangla", serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin-top: 1.8em;
}
.post-content a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--rule-strong);
}
.post-content a:hover {
  text-decoration-color: var(--accent-deep);
}
.post-content strong {
  font-weight: 600;
  color: var(--ink);
}
.post-content ul, .post-content ol {
  padding-left: 1.4em;
}
.post-content li + li {
  margin-top: 0.5em;
}
.post-content li::marker {
  color: var(--accent);
}
.post-content figure {
  margin: 2em 0;
}
.post-content figure img {
  width: 100%;
  border-radius: 18px;
  display: block;
  box-shadow: var(--shadow-soft);
  filter: var(--img-filter);
}
.post-content figcaption {
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-faint);
  margin-top: 12px;
}
@media (max-width: 620px) {
  .post-content {
    font-size: 16.5px;
  }
}

/* ---- Content (prose) — portfolio single ---- */
.work-content {
  max-width: 700px;
  margin: 56px auto 0;
  font-size: 17.5px;
  font-weight: 400;
  color: var(--prose);
}
.work-content > * + * {
  margin-top: 1.5em;
}
.work-content h2 {
  font-family: "Tiro Bangla", serif;
  font-size: 27px;
  font-weight: 400;
  color: var(--ink);
  margin-top: 1.6em;
  line-height: 1.5;
}
@media (max-width: 620px) {
  .work-content {
    font-size: 16.5px;
  }
}

/* ---- Tags ---- */
.post-tags {
  max-width: 700px;
  margin: 44px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.post-tags a {
  background: var(--glass);
  border: 1px solid var(--hairline);
  color: var(--ink-soft);
  font-size: 13.5px;
  padding: 6px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}
.post-tags a:hover {
  color: var(--accent-deep);
  transform: translateY(-2px);
}

/* ---- Author box ---- */
.author-box {
  max-width: 760px;
  margin: 56px auto 0;
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--hairline);
  border-radius: 26px;
  padding: 32px 36px;
  box-shadow: var(--shadow-soft);
}
@media (max-width: 620px) {
  .author-box {
    flex-direction: column;
    text-align: center;
    padding: 28px 22px;
  }
}
.author-box img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 4px solid var(--ring);
  box-shadow: 0 8px 20px -10px rgba(86, 112, 140, 0.4);
}
.author-box .box-label {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 4px;
}
.author-box .box-name {
  font-family: "Tiro Bangla", serif;
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 6px;
}
.author-box .box-bio {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-soft);
}

.work-nav, .post-nav {
  max-width: 760px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 620px) {
  .work-nav, .post-nav {
    grid-template-columns: 1fr;
  }
}
.work-nav a, .post-nav a {
  background: var(--card-solid);
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 22px 26px;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.work-nav a:hover, .post-nav a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.work-nav .nav-label, .post-nav .nav-label {
  font-size: 13px;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 6px;
}
.work-nav .nav-next, .post-nav .nav-next {
  text-align: right;
}
@media (max-width: 620px) {
  .work-nav .nav-next, .post-nav .nav-next {
    text-align: left;
  }
}

/* ---- Previous / next post (blog single) ---- */
.post-nav {
  margin: 40px auto 0;
}
.post-nav .nav-title {
  font-family: "Tiro Bangla", serif;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---- Prev / next project (portfolio single) ---- */
.work-nav {
  margin: 72px auto 0;
}
.work-nav .nav-title {
  font-family: "Tiro Bangla", serif;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.5;
}

/* ---- Comments ---- */
.comments {
  max-width: 760px;
  margin: 64px auto 0;
}

.comments-title {
  font-family: "Tiro Bangla", serif;
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 28px;
}
.comments-title small {
  display: inline-block;
  margin-left: 12px;
  font-family: "Hind Siliguri", sans-serif;
  font-size: 14px;
  font-weight: 400;
  vertical-align: middle;
}
.comments-title #cancel-comment-reply-link {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--rule-strong);
  transition: text-decoration-color 0.25s ease;
}
.comments-title #cancel-comment-reply-link:hover {
  text-decoration-color: var(--accent-deep);
}
.comments-title #cancel-comment-reply-link:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 2px;
}

.comment {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}
.comment img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--ring);
}
.comment .c-name {
  font-weight: 500;
  font-size: 15.5px;
}
.comment .c-badge {
  display: inline-block;
  margin-left: 7px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--btn-grad);
  color: var(--on-accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  vertical-align: middle;
}
.comment .c-date {
  font-size: 13px;
  color: var(--ink-faint);
  margin-left: 8px;
}
.comment .c-text {
  font-size: 15px;
  font-weight: 300;
  color: var(--ink-soft);
  margin-top: 4px;
}
.comment .c-reply {
  display: inline-block;
  margin-top: 10px;
}
.comment .c-reply a {
  display: inline-flex;
  align-items: center;
  color: var(--accent-deep);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--hairline);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.comment .c-reply a:hover {
  background: var(--btn-grad);
  color: var(--on-accent);
  transform: translateY(-1px);
}
.comment .c-reply a:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 2px;
}
.comment .comment {
  flex-basis: 100%;
  margin-left: 40px;
  padding: 18px 0 0 20px;
  border-top: 1px solid var(--rule);
  border-bottom: none;
  border-left: 2px solid var(--rule-strong);
}
.comment .comment img {
  width: 40px;
  height: 40px;
}
@media (max-width: 620px) {
  .comment .comment {
    margin-left: 16px;
    padding-left: 14px;
  }
}

.comment-form {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.comment-form > p {
  margin: 0;
}
.comment-form .logged-in-as {
  font-size: 14px;
  color: var(--ink-soft);
}
.comment-form .logged-in-as a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--rule-strong);
  transition: text-decoration-color 0.25s ease;
}
.comment-form .logged-in-as a:hover {
  text-decoration-color: var(--accent-deep);
}
.comment-form .logged-in-as a:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 2px;
}
.comment-form .logged-in-as .required-field-message {
  color: var(--ink-faint);
  font-size: 13px;
}
.comment-form .logged-in-as .required {
  color: var(--accent);
}
.comment-form .c-row {
  display: flex;
  gap: 14px;
}
.comment-form .c-row > p {
  flex: 1;
  margin: 0;
}
@media (max-width: 620px) {
  .comment-form .c-row {
    flex-direction: column;
  }
}
.comment-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.comment-form textarea,
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url] {
  width: 100%;
  resize: vertical;
  border-radius: 18px;
  border: 1px solid var(--hairline);
  background: var(--glass-strong);
  padding: 15px 20px;
  font-family: "Hind Siliguri", sans-serif;
  font-size: 15.5px;
  color: var(--ink);
  outline: none;
  box-shadow: var(--shadow-input);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.comment-form textarea::placeholder,
.comment-form input[type=text]::placeholder,
.comment-form input[type=email]::placeholder,
.comment-form input[type=url]::placeholder {
  color: var(--ink-faint);
}
.comment-form textarea:focus,
.comment-form input[type=text]:focus,
.comment-form input[type=email]:focus,
.comment-form input[type=url]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--rule), var(--shadow-input);
}
.comment-form textarea {
  min-height: 130px;
}
.comment-form button,
.comment-form input[type=submit] {
  align-self: flex-start;
  height: 50px;
  padding: 0 32px;
  border: none;
  border-radius: 999px;
  background: var(--btn-grad);
  color: var(--on-accent);
  font-family: "Hind Siliguri", sans-serif;
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 12px 28px -12px rgba(86, 112, 140, 0.5);
  transition: transform 0.25s ease;
}
.comment-form button:hover,
.comment-form input[type=submit]:hover {
  transform: translateY(-2px);
}
.comment-form button:focus-visible,
.comment-form input[type=submit]:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}

/* ---- Section title ---- */
.fp-head {
  margin: 144px 0 48px;
}
@media (max-width: 620px) {
  .fp-head {
    margin-top: 64px;
    margin-bottom: 32px;
  }
}
.fp-head h2 {
  font-family: "Tiro Bangla", serif;
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 400;
  line-height: 1.4;
}
.fp-head .sub {
  font-size: 15.5px;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 5px;
}

/* ---- Recent work: row layout ---- */
.fp-work {
  border-top: 1px solid var(--rule);
}

.fp-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 20px 6px 20px 4px;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  color: inherit;
  transition: padding-left 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.fp-row:hover {
  padding-left: 16px;
}
.fp-row:hover .fp-shot img {
  transform: scale(1.05);
}
.fp-row:hover h3 {
  color: var(--accent-deep);
}
.fp-row:hover .arw {
  opacity: 1;
  transform: none;
}
.fp-row:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: -2px;
}
.fp-row:focus-visible {
  border-radius: 12px;
}
.fp-row h3 {
  font-family: "Tiro Bangla", serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 5px;
  transition: color 0.28s ease;
}
.fp-row p {
  font-size: 15.5px;
  font-weight: 400;
  color: var(--ink-soft);
  max-width: 46ch;
}
@media (max-width: 620px) {
  .fp-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 2px;
  }
  .fp-row:hover {
    padding-left: 2px;
  }
  .fp-row p {
    display: none;
  }
  .fp-row h3 {
    font-size: 17.5px;
  }
}

.fp-shot {
  aspect-ratio: 16/10;
  border-radius: 12px;
  overflow: hidden;
  background: var(--thumb-bg);
  border: 1px solid var(--hairline);
}
.fp-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: var(--img-filter);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.fp-side {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
  font-size: 13.5px;
  color: var(--ink-faint);
}
.fp-side .kind {
  font-size: 12.5px;
  color: var(--ink-soft);
  background: var(--glass);
  border: 1px solid var(--hairline);
  padding: 4px 13px;
  border-radius: 999px;
}
.fp-side .arw {
  color: var(--accent);
  font-size: 16px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
@media (max-width: 620px) {
  .fp-side {
    gap: 12px;
  }
  .fp-side .arw {
    display: none;
  }
}

/* ---- Service strip ---- */
.fp-svc {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 820px) {
  .fp-svc {
    grid-template-columns: 1fr;
  }
}
.fp-svc a {
  padding: 26px 24px;
  border-radius: 18px;
  border: 1px solid var(--hairline);
  background: var(--card-solid);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  display: block;
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}
.fp-svc a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.fp-svc .n {
  font-family: "Tiro Bangla", serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}
.fp-svc h3 {
  font-family: "Tiro Bangla", serif;
  font-size: 19px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 7px;
}
.fp-svc p {
  font-size: 15.5px;
  font-weight: 400;
  color: var(--ink-soft);
}
.fp-svc .from {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-faint);
}

/* ---- Testimonial carousel ---- */
.testimonial-section {
  margin-top: 144px;
  padding: 64px 48px;
  border-radius: 26px;
  border: 2px solid var(--hairline);
  box-shadow: var(--shadow-soft);
  background: radial-gradient(circle at 12% 12%, var(--quote-sheen), transparent 60%), radial-gradient(circle at 92% 88%, var(--news-2), transparent 55%), var(--glass);
}
@media (max-width: 820px) {
  .testimonial-section {
    padding: 56px 36px;
  }
}
@media (max-width: 620px) {
  .testimonial-section {
    margin-top: 64px;
    padding: 44px 24px;
  }
}

.t-viewport {
  overflow: hidden;
}

.t-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.t-slide {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  justify-content: center;
}

.t-slide-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 620px;
  width: 100%;
  padding: 0 12px;
}

.t-quote-icon {
  font-family: "Tiro Bangla", serif;
  font-size: 88px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 8px;
}
@media (max-width: 620px) {
  .t-quote-icon {
    font-size: 64px;
  }
}

.t-slide blockquote {
  font-family: "Tiro Bangla", serif;
  font-size: clamp(30px, 4.2vw, 42px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 28px;
}

.t-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.t-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--ring);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.45);
}

.t-name {
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
}

.t-role {
  font-size: 13.5px;
  font-weight: 300;
  color: var(--ink-soft);
  margin-top: 2px;
}

.t-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.t-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: var(--rule-strong);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}
.t-dot.is-active {
  background: var(--accent-deep);
  transform: scale(1.25);
}
.t-dot:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}

/* ---- Contact section ---- */
.contact-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 108px;
}
@media (max-width: 820px) {
  .contact-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 620px) {
  .contact-body {
    gap: 28px;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: flex-start;
}
@media (max-width: 820px) {
  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 28px;
  }
}
@media (max-width: 620px) {
  .contact-info {
    flex-direction: column;
    gap: 20px;
  }
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}
.contact-item .ci-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 500;
}
.contact-item .ci-value {
  font-family: "Tiro Bangla", serif;
  font-size: 18px;
  color: var(--ink);
  transition: color 0.25s ease;
}

a.contact-item:hover .ci-value {
  color: var(--accent-deep);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form > p,
.contact-form .cf-row > p {
  display: contents;
}
.contact-form br {
  display: none;
}
.contact-form .hidden-fields-container {
  display: none;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--hairline);
  background: var(--glass-strong);
  padding: 15px 20px;
  font-family: "Hind Siliguri", sans-serif;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  box-shadow: var(--shadow-input);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--ink-faint);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--rule), var(--shadow-input);
}
.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}
.contact-form input[name=your-name],
.contact-form input[name=your-email],
.contact-form input[name=your-subject] {
  border-radius: 999px;
}
.contact-form button,
.contact-form input[type=submit] {
  align-self: flex-start;
  height: 50px;
  padding: 0 32px;
  border: none;
  border-radius: 999px;
  background: var(--btn-grad);
  color: var(--on-accent);
  font-family: "Hind Siliguri", sans-serif;
  font-size: 15.5px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 12px 28px -12px rgba(86, 112, 140, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contact-form button:hover,
.contact-form input[type=submit]:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(86, 112, 140, 0.55);
}
.contact-form button:focus-visible,
.contact-form input[type=submit]:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}
.contact-form .wpcf7-response-output {
  font-size: 13px;
}
.contact-form .wpcf7-spinner {
  display: none;
}
.contact-form.submitting .wpcf7-spinner {
  display: inline-block;
  margin: 0 0 0 8px;
}

.cf-row {
  display: flex;
  gap: 14px;
}
.cf-row .wpcf7-form-control-wrap {
  flex: 1;
  display: block;
}
@media (max-width: 620px) {
  .cf-row {
    flex-direction: column;
  }
}

/* ---- Project details strip (portfolio single) ---- */
.work-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 56px;
  max-width: 760px;
  margin: 48px auto 0;
  padding: 32px 0;
  text-align: center;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 620px) {
  .work-details {
    gap: 10px 32px;
  }
}
.work-details .label {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 6px;
}
.work-details .value {
  font-family: "Tiro Bangla", serif;
  font-size: 18px;
  color: var(--ink);
}

/* ---- Gallery (portfolio single) ---- */
.work-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 56px auto 0;
}
@media (max-width: 620px) {
  .work-gallery {
    grid-template-columns: 1fr;
  }
}
.work-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--hairline);
  filter: var(--img-filter);
}
