/* =========================================
   GLOBAL / DESIGN SYSTEM
   Colors, spacing scale, typography, and base
   element resets shared by every page.
========================================= */

:root {
  --blue: #206c8c;
  --navy: #0b455b;
  --ink: #0b455b;
  --muted: #5e687a;
  --line: #dce2eb;
  --paper: #f8fafc;
  --white: #f4f4f4;
  --tint: #edf4ff;
  --sand: #f3e9dc;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1200px;
  --s1: .5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s5: 3rem;
  --s6: 4.5rem;
  --s7: 7rem;
  --shadow: 0 16px 40px rgba(11,22,48,.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.875rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.65 Inter,Arial,sans-serif;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(calc(100% - 40px),var(--container));
  margin: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 30;
  left: 1rem;
  top: -4rem;
  background: var(--blue);
  color: #f4f4f4;
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

.section {
  padding: var(--s7) 0;
}

.section-tight {
  padding-top: 0;
}

.section-tint {
  background: var(--tint);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--blue);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -.055em;
  line-height: 1.04;
}

h1 {
  font-size: clamp(3.15rem,7.3vw,6.7rem);
  max-width: 900px;
}

h2 {
  font-size: clamp(2.25rem,4.7vw,4.45rem);
}

h3 {
  font-size: clamp(1.35rem,2vw,1.8rem);
}

em {
  color: var(--blue);
  font-style: normal;
}

/* =========================================
   NAVBAR
   Fixed header used on every page. Text color
   swaps light/dark on scroll — see the
   "NAVIGATION" comment in js/script.js.
========================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.nav-wrap {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -.08em;
}

.brand span {
  color: var(--blue);
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--blue);
  transition: color .3s ease;
}

.site-header .brand-seam,
.site-header .brand-metry {
  transition: color .3s ease;
}

.site-header .brand .brand-seam {
  color: #0b455b;
}

.site-header .brand .brand-metry {
  color: #206c8c;
}

.site-header .brand-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: brightness(0);
  transition: filter .3s ease;
}

.site-header.on-dark .brand {
  color: #f4f4f4;
}

.site-header.on-dark .brand .brand-seam {
  color: #f4f4f4;
}

.site-header.on-dark .brand .brand-metry {
  color: #729da6;
}

.site-header.on-dark .brand-logo {
  filter: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  font-size: .88rem;
  font-weight: 600;
}

.site-header .site-nav>a:not(.button) {
  color: var(--blue);
  transition: color .3s ease;
}

.site-header.on-dark .site-nav:not(.open)>a:not(.button) {
  color: #f4f4f4;
}

.site-nav>a:not(.button) {
  padding: .4rem .85rem;
  border-radius: 999px;
  transition: color .3s ease,background-color .25s ease;
}

.site-nav>a:not(.button):not(.active):hover {
  background: rgba(32,108,140,.12);
}

.site-header.on-dark .site-nav:not(.open)>a:not(.button):not(.active):hover {
  background: rgba(255,255,255,.16);
}

.site-header .site-nav>a.active {
  background: #206c8c;
  color: #f4f4f4;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .9rem 1.15rem;
  border: 1px solid var(--blue);
  border-radius: 999px;
  background: var(--blue);
  color: #f4f4f4;
  font-size: .86rem;
  font-weight: 700;
  transition: transform .25s,background .25s;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-2px);
  background: #1b5c77;
}

.button-small {
  padding: .62rem 1rem;
  font-size: .78rem;
}

.button-light {
  background: #f4f4f4;
  border-color: #f4f4f4;
  color: var(--navy);
}

.button-light:hover {
  background: var(--paper);
}

.text-link {
  display: inline-flex;
  gap: .55rem;
  align-items: center;
  font-size: .88rem;
  font-weight: 700;
}

.text-link span {
  transition: transform .2s;
}

.text-link:hover span {
  transform: translateX(4px);
}

/* =========================================
   SHARED TEMPLATE COMPONENTS
   Generic building blocks (buttons, cards, grids)
   reused across Services / About / Contact pages.
========================================= */

.hero {
  padding-top: var(--s6);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(2rem,6vw,6rem);
  align-items: center;
}

.hero-copy,
.page-hero p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
}

.button-group {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-top: 2rem;
}

.hero-art {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy);
}

.art-label {
  position: absolute;
  top: 1.75rem;
  left: 1.75rem;
  color: #f4f4f4;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  line-height: 1.4;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.orb-one {
  width: 330px;
  height: 330px;
  right: -30px;
  top: 42px;
  background: var(--blue);
}

