/* Koumuten prototype — local styles */
* { box-sizing: border-box; }
body { margin: 0; background: #fff; }
img { max-width: 100%; display: block; }

/* ---------- Top utility bar ---------- */
.kt-utility {
  background: var(--blue-900); color: #fff; font-size: 12px;
  padding: 6px 24px; display: flex; justify-content: center; gap: 24px;
  letter-spacing: 0.04em;
}
.kt-utility a { color: var(--terracotta-300); text-decoration: none; }

/* ---------- Header ---------- */
.kt-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border-subtle);
}
.kt-header__inner {
  max-width: 1280px; margin: 0 auto; padding: 14px 28px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
}
.kt-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.kt-brand__mark { width: 40px; height: 40px; flex: 0 0 auto; }
.kt-brand__name { font-weight: 700; font-size: 17px; color: var(--fg-1); letter-spacing: 0.02em; line-height: 1.1; }
.kt-brand__sub { font-size: 10px; color: var(--fg-3); letter-spacing: 0.16em; margin-top: 3px; }
.kt-nav { display: flex; gap: 28px; justify-content: center; }
.kt-nav a {
  font-size: 13px; font-weight: 600; color: var(--fg-1); text-decoration: none;
  letter-spacing: 0.06em; padding: 6px 0; position: relative;
}
.kt-nav a::after {
  content: ""; position: absolute; left: 50%; right: 50%; bottom: -2px; height: 2px;
  background: var(--color-accent); transition: left .2s, right .2s;
}
.kt-nav a:hover::after { left: 0; right: 0; }
.kt-nav small { display: block; font-size: 9px; font-weight: 500; color: var(--fg-3); letter-spacing: 0.12em; margin-top: 2px; }
.kt-header__cta { display: flex; gap: 10px; align-items: center; }
.kt-header__cta .btn { padding: 10px 16px; font-size: 13px; }

/* ---------- Hero ---------- */
.kt-hero { background: #fff; }
.kt-hero__inner {
  max-width: 1280px; margin: 0 auto; padding: 56px 28px 80px;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center;
}
.kt-hero__copy { padding-right: 8px; }
.kt-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 12px;
  color: var(--fg-3); letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 22px;
}
.kt-hero__eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--color-accent);
}
.kt-hero__title {
  font-size: clamp(34px, 4.2vw, 52px); font-weight: 700; line-height: 1.4;
  color: var(--fg-1); letter-spacing: 0.01em; margin: 0 0 28px;
}
.kt-hero__title em { font-style: normal; color: var(--color-accent); }
.kt-hero__title span { display: block; }
.kt-hero__lead { font-size: 15px; line-height: 2; color: var(--fg-2); margin: 0 0 36px; max-width: 26em; }
.kt-hero__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 36px; }
.kt-hero__cta .btn { justify-content: center; padding: 18px 12px; font-size: 14px; flex-direction: column; gap: 4px; }
.kt-hero__cta .btn small { font-size: 11px; font-weight: 500; opacity: 0.85; }
.kt-hero__cta .btn-line { background: #06c755; color: #fff; }
.kt-hero__cta .btn-line:hover { background: #05a648; }
.kt-hero__cta .btn-mail { background: var(--color-primary); color: #fff; }
.kt-hero__cta .btn-mail:hover { background: var(--color-primary-hover); }
.kt-hero__stats { display: flex; gap: 32px; padding-top: 24px; border-top: 1px solid var(--border-subtle); }
.kt-hero__stats > div { display: flex; flex-direction: column; }
.kt-hero__stats b { font-size: 26px; color: var(--color-primary); font-weight: 700; line-height: 1; }
.kt-hero__stats span { font-size: 11px; color: var(--fg-3); margin-top: 5px; letter-spacing: 0.04em; }

.kt-hero__photo { position: relative; aspect-ratio: 4/5; }
.kt-hero__photo-frame { width: 100%; height: 100%; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); }
.kt-hero__photo-frame svg { width: 100%; height: 100%; }
.kt-hero__photo-mark {
  position: absolute; left: -28px; top: 28px; background: var(--blue-900); color: #fff;
  padding: 14px 20px; border-radius: var(--radius-md); font-size: 12px; line-height: 1.7;
  box-shadow: var(--shadow-md); writing-mode: vertical-rl; letter-spacing: 0.18em;
}
.kt-hero__photo-mark b { color: var(--terracotta-300); font-weight: 700; }

/* ---------- Concept band ---------- */
.kt-concept { background: var(--bg-page); padding: 96px 28px; }
.kt-concept__inner { max-width: 920px; margin: 0 auto; text-align: center; }
.kt-concept__eyebrow {
  font-size: 12px; color: var(--color-accent); letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 600; margin-bottom: 16px;
}
.kt-concept__title {
  font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; line-height: 1.6;
  color: var(--fg-1); margin: 0 0 32px;
}
.kt-concept__lead {
  font-size: 16px; line-height: 2.1; color: var(--fg-2); margin: 0 auto; max-width: 32em;
}

/* ---------- Section header ---------- */
.kt-section { max-width: 1280px; margin: 0 auto; padding: 96px 28px; }
.kt-section__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; gap: 24px; flex-wrap: wrap; }
.kt-section__head-l small { display: block; font-size: 12px; color: var(--color-accent); letter-spacing: 0.24em; font-weight: 600; margin-bottom: 8px; }
.kt-section__head-l h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 700; color: var(--fg-1); margin: 0; line-height: 1.4; }
.kt-section__head-r a { font-size: 13px; font-weight: 600; color: var(--color-primary); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }

