:root {
  /* Base palette */
  --ink: #0c0c0e;
  --muted: #52525c;
  --soft: #8a8a96;
  --ghost: #b4b4be;
  --base: #f0f0f4;
  --pearl: #f8f8fb;
  --white: #ffffff;

  /* Accent */
  --ember: #c0392b;
  --ember-deep: #962d22;
  --teal: #4a8fa8;
  --teal-light: #7ab3c8;
  --teal-dark: #2d6478;

  /* Dark surfaces */
  --dark-1: #0e0f12;
  --dark-2: #141519;
  --dark-3: #1c1d23;
  --dark-4: #24252d;

  /* Glass */
  --glass-light: rgba(255, 255, 255, 0.52);
  --glass-mid: rgba(255, 255, 255, 0.72);
  --glass-strong: rgba(255, 255, 255, 0.88);
  --glass-dark: rgba(255, 255, 255, 0.06);
  --glass-dark-mid: rgba(255, 255, 255, 0.10);

  /* Lines */
  --line: rgba(12, 12, 14, 0.07);
  --line-mid: rgba(12, 12, 14, 0.11);
  --line-strong: rgba(12, 12, 14, 0.18);
  --line-light: rgba(255, 255, 255, 0.08);
  --line-light-mid: rgba(255, 255, 255, 0.14);

  /* Shadows */
  --glow: 0 8px 32px rgba(74, 143, 168, 0.12);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-glass: 0 8px 40px rgba(0, 0, 0, 0.10);

  /* Type */
  --serif: 'Nunito', system-ui, sans-serif;
  --sans: 'DM Sans', system-ui, sans-serif;

  /* Layout */
  --max: 1340px;
  --radius: 16px;
  --radius-sm: 10px;
  --space-xxs: 8px;
  --space-xs: 12px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 64px;
  --space-xxxl: 96px;
  --text-base: 17px;
  --text-md: 16px;
  --text-lg: 20px;
  --text-xl: 24px;
  --text-2xl: 32px;
  --text-3xl: 42px;
  --text-4xl: 54px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Nunito, system-ui, sans-serif;
  color: var(--ink);
  background: var(--base);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  z-index: 0;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  font: inherit;
  transition: transform var(--transition), background var(--transition), color var(--transition), box-shadow var(--transition);
}

button:hover,
.button:hover {
  transform: translateY(-1px);
}
.bg-transparent{
    background: transparent !important;
}
.shell {
  width: min(calc(100% - var(--space-xxl)), var(--max));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: fixed;
  inset: 0 auto auto 0;
  width: 100%;
  z-index: 100;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.site-header.transparent {
  background: transparent;
  border-bottom: 1px solid transparent;
}

.site-header.transparent {
  background: rgba(12, 12, 14, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header.transparent .brand-link,
.site-header.transparent .brand-copy {
  color: rgba(255, 255, 255, 0.92);
}

.site-header.transparent .top-nav a {
  color: rgba(255, 255, 255, 0.88);
}

.site-header.transparent .top-nav a:hover,
.site-header.transparent .top-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.site-header.scrolled {
  background: rgba(240, 240, 244, 0.78);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid var(--line-mid);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--glass-mid);
  border: 1.5px solid rgba(12, 12, 14, 0.32);
  backdrop-filter: blur(10px);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 11px;
}

.brand-name {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
}
.brand-logo-sm{
    height: 40px;
}

.brand-doc {
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember);
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.top-nav a {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  transition: color var(--transition), background var(--transition);
}

.top-nav a:hover,
.top-nav a:focus-visible {
  color: var(--ink);
  background: var(--glass-mid);
}

.top-nav a.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.18);
}

.top-nav a.active.nav-cta {
  background: var(--white);
  color: var(--ink);
}

.nav-cta {
  padding: 10px 18px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.05);
  animation: hero-zoom 30s ease-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6, 7, 10, 0.18) 0%, rgba(6, 7, 10, 0.08) 40%, rgba(6, 7, 10, 0.52) 100%);
}

.hero-content {
  position: relative;
  padding: var(--space-xxxl) 0 var(--space-xl);
  text-align: center;
  z-index: 1;
  max-width: 760px;
  margin-inline: auto;
}

.hero .eyebrow {
  display: inline-block;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--white);
  max-width: 12ch;
  margin-inline: auto;
}

.hero h1 span {
  display: block;
  color: rgba(255, 255, 255, 0.92);
}

.hero-copy {
  max-width: 640px;
  margin: var(--space-md) auto 0;
  color: var(--muted);
  font-size: var(--text-md);
  font-weight: 300;
}

.hero.hero-simple {
  min-height: auto;
  padding: 10rem 0 4.5rem;
  background: transparent;
}

.hero.hero-simple .hero-content {
  padding: 0;
  text-align: center;
}

.hero.hero-simple .eyebrow {
  color: var(--soft);
}

.hero.hero-simple h1 {
  color: var(--ink);
  max-width: 18ch;
}