.orb-two {
  width: 230px;
  height: 230px;
  bottom: -10px;
  left: 10%;
  background: #72b2ff;
}

.art-card {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  padding: 1.1rem;
  background: #f4f4f4;
  color: var(--navy);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.07em;
  line-height: .9;
}

.trust-bar {
  border-block: 1px solid var(--line);
  padding: 1.1rem 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
}

.trust-bar p {
  margin: 0;
}

.trust-bar span {
  color: var(--blue);
  margin: 0 .8rem;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  grid-row: 2;
  margin: 0;
}

.section-heading .text-link {
  grid-row: 2;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}

.project-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 330px;
  padding: 1.3rem;
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: transform .35s;
}

.project-card:hover .project-visual {
  transform: scale(.98);
}

.project-visual span {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
}

.project-visual b {
  font-size: clamp(1.5rem,3vw,2.5rem);
  line-height: .9;
  letter-spacing: -.08em;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem .2rem;
}

.project-meta h3 {
  margin: 0 0 .2rem;
  font-size: 1.1rem;
}

.project-meta p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
}

.project-meta>a {
  color: var(--blue);
  font-size: 1.35rem;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.split-heading h2 {
  margin-bottom: 0;
}

.split-heading>p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 70px 1fr 1fr 30px;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding .25s;
}

.service-row:hover {
  padding-inline: .7rem;
  background: rgba(32,108,140,.04);
}

.service-row span,
.service-card>span,
.value-grid span,
.process-list>li>span {
  color: var(--blue);
  font-size: .75rem;
  font-weight: 800;
}

.service-row h3,
.service-row p {
  margin: 0;
}

.service-row p {
  color: var(--muted);
  font-size: .9rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.5rem;
}

.stats-grid>div {
  border-top: 2px solid var(--ink);
  padding-top: 1rem;
}

.stats-grid strong {
  font-size: clamp(2.2rem,4vw,4rem);
  letter-spacing: -.08em;
}

.stats-grid p {
  margin: .25rem 0 0;
  font-size: .9rem;
  line-height: 1.4;
}

.stats-grid small {
  color: var(--muted);
  font-size: .7rem;
}

.quote-section {
  background: var(--navy);
  color: #f4f4f4;
}

.quote-section blockquote {
  max-width: 920px;
  margin: 0;
  font-size: clamp(2rem,4vw,4rem);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: 1.08;
}

.quote-author {
  margin: 2rem 0 0;
  color: #b9c5dc;
  font-size: .85rem;
}

.cta-section {
  background: var(--blue);
  color: #f4f4f4;
  text-align: center;
}

.cta-section .eyebrow {
  color: #dcecff;
}

.cta-section h2 {
  margin-bottom: 2rem;
}

.cta-section em {
  color: var(--navy);
}

/* =========================================
   FOOTER
   Shared footer used on Home / Services / About /
   Contact: brand, tagline + social cards, large-logo
   contact block, and the bottom copyright bar.
   Social icons: assets/icons/whatsapp.svg,
   assets/icons/instagram.svg, assets/icons/gmail.webp
   Logo: assets/icons/logo.png
========================================= */

.site-footer {
  background: var(--navy);
  color: #f4f4f4;
  padding-top: 3rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1rem;
  align-items: start;
  padding-bottom: 4rem;
}

.footer-top p {
  margin: 0;
  color: #bdc8d9;
  font-size: .85rem;
}

.footer-top .text-link {
  color: #f4f4f4;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255,255,255,.15);
  color: #bdc8d9;
  font-size: .72rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom div {
  display: flex;
  gap: 1rem;
}

.footer-top {
  grid-template-columns: auto 1fr 1.1fr;
  gap: 2.5rem;
}

.site-footer .brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.site-footer .brand .brand-word {
  color: #f4f4f4;
}

.footer-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-top .footer-tagline {
  margin: 0 0 1.5rem;
}

.footer-social {
  display: flex;
  gap: .75rem;
}

.footer-social-card {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.05);
  cursor: pointer;
  transition: background-color .25s ease,border-color .25s ease,transform .25s ease;
}

.footer-social-card:hover {
  background: rgba(32,108,140,.35);
  border-color: #206c8c;
  transform: translateY(-2px);
}

.footer-social-card img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.1rem;
  text-align: right;
}

