:root {
  --ink: #1a1024;
  --ink-soft: #4a3d58;
  --paper: #f3eee6;
  --paper-2: #e8e0d2;
  --white: #fbf8f2;
  --purple: #3a1d63;
  --purple-deep: #24143d;
  --purple-mid: #5b2d91;
  --orange: #e8892c;
  --orange-2: #f3a24a;
  --maroon: #9a3a3a;
  --gold: #c4a574;
  --line: rgba(26, 16, 36, 0.12);
  --radius: 0 2.2rem 0 2.2rem;
  --shadow: 0 24px 60px rgba(36, 20, 61, 0.18);
  --font-d: "Cormorant Garamond", Georgia, serif;
  --font: "Outfit", system-ui, sans-serif;
  --wrap: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.tm-body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(232, 137, 44, 0.08), transparent 50%),
    var(--paper);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }

.tm-skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.tm-skip:focus { left: 12px; background: #fff; padding: 8px 12px; z-index: 99; }

.tm-wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.tm-kicker {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.tm-kicker--light { color: var(--orange-2); }

.tm-h2 {
  margin: 0 0 16px;
  font-family: var(--font-d);
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
.tm-h2--light { color: var(--white); }

.tm-lede {
  margin: 0;
  max-width: 42ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.tm-btn:hover { transform: translateY(-1px); }
.tm-btn--solid { background: var(--purple); color: #fff; }
.tm-btn--solid:hover { background: var(--purple-mid); }
.tm-btn--ghost { border-color: var(--ink); background: transparent; }
.tm-btn--line { border-color: var(--line); background: transparent; }
.tm-btn--orange { background: var(--orange); color: #1a1024; }
.tm-btn--orange:hover { background: var(--orange-2); }

.tm-topbar {
  background: var(--purple-deep);
  color: #efe7ff;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.tm-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}
.tm-topbar__right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.tm-topbar a { color: #fff; text-decoration: none; }
.tm-topbar p { margin: 0; }

.tm-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tm-social a {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  text-decoration: none;
  transition: .2s;
}
.tm-social a:hover {
  background: var(--orange);
  color: #1a1024;
}
.tm-social--footer {
  margin-top: 18px;
}
.tm-social--footer a,
.tm-social--bar a {
  background: rgba(255,255,255,0.08);
}
.tm-social--top a {
  width: 28px;
  height: 28px;
}
.tm-footer__bar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 28px;
}
.tm-footer__bar-inner p { margin: 0; }
.tm-footer__bar-inner > p:first-child { justify-self: start; }
.tm-footer__credit {
  justify-self: center;
  text-align: center;
  white-space: nowrap;
}
.tm-footer__credit a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
}
.tm-footer__credit a:hover {
  color: #fff;
}
.tm-footer__bar-inner .tm-social {
  justify-self: end;
}

.tm-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(243, 238, 230, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.tm-header.is-slim { box-shadow: 0 10px 30px rgba(36, 20, 61, 0.08); }
.tm-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}
.tm-logo { display: flex; align-items: center; text-decoration: none; }
.tm-logo .custom-logo-link { display: flex; }
.tm-logo img,
.tm-logo .custom-logo {
  height: 54px;
  width: auto;
  background: #fff;
  padding: 4px 8px;
  border-radius: 4px;
}

.tm-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.tm-burger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.tm-nav { display: flex; align-items: center; gap: 22px; }
.tm-nav__close { display: none; }

.tm-menu {
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tm-menu > li > a {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.tm-menu .current-menu-item > a,
.tm-menu > li > a:hover { color: var(--purple-mid); }

.tm-menu .menu-item-has-children { position: relative; }
.tm-menu .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  margin: 0;
  padding: 10px 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0 16px 0 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 30;
}
.tm-menu .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}
.tm-menu .menu-item-has-children.is-open > .sub-menu,
.tm-menu .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.tm-menu .sub-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 18px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}
.tm-menu .sub-menu a:hover {
  color: var(--orange);
  background: rgba(58, 29, 99, 0.04);
}
.tm-menu > .menu-item-has-children > .sub-menu > .menu-item-has-children > a::after {
  content: "›";
  color: var(--maroon);
  font-size: 1.1rem;
  line-height: 1;
}
.tm-menu .sub-menu .sub-menu {
  top: -8px;
  left: calc(100% + 4px);
  min-width: 220px;
}
.tm-menu .sub-menu .menu-item-has-children.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

/* Compact services panel — not a full-width mega that leaks under the header */
.tm-mega {
  width: max-content;
  max-width: min(280px, 86vw);
  left: 0 !important;
  right: auto !important;
  padding: 10px 0 !important;
  display: block !important;
}
.tm-mega > li > a {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--purple);
}
.tm-mega .sub-menu {
  position: absolute;
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0 16px 0 16px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding: 10px 0;
  min-width: 220px;
}

.tm-hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(58, 29, 99, 0.04), transparent 30%),
    var(--paper);
}
.tm-hero__grid {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 120px);
  padding: 48px 0 28px;
}
.tm-hero__title {
  margin: 0 0 18px;
  font-family: var(--font-d);
  font-size: clamp(3rem, 7vw, 6.1rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.tm-hero__text {
  max-width: 46ch;
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}
.tm-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }

.tm-hero__pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.tm-hero__pills a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: .2s;
}
.tm-hero__pills a span {
  color: var(--maroon);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.tm-hero__pills a strong { font-size: 0.92rem; font-weight: 600; }
.tm-hero__pills a:hover {
  border-color: var(--orange);
  background: #fff;
}

.tm-hero__stage {
  position: relative;
  height: 560px;
}
.tm-hero__shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tm-hero__shot--a img,
.elementor .tm-hero__shot--a img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: left center;
  transform: none;
}
.tm-hero__shot--b,
.tm-hero__shot--c {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.tm-hero__shot--a {
  inset: 0 18% 18% 0;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
}
.tm-hero__shot--b {
  top: auto;
  right: 0;
  bottom: 8%;
  left: auto;
  width: 42%;
  height: 48%;
  border: 6px solid var(--paper);
}
.tm-hero__shot--c {
  top: auto;
  right: auto;
  left: 8%;
  bottom: 0;
  width: 38%;
  height: 34%;
  border: 6px solid var(--paper);
}
.tm-hero__stamp {
  position: absolute;
  top: 14px;
  right: 6px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 118px;
  height: 118px;
  padding: 12px;
  border: 1px dashed var(--gold);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 28px rgba(36, 20, 61, 0.16);
  text-align: center;
}
.tm-hero__stamp img {
  width: 78px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}
.tm-hero__stamp small {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 600;
}

.tm-marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--purple-deep);
  color: #f3e7c9;
  overflow: hidden;
  white-space: nowrap;
}
.tm-marquee__track {
  display: flex;
  width: max-content;
  animation: tm-scroll 38s linear infinite;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.tm-marquee__track span { padding: 12px 0; }
@keyframes tm-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.tm-section { padding: 88px 0; }
.tm-section__head { margin-bottom: 40px; }
.tm-section__head--row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
}