.hero.hero-simple h1 .hero-accent {
  display: inline-block;
  color: var(--soft);
  font-style: italic;
  font-weight: 200;
  white-space: nowrap;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.button-primary {
  min-width: 190px;
  padding: 16px 22px;
  background: var(--ink);
  color: var(--white);
  font-weight: 500;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
}

.button-secondary {
  min-width: 190px;
  padding: 16px 22px;
  color: var(--ink);
    background: var(--glass-strong);
    border: 1px solid var(--muted);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    padding: 16px 22px;
    font-weight: 500;
}

.section {
  padding: var(--space-xxxl) 0;
}

.section-light {
  background: var(--base);
}

.section-pearl {
  background: var(--pearl);
}

.section-dark {
  background: var(--dark-1);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 143, 168, 0.09) 0%, transparent 65%);
  top: -80px;
  right: 5%;
  pointer-events: none;
}

.section-head {
  text-align: center;
  /* max-width: 760px; */
  margin: 0 auto 64px;
}

.section-head p,
.section-head h2 {
  margin: 0;
}

/* .section-head .kicker {
  display: inline-block;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
} */

.section-dark .kicker,
.section-dark .eyebrow,
.section-dark .section-label,
.section-dark .project-label,
.section-dark .process-step h3{
  color: rgba(255, 255, 255, 0.58);
}

.section-head h2 {
  margin-bottom: var(--space-lg);
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.section-dark .section-head h2 {
  color: #f4f4f8;
}

/* .section-head p:not(.kicker) {
  margin-top: var(--space-md);
  color: var(--muted);
  font-size: var(--text-lg);
  font-weight: 300;
  line-height: 1.75;
} */

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.45);
}

.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xxl);
  align-items: center;
}

.philosophy-copy {
  /*max-width: 520px;*/
}

.philosophy-copy .section-label {
  display: inline-block;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal);
  font-size: 11px;
}

.philosophy-copy h3 {
  margin-top: 0;
  margin-bottom: var(--space-md);
  font-family: var(--serif);
  font-weight: 200;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.08;
}

.section-text {
  margin: 0 0 var(--space-xl);
  max-width: 46rem;
  color: var(--muted);
}

ol {
  margin: 0 0 var(--space-xl) 1.25rem;
  color: var(--muted);
  font-size: var(--text-base);
  line-height: 1.8;
}

ol li {
  margin-bottom: 0.85rem;
}

.photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 520px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.service-card {
  display: grid;
  gap: var(--space-md);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.service-card:hover .service-media img,
.service-card:focus-within .service-media img {
  transform: scale(1.04);
}

.service-media {
  position: relative;
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 1s ease;
}

.service-content {
  padding: var(--space-lg);
}

.service-content .kicker {
  margin-bottom: var(--space-sm);
  color: var(--teal);
}

.service-content h3 {
  margin: 0 0 var(--space-md);
  font-family: var(--serif);
  font-weight: 200;
  font-size: 1.7rem;
  line-height: 1.12;
  color: var(--ink);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.service-link:hover {
  border-color: var(--ink);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
}

.process-step {
  padding: var(--space-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.04);
}

.ember-border{
    border-left: 2px solid var(--ember);
    border-radius: 0 var(--radius) var(--radius) 0 !important;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--teal) !important;
  font-size: 0.95rem;
}

.process-step.glass-card h3 {
  color: var(--muted);
}
.process-step h3 {
  margin: 0 0 var(--space-sm);
  font-family: var(--serif);
  font-weight: 200;
  font-size: 1.35rem;
  color: var(--white);
}

.process-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.process-action {
  margin-top: var(--space-xxl);
  text-align: center;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-lg);
}

.project-card {
  display: grid;
  align-content: start;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.project-media img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  transition: transform 0.9s ease;
}

.project-card:hover .project-media img,
.project-card:focus-within .project-media img {
  transform: scale(1.03);
}

.project-copy {
  padding: var(--space-lg);
}

.project-label {
  display: inline-block;
  margin-bottom: var(--space-sm);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--soft);
}

.project-copy h3 {
  margin: 0 0 var(--space-sm);
  font-family: var(--serif);
  font-weight: 200;
  font-size: 1.65rem;
  color: var(--ink);
}

.project-copy p {
  margin: 0 0 var(--space-md);
  color: var(--muted);
}

.project-link {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid transparent;
}

.project-link:hover {
  border-color: var(--ink);
}

.cta-panel {
  display: grid;
  gap: var(--space-lg);
  padding: var(--space-xxl);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-glass);
}

.cta-copy {
  max-width: 900px;
}

.cta-copy h2 {
  margin: var(--space-sm) 0 var(--space-md);
  font-family: var(--serif);
  font-weight: 200;
  color: #f4f4f8;
  font-size: clamp(38px, 4vw, 56px);
}

.cta-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: var(--text-lg);
  max-width: 740px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.site-footer {
  background: rgba(12, 12, 14, 0.96);
  color: rgba(255, 255, 255, 0.78);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brandline {
  text-transform: lowercase;
  letter-spacing: 0.26em;
  font-size: 11px;
  margin-bottom: var(--space-sm);
  color: rgba(255, 255, 255, 0.65);
}

.footer-copy {
  margin: 0;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.52);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-nav a:hover {
  color: rgba(255, 255, 255, 0.94);
}

.footer-contact {
  display: grid;
  gap: 8px;
  min-width: 220px;
}

.footer-contact a {
  color: var(--white);
  font-weight: 500;
}

.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-zoom {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1.12);
  }
}