.footer-contact-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: .5rem;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.footer-contact-label {
  color: #bdc8d9;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.footer-contact-value {
  display: inline-block;
  color: #f4f4f4;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: color .2s ease;
}

.footer-contact-value:hover {
  color: #206c8c;
}

@media(max-width:1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-contact {
    grid-column: 1 / -1;
  }
}

/* =========================================
   SERVICES
   Note: .page-hero is shared with About/Contact.
========================================= */

/* --- Services Hero + service cards --- */

.page-hero {
  padding-block: var(--s6) var(--s7);
}

.page-hero h1 {
  margin-bottom: 1.25rem;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
}

.service-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  padding: 1.7rem;
  background: #f4f4f4;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.service-card h2 {
  margin: 2rem 0 1rem;
  font-size: 1.65rem;
}

.service-card p {
  color: var(--muted);
  font-size: .92rem;
}

.service-card ul {
  margin: auto 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: .84rem;
}

.service-card li {
  padding: .45rem 0;
  border-top: 1px solid var(--line);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  padding: 1.5rem 1rem 0 0;
  border-top: 2px solid var(--ink);
}

.process-list h3 {
  margin: 1.3rem 0 .5rem;
  font-size: 1.3rem;
}

.process-list p {
  color: var(--muted);
  font-size: .86rem;
}

/* --- Our Work — shared heading/subsection layout
   used by Social Media Management, Content Creation
   and Digital Marketing showcase blocks below --- */

.showcase-heading {
  max-width: 640px;
  margin-bottom: 2.5rem;
}

.showcase-subsection {
  margin-top: 3rem;
}

.showcase-subsection:first-of-type {
  margin-top: 0;
}

.showcase-subtitle {
  margin: 0 0 1.25rem;
  font-size: 1.15rem;
}

/* --- Social Media Management — infinite Single Post
   slider (pure CSS marquee, paused on hover).
   Asset: assets/images/services/social-media/single-post/ --- */

.single-post-slider {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
  mask-image: linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);
}

.single-post-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: single-post-scroll 42s linear infinite;
}

.single-post-slider:hover .single-post-track {
  animation-play-state: paused;
}

.single-post-item {
  flex: 0 0 auto;
  width: clamp(150px,18vw,210px);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  transition: transform .3s ease,border-color .3s ease;
}

.single-post-item:hover {
  transform: translateY(-4px);
  border-color: #206c8c;
}

.single-post-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes single-post-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.single-post-track.is-reverse {
  animation-direction: reverse;
}

.vertical-item {
  aspect-ratio: 9 / 16;
}

/* --- Content Creation — heading + QR code.
   Reused as-is (no extra CSS needed) for the
   Digital Marketing heading further down the page. --- */

.content-creation-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.content-creation-heading h2 {
  margin: 0;
}

.content-creation-qr {
  width: 84px;
  height: 84px;
  object-fit: contain;
  flex: 0 0 auto;
}

/* Static 2x2 photo gallery — used by both Content
   Creation and Digital Marketing sections.
   Assets: assets/images/services/content-creation/,
           assets/images/services/digital-marketing/ */

.horizontal-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
  margin: 2.5rem 0;
}

.horizontal-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  transition: border-color .25s ease;
}

.horizontal-item:hover {
  border-color: #206c8c;
}

.horizontal-item img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

/* --- Social Media Management — Carousel grid of
   10 covers. Only covers load up front; individual
   slides are fetched on demand (see js/script.js).
   Asset: assets/images/services/social-media/carousel/ --- */

.carousel-grid {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 1.25rem;
}

.carousel-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--paper);
  cursor: pointer;
  transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease;
}

.carousel-card:hover {
  transform: translateY(-4px);
  border-color: #206c8c;
  box-shadow: var(--shadow);
}

.carousel-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
}

/* --- Carousel Modal / Viewer — lightbox opened from
   a carousel cover. Prev/Next/Close/keyboard/swipe
   logic lives in js/script.js. --- */

.carousel-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.carousel-modal[hidden] {
  display: none;
}

.carousel-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,15,20,.86);
}

.carousel-modal-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: min(92vw,560px);
  max-height: 92vh;
  padding-top: 2.5rem;
}

.carousel-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  border: 0;
  background: none;
  color: #f4f4f4;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.carousel-modal-stage {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  min-width: 0;
}

.carousel-modal-image {
  flex: 1 1 auto;
  display: block;
  min-width: 0;
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: #0b455b;
}