.tm-bento__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 280px 220px;
  gap: 16px;
}
.tm-bento__card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  text-decoration: none;
  color: #fff;
}
.tm-bento__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.tm-bento__card:hover img { transform: scale(1.08); }
.tm-bento__card--large { grid-row: 1 / span 2; }
.tm-bento__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,16,36,0.05) 20%, rgba(26,16,36,0.78) 100%);
}
.tm-bento__meta {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
}
.tm-bento__meta span {
  display: block;
  margin-bottom: 6px;
  color: var(--orange-2);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tm-bento__meta h3 {
  margin: 0 0 6px;
  font-family: var(--font-d);
  font-size: 2rem;
  font-weight: 600;
}
.tm-bento__meta p { margin: 0; font-size: 0.9rem; opacity: 0.88; }

.tm-subs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tm-sub {
  display: grid;
  grid-template-columns: 42px 92px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: .2s;
}
.tm-sub:hover {
  background: #fff;
  border-color: var(--orange);
  transform: translateY(-2px);
}
.tm-sub__num {
  font-family: var(--font-d);
  font-size: 1.3rem;
  color: var(--maroon);
}
.tm-sub__media {
  height: 72px;
  overflow: hidden;
  border-radius: 0 14px 0 14px;
}
.tm-sub__media img { width: 100%; height: 100%; object-fit: cover; }
.tm-sub__body h3 { margin: 0 0 4px; font-size: 1rem; }
.tm-sub__body p { margin: 0; color: var(--ink-soft); font-size: 0.82rem; }

.tm-split {
  background: linear-gradient(90deg, var(--purple-deep) 0 42%, transparent 42%), var(--paper);
  color: #fff;
}
.tm-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.tm-split__media {
  margin: 0;
  position: relative;
}
.tm-split__media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tm-split__media figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tm-split__copy { color: var(--ink); padding: 20px 0; }
.tm-ticks { margin: 22px 0 28px; padding: 0; list-style: none; }
.tm-ticks li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 1px solid var(--line);
}
.tm-ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 12px;
  height: 2px;
  background: var(--orange);
}