/* Portfolio Gallery */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-lg);
}

.filter-pill {
  padding: 5px 10px;
  font-size: 0.95rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  border: 1px solid rgba(12, 12, 14, 0.08);
  box-shadow: var(--shadow);
  border-radius: 10px;
}

.filter-pill.active,
.filter-pill:focus-visible {
  background: var(--teal);
  color: var(--white);
  border-color: transparent;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  gap: var(--space-lg);
  padding: var(--space-xxl) 0;
}

@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(3, minmax(250px, 1fr)); }
}

@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: repeat(2, minmax(260px, 1fr)); }
}

@media (max-width: 640px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

.portfolio-card {
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.12);
}

.portfolio-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--ghost);
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.05);
}

.portfolio-info {
  padding: var(--space-lg);
}

.portfolio-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: var(--space-xs);
}

.portfolio-info h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 200;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--ink);
}

/* Project Modal */
.project-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
}

.project-modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 12, 14, 0.52);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  height: auto;
  max-height: 85vh;
  margin: var(--space-xl);
  background: var(--dark-1);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 500px;
}

.modal-gallery {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-2);
}

/* Modal layout: main image + details */
.modal-body-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

.modal-body-grid.text-slide {
  grid-template-columns: 1fr;
}

.modal-main img {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: cover;
  border-radius: 8px;
}

.modal-text-slide {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.modal-text-slide .modal-project-title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--ink);
}

.modal-copy {
  margin: 0;
  line-height: 1.8;
  color: #333;
  font-size: 16px;
}

.modal-text-slide .project-details {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.modal-text-slide .project-details th,
.modal-text-slide .project-details td {
  text-align: left;
  padding: 8px 0;
}

.modal-text-slide .project-details th {
  width: 140px;
  font-size: 13px;
  font-weight: 700;
  color: #555;
}

.modal-text-slide .project-details td {
  color: #333;
  font-size: 15px;
}

.modal-details {
  color: var(--white);
}

.modal-project-title {
  margin: 0 0 12px 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: 22px;
}

.project-details {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px 0;
}

.project-details th {
  text-align: left;
  font-size: 12px;
  color: rgba(255,255,255,0.66);
  padding: 6px 10px 6px 0;
  vertical-align: top;
}

.project-details td {
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  padding: 6px 0;
}

.modal-others {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-others .thumb {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.modal-others .thumb img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  display: block;
}

.modal-gallery img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  z-index: 10;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(0, 0, 0, 0.40);
  border-radius: 50%;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.55);
}

.modal-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md);
  background: var(--dark-1);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-nav-btn {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.20);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-nav-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.40);
}

.modal-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Contact Form � Register 02 Warm Material */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  align-items: flex-start;
  padding: var(--space-xxl);
  background: linear-gradient(135deg, rgba(192, 57, 43, 0.04) 0%, rgba(122, 179, 200, 0.04) 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(192, 57, 43, 0.10);
}

.contact-header {
  text-align: left;
}

.contact-header h2 {
  margin: var(--space-lg) 0 var(--space-md);
  font-size: clamp(28px, 4vw, 36px);
  color: var(--ink);
}

.contact-supporting {
  font-size: var(--text-base);
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--space-lg);
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.contact-submit {
  grid-column: 1 / -1;
}

.contact-form .form-group:nth-last-child(1) {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.form-group input,
.form-group select {
  padding: 14px 16px;
  border: 1px solid rgba(192, 57, 43, 0.15);
  border-radius: var(--radius-sm);
  font-family: var(--sans);
  font-size: var(--text-base);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.60);
  backdrop-filter: blur(10px);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-group input::placeholder,
.form-group select::placeholder {
  color: rgba(82, 82, 92, 0.55);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: rgba(192, 57, 43, 0.40);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.08);
}

.contact-submit {
  margin-top: var(--space-md);
  padding: 16px 32px;
  min-width: auto;
  background: rgba(192, 57, 43, 0.85);
  color: var(--white);
}

.contact-submit:hover {
  background: rgba(192, 57, 43, 0.95);
  transform: translateY(-2px);
}

@media (max-width: 1024px) {
  .split-grid,
  .service-grid,
  .process-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(42px, 11vw, 72px);
  }

  .hero-copy,
  .section-head p,
  .project-copy p,
  .section-text,
  .cta-text {
    font-size: 1rem;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    padding-top: var(--space-sm);
  }

  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding: var(--space-xxl) 0 var(--space-lg);
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero.hero-simple h1 .hero-accent {
    white-space: normal;
  }

  .photo-frame img {
    min-height: 320px;
  }

  .service-media img,
  .project-media img {
    height: 280px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .contact-header {
    text-align: left;
  }

  .contact-header h2 {
    font-size: clamp(22px, 4vw, 28px);
  }
}


