:root {
  --ink: #12162f;
  --paper: #faf7f2;
  --paper-2: #f1eef8;
  --red: #ff7464;
  --violet: #7767f5;
  --cobalt: #334dba;
  --lavender: #dfdcff;
  --aqua: #cfeae3;
  --line: rgba(18, 22, 47, 0.16);
  --muted: #696b7b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  position: relative;
  background: #f6f2e8;
  color: var(--ink);
  font-family: "Helvetica Neue", "Noto Sans JP", "Yu Gothic", YuGothic, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background: url("assets/tkg-logo-fixed.png") center 52% / min(82vw, 1180px) auto no-repeat;
  opacity: .42;
}

main {
  position: relative;
  z-index: 1;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--red); color: #fff; }

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto 0;
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.5vw;
  color: var(--ink);
  border-bottom: 1px solid rgba(18,22,47,.11);
  background: rgba(250,247,242,.68);
  backdrop-filter: blur(18px) saturate(130%);
}

.brand { display: inline-flex; align-items: baseline; gap: 14px; }
.brand-word { font-weight: 900; font-size: 28px; line-height: 1; letter-spacing: -.08em; }
.brand-company { font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.site-nav { display: flex; align-items: center; gap: 36px; }

.site-nav a {
  position: relative;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), var(--red));
  transition: right .25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after { right: 0; }

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.hero {
  position: relative;
  min-height: 420px;
  height: min(42vw, 700px);
  overflow: hidden;
  background: #202a5c;
}

.hero-visual {
  position: absolute;
  inset: 0;
}

.hero-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-mobile-copy { display: none; }

.hero::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 18%;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(18,22,47,.16));
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 4.5vw;
  bottom: 42px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 9px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 12px rgba(18,22,47,.58);
}

.scroll-cue span:last-child {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 50%;
  background: rgba(18,22,47,.18);
  backdrop-filter: blur(8px);
  transition: background .2s ease, border-color .2s ease;
}