.carousel-modal-nav {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #f4f4f4;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background-color .2s ease;
}

.carousel-modal-nav:hover {
  background: #206c8c;
}

.carousel-modal-counter {
  margin: 0;
  color: #f4f4f4;
  font-size: .8rem;
  font-weight: 700;
}

@media(max-width:1024px) {
  .carousel-grid {
    grid-template-columns: repeat(3,1fr);
  }
}

@media(max-width:760px) {
  .carousel-grid {
    grid-template-columns: repeat(2,1fr);
    gap: 1rem;
  }
  .single-post-item {
    width: clamp(140px,42vw,190px);
  }
  .horizontal-grid {
    grid-template-columns: 1fr;
  }
  .content-creation-qr {
    width: 64px;
    height: 64px;
  }
  .carousel-modal-nav {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
  }
}

/* =========================================
   ABOUT
========================================= */

/* --- Our Point of View --- */
/* Asset: assets/images/about/our pov.png */

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem,7vw,8rem);
  align-items: center;
}

.story-visual {
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg,#d7e8ff,var(--blue));
  color: var(--navy);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-align: center;
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.story-grid h2 {
  font-size: clamp(2rem,3.4vw,3.4rem);
}

.story-grid p:not(.eyebrow) {
  color: var(--muted);
}

/* --- Our Values + Our Team ---
   .value-grid and .team-grid share this 3-column
   layout rule; their card styling is defined
   separately further below. --- */

.value-grid,
.team-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}

.value-grid article {
  padding: 1.4rem 0;
  border-top: 2px solid var(--ink);
}

.value-grid h2 {
  margin: 2rem 0 .7rem;
  font-size: 1.5rem;
}

.value-grid p {
  color: var(--muted);
  font-size: .88rem;
}

/* Team photo card. Each member's object-position is
   tuned individually below to frame their face/body.
   Asset: assets/images/about/foto/ */

.team-photo {
  aspect-ratio: 1/.92;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #e1e7ef;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 700;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

img.team-photo-azhar {
  object-position: center 75%;
}

img.team-photo-rizki {
  object-position: center 35%;
}

img.team-photo-fakhri {
  object-position: 40% 25%;
}

.team-card h3 {
  margin: 1rem 0 .15rem;
  font-size: 1.1rem;
}

.team-card p {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
}

/* =========================================
   CONTACT
========================================= */

.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem,7vw,8rem);
}

.contact-details h2 {
  font-size: clamp(2rem,3.6vw,3.4rem);
}

.contact-details>a {
  display: block;
  margin: 1.1rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue);
}

.contact-note {
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: .9rem;
}

.contact-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  font-size: .8rem;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: #f4f4f4;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.contact-form label {
  display: grid;
  gap: .4rem;
  font-size: .79rem;
  font-weight: 700;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .75rem;
  background: #f4f4f4;
  color: var(--ink);
  font-size: .9rem;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(32,108,140,.13);
}

.form-status {
  min-height: 1.2em;
  margin: 0;
  font-size: .8rem;
}

/* --- FAQ --- */

.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 700;
  font-size: .95rem;
}

.faq-list p {
  margin: .75rem 0 0;
  color: var(--muted);
  font-size: .88rem;
}