.tm-process { background: var(--white); }
.tm-process__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
.tm-process__list li {
  padding: 28px 22px 24px;
  border-top: 3px solid var(--orange);
  background: var(--paper);
  border-radius: 0 0 0 28px;
}
.tm-process__list span {
  display: block;
  margin-bottom: 18px;
  font-family: var(--font-d);
  font-size: 2rem;
  color: var(--purple);
}
.tm-process__list h3 { margin: 0 0 8px; font-size: 1.15rem; }
.tm-process__list p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

.tm-gallery__mosaic {
  columns: 3;
  column-gap: 12px;
}
.tm-gallery__item {
  display: block;
  margin-bottom: 12px;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 0 22px 0 22px;
}
.tm-gallery__item img {
  width: 100%;
  transition: transform .5s;
}
.tm-gallery__item:hover img { transform: scale(1.05); }

.tm-cta {
  background:
    linear-gradient(135deg, rgba(58,29,99,0.92), rgba(36,20,61,0.88)),
    var(--purple-deep);
  color: #fff;
  padding: 72px 0;
}
.tm-cta__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.tm-cta p { margin: 0; max-width: 46ch; opacity: 0.86; }
.tm-cta__actions { display: grid; gap: 10px; justify-items: end; }
.tm-cta__phone {
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.tm-banner {
  position: relative;
  min-height: 42vh;
  display: grid;
  align-items: end;
  padding: 90px 0 54px;
  background:
    linear-gradient(180deg, rgba(26,16,36,0.25), rgba(26,16,36,0.72)),
    var(--tm-banner) center/cover no-repeat;
  color: #fff;
}
.tm-banner__text { max-width: 46ch; margin: 12px 0 0; opacity: 0.9; }

.tm-contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}
.tm-contact__card,
.tm-contact__form {
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.tm-contact__list { margin: 28px 0 0; padding: 0; list-style: none; }
.tm-contact__list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.tm-contact__list span {
  display: block;
  margin-bottom: 4px;
  color: var(--maroon);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tm-contact__list a { text-decoration: none; font-weight: 600; }
.tm-contact__list p { margin: 0; }

.tm-contact__form label,
.wpcf7 label {
  display: block;
  margin: 0 0 14px;
  font-size: 0.86rem;
  font-weight: 500;
}
.tm-contact__form input,
.tm-contact__form textarea,
.tm-contact__form select,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  margin-top: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  font: inherit;
}
.wpcf7 input[type="submit"] {
  margin-top: 8px;
  background: var(--purple);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 600;
  cursor: pointer;
}

.tm-service-body__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
}
.tm-lede--dark { font-size: 1.2rem; max-width: 54ch; margin-bottom: 24px; }
.tm-mini-list { margin: 0; padding: 0; list-style: none; }
.tm-mini-list a {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.tm-mini-list a:hover { color: var(--orange); }

.tm-footer {
  background: #140b22;
  color: #d9cfe8;
  padding-top: 64px;
}
.tm-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 48px;
}
.tm-footer__brand img {
  height: 64px;
  width: auto;
  background: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.tm-footer__label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.tm-footer ul { margin: 0; padding: 0; list-style: none; }
.tm-footer li { margin: 0 0 8px; }
.tm-footer a { color: inherit; text-decoration: none; }
.tm-footer a:hover { color: #fff; }
.tm-footer__bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 16px 0;
  font-size: 0.82rem;
}

.tm-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  text-decoration: none;
}

