/* Klime v7 - exact match to Paper design */

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: #FDFDFC;
  overscroll-behavior-y: none;
}

body {
  margin: 0;
  background: #FDFDFC;
  color: #121212;
  font-family: 'Inter Display', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}



/* Grain overlay */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1000;
  opacity: 0.08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='260' height='260'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.45 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 260px 260px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
main { display: block; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Inter Display', system-ui, sans-serif;
  font-weight: 500; font-size: 16px; letter-spacing: -0.01em;
  padding: 16px 26px; border-radius: 7px;
  text-decoration: none; border: 0; cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s, opacity 0.2s;
  white-space: nowrap; line-height: 20px;
}
.btn:active { transform: scale(0.98); }
.btn-sm  { font-size: 13px; padding: 9px 16px; }
.btn-lg  { font-size: 16px; padding: 16px 26px; }
.btn-block { width: 100%; justify-content: center; }

.btn-dark { background: #060606; color: #fff; }
.btn-dark:hover { background: #1a1a1a; }

/* Outline - grey border, dark text. Used in hero */
.btn-outline {
  background: transparent; color: #000;
  outline: 1px solid #B7B7B7;
  border-radius: 7px;
}
.btn-outline:hover { outline-color: #666; }

/* White - solid white bg with dark text. Footer primary */
.btn-white {
  background: #fff; color: #000;
  border-radius: 10px; padding: 16px 26px;
}
.btn-white:hover { background: #f0f0f0; }

/* Ghost - dark grey bg, white text. Footer secondary (email) */
.btn-ghost {
  background: #333; color: #fff;
  border-radius: 10px; padding: 16px 26px;
  border: 1px solid rgba(6,6,6,0.14);
}
.btn-ghost:hover { background: #444; }

.btn svg { transition: transform 0.2s; flex-shrink: 0; }
.btn:hover svg { transform: translateX(3px); }

/* ============ NAV ============ */
.nav-wrap {
  position: sticky; top: 0; z-index: 1001;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(6,6,6,0.09);
  margin-top: calc(-1 * env(safe-area-inset-top));
  padding: 12px 0;
  padding-top: calc(12px + env(safe-area-inset-top));
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
}
.nav {
  max-width: 1200px; width: 100%;
  display: flex; flex-direction: row;
  align-items: center; justify-content: space-between;
  padding: 0 30px;
}
.nav-logo img { height: 20px; width: auto; }
.nav-links { display: flex; gap: 30px; }
.nav-links a {
  color: #505358; font-size: 15px; font-weight: 500;
  letter-spacing: -0.01em; line-height: 20px;
  transition: color 0.15s;
}
.nav-links a:hover { color: #060606; }

/* Nav book-a-call: override to be clearly visible on white nav */
.nav-wrap .btn-dark { background: #060606; color: #fff; }
.nav-wrap .btn-dark:hover { background: #1a1a1a; }

/* ============ HERO ============ */
.hero {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  padding: 60px 30px 0;
}
.hero-row {
  display: flex; flex-direction: row;
  align-items: center; justify-content: space-between;
  gap: 48px; width: 100%;
}
.hero-content {
  display: flex; flex-direction: column;
  align-items: flex-start; flex: 1 1 auto; min-width: 0;
}
.hero-3d {
  flex: 0 0 auto;
  width: 320px; aspect-ratio: 1 / 1;
  border-radius: 16px; overflow: hidden;
  background: transparent;
}
.hero-3d iframe {
  width: 100%; height: 100%;
  border: 0; display: block; background: transparent;
}
@media (max-width: 960px) {
  .hero-row { flex-direction: column; align-items: flex-start; gap: 32px; }
  .hero-3d { display: none; }
}

/* Clutch badge: vertical stack (not a pill) */
.clutch-badge {
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 4px;
  margin-bottom: 28px;
  text-decoration: none;
}
.clutch-name {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 28px; font-weight: 500; letter-spacing: -0.02em;
  color: #060606; line-height: 1;
}
.clutch-meta { display: flex; align-items: center; gap: 8px; }
.clutch-score {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: -0.02em;
  color: #060606; line-height: 16px;
}
.clutch-stars {
  font-size: 13px; font-weight: 400; letter-spacing: 1px;
  color: #EF4135; line-height: 16px;
}

.hero-title {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-weight: 500; font-size: 58px;
  line-height: 60px; letter-spacing: -1.5px;
  color: #121212; margin: 0 0 20px;
  font-feature-settings: "blwf", "cv03", "cv04", "cv09", "cv11";
}

.hero-lede {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 16px; font-weight: 500; letter-spacing: -0.16px;
  line-height: 19.2px; color: #505358;
  margin: 0 0 32px; max-width: 52ch;
}

.hero-actions {
  display: flex; align-items: center;
  gap: 18px; align-self: stretch;
}

.br-hide { display: none; }

/* Full-bleed waveform */
.waveform-wrap {
  position: relative; left: 50%;
  width: 100vw; transform: translateX(-50%);
  margin-top: 42px; line-height: 0; overflow: hidden;
}
.waveform-svg { display: block; width: 100%; overflow: visible; }

/* ============ VALUES ============ */
.values {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column;
  width: 100%;
  padding: 60px 30px;
}

.values-split {
  display: flex; gap: 90px;
  margin-bottom: 72px; align-items: center;
}
.values-split-head { flex: 1 1 0%; }
.values-split-body { flex: 1 1 0%; padding-top: 10px; }

.values-title {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 50px; font-weight: 500; letter-spacing: -1.5px;
  line-height: 60px; color: #121212; margin: 0;
  font-feature-settings: "blwf", "cv03", "cv04", "cv09", "cv11";
}

.values-lede {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 18px; font-weight: 400; letter-spacing: -0.16px;
  line-height: 19.2px; color: #505358; margin: 0;
}

.principles {
  display: flex;
  width: 100%;
  border-top: 1px solid rgba(6,6,6,0.09);
}
.principle {
  flex: 1 1 0%;
  min-width: 0;
  display: flex; flex-direction: column;
  padding: 36px 24px;
  border-left: 1px solid rgba(6,6,6,0.09);
  border-bottom: 1px solid rgba(6,6,6,0.09);
  border-right: 1px solid rgba(6,6,6,0.09);
}
.principle-icon {
  width: 48px; height: 48px;
  object-fit: contain; border-radius: 12px;
  margin-bottom: 32px; flex-shrink: 0;
}
.principle:nth-child(4) .principle-icon {
  width: 40px; height: 40px;
  margin-top: 4px; margin-bottom: 36px;
}
.principle-t {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 20px; font-weight: 500; letter-spacing: -0.02em;
  line-height: 24px; color: #060606; margin: 0 0 10px;
}
.principle-d {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 16px; font-weight: 500; letter-spacing: -0.16px;
  line-height: 19.2px; color: rgba(18,18,18,0.5); margin: 0;
}

/* ============ WORK ============ */
.work {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column;
  padding: 60px 30px;
}

.work-split {
  display: flex; gap: 96px;
  margin-bottom: 64px; align-items: flex-start;
}
.work-split-head { flex: 1 1 0%; }
.work-split-body { flex: 1 1 0%; padding-top: 10px; }

.work-title {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 50px; font-weight: 500; letter-spacing: -1.5px;
  line-height: 60px; color: #121212; margin: 0;
  font-feature-settings: "blwf", "cv03", "cv04", "cv09", "cv11";
}

.work-lede {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 18px; font-weight: 400; letter-spacing: -0.16px;
  line-height: 19.2px; color: #505358; margin: 0;
}

.work-grid { display: flex; flex-wrap: wrap; gap: 48px; }

.case {
  flex: 1 1 0%; min-width: 45%;
  display: flex; flex-direction: column; gap: 18px;
  text-decoration: none; color: inherit;
}

/* All case media: bone bg with centered "klime" watermark text */
.case-media {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background: #F5F2ED;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
  transition: opacity 0.3s;
}
.case:hover .case-media { opacity: 0.88; }
.case-media::after {
  content: "";
}
.case-media--1 {
  background-image: url('assets/Soratem_outside.png');
  background-size: cover;
  background-position: center;
}
.case-media--2 {
  background-image: url('assets/Hitonem.png');
  background-size: cover;
  background-position: center;
}
.case-media--3 {
  background-image: url('assets/Aiome.png');
  background-size: cover;
  background-position: center;
}
.case-media--4 {
  background-image: url('assets/Axiom.png');
  background-size: cover;
  background-position: center;
}

.case-meta {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; padding: 10px 0; width: 100%;
}
.case-name {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 16px; font-weight: 500; letter-spacing: -0.16px;
  line-height: 19.2px; color: #121212;
}
.case-tag {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 16px; font-weight: 500; letter-spacing: -0.16px;
  line-height: 19.2px; color: #000;
  background: #ECECEC; padding: 5px 10px; border-radius: 0;
}
@media (hover: hover) and (min-width: 961px) {
  .case .case-tag {
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 200ms ease, transform 200ms ease;
    pointer-events: none;
  }
  .case:hover .case-tag,
  .case:focus-visible .case-tag {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============ PROCESS ============ */
.process {
  background: #FDFDFC;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding: 120px 60px; gap: 60px; overflow: hidden;
  width: 100%;
}

.process-head {
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  width: 100%; overflow: hidden;
}

.process-title {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 60px; font-weight: 500; letter-spacing: -1.5px;
  line-height: 60px; text-align: center; color: #121212; margin: 0;
  font-feature-settings: "blwf", "cv03", "cv04", "cv09", "cv11";
}

.process-sub {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 28px; font-weight: 400; letter-spacing: -1.4px;
  line-height: 60px; text-align: center; color: #979797; margin: 0;
  font-feature-settings: "blwf", "cv03", "cv04", "cv09", "cv11";
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(50px, 1fr));
  grid-template-rows: repeat(2, min-content);
  max-width: 900px; width: 100%; gap: 20px;
}

.process-card {
  position: relative;
  aspect-ratio: 1.30455;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-start;
  padding: 20px; border-radius: 4px;
  overflow: hidden; width: 100%;
  background: #F4F4F4;
}
.process-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg,
    oklab(98.4% -0.0009 -0.004) 0%,
    oklab(93.3% -0.010 -0.030) 37%,
    oklab(67.3% -0.058 -0.145) 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.process-card:hover::before,
.process-card--blue::before { opacity: 1; }
.process-card-header {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; max-width: 400px; flex-shrink: 0; overflow-wrap: break-word;
  position: relative; z-index: 1;
}

.process-day {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 16px; font-weight: 500; letter-spacing: -0.16px;
  line-height: 19.2px; color: #121212;
}

.process-tag {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 16px; font-weight: 500; letter-spacing: -0.16px;
  line-height: 19.2px; color: #fff;
  background: #000; padding: 2px 6px; border-radius: 3px;
}

.process-desc {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 16px; font-weight: 500; letter-spacing: -0.16px;
  line-height: 19.2px; color: rgba(18,18,18,0.5); margin: 0;
  align-self: flex-start; margin-top: auto;
  max-width: 400px; width: 100%;
  position: relative; z-index: 1;
  transition: color 0.45s ease;
}
.process-card:hover .process-desc,
.process-card--blue .process-desc { color: #061B31; }

/* ============ PRICING ============ */
.pricing {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 120px 60px; gap: 60px; overflow: hidden;
  width: 100%;
  background: linear-gradient(in oklab 180deg,
    oklab(99.4% -0.0004 0.001) 0%,
    oklab(93.3% -0.010 -0.030) 49.22%,
    oklab(67.2% -0.057 -0.146) 100%);
}

.pricing-head {
  display: flex; flex-direction: column;
  align-items: center; width: 100%; max-width: 640px;
}

.pricing-title {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 60px; font-weight: 500; letter-spacing: -1.5px;
  line-height: 60px; text-align: center; color: #000; margin: 0;
  font-feature-settings: "blwf", "cv03", "cv04", "cv09", "cv11";
}

.pricing-sub {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 28px; font-weight: 400; letter-spacing: -1px;
  line-height: 60px; text-align: center; color: #979797; margin: 0;
  font-feature-settings: "blwf", "cv03", "cv04", "cv09", "cv11";
}

.pricing-card {
  flex: 1; max-width: 823px; width: 100%;
  display: flex; flex-direction: column;
  padding: 30px; border-radius: 7px; gap: 20px;
  background: linear-gradient(in oklab 180deg,
    oklab(98.4% -0.0009 -0.004) 0%,
    oklab(93.3% -0.010 -0.030) 60.94%,
    oklab(67.2% -0.057 -0.146) 100%);
  border: 1px solid rgba(185,205,225,0.5);
}

.pc-price {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 50px; font-weight: 500; letter-spacing: -1.5px;
  line-height: 60px; color: #000; margin: 0;
  font-feature-settings: "blwf", "cv03", "cv04", "cv09", "cv11";
}

.pc-term {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 18px; font-weight: 400; letter-spacing: -0.01em;
  line-height: 1.4; color: #4F5155; margin: 4px 0 0;
}

.pc-note {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 16px; font-weight: 500; letter-spacing: -0.16px;
  line-height: 19.2px; color: rgba(18,18,18,0.5); margin: 0;
}

.pc-items { display: flex; flex-direction: column; }
.pc-item {
  display: flex; gap: 24px; padding: 20px 0;
  border-bottom: 1px solid rgba(6,6,6,0.09);
}
.pc-item:last-child { border-bottom: 0; }
.pc-item-label {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 16px; font-weight: 500; letter-spacing: -0.16px;
  line-height: 19.2px; color: #121212; flex: 0 0 180px;
  display: inline-flex; align-items: center; gap: 10px;
}
.pc-item-icon { flex-shrink: 0; color: #121212; }
.pc-item-desc {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 16px; font-weight: 500; letter-spacing: -0.16px;
  line-height: 19.2px; color: rgba(18,18,18,0.5); flex: 1;
}

/* Pricing Book a call - overrides base btn-dark */
.pricing-card .btn-dark {
  background: #000; color: #fff;
  border-radius: 5px; font-size: 20px; line-height: 24px;
  width: 100%; justify-content: center;
  box-shadow: 0 14px 34px rgba(24,124,255,0.35);
  border: 0;
}
.pricing-card .btn-dark:hover { background: #1a1a1a; }

/* ============ FAQ ============ */
.faq {
  background: #FDFDFC;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  padding: 120px 50px; gap: 50px; overflow: hidden;
  width: 100%;
}

.faq-head {
  display: flex; flex-direction: column;
  align-items: center; width: 100%; max-width: 640px; gap: 0;
}

.faq-eyebrow {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 16px; font-weight: 500; letter-spacing: -0.16px;
  line-height: 19.2px; color: #121212;
  text-align: center; margin: 0 0 8px;
}

.faq-title {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 40px; font-weight: 500; letter-spacing: -1.5px;
  line-height: 60px; text-align: center; color: #121212; margin: 0;
  font-feature-settings: "blwf", "cv03", "cv04", "cv09", "cv11";
}

.faq-list {
  display: flex; flex-direction: column;
  width: 100%; max-width: 900px; gap: 14px; align-items: center;
}

/* Each FAQ item is a <details> element */
.faq-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 12px;
  padding: 20px 24px; width: 800px; max-width: 100%;
  border-radius: 5px;
  background: #F5F5F5; outline: 1px solid #E8E8E8;
  margin-bottom: 0;
}
details[open].faq-item { background: #fff; }

.faq-q {
  display: flex; flex-direction: row;
  align-items: center; justify-content: space-between;
  align-self: stretch; cursor: pointer; list-style: none;
  padding: 0; margin: 0;
}
.faq-q::-webkit-details-marker { display: none; }
summary.faq-q { list-style: none; }

.faq-q span:first-child {
  font-family: 'DM Mono', ui-monospace, 'SF Mono', Consolas, monospace;
  font-size: 16px; font-weight: 400; text-transform: uppercase;
  letter-spacing: -0.03em; color: #808080; line-height: 20px;
  flex: 1; text-align: left;
}

.faq-icon {
  font-family: 'DM Mono', ui-monospace, monospace;
  font-size: 20px; font-weight: 400; letter-spacing: -0.03em;
  color: #808080; line-height: 24px; flex-shrink: 0;
  transition: transform 0.3s;
}
details[open] .faq-icon { transform: rotate(45deg); }

.faq-a {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px; font-weight: 500; letter-spacing: -0.02em;
  line-height: 20px; color: #252525; margin: 0;
  align-self: flex-start;
}

/* ============ FOOTER ============ */
.footer {
  background: #100E0E;
  display: flex; flex-direction: column;
  padding: 100px 32px 32px; width: 100%;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  max-width: 1200px; align-self: center; width: 100%;
  display: flex; align-items: flex-start;
  padding-bottom: 80px; gap: 96px;
}

.footer-mark {
  flex: 1 1 0%;
  display: flex; align-items: flex-start;
  align-self: stretch;
  min-height: 380px;
  margin-top: -60px;
}
.footer-mark iframe {
  width: 100%; height: 100%; min-height: 380px;
  border: 0; display: block; background: transparent;
}

.footer-content {
  flex: 1.2 1 0%;
  display: flex; flex-direction: column; gap: 30px;
}

.footer-title {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 48px; font-weight: 500; letter-spacing: -1.5px;
  line-height: 60px; color: #fff; margin: 0;
  font-feature-settings: "blwf", "cv03", "cv04", "cv09", "cv11";
}

.footer-actions {
  display: flex; flex-wrap: wrap;
  gap: 10px; margin-bottom: 42px;
}

.footer-social {
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-social-inner {
  display: flex; flex-direction: row;
  align-items: center; padding: 24px 0 0; gap: 0;
}
.footer-social-label {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 12px; font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.1em; color: #BCBCBC; line-height: 16px;
  min-width: 180px; flex-shrink: 0;
}
.footer-social-links { display: flex; gap: 18px; }
.footer-social-links a {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 15.5px; font-weight: 400; letter-spacing: -0.01em;
  color: #fff; line-height: 20px;
  transition: opacity 0.15s;
}
.footer-social-links a:hover { opacity: 0.7; }

.footer-bot {
  max-width: 1200px; align-self: center; width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-copy {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 12.5px; font-weight: 400; letter-spacing: 0.02em;
  color: #898989; line-height: 16px;
}
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-family: 'Inter Display', system-ui, sans-serif;
  font-size: 12.5px; font-weight: 400; letter-spacing: 0.02em;
  color: #898989; line-height: 16px;
  transition: color 0.15s;
}
.footer-links a:hover { color: rgba(255,255,255,0.7); }

/* ============ REVEALS ============ */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(.2,.7,.2,1),
              transform 0.7s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--rd, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE - 960px ============ */
@media (max-width: 960px) {
  .nav-links { display: none; }

  .values-split { flex-direction: column; gap: 24px; }
  .values-split-head, .values-split-body { flex: none; width: 100%; }

  .principles {
    flex-direction: column;
    /* Keep visible side borders in stacked layout */
    border-left: 1px solid rgba(6,6,6,0.09);
    border-right: 1px solid rgba(6,6,6,0.09);
    border-bottom: 1px solid rgba(6,6,6,0.09);
  }
  .principle {
    width: 100% !important;
    border-left: none !important; border-right: none !important;
    border-bottom: 1px solid rgba(6,6,6,0.09) !important;
    padding: 28px 24px !important;
  }
  .principle:last-child { border-bottom: none !important; }

  .work-split { flex-direction: column; gap: 20px; }
  .work-split-head, .work-split-body { flex: none; width: 100%; }
  .work-grid { gap: 32px; }
  .case { min-width: 100%; }

  .process { padding: 80px 30px; }
  .process-grid { grid-template-columns: 1fr 1fr; }

  .pricing { padding: 80px 30px; }
  .pricing-card { max-width: 100%; }
  .pc-item { flex-direction: column; gap: 4px; }
  .pc-item-label { flex: none; }

  .faq { padding: 80px 30px; }
  .faq-item { width: 100%; }

  .footer-inner { flex-direction: column; gap: 16px; padding-bottom: 40px; }
  .footer { padding: 48px 32px 24px; }
  .footer-mark { margin-top: 0; min-height: 220px; }
  .footer-mark iframe { min-height: 220px; }
}

/* ============ RESPONSIVE - 640px ============ */
@media (max-width: 640px) {
  .hero { padding: 40px 20px; }
  .hero-title { font-size: clamp(36px, 10vw, 58px); line-height: 1.05; letter-spacing: -1px; }

  .values { padding: 40px 20px; }
  .work { padding: 40px 20px; }
  .work-grid { gap: 24px; }
  .case { min-width: 100%; }

  .process { padding: 60px 20px; gap: 40px; }
  .process-title { font-size: clamp(36px, 9vw, 60px); line-height: 1.05; letter-spacing: -1px; }
  .values-title { font-size: clamp(36px, 9vw, 60px); line-height: 1.05; letter-spacing: -1px; }
  .work-title { font-size: clamp(36px, 9vw, 60px); line-height: 1.05; letter-spacing: -1px; }
  .process-sub { font-size: 20px; line-height: 1.4; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card { aspect-ratio: auto; min-height: 160px; }

  .pricing { padding: 60px 20px; gap: 40px; }
  .pricing-title { font-size: clamp(36px, 9vw, 60px); line-height: 1.05; letter-spacing: -1px; }
  .pricing-sub { font-size: 20px; line-height: 1.4; }
  .pricing-card { padding: 24px; gap: 16px; }
  .pc-term { font-size: 15px; line-height: 1.4; }
  .pc-note { font-size: 15px; line-height: 1.4; }
  .pc-item { flex-direction: column; gap: 6px; padding: 16px 0; }
  .pc-item-label { flex: 0 0 auto; }

  .faq { padding: 60px 20px; gap: 36px; }
  .faq-title { font-size: 32px; line-height: 1.2; letter-spacing: -1px; }

  .footer { padding: 60px 20px 24px; }
  .footer-title { font-size: clamp(32px, 8vw, 48px); line-height: 1.15; letter-spacing: -1px; }
  .footer-bot { flex-direction: column; align-items: flex-start; gap: 8px; }

  .nav-wrap { padding: 20px 0; }
  .nav { padding: 0 20px; }
}

@media (min-width: 641px) {
  .br-hide { display: initial; }
}