.shell {
  width: min(calc(100% - 64px), var(--max));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* -- NAV -- */
.nav {
  position: sticky; top: 0; z-index: 300;
  background: rgba(240,240,244,0.78);
  border-bottom: 1px solid var(--line-mid);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
}

.nav-inner {
  min-height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}

.brand-wrap { display: flex; align-items: center; gap: 14px; }

/* NAV mark � square with the circle/diagonal from the logo */
.brand-mark {
  width: 40px; height: 40px;
  border: 1.5px solid rgba(12,12,14,0.40);
  background: var(--glass-mid);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

.brand-mark svg { width: 26px; height: 26px; }

.brand-name {
  font-size: 10px; letter-spacing: 0.30em;
  text-transform: uppercase; font-weight: 400;
  color: var(--ink);
}

.brand-doc {
  font-size: 9px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--soft);
  margin-top: 1px;
}

.nav-tabs {
  display: flex; gap: 2px; flex-wrap: wrap;
}

.nav-tab {
  font-family: var(--sans);
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 7px 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--soft); cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 180ms ease;
}

.nav-tab:hover {
  color: var(--ink);
  background: var(--glass-mid);
  border-color: var(--line-mid);
  backdrop-filter: blur(8px);
}

.nav-tab.active {
  color: var(--ink);
  background: var(--glass-strong);
  border-color: var(--line-mid);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* -- PANELS -- */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* -- HERO -- */
.hero {
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* Dark hero section */
.hero-dark {
  background: var(--dark-1);
  padding: 110px 0 100px;
  position: relative;
  overflow: hidden;
}

/* Ambient glow orbs */
.hero-dark::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,143,168,0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}

.hero-dark::after {
  content: "";
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,57,43,0.08) 0%, transparent 70%);
  bottom: -50px; left: 10%;
  pointer-events: none;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 28px;
  font-size: 9px; letter-spacing: 0.32em;
  text-transform: uppercase; font-weight: 400;
  color: var(--teal-light);
}

.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--ember);
  border-radius: 50%;
  flex-shrink: 0;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 7.5vw, 108px);
  font-weight: 200; line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 900px;
  margin-bottom: 32px;
  color: #f4f4f8;
}

h1 em { font-style: italic; color: rgba(244,244,248,0.38); font-weight: 200; }

h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 200; line-height: 1.10;
  letter-spacing: -0.035em;
  color: var(--ink);
}

h2 em { font-style: italic; color: var(--soft); font-weight: 200; }

h2.light { color: #f4f4f8; }
h2.light em { color: rgba(244,244,248,0.36); }

h3 {
  font-family: var(--serif);
  font-size: 22px; 
  font-weight: 300;
  letter-spacing: -0.02em; 
  color: var(--ink);
  line-height: 1.3;
}

.kicker {
  font-size: 9px; 
  font-weight: 400;
  text-transform: uppercase; 
  letter-spacing: 0.28em;
  color: var(--soft); 
  margin-bottom: 12px;
}

.kicker.teal { color: var(--teal); }
.kicker.light { color: rgba(255,255,255,0.35); }

.lead {
  font-size: 17px; color: var(--muted);
  max-width: 680px; line-height: 1.70;
  font-weight: 300;
}

.lead.light { color: rgba(255,255,255,0.50); }

/* -- SECTIONS -- */
section { padding: 96px 0; }

/* Light sections */
.section-light { background: var(--base); }
.section-pearl { background: var(--pearl); }

/* Dark sections */
.section-dark {
  background: var(--dark-1);
  position: relative;
  overflow: hidden;
}

.section-dark::before {
  content: "";
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,143,168,0.09) 0%, transparent 65%);
  top: -80px; right: 5%;
  pointer-events: none;
}

.section-head {
  text-align: center;
  /* max-width: 860px; */
  margin: 0 auto 64px;
}

.section-head h2 { margin-bottom: 20px; }

.section-head p {
  font-size: 16px; color: var(--muted);
  line-height: 1.75; margin: 0 auto; font-weight: 300;
  max-width: 640px;
}

.section-head p.light { color: rgba(255,255,255,0.45); }

/* -- GLASS CARDS -- */
.glass-card {
  background: var(--glass-light);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.60);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.80), transparent);
}

.glass-card p { font-size: 14px; color: var(--muted); line-height: 1.72; margin-bottom: 10px; }
.glass-card p:last-child { margin-bottom: 0; }

/* Dark glass */
.glass-card-dark {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.glass-card-dark::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
}

.glass-card-dark p { font-size: 14px; color: rgba(255,255,255,0.50); line-height: 1.72; margin-bottom: 10px; }
.glass-card-dark p:last-child { margin-bottom: 0; }

/* Pearl card */
.pearl-card {
  background: var(--pearl);
  border: 1px solid var(--line-mid);
  border-radius: var(--radius);
  padding: 32px;
}

.pearl-card p { font-size: 14px; color: var(--muted); line-height: 1.72; margin-bottom: 10px; }
.pearl-card p:last-child { margin-bottom: 0; }