/* Scroll-reveal animation — see the "REVEAL / SCROLL
   ANIMATION" comment in js/script.js. Used on every page. */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease,transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion:reduce) {
  *,
  html {
    scroll-behavior: auto!important;
    transition: none!important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================
   RESPONSIVE
   Mobile (max-width:760px) overrides. Additional
   breakpoints for specific components are kept
   next to those components further down this file.
========================================= */

@media(max-width:760px) {
  :root {
    --s7: 4.5rem;
  }
  html {
    scroll-padding-top: 4.25rem;
  }
  .container {
    width: min(calc(100% - 32px),var(--container));
  }
  .nav-wrap {
    height: 68px;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 21px;
    height: 2px;
    background: var(--ink);
    transition: background .3s ease,transform .2s,opacity .2s;
  }
  .site-header.on-dark .menu-toggle span:not(.sr-only) {
    background: #f4f4f4;
  }
  .site-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav>a:not(.button) {
    padding: .65rem .95rem;
  }
  .site-nav .button {
    margin-top: .5rem;
    justify-content: center;
  }
  .hero {
    padding-top: 3rem;
  }
  .hero-grid,
  .story-grid,
  .contact-grid,
  .faq-wrap {
    grid-template-columns: 1fr;
  }
  .hero-art {
    min-height: 340px;
  }
  .section-heading {
    display: block;
  }
  .section-heading .text-link {
    margin-top: 1rem;
  }
  .project-grid,
  .service-cards,
  .value-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  .project-visual {
    min-height: 260px;
  }
  .split-heading {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .service-row {
    grid-template-columns: 38px 1fr 20px;
    gap: .5rem;
  }
  .service-row p {
    grid-column: 2 / -1;
  }
  .stats-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
  }
  .footer-contact {
    align-items: flex-start;
    text-align: left;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom div {
    margin-top: .7rem;
  }
  .process-list {
    grid-template-columns: 1fr 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .button-group {
    flex-wrap: wrap;
  }
}

@media(min-width:761px) {
  .menu-toggle {
    display: none;
  }
}

/* =========================================
   HOME
   Everything below (prefixed .seam-*) is specific
   to index.html: Hero, What We Balance, Content
   Creation / Digital Marketing feature blocks, Our
   Clients, and Create Your Symmetry. Sub-sections are
   marked with their own comments as they appear.
========================================= */

/* --- Our Balance — intro/philosophy copy below the
   Hero. Uses the supplied SEAMMETRY brand image while
   keeping copy legible.
   Asset: assets/images/branding/seammetry-brand-background.png --- */
.seam-intro {
  position: relative;
  isolation: isolate;
  background: #f8fafc url("../assets/images/branding/seammetry-brand-background.png") center/cover no-repeat;
}

.seam-intro:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(248,250,252,.82);
}

.seam-intro .container {
  position: relative;
}

@media(max-width:760px) {
  .seam-intro {
    background-position: 62% center;
  }
  .seam-intro:before {
    background: rgba(248,250,252,.9);
  }
}

/* Original SEAMMETRY logo assets used by the Home hero card. */
.hero-card-header-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex: 0 0 auto;
}

.hero-card-logo {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: clamp(98px,19vw,170px);
  height: auto;
  transform: translate(-50%,-50%);
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(5,41,56,.22));
}

.seam-hero-visual .seam-orbit {
  z-index: 0;
}

@media(max-width:760px) {
  .hero-card-header-logo {
    width: 20px;
    height: 20px;
  }
  .hero-card-logo {
    width: clamp(86px,31vw,130px);
  }
}

/* Home hero card identity: text wordmark fallback until a dedicated logo asset is provided. */
.seam-hero-card-wrap {
  min-width: 0;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1rem;
  color: #d2e1e5;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-card-wordmark {
  color: #f4f4f4;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: -.035em;
}

.hero-card-separator {
  color: #77d7d2;
  font-weight: 400;
}

.seam-mark {
  width: min(82%,360px);
  font-size: clamp(2rem,4.4vw,3.75rem);
  letter-spacing: -.08em;
  line-height: .9;
  text-align: center;
  white-space: nowrap;
}

.seam-hero-card-wrap .seam-hero-visual {
  width: 100%;
}

@media(max-width:760px) {
  .hero-card-header {
    margin-bottom: .8rem;
    font-size: .72rem;
    gap: .5rem;
  }
  .hero-card-wordmark {
    font-size: .78rem;
  }
  .seam-mark {
    width: 88%;
    font-size: clamp(1.8rem,9vw,2.75rem);
  }
}

/* Home services image previews. */
.seam-service {
  position: relative;
}

.seam-service:focus-visible {
  outline: 2px solid #77d7d2;
  outline-offset: 4px;
}

.service-preview {
  position: absolute;
  z-index: 3;
  right: 7rem;
  top: 50%;
  margin: 0;
  overflow: hidden;
  background: #0d2e3d;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 36px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-42%) rotate(4deg) scale(.88);
  transition: opacity .25s ease,transform .4s cubic-bezier(.2,.8,.2,1);
}

.service-preview-social {
  width: 170px;
  aspect-ratio: 928 / 1148;
}

.service-preview-content {
  width: 180px;
  aspect-ratio: 992 / 1062;
}

.service-preview-digital {
  width: 230px;
  aspect-ratio: 1328 / 800;
}

.service-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.seam-service:hover .service-preview,
.seam-service:focus-visible .service-preview {
  opacity: 1;
  transform: translateY(-50%) rotate(-2deg) scale(1);
}

.seam-service:hover b,
.seam-service:focus-visible b {
  transform: translate(3px,-3px);
  transition: transform .25s;
}

@media(max-width:760px) {
  .service-preview {
    position: relative;
    grid-column: 2 / -1;
    right: auto;
    top: auto;
    width: 100%;
    margin-top: .75rem;
    opacity: 1;
    transform: none;
    border-color: rgba(255,255,255,.28);
    box-shadow: none;
  }
  .seam-service:hover .service-preview,
  .seam-service:focus-visible .service-preview {
    transform: none;
  }
}

/* SEAMMETRY home: editorial dark navy / teal direction, scoped to index.html. */
.seammetry-home {
  background: #f4f8f8;
  color: #102a36;
}

.seammetry-home .site-header {
  background: transparent;
}

.seammetry-home .brand span {
  color: #206c8c;
}

.seammetry-home .button {
  background: #206c8c;
  border-color: #206c8c;
}

.seammetry-home .button:hover {
  background: #1b5c77;
}

/* --- Hero --- */

.seam-hero {
  padding: clamp(3rem,7vw,7rem) 0 clamp(4rem,9vw,9rem);
  background: linear-gradient(115deg,#062632 0%,#0c3b49 55%,#075978 100%);
  color: #f4f4f4;
  overflow: hidden;
}

.seam-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem,6vw,7rem);
  align-items: center;
}