.scroll-cue:hover span:last-child { background: var(--violet); border-color: var(--violet); color: #fff; }

.floating-contact {
  position: fixed;
  z-index: 50;
  right: 24px;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 58px;
  min-height: 190px;
  padding: 20px 0;
  border-radius: 30px;
  background: linear-gradient(180deg, var(--red), #ff9c74);
  color: #fff;
  box-shadow: 0 16px 40px rgba(18,22,47,.24);
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  transition: transform .2s ease, box-shadow .2s ease;
}

.floating-contact:hover,
.floating-contact:focus-visible {
  transform: translateY(-50%) translateX(-4px);
  box-shadow: 0 20px 46px rgba(18,22,47,.32);
}

.section-shell { padding: 64px 4.5vw; }
.intro {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(2px);
}
.works {
  background: rgba(250,247,242,.86);
  backdrop-filter: blur(2px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ink);
}

.eyebrow {
  margin: 8px 0 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow span { display: inline-block; margin-right: 18px; color: var(--red); }

.section-heading h2 {
  margin: 0;
  font-size: clamp(48px, 6.1vw, 92px);
  line-height: 1;
  letter-spacing: -.07em;
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding: 30px 0 40px;
}

.intro-statement {
  margin: 0;
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.65;
  font-weight: 700;
  letter-spacing: -.03em;
}

.intro-body {
  max-width: 720px;
  margin: 4px 0 0;
  font-size: 15px;
  line-height: 2.15;
  color: #4d5064;
}

.company-layout {
  margin-left: 33.333%;
}

.company-list { width: 100%; max-width: 900px; margin: 0; }

.company-row {
  display: grid;
  grid-template-columns: minmax(130px, .45fr) 1.55fr;
  gap: 24px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.company-row:last-child { border-bottom: 1px solid var(--line); }
.company-row dt { font-size: 11px; font-weight: 700; color: var(--muted); }
.company-row dd { margin: 0; font-size: 14px; font-weight: 600; }

.business {
  position: relative;
  background: linear-gradient(115deg, rgba(18,22,47,.94), rgba(46,45,105,.88));
  backdrop-filter: blur(2px);
  color: #f9f7ff;
}
.strengths {
  background:
    radial-gradient(circle at 92% 6%, rgba(255,116,100,.16), transparent 26%),
    linear-gradient(145deg, rgba(231,228,255,.9), rgba(216,234,232,.88) 70%, rgba(251,247,239,.9));
  backdrop-filter: blur(2px);
  color: var(--ink);
}

.light-heading { border-color: var(--line); }
.business .light-heading { border-color: rgba(255,255,255,.3); }

.section-lead {
  margin: 28px 0 36px 33.333%;
  font-size: clamp(25px, 3.2vw, 48px);
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: -.045em;
}

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

.service-item {
  position: relative;
  display: grid;
  grid-template-columns: .45fr 1.25fr 1.4fr 42px;
  align-items: start;
  gap: 34px;
  padding: 21px 0;
  border-bottom: 1px solid rgba(255,255,255,.25);
  transition: color .25s ease, padding .25s ease, background .25s ease;
}

.service-item:hover { color: #fff; padding-left: 16px; background: rgba(255,255,255,.055); }
.service-number { font-size: 11px; font-weight: 700; color: #a99fff; letter-spacing: .1em; }
.service-title p, .work-name > span, .work-detail > span {
  margin: 0 0 14px;
  font-size: 9px;
  color: rgba(255,255,255,.52);
  letter-spacing: .14em;
  text-transform: uppercase;
}

.service-title h3 { margin: 0; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.45; }
.service-body { max-width: 580px; margin: 0; font-size: 13px; line-height: 2; color: rgba(255,255,255,.68); }
.service-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; font-size: 13px; }
.business-note, .works-note { margin: 18px 0 0 33.333%; font-size: 11px; line-height: 1.9; color: var(--muted); }
.business-note { color: rgba(255,255,255,.52); }
.dark-lead { color: var(--ink); }

.featured-work {
  position: relative;
  min-height: 240px;
  display: grid;
  grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(120deg, rgba(18,22,47,.96), rgba(51,77,186,.82) 58%, rgba(255,116,100,.72));
  color: #fff;
}

.featured-work::before {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 10px;
  border: 1px solid rgba(255,255,255,.2);
  pointer-events: none;
}

.work-visual {
  position: relative;
  min-height: 240px;
  overflow: hidden;
  background: #e8eef0;
}

.work-visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.work-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 76%, rgba(18,22,47,.18));
  pointer-events: none;
}

.work-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.work-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 34px 20px;
}

.work-index { align-self: start; position: relative; font-size: 9px; letter-spacing: .16em; color: rgba(255,255,255,.55); text-transform: uppercase; }
.work-name, .work-detail { position: relative; }
.work-name { margin-top: 16px; }
.work-name > span, .work-detail > span { color: rgba(255,255,255,.62); }
.work-name h3 { margin: 0; font-size: clamp(28px, 3.1vw, 44px); line-height: 1.06; letter-spacing: -.055em; }
.work-name h3 strong { display: inline-block; margin-top: 5px; color: #c7c1ff; font-size: .5em; line-height: 1.3; letter-spacing: .02em; }
.work-detail { margin-top: 12px; }
.work-detail p { margin: 0; font-size: 12px; line-height: 1.55; }
.work-arrow { position: absolute; right: 24px; top: 24px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.32); border-radius: 50%; }
.works-note { color: var(--muted); max-width: 600px; }

.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 36px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.strength-card {
  min-height: 250px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,.24);
  backdrop-filter: blur(10px);
}

.strength-card:first-child { border-left: 1px solid var(--line); }
.strength-top { display: flex; justify-content: space-between; font-size: 11px; color: var(--violet); }
.strength-card h3 { max-width: 310px; margin: 48px 0 18px; font-size: clamp(22px, 2vw, 31px); line-height: 1.4; letter-spacing: -.04em; }
.strength-card p { margin: 0; font-size: 13px; line-height: 2; color: rgba(27,27,26,.64); }

.closing-statement {
  position: relative;
  margin-top: 48px;
  padding: 42px 5vw;
  overflow: hidden;
  border-radius: 36px;
  background: linear-gradient(105deg, rgba(18,22,47,.96), rgba(51,77,186,.84), rgba(119,103,245,.78));
  color: #fff;
}

.closing-statement::after {
  content: "TKG";
  position: absolute;
  right: -3vw;
  bottom: -5vw;
  font-size: 26vw;
  line-height: .7;
  font-weight: 900;
  letter-spacing: -.12em;
  color: rgba(255,255,255,.08);
}

.closing-kicker { position: relative; z-index: 1; margin: 0 0 20px; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.closing-copy { position: relative; z-index: 1; margin: 0; font-size: clamp(42px, 6.1vw, 88px); line-height: 1.2; font-weight: 800; letter-spacing: -.07em; }
.closing-copy span { color: #c7c1ff; }
.closing-body { position: relative; z-index: 1; max-width: 660px; margin: 28px 0 0 33.333%; font-size: 14px; line-height: 2.15; }

.contact {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
}

.contact-intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding: 30px 0 34px;
}

.contact-statement {
  margin: 0;
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.65;
  font-weight: 700;
  letter-spacing: -.03em;
}

.contact-body {
  max-width: 720px;
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 2.1;
  color: #4d5064;
}

.contact-form {
  margin-left: 33.333%;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(250,247,242,.78);
  box-shadow: 0 22px 60px rgba(18,22,47,.08);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.form-field {
  display: grid;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
}

.form-field-wide { grid-column: 1 / -1; }
.form-field small { color: var(--muted); font-size: 9px; font-weight: 500; }
.form-field em { color: var(--red); font-size: 9px; font-style: normal; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(18,22,47,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.9);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field input,
.form-field select { height: 50px; padding: 0 15px; }
.form-field textarea { min-height: 150px; padding: 15px; resize: vertical; line-height: 1.8; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(119,103,245,.12); }

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
}

.form-submit-row p,
.form-status { margin: 0; font-size: 10px; line-height: 1.8; color: var(--muted); }

.form-submit-row button {
  min-width: 260px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 22px;
  border: 0;
  border-radius: 28px;
  background: linear-gradient(90deg, var(--violet), var(--cobalt));
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(51,77,186,.24);
  transition: transform .2s ease, box-shadow .2s ease;
}

.form-submit-row button:hover,
.form-submit-row button:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(51,77,186,.3); }
.form-status { min-height: 18px; margin-top: 12px; color: var(--cobalt); }

.site-footer {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 38px 40px;
  padding: 48px 4.5vw 26px;
  background: var(--ink);
  color: #f7f5ff;
  border-top: 8px solid var(--violet);
}

.footer-brand .brand-word { font-size: 70px; }
.footer-brand .brand-company { display: none; }
.footer-profile { margin: 15px 0 0; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #a99fff; }
.footer-columns { display: grid; grid-template-columns: 1.25fr 1fr .65fr; gap: 34px; }
.footer-columns p { margin: 0; font-size: 11px; line-height: 2; color: rgba(255,255,255,.66); }
.footer-columns .footer-label { margin-bottom: 18px; font-size: 9px; font-weight: 700; line-height: 1; letter-spacing: .18em; text-transform: uppercase; color: #a99fff; }
.footer-bottom { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.16); font-size: 9px; letter-spacing: .14em; color: rgba(255,255,255,.46); }

@media (max-width: 820px) {
  .site-header { height: 76px; padding-inline: 22px; }
  .brand-company { display: none; }
  .hero { min-height: 0; height: clamp(400px, 110vw, 560px); }
  .hero-visual img { object-position: center; }
  .hero::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(250,247,242,.97) 0%, rgba(250,247,242,.88) 48%, rgba(250,247,242,.36) 74%, rgba(250,247,242,.06) 100%),
      linear-gradient(to bottom, rgba(250,247,242,.18), transparent 62%, rgba(18,22,47,.2));
  }
  .hero-mobile-copy {
    position: absolute;
    z-index: 2;
    top: 48%;
    left: 28px;
    right: 28px;
    display: block;
    max-width: 650px;
    transform: translateY(-42%);
    color: var(--ink);
  }
  .hero-mobile-copy > p:first-child {
    margin: 0 0 18px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(18,22,47,.58);
  }
  .hero-mobile-copy > div { display: grid; gap: 5px; }
  .hero-mobile-copy span {
    font-size: clamp(30px, 6.2vw, 48px);
    line-height: 1.25;
    font-weight: 900;
    letter-spacing: -.055em;
  }
  .hero-mobile-copy strong {
    width: fit-content;
    font-size: clamp(52px, 10vw, 78px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -.075em;
    color: transparent;
    background: linear-gradient(90deg, var(--violet), var(--cobalt), var(--red));
    background-clip: text;
    -webkit-background-clip: text;
  }
  .hero-mobile-copy .hero-mobile-lead {
    margin: 24px 0 0;
    font-size: clamp(14px, 2.35vw, 17px);
    line-height: 1.85;
    font-weight: 700;
    letter-spacing: .02em;
  }
  .scroll-cue { right: 22px; bottom: 26px; }
  .section-shell { padding: 48px 22px; }
  .section-heading, .intro-content, .contact-intro { grid-template-columns: 1fr; }
  .section-heading { gap: 18px; }
  .intro-content { gap: 20px; padding: 26px 0 32px; }
  .company-layout { margin-left: 0; }
  .contact-form { margin-left: 0; }
  .company-row { grid-template-columns: 112px 1fr; }
  .section-lead, .business-note, .works-note { margin-left: 0; }
  .service-item { grid-template-columns: 58px 1fr 42px; }
  .service-body { grid-column: 2 / 4; }
  .featured-work { grid-template-columns: 1fr; min-height: 0; }
  .work-visual { min-height: 0; aspect-ratio: 3 / 2; }
  .work-visual::after { background: linear-gradient(180deg, transparent 78%, rgba(18,22,47,.18)); }
  .work-visual img { object-position: center; }
  .work-content { min-height: 0; padding: 22px 28px 24px; }
  .work-name h3 { font-size: 34px; }
  .strength-grid { grid-template-columns: 1fr; }
  .strength-card, .strength-card:first-child { min-height: auto; padding: 24px 0; border-left: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .strength-card:last-child { border-bottom: 0; }
  .strength-card h3 { margin-top: 32px; }
  .closing-statement { margin-top: 40px; padding: 40px 36px; }
  .closing-body { margin-left: 0; }
  .site-footer { grid-template-columns: 1fr; padding: 44px 22px 28px; gap: 32px; }
  .footer-columns { grid-template-columns: 1fr 1fr; }
  .floating-contact { right: 16px; width: 52px; min-height: 168px; }
}

@media (max-width: 520px) {
  .site-nav { display: none; }
  .hero { min-height: 0; height: 115vw; max-height: 540px; }
  .hero-visual img { object-position: center; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(250,247,242,.97) 0%, rgba(250,247,242,.9) 54%, rgba(250,247,242,.42) 78%, rgba(250,247,242,.08) 100%),
      linear-gradient(to bottom, rgba(250,247,242,.24), transparent 62%, rgba(18,22,47,.22));
  }
  .hero-mobile-copy { top: 45%; left: 22px; right: 22px; transform: translateY(-40%); }
  .hero-mobile-copy > p:first-child { margin-bottom: 16px; font-size: 8px; }
  .hero-mobile-copy span { font-size: clamp(29px, 8vw, 38px); }
  .hero-mobile-copy strong { font-size: clamp(51px, 14vw, 66px); }
  .hero-mobile-copy .hero-mobile-lead { margin-top: 16px; max-width: 330px; font-size: 12px; line-height: 1.65; }
  .scroll-cue > span:first-child { display: none; }
  body::before {
    background-size: 170vw auto;
    background-position: center 50%;
    opacity: .32;
  }
  .company-row { grid-template-columns: 1fr; gap: 8px; }
  .company-row dd { line-height: 1.7; }
  .section-heading h2 { font-size: 48px; }
  .section-lead br { display: none; }
  .service-item { grid-template-columns: 38px 1fr; gap: 18px; }
  .service-body { grid-column: 2; }
  .service-mark { display: none; }
  .featured-work { border-radius: 24px; }
  .featured-work::before { inset: 8px; }
  .work-content { padding: 18px 20px 20px; }
  .work-name { margin-top: 13px; }
  .work-name h3 { font-size: 30px; }
  .work-name h3 strong { margin-top: 5px; }
  .work-detail { display: grid; grid-template-columns: 42px 1fr; gap: 10px; margin-top: 12px; }
  .work-detail > span { margin: 2px 0 0; }
  .work-detail p { font-size: 11px; }
  .work-arrow { display: none; }
  .closing-statement { margin-inline: -22px; padding-inline: 22px; border-radius: 0; }
  .closing-copy { font-size: 42px; }
  .footer-columns { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; border-radius: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field-wide { grid-column: auto; }
  .form-submit-row { align-items: stretch; flex-direction: column; }
  .form-submit-row button { width: 100%; min-width: 0; }
  .floating-contact {
    top: auto;
    right: 16px;
    bottom: 16px;
    width: auto;
    min-height: 0;
    padding: 14px 20px;
    border-radius: 28px;
    writing-mode: horizontal-tb;
    transform: none;
  }
  .floating-contact:hover,
  .floating-contact:focus-visible { transform: translateY(-3px); }
  .site-footer { padding-bottom: 92px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