/* Ember accent */
.ember-border {
  border-left: 2px solid var(--ember);
  border-radius: 0 var(--radius) var(--radius) 0 !important;
}

/* Teal accent */
.teal-border {
  border-left: 2px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0 !important;
}

/* -- GRIDS -- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

/* -- SWATCHES -- */
.swatch-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }

.swatch {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.swatch-body { height: 72px; }

.swatch-info {
  background: var(--glass-strong);
  backdrop-filter: blur(8px);
  padding: 10px 12px;
}

.swatch-name { font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin-bottom: 2px; }
.swatch-hex { font-size: 10px; color: var(--soft); font-family: monospace; }
.swatch-role { font-size: 9px; color: var(--ghost); margin-top: 2px; line-height: 1.4; }

/* -- TYPE SPECIMENS -- */
.type-specimen {
  border-radius: var(--radius);
  border: 1px solid var(--line-mid);
  padding: 32px;
  background: var(--pearl);
  margin-bottom: 12px;
}

.type-meta {
  font-size: 9px; font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ghost); margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

/* -- DO / DON'T -- */
.dd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }

.do-card {
  border-radius: var(--radius);
  background: rgba(74,143,168,0.06);
  border: 1px solid rgba(74,143,168,0.18);
  padding: 28px;
}

.do-card .dd-label {
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}

.do-card .dd-label::before {
  content: ""; width: 6px; height: 6px;
  border-radius: 50%; background: var(--teal); flex-shrink: 0;
}

.dont-card {
  border-radius: var(--radius);
  background: var(--pearl);
  border: 1px solid var(--line-mid);
  padding: 28px;
}

.dont-card .dd-label {
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--soft); margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}

.dont-card .dd-label::before {
  content: ""; width: 6px; height: 6px;
  border-radius: 50%; background: var(--ghost); flex-shrink: 0;
}

.dd-item {
  font-size: 13px; line-height: 1.65;
  padding: 9px 0;
  border-bottom: 1px solid rgba(12,12,14,0.06);
  color: var(--muted);
}

.dd-item::before {
  content: none;
}

.do-card .dd-item { color: #1e4d5c; border-color: rgba(74,143,168,0.10); }
.do-card .dd-item::before { color: var(--teal); }
.dd-item:last-child { border-bottom: none; padding-bottom: 0; }
.dd-item strong { font-weight: 500; color: var(--ink); }
.do-card .dd-item strong { color: var(--teal-dark); }

/* -- VOICE -- */
.voice-specimen {
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 12px;
}

.voice-specimen.correct {
  background: var(--glass-light);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.60);
  border-left: 2px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-glass);
}

.voice-specimen.incorrect {
  background: var(--pearl);
  border: 1px solid var(--line);
}

.voice-label {
  font-size: 9px; font-weight: 500;
  letter-spacing: 0.20em; text-transform: uppercase;
  margin-bottom: 12px;
}

.voice-specimen.correct .voice-label { color: var(--teal); }
.voice-specimen.incorrect .voice-label { color: var(--ghost); }

.voice-text {
  font-family: var(--serif);
  font-size: 20px; font-weight: 200;
  line-height: 1.60; letter-spacing: -0.02em;
}

.voice-specimen.correct .voice-text { color: var(--ink); }
.voice-specimen.incorrect .voice-text { color: var(--ghost); text-decoration: line-through; }

.voice-reason { font-size: 12px; color: var(--soft); margin-top: 10px; line-height: 1.55; }

/* -- RULE STRIP -- */
.rule-strip {
  border-left: 2px solid var(--ember);
  padding: 6px 0 6px 20px;
  color: var(--muted);
  font-size: 14px; margin: 28px 0;
  line-height: 1.68;
}

.rule-strip strong { color: var(--ink); font-weight: 500; }

.rule-strip.light {
  border-left-color: rgba(192,57,43,0.50);
}

.rule-strip.light strong { color: rgba(255,255,255,0.80); }
.rule-strip.light { color: rgba(255,255,255,0.40); }

/* -- TABLE -- */
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th {
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--soft); font-weight: 400;
  padding: 10px 16px; text-align: left;
  border-bottom: 1px solid var(--line-mid);
  background: var(--pearl);
}
td { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--muted); vertical-align: top; }
td strong { color: var(--ink); font-weight: 500; }
tr:last-child td { border-bottom: none; }

/* -- LOGO DEMOS -- */
.logo-demo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }

.logo-demo {
  padding: 48px 32px;
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 16px;
  border-radius: var(--radius);
  border: 1px solid var(--line-mid);
}

.logo-demo.on-pearl {
  background: var(--glass-strong);
  backdrop-filter: blur(20px);
  border-color: rgba(255,255,255,0.70);
}

.logo-demo.on-dark {
  background: var(--dark-2);
  border-color: var(--line-light);
}

.logo-demo.on-base { background: var(--base); }

.amana-wm { font-family: var(--sans); font-size: 10px; letter-spacing: 0.32em; text-transform: lowercase; font-weight: 400; }
.amana-wm.light { color: var(--ink); }
.amana-wm.dark-v { color: rgba(255,255,255,0.85); }
.amana-sub-wm { font-family: var(--sans); font-size: 8px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 300; }
.amana-sub-wm.light { color: var(--soft); }
.amana-sub-wm.dark-v { color: rgba(255,255,255,0.28); }