.tm-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  background: rgba(20, 11, 34, 0.92);
  padding: 48px 20px 20px;
  cursor: zoom-out;
}
.tm-lightbox.is-open {
  display: grid;
}
.tm-lightbox img {
  position: relative;
  z-index: 1;
  max-height: 86vh;
  max-width: 92vw;
  border-radius: 8px;
  pointer-events: none;
}
.tm-lightbox button {
  position: fixed;
  top: 16px;
  right: 20px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.tm-prose { max-width: 70ch; }
.tm-prose p { color: var(--ink-soft); }

.elementor-widget-container .tm-hero,
.elementor-widget-container .tm-section,
.elementor-widget-container .tm-cta,
.elementor-widget-container .tm-banner { margin: 0; }

.elementor-widget-tamanna-hero > .elementor-widget-container,
.elementor-widget-tamanna-bento > .elementor-widget-container,
.elementor-widget-tamanna-subservices > .elementor-widget-container,
.elementor-widget-tamanna-split > .elementor-widget-container,
.elementor-widget-tamanna-process > .elementor-widget-container,
.elementor-widget-tamanna-gallery > .elementor-widget-container,
.elementor-widget-tamanna-cta > .elementor-widget-container,
.elementor-widget-tamanna-banner > .elementor-widget-container,
.elementor-widget-tamanna-contact > .elementor-widget-container {
  padding: 0;
}

.elementor-element[data-widget_type^="tamanna-"] .elementor-widget-container {
  padding: 0;
}

@media (max-width: 1100px) {
  .tm-hero__grid,
  .tm-split__grid,
  .tm-contact__grid,
  .tm-service-body__grid,
  .tm-footer__grid,
  .tm-cta__inner,
  .tm-section__head--row {
    grid-template-columns: 1fr;
    display: grid;
  }
  .tm-bento__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 220px 220px;
  }
  .tm-bento__card--large { grid-column: 1 / -1; grid-row: auto; height: 320px; }
  .tm-subs__grid,
  .tm-process__list { grid-template-columns: 1fr 1fr; }
  .tm-split { background: var(--paper); }
  .tm-hero__stage { height: 420px; }
  .tm-cta__actions { justify-items: start; }
}

@media (max-width: 820px) {
  .tm-topbar { display: none; }
  .tm-burger { display: block; }
  .tm-nav {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 28px 22px 40px;
    background: var(--paper);
    overflow: auto;
  }
  .tm-nav.is-open { display: flex; }
  .tm-nav__close {
    display: block;
    align-self: flex-end;
    border: 0;
    background: transparent;
    font-size: 2rem;
    cursor: pointer;
  }
  .tm-menu,
  .tm-mega {
    display: block !important;
    width: 100%;
    max-width: none;
  }
  .tm-menu { flex-direction: column; }
  .tm-menu .sub-menu,
  .tm-menu .sub-menu .sub-menu,
  .tm-mega .sub-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    box-shadow: none !important;
    border: 0 !important;
    background: transparent !important;
    min-width: 0 !important;
    max-width: none !important;
    width: 100% !important;
    padding: 4px 0 4px 14px !important;
  }
  .tm-menu > .menu-item-has-children > .sub-menu > .menu-item-has-children > a::after {
    content: none;
  }
  .tm-header__cta { margin-top: 16px; width: max-content; }
  .tm-hero__grid { min-height: 0; padding-top: 28px; }
  .tm-hero__pills { grid-template-columns: 1fr; }
  .tm-hero__stage { height: 360px; }
  .tm-hero__shot--a { inset: 0 10% 22% 0; }
  .tm-gallery__mosaic { columns: 2; }
  .tm-section { padding: 64px 0; }
}

@media (max-width: 560px) {
  .tm-wrap { width: min(var(--wrap), calc(100% - 28px)); }
  .tm-bento__grid,
  .tm-subs__grid,
  .tm-process__list { grid-template-columns: 1fr; }
  .tm-bento__card,
  .tm-bento__card--large { height: 240px; }
  .tm-sub { grid-template-columns: 36px 72px 1fr; }
  .tm-gallery__mosaic { columns: 1; }
  .tm-hero__title { font-size: 3.1rem; }
  .tm-hero__stamp { width: 84px; height: 84px; padding: 8px; }
  .tm-hero__stamp img { width: 56px; max-height: 36px; }
  .tm-split__media img { height: 320px; }
  .tm-contact__card,
  .tm-contact__form { padding: 22px; }
  .tm-footer__bar-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}