.seam-hero .eyebrow,
.seam-final-cta .eyebrow {
  color: #8fc8ff;
}

.seam-hero h1 {
  max-width: 850px;
  margin-bottom: 1.4rem;
}

.seam-hero h1 em {
  color: #77d7d2;
}

.seam-hero p:not(.eyebrow) {
  max-width: 580px;
  margin-bottom: 0;
  color: #d2e1e5;
  font-size: 1.1rem;
}

.seam-outline-link {
  display: inline-flex;
  gap: .55rem;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.65);
  padding: .45rem 0;
  color: #f4f4f4;
  font-size: .88rem;
  font-weight: 700;
  transition: border-color .2s,color .2s;
}

.seam-outline-link:hover {
  border-color: #77d7d2;
  color: #77d7d2;
}

.seam-hero-visual {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg,rgba(32,108,140,.95),rgba(5,41,56,.55) 60%,rgba(105,215,210,.75));
  isolation: isolate;
}

.seam-hero-visual:before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 50%;
  transform: rotate(-25deg);
}

.seam-hero-visual>p {
  position: absolute;
  z-index: 2;
  top: 1.5rem;
  left: 1.5rem;
  margin: 0!important;
  color: #f4f4f4!important;
  font-size: .72rem!important;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.5;
}

.seam-hero-visual small {
  color: #d2e1e5;
  font-size: .62rem;
  font-weight: 500;
  letter-spacing: 0;
}

.seam-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 50%;
}

.orbit-a {
  width: 410px;
  height: 280px;
  right: -80px;
  bottom: 30px;
  transform: rotate(48deg);
}

.orbit-b {
  width: 300px;
  height: 520px;
  left: 10%;
  top: -130px;
  transform: rotate(38deg);
}

.seam-mark {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  font-size: clamp(5rem,12vw,9rem);
  font-weight: 800;
  letter-spacing: -.15em;
  color: #f4f4f4;
  line-height: 1;
}

.seam-caption {
  position: absolute;
  z-index: 1;
  right: 1.5rem;
  bottom: 1.5rem;
  padding: .8rem;
  background: #0d2e3d;
  color: #f4f4f4;
  font-size: .69rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1.25;
}

.seam-intro .container {
  display: grid;
  grid-template-columns: .25fr 1fr;
  gap: 2rem;
}

.seam-number {
  color: #206c8c;
  font-size: clamp(4rem,9vw,9rem);
  font-weight: 800;
  line-height: .8;
  letter-spacing: -.1em;
}

.seam-intro-copy {
  max-width: 840px;
}

.seam-intro h2 {
  margin-bottom: 2rem;
}

.seam-intro-copy>p {
  max-width: 710px;
  font-size: 1.07rem;
  color: #3c5660;
}

.seam-intro-copy .seam-question {
  margin: 2.5rem 0;
  padding: 1.25rem 0 1.25rem 1.35rem;
  border-left: 2px solid #206c8c;
  color: #102a36;
  font-size: clamp(1.25rem,2.3vw,2rem);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.3;
}

/* --- What We Balance — 3-item service list with
   hover image preview (see .service-preview below). --- */