/* -- SPACING -- */
.spacing-row { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.spacing-block { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.spacing-bar { width: 28px; background: var(--glass-mid); border: 1px solid var(--line-mid); border-radius: 3px; }
.spacing-label { font-size: 9px; letter-spacing: 0.10em; text-transform: uppercase; color: var(--soft); }

/* -- INSTAGRAM PHOTO FRAMES -- */
.insta-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }

.insta-frame {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line-mid);
  background: var(--dark-3);
}

/* Typography overlay on photo */
.photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,14,0.65) 0%, rgba(10,10,14,0.10) 55%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.photo-text {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 20px;
}

.photo-wordmark {
  font-family: var(--sans);
  font-size: 8px; letter-spacing: 0.30em;
  text-transform: lowercase; font-weight: 300;
  color: rgba(255,255,255,0.72);
}

.photo-caption-text {
  font-family: var(--serif);
  font-size: 15px; font-weight: 200;
  line-height: 1.35; color: rgba(255,255,255,0.92);
  margin-top: 4px;
  letter-spacing: -0.01em;
}

.portfolio-thumb .pill {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

.portfolio-thumb .portfolio-title {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 18px;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 260ms ease, transform 260ms ease;
  color: var(--white);
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
  pointer-events: none;
  padding: 10px 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.32));
  backdrop-filter: blur(6px) saturate(1.1);
}

.portfolio-card:hover .portfolio-thumb .portfolio-title,
.portfolio-card:focus-within .portfolio-thumb .portfolio-title {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* LinkedIn */
.li-frame {
  border-radius: var(--radius);
  border: 1px solid var(--line-mid);
  overflow: hidden;
  background: var(--pearl);
}

.li-header {
  padding: 14px 18px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--line);
  background: var(--glass-mid);
  backdrop-filter: blur(8px);
}

.li-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--dark-2);
  display: grid; place-items: center;
  font-size: 10px; color: rgba(255,255,255,0.80);
  font-weight: 400; letter-spacing: 0.05em;
  flex-shrink: 0;
}

.li-name { font-size: 12px; font-weight: 500; color: var(--ink); }
.li-title { font-size: 10px; color: var(--soft); }

.li-body { padding: 20px 18px; min-height: 180px; }

.li-text {
  font-family: var(--serif);
  font-size: 16px; line-height: 1.62;
  color: var(--ink); font-weight: 400;
}

.li-tag {
  font-size: 9px; color: var(--ghost);
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-top: 16px; font-family: var(--sans);
}

/* -- NON-NEG ITEMS -- */
.non-neg-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-light);
}

.non-neg-item:last-child { border-bottom: none; }

.non-neg-num {
  font-family: var(--serif);
  font-size: 28px; line-height: 1;
  color: rgba(255,255,255,0.10);
  flex-shrink: 0; width: 32px;
}

.non-neg-title { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.82); margin-bottom: 5px; }
.non-neg-text { font-size: 12px; color: rgba(255,255,255,0.40); line-height: 1.65; }

/* -- IDENTITY TEST -- */
.test-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--line-light); border-radius: var(--radius);
  overflow: hidden;
}

.test-item {
  background: rgba(255,255,255,0.04);
  padding: 16px 20px;
  font-size: 13px; color: rgba(255,255,255,0.50);
  line-height: 1.65;
  display: flex; gap: 10px; align-items: flex-start;
}

.test-item::before { content: "�"; color: var(--teal); flex-shrink: 0; }

/* -- MOOD PANELS -- */
.mood-slab {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.mood-dark-panel {
  background: var(--dark-2);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end;
}

.mood-dark-panel::before {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,143,168,0.14) 0%, transparent 65%);
  top: -80px; right: -60px;
}

.mood-light-panel {
  background: var(--pearl);
  padding: 56px 48px;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex; flex-direction: column; justify-content: flex-end;
}

.mood-ghost-text {
  position: absolute;
  top: 24px; right: 40px;
  font-family: var(--serif);
  font-size: clamp(100px, 14vw, 180px);
  font-weight: 300; line-height: 0.85;
  letter-spacing: -0.04em;
  pointer-events: none; user-select: none;
}

.mood-colours { display: flex; height: 8px; border-radius: 0 0 var(--radius) var(--radius); overflow: hidden; }
.mood-colour { flex: 1; }

.mood-info-strip {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--line-mid);
}

.mood-info-cell {
  padding: 24px 28px;
  border-right: 1px solid var(--line-mid);
}

.mood-info-cell:last-child { border-right: none; }

/* -- FOOTER -- */
.footer {
  background: var(--dark-1);
  padding: 48px 0 72px;
}

.footer-inner {
  display: flex; justify-content: space-between;
  align-items: flex-end; gap: 24px; flex-wrap: wrap;
}