/* ---------- Service ---------- */
.kt-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.kt-service {
  background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  overflow: hidden; transition: box-shadow .2s, transform .2s;
}
.kt-service:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.kt-service__photo { aspect-ratio: 5/3; }
.kt-service__photo svg { width: 100%; height: 100%; }
.kt-service__body { padding: 24px 26px 28px; }
.kt-service__num { font-family: var(--font-sans-latin); font-size: 11px; font-weight: 700; color: var(--color-accent); letter-spacing: 0.2em; }
.kt-service__title { font-size: 19px; font-weight: 700; color: var(--fg-1); margin: 8px 0 12px; }
.kt-service__desc { font-size: 13px; line-height: 1.95; color: var(--fg-2); margin: 0 0 16px; }
.kt-service__price { font-size: 12px; color: var(--fg-3); padding-top: 14px; border-top: 1px dashed var(--border-subtle); }
.kt-service__price b { color: var(--color-primary); font-size: 16px; font-weight: 700; margin-right: 4px; }

/* ---------- Works ---------- */
.kt-works-section { background: var(--bg-page); }
.kt-works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.kt-work { display: block; text-decoration: none; color: inherit; }
.kt-work__photo {
  aspect-ratio: 1/1; border-radius: var(--radius-md); overflow: hidden; position: relative;
  border: 1px solid var(--border-subtle); transition: transform .3s var(--ease-standard);
}
.kt-work__photo svg { width: 100%; height: 100%; transition: transform .5s var(--ease-standard); }
.kt-work:hover .kt-work__photo svg { transform: scale(1.04); }
.kt-work__tag {
  position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,0.95);
  padding: 4px 10px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 600;
  color: var(--color-primary);
}
.kt-work__meta { font-size: 11px; color: var(--fg-3); margin-top: 14px; letter-spacing: 0.08em; }
.kt-work__title { font-size: 14px; font-weight: 600; color: var(--fg-1); margin: 4px 0 0; line-height: 1.6; }

/* ---------- About teaser ---------- */
.kt-about-section { background: var(--blue-900); color: #fff; }
.kt-about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; max-width: 1280px; margin: 0 auto; padding: 96px 28px; }
.kt-about__photo { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; }
.kt-about__photo svg { width: 100%; height: 100%; }
.kt-about__copy small { font-size: 12px; color: var(--terracotta-300); letter-spacing: 0.24em; font-weight: 600; }
.kt-about__copy h2 { font-size: clamp(26px, 3.2vw, 36px); font-weight: 700; line-height: 1.55; margin: 12px 0 24px; color: #fff; }
.kt-about__copy p { font-size: 14px; line-height: 2; color: var(--neutral-200); margin: 0 0 16px; max-width: 30em; }
.kt-about__copy .btn { margin-top: 20px; background: #fff; color: var(--blue-900); }
.kt-about__copy .btn:hover { background: var(--neutral-100); }

/* ---------- Contact CTA strip ---------- */
.kt-contact-strip { background: var(--bg-page); padding: 80px 28px; }
.kt-contact-strip__inner { max-width: 920px; margin: 0 auto; text-align: center; }
.kt-contact-strip h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 700; color: var(--fg-1); margin: 0 0 12px; line-height: 1.55; }
.kt-contact-strip p { font-size: 14px; line-height: 1.95; color: var(--fg-2); margin: 0 0 32px; }
.kt-contact-strip__btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.kt-contact-strip__btns .btn { padding: 16px 28px; font-size: 15px; }
.kt-contact-strip__phone { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--border-subtle); }
.kt-contact-strip__phone small { display: block; font-size: 11px; color: var(--fg-3); letter-spacing: 0.18em; margin-bottom: 6px; }
.kt-contact-strip__phone b { font-size: 30px; font-weight: 700; color: var(--fg-1); letter-spacing: 0.04em; }
.kt-contact-strip__phone span { font-size: 12px; color: var(--fg-3); margin-left: 12px; }