.seam-services {
  background: #092c39;
  color: #f4f4f4;
}

.seam-services .eyebrow {
  color: #77d7d2;
}

.seam-section-top {
  display: grid;
  grid-template-columns: 1fr .7fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 3rem;
}

.seam-section-top h2 {
  margin-bottom: 0;
}

.seam-section-top h2 em {
  color: #77d7d2;
}

.seam-section-top>p {
  max-width: 420px;
  margin: 0;
  color: #b8cbd0;
}

.seam-service-list {
  border-top: 1px solid rgba(255,255,255,.22);
}

.seam-service {
  display: grid;
  grid-template-columns: 80px 1fr 35px;
  gap: 1rem;
  align-items: center;
  padding: 1.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,.22);
  transition: padding .25s,background .25s;
}

.seam-service:hover {
  padding-inline: 1.2rem;
  background: rgba(119,215,210,.08);
}

.seam-service>span {
  color: #77d7d2;
  font-size: .77rem;
  font-weight: 800;
}

.seam-service h3 {
  margin: 0;
  font-size: clamp(1.5rem,3vw,2.65rem);
}

.seam-service p {
  margin: .4rem 0 0;
  color: #b8cbd0;
  font-size: .85rem;
}

.seam-service b {
  color: #77d7d2;
  font-size: 1.35rem;
}

/* --- Content Creation feature block. Shares its
   grid/card shape with the Digital Marketing block
   below via .seam-feature-visual / .seam-marketing-visual.
   Slider asset: assets/images/slide-content/content-creation-slide/ --- */

.seam-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem,8vw,9rem);
  align-items: center;
}

.seam-feature-visual,
.seam-marketing-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 510px;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .35s;
}

.seam-feature-visual:hover,
.seam-marketing-visual:hover {
  transform: scale(.985);
}

.seam-feature-visual {
  background: linear-gradient(140deg,#206c8c 0%,#72d4d0 90%);
  color: #082b38;
  aspect-ratio: 9 / 16;
  min-height: 0;
}

.content-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 1s ease;
}

.content-slide.is-active {
  opacity: 1;
}

.seam-digital-visual {
  aspect-ratio: 786 / 452;
  min-height: 0;
}

.marketing-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 1s ease;
}

.marketing-slide.is-active {
  opacity: 1;
}

.seam-feature-visual:after {
  display: none;
}

.seam-feature-visual span,
.seam-marketing-visual span {
  position: relative;
  z-index: 1;
  font-size: clamp(2.1rem,5vw,4.2rem);
  font-weight: 800;
  letter-spacing: -.08em;
  line-height: .87;
}

.seam-feature-visual small,
.seam-marketing-visual small {
  position: relative;
  z-index: 1;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.seam-feature-copy h2 {
  margin-bottom: 1.5rem;
}

.seam-feature-copy p:not(.eyebrow) {
  max-width: 560px;
  color: #47616b;
  font-size: 1.05rem;
}

.seam-feature-copy ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  font-size: .86rem;
  font-weight: 700;
}

.seam-feature-copy li {
  padding-top: .7rem;
  border-top: 1px solid #b8cbd0;
}

/* --- Digital Marketing feature block. Shares its
   light background with the Social Media Management
   feature block above (.seam-social-feature) for
   visual consistency. --- */

.seam-marketing-feature,
.seam-social-feature {
  background: #e2eeee;
}

.seam-marketing-visual {
  background: #0a3544;
  color: #f4f4f4;
}

.seam-social-visual {
  min-height: 0;
  aspect-ratio: 4 / 5;
}

.seam-social-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 1s ease;
}

.seam-social-visual img.is-active {
  opacity: 1;
}

.seam-marketing-visual:after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(119,215,210,.6);
  transform: rotate(45deg);
}

.seam-social-visual:after {
  display: none;
}

.seam-digital-visual:after {
  display: none;
}

.seam-marketing-visual small {
  color: #9ec8d2;
}

/* Digital Marketing — channel/platform logo row.
   Logos: assets/icons/digital-brand-logo/ */

.channel-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 1.25rem;
  margin-top: 2rem;
}

.channel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  width: 5.5rem;
}

.channel-icon {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.channel-name {
  color: #274752;
  font-size: .75rem;
  font-weight: 700;
  text-align: center;
}

/* --- Our Clients — logo client cards + background.
   Logos: assets/icons/logo-client/
   Background: assets/images/branding/background-ourclients.png --- */

.seam-clients {
  background: #0b2836 url("../assets/images/branding/background-ourclients.png") center/cover no-repeat;
  color: #f4f4f4;
}

.seam-client-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.seam-client-heading h2 {
  margin: 0;
  font-size: clamp(2.5rem,6vw,5.7rem);
}

.clients-word {
  font-weight: 800;
  color: #77d7d2;
}

.clients-more {
  margin: 3rem 0 0;
  color: #f4f4f4;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(140px,1fr));
  gap: 1.25rem;
}

.client-card {
  display: grid;
  place-items: center;
  aspect-ratio: 1/.85;
  padding: 1.25rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform .25s ease,background-color .25s ease,border-color .25s ease;
}

.client-card:hover {
  transform: translateY(-4px);
  background: rgba(32,108,140,.22);
  border-color: #206c8c;
}

.client-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* --- Create Your Symmetry — closing CTA with the
   WhatsApp contact link. --- */

.seam-final-cta {
  background: linear-gradient(125deg,#061f29,#075e78);
  color: #f4f4f4;
  text-align: left;
}

.seam-final-cta h2 {
  margin-bottom: 2rem;
}

.seam-final-cta h2 em {
  color: #77d7d2;
}

.seam-final-cta .button-light {
  background: #f4f4f4;
  border-color: #f4f4f4;
  color: #092c39;
}

.seam-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  gap: 10px;
  color: #f4f4f4;
  font-size: .9rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255,255,255,.5);
  padding: .3rem 0;
}

.seam-contact-icon {
  width: 1.5em;
  height: 1.5em;
  object-fit: contain;
  flex-shrink: 0;
}

/* Footer — "seam-footer" modifier applied on every
   page for the darker footer background; kept here
   since it was introduced alongside the Home redesign.
   See the main FOOTER section near the top of this
   file for the shared footer layout rules. */

.seam-footer {
  background: #061f29;
}

.seam-footer .footer-top p {
  color: #b8cbd0;
}

.seam-footer .footer-bottom {
  color: #b8cbd0;
}

@media(max-width:760px) {
  .seam-hero-grid,
  .seam-feature-grid,
  .seam-section-top {
    grid-template-columns: 1fr;
  }
  .seam-hero {
    padding-top: 3.5rem;
  }
  .seam-hero-visual {
    min-height: 350px;
  }
  .seam-mark {
    font-size: 5rem;
  }
  .seam-intro .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .seam-number {
    font-size: 5rem;
  }
  .seam-section-top {
    gap: 1rem;
  }
  .seam-service {
    grid-template-columns: 40px 1fr 22px;
    padding-block: 1.3rem;
  }
  .seam-service:hover {
    padding-inline: .4rem;
  }
  .seam-feature-visual,
  .seam-marketing-visual {
    min-height: 340px;
  }
  .seam-social-visual {
    min-height: 0;
  }
  .seam-feature-visual {
    min-height: 0;
  }
  .seam-digital-visual {
    min-height: 0;
  }
  .seam-feature-copy ul {
    grid-template-columns: 1fr;
  }
  .seam-marketing-feature .seam-feature-copy,
  .seam-social-feature .seam-feature-copy {
    order: 2;
  }
  .client-logo-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .seam-final-cta .button-group {
    align-items: flex-start;
    flex-direction: column;
  }
  .seammetry-home .site-nav {
    background: #f4f8f8;
  }
}

/* Hero card identity fallback; kept last so it overrides the original S/M sizing. */
.seam-hero-card-wrap {
  min-width: 0;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1rem;
  color: #d2e1e5;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-card-wordmark {
  color: #f4f4f4;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: -.035em;
}

.hero-card-separator {
  color: #77d7d2;
  font-weight: 400;
}

.seam-mark {
  width: min(82%,360px);
  font-size: clamp(2rem,4.4vw,3.75rem);
  letter-spacing: -.08em;
  line-height: .9;
  text-align: center;
  white-space: nowrap;
}

.seam-hero-card-wrap .seam-hero-visual {
  width: 100%;
}

@media(max-width:760px) {
  .hero-card-header {
    margin-bottom: .8rem;
    font-size: .72rem;
    gap: .5rem;
  }
  .hero-card-wordmark {
    font-size: .78rem;
  }
  .seam-mark {
    width: 88%;
    font-size: clamp(1.8rem,9vw,2.75rem);
  }
}