.footer-brand { font-size: 0.6rem; letter-spacing: 0.30em; text-transform: lowercase; color: rgba(255,255,255,0.60); margin-bottom: 6px; font-family: var(--sans); }
.footer-note { font-size: 12px; color: rgba(255,255,255,0.25); max-width: 560px; line-height: 1.6; font-weight: 300; }
.footer-right { font-size: 9px; color: rgba(255,255,255,0.20); text-align: right; letter-spacing: 0.14em; line-height: 2.0; text-transform: uppercase; }

/* -- RESPONSIVE -- */
@media (max-width: 1100px) {
  .section-head, .grid-2, .dd-grid, .logo-demo-row { grid-template-columns: 1fr; }
  .grid-3, .insta-row { grid-template-columns: 1fr 1fr; }
  .swatch-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .shell { width: calc(100% - 32px); }
  h1 { font-size: clamp(44px, 12vw, 80px); }
  .hero-dark { padding: 72px 0 60px; }
  section { padding: 64px 0; }
  .grid-3, .insta-row, .grid-4 { grid-template-columns: 1fr; }
  .swatch-row { grid-template-columns: repeat(2, 1fr); }
  .glass-card, .pearl-card, .glass-card-dark { padding: 22px; }
}
.contact-wrapper{
    padding: var(--space-md);
}

/* =====================================
   BOOTSTRAP 4 SPACING UTILITIES
===================================== */

/* Margin */

.m-0 { margin: 0 !important; }
.m-1 { margin: .25rem !important; }
.m-2 { margin: .5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: .25rem !important; }
.mt-2 { margin-top: .5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: .25rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }

.ml-0 { margin-left: 0 !important; }
.ml-1 { margin-left: .25rem !important; }
.ml-2 { margin-left: .5rem !important; }
.ml-3 { margin-left: 1rem !important; }
.ml-4 { margin-left: 1.5rem !important; }
.ml-5 { margin-left: 3rem !important; }

.mr-0 { margin-right: 0 !important; }
.mr-1 { margin-right: .25rem !important; }
.mr-2 { margin-right: .5rem !important; }
.mr-3 { margin-right: 1rem !important; }
.mr-4 { margin-right: 1.5rem !important; }
.mr-5 { margin-right: 3rem !important; }

.mx-auto {
    margin-left: auto !important;
    margin-right: auto !important;
}


/* Padding */