/* ---------- Footer ---------- */
.kt-footer { background: var(--neutral-900); color: var(--neutral-300); padding: 64px 28px 28px; }
.kt-footer__inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.kt-footer__brand { color: #fff; }
.kt-footer__brand .kt-brand__name { color: #fff; }
.kt-footer__brand p { font-size: 12px; line-height: 1.95; color: var(--neutral-400); margin: 16px 0 0; }
.kt-footer__col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; color: #fff; margin: 0 0 14px; }
.kt-footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.kt-footer__col a { font-size: 13px; color: var(--neutral-300); text-decoration: none; }
.kt-footer__col a:hover { color: #fff; }
.kt-footer__bottom { max-width: 1280px; margin: 56px auto 0; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; font-size: 11px; color: var(--neutral-500); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-weight: 600; font-size: 14px; padding: 12px 20px; border-radius: var(--radius-md); border: 0; cursor: pointer; text-decoration: none; transition: background .12s, color .12s, transform .12s; white-space: nowrap; }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-hover); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: var(--color-accent-hover); }
.btn-secondary { background: #fff; color: var(--fg-1); border: 1px solid var(--border-default); }
.btn-secondary:hover { background: var(--neutral-100); }

/* ---------- Mobile menu ---------- */
.kt-menu-btn {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--fg-1); margin-left: auto;
}
.kt-drawer {
  display: none; position: fixed; inset: 0; z-index: 200;
}
.kt-drawer__backdrop {
  position: absolute; inset: 0; background: rgba(20,36,54,0.45);
}
.kt-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: 280px;
  background: #fff; padding: 24px 20px 40px;
  display: flex; flex-direction: column; gap: 0;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform .28s var(--ease-standard);
}
.kt-drawer.is-open { display: block; }
.kt-drawer.is-open .kt-drawer__panel { transform: translateX(0); }
.kt-drawer__close {
  align-self: flex-end; background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--fg-2); margin-bottom: 16px;
}
.kt-drawer__nav { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border-subtle); }
.kt-drawer__nav a {
  font-size: 15px; font-weight: 600; color: var(--fg-1); text-decoration: none;
  padding: 16px 4px; border-bottom: 1px solid var(--border-subtle);
  display: flex; justify-content: space-between; align-items: center;
}
.kt-drawer__nav a small { font-size: 10px; color: var(--fg-3); letter-spacing: 0.14em; }
.kt-drawer__cta { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.kt-drawer__cta .btn { justify-content: center; width: 100%; }

@media (max-width: 960px) {
  /* Utility bar */
  .kt-utility { display: none; }

  /* Header */
  .kt-nav { display: none; }
  .kt-header__cta { display: none; }
  .kt-menu-btn { display: flex; align-items: center; }
  .kt-header__inner {
    grid-template-columns: auto 1fr auto;
    padding: 12px 16px;
  }

  /* Hero */
  .kt-hero__inner { grid-template-columns: 1fr; gap: 32px; padding: 36px 20px 56px; }
  .kt-hero__photo { display: none; }
  .kt-hero__cta { grid-template-columns: 1fr; gap: 10px; }
  .kt-hero__lead { max-width: 100%; }

  /* About */
  .kt-about { grid-template-columns: 1fr; gap: 32px; padding: 56px 20px; }
  .kt-about__photo { max-height: 280px; }

  /* Services / Works */
  .kt-services { grid-template-columns: 1fr; gap: 16px; }
  .kt-works { grid-template-columns: repeat(2, 1fr); }

  /* Sections */
  .kt-section { padding: 56px 20px; }
  .kt-concept { padding: 64px 20px; }

  /* Footer */
  .kt-footer { padding: 48px 20px 24px; }
  .kt-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .kt-footer__brand { grid-column: 1 / -1; }

  /* Other */
  .kt-hero__photo-mark { display: none; }
  .kt-contact-strip { padding: 56px 20px; }
}