.p-0 { padding: 0 !important; }
.p-1 { padding: .25rem !important; }
.p-2 { padding: .5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.pt-0 { padding-top: 0 !important; }
.pt-1 { padding-top: .25rem !important; }
.pt-2 { padding-top: .5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }

.pb-0 { padding-bottom: 0 !important; }
.pb-1 { padding-bottom: .25rem !important; }
.pb-2 { padding-bottom: .5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 3rem !important; }

.pl-0 { padding-left: 0 !important; }
.pl-1 { padding-left: .25rem !important; }
.pl-2 { padding-left: .5rem !important; }
.pl-3 { padding-left: 1rem !important; }
.pl-4 { padding-left: 1.5rem !important; }
.pl-5 { padding-left: 3rem !important; }

.pr-0 { padding-right: 0 !important; }
.pr-1 { padding-right: .25rem !important; }
.pr-2 { padding-right: .5rem !important; }
.pr-3 { padding-right: 1rem !important; }
.pr-4 { padding-right: 1.5rem !important; }
.pr-5 { padding-right: 3rem !important; }


/* =====================================
   DISPLAY
===================================== */

.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-none { display: none !important; }


/* =====================================
   FLEX UTILITIES
===================================== */

.flex-row {
    flex-direction: row !important;
}

.flex-column {
    flex-direction: column !important;
}

.flex-wrap {
    flex-wrap: wrap !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.align-items-center {
    align-items: center !important;
}


/* =====================================
   WIDTH / HEIGHT
===================================== */

.w-25 { width: 25% !important; }
.w-50 { width: 50% !important; }
.w-75 { width: 75% !important; }
.w-100 { width: 100% !important; }

.h-100 { height: 100% !important; }


/* =====================================
   TEXT
===================================== */

.text-left { text-align: left !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }

.font-weight-light {
    font-weight: 300 !important;
}

.font-weight-normal {
    font-weight: 400 !important;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.font-italic {
    font-style: italic !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}


/* =====================================
   FONT SIZE
===================================== */

.small {
    font-size: 80% !important;
}


/* =====================================
   COLORS / BACKGROUND
===================================== */

.bg-dark {
    background-color: #343a40 !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.bg-white {
    background-color: #fff !important;
}

.text-white {
    color: #fff !important;
}

.text-dark {
    color: #343a40 !important;
}

.text-muted {
    color: #6c757d !important;
}


/* =====================================
   BORDER / RADIUS / SHADOW
===================================== */

.border {
    border: 1px solid #dee2e6 !important;
}

.border-0 {
    border: 0 !important;
}

.rounded {
    border-radius: .25rem !important;
}

.rounded-circle {
    border-radius: 50% !important;
}

.shadow {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}


/* =====================================
   POSITION
===================================== */

.position-relative {
    position: relative !important;
}

.position-absolute {
    position: absolute !important;
}

.top-0 { top: 0 !important; }
.right-0 { right: 0 !important; }
.bottom-0 { bottom: 0 !important; }
.left-0 { left: 0 !important; }

/* Hamburger Toggle Button Styling */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 200;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #0c0c0e;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
/* X transformation states */
.mobile-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.is-active span:nth-child(2) { opacity: 0; }
.mobile-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay Drawer Menu Layout */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #f7f7f5;
  z-index: 150;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.mobile-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  text-align: center;
}
.mobile-nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: #0c0c0e;
  text-decoration: none;
  letter-spacing: 1px;
}

/* Breakpoint adjustments for standard mobile contexts */
@media (max-width: 768px) {
  .nav-tabs {
	display: none !important;
  }
  .mobile-toggle {
	display: block !important;
  }
  .brand-doc {
	display: none;
  }
}
.josefin-font{
    font-family: 'Josefin Sans', sans-serif;
}

.df-ui-btn.df-ui-share,
.df-ui-btn.df-ui-download,
.df-ui-btn.df-ui-sound{
    display: none !important;
}


/* --- STRUCTURAL & LAYOUT ALIGNMENTS --- */
    .section-head .kicker {
      margin-bottom: 16px;
    }

    .section-head.head-spaced {
      margin-bottom: var(--space-xl, 48px);
    }

    /* --- MASTER CARD STACK LAYOUT ENGINE --- */
    .about-cards-stack {
      display: flex; 
      gap: var(--space-md, 24px); 
      width: 100%;
    }

    .statement-card {
      display: flex; 
      width: 100%; 
      align-items: stretch; 
      background-color: var(--white, #ffffff); 
      border: 1px solid var(--line-strong, #e1e1e1); 
      box-shadow: var(--shadow-glass, 0 8px 32px rgba(0,0,0,0.04)); 
      border-radius: 10px;
      overflow: hidden;
    }

    /* Left side title config */
    .card-mission {
      border-top-left-radius: 40px;
      border-bottom-left-radius: 40px;
    }

    .card-mission .card-label-column {
      border-right: 2px solid var(--teal);
    }

    /* Right side title config */
    .card-vision {
      flex-direction: row-reverse;
      border-top-right-radius: 40px;
      border-bottom-right-radius: 40px;
    }

    .card-vision .card-label-column {
      border-left: 2px solid var(--teal);
    }

    /* Common Card Columns */
    .card-label-column {
      flex: 0 0 20%; 
      max-width: 20%; 
      background: #0e0f12; 
      padding: var(--space-xl, 40px) var(--space-md, 24px); 
      display: flex; 
      align-items: center; 
      justify-content: center; 
      box-sizing: border-box;
    }

    .card-label-column .type-meta {
      margin: 0; 
      text-transform: uppercase; 
      letter-spacing: 2px; 
      font-size: 12px; 
      color: #ffffff; 
      font-weight: 500; 
      text-align: center;
    }

    .card-content-block {
      flex: 0 0 80%; 
      max-width: 80%; 
      padding: var(--space-xl, 40px); 
      display: flex; 
      align-items: center; 
      box-sizing: border-box;
    }

    .card-content-block .text-wrapper {
      font-size: var(--text-lg); 
      font-weight: 200; 
      line-height: 1.25; 
      letter-spacing: -0.02em; 
      color: var(--ink);
    }

    /* --- MOOD MODULE COMPONENT STYLES --- */
    .mood-slab.glass-card {
      background: linear-gradient(135deg, rgba(74, 143, 168, 0.08), rgba(255, 255, 255, 0.50));
    }

    .mood-ghost-text {
      color: rgba(12,12,14,0.03);
    }

    .mood-content-inner {
      position: relative; 
      z-index: 2;
    }

    .mood-heading {
      font-size: clamp(28px, 4vw, 50px); 
      font-weight: 200; 
      line-height: 1.05; 
      color: var(--ink); 
      margin-bottom: 18px; 
      letter-spacing: -0.015em;
    }

    .mood-heading em {
      color: var(--soft);
    }

    .mood-description {
      font-size: 14px; 
      color: var(--muted); 
      line-height: 1.72; 
      max-width: 560px; 
      font-weight: 300; 
      margin-bottom: 28px;
    }

    /* --- GLOBAL FOOTER CONTROLS --- */
    .footer.tab-panel.active {
      display: block !important;
    }

    /* --- RESPONSIVE LAYOUT ENGINE BREAKPOINTS --- */
    @media (max-width: 991px) {
      .about-cards-stack {
        flex-direction: column;
      }
    }

    @media (max-width: 768px) {
      .about-cards-stack {
        gap: var(--space-md, 24px);
      }

      .statement-card.card-mission,
      .statement-card.card-vision {
        flex-direction: column !important;
        border-radius: 16px !important;
      }

      .statement-card .card-label-column,
      .statement-card .card-content-block {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: var(--space-md, 24px) !important;
      }

      .statement-card .card-label-column {
        justify-content: flex-start !important;
        border-right: none !important;
        border-left: none !important;
      }

      .statement-card .card-content-block .text-wrapper {
        font-size: 19px !important;
      }
    }