/* ================================================================
   合同会社KNOT — Creative Studio
   Bold Dark × Amber × Bento-Grid Editorial Design
================================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; color: inherit; font: inherit; }

/* ---------- Variables ---------- */
:root {
  --bg: #0d0d10;
  --bg-2: #131317;
  --bg-3: #1a1a1f;
  --line: rgba(255,255,255,0.08);
  --line-2: rgba(255,255,255,0.16);
  --text: #ececec;
  --text-dim: #9a9aa1;
  --text-mute: #6a6a72;
  --accent: #e8b14a;     /* amber */
  --accent-2: #f5d68a;
  --accent-soft: rgba(232,177,74,0.12);
  --red: #e25a3c;

  --serif: 'Fraunces', 'Shippori Mincho', 'Times New Roman', serif;
  --sans: 'Noto Sans JP', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', 'SFMono-Regular', Menlo, monospace;

  --max: 1320px;
  --gutter: clamp(1.25rem, 3vw, 2.5rem);

  --ease: cubic-bezier(.7,.05,.25,1);
}

/* ---------- Base ---------- */
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  font-feature-settings: "palt";
  overflow-x: hidden;
  position: relative;
}

::selection { background: var(--accent); color: #0d0d10; }

em { font-style: italic; font-family: var(--serif); color: var(--accent); }

/* ---------- Background layers ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
  opacity: .55;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 80%);
}
.bg-glow {
  position: fixed;
  top: -10vh; right: -10vw;
  width: 80vw; height: 80vh;
  background: radial-gradient(circle, rgba(232,177,74,0.16), transparent 60%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

/* ---------- Side Marker ---------- */
.side-marker {
  position: fixed;
  left: 18px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-mute);
  z-index: 50;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.side-marker__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2.2s infinite ease-in-out;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .4; transform: scale(.7); }
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(13,13,16,.85), rgba(13,13,16,.3));
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}
.brand__mark {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.brand__name { color: var(--text); }
.brand__suffix {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-mute);
  letter-spacing: 0.14em;
  padding-top: 6px;
}

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  transition: color .25s var(--ease);
  border-radius: 100px;
}
.nav__link i {
  font-style: normal;
  font-size: 10px;
  color: var(--text-mute);
}
.nav__link:hover { color: var(--accent); }
.nav__link:hover i { color: var(--accent); }
.nav__link--cta {
  border: 1px solid var(--line-2);
  margin-left: 10px;
  background: var(--accent-soft);
  color: var(--accent-2);
}
.nav__link--cta:hover {
  background: var(--accent);
  color: var(--bg);
}

.menu-btn {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 110;
}
.menu-btn span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-btn.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- HERO ---------- */
main { position: relative; z-index: 1; }
.hero {
  min-height: 100vh;
  padding: 140px var(--gutter) 80px;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 50px;
}
.tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
}

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3.5rem, 11vw, 11rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 80px;
}
.hero__line {
  display: block;
  overflow: hidden;
}
.hero__word {
  display: inline-block;
  margin-right: 0.18em;
}
.hero__word--accent { color: var(--accent); }
.hero__word--accent em {
  color: var(--accent);
  font-weight: 500;
}
.hero__word--outline {
  -webkit-text-stroke: 1.5px var(--text);
  color: transparent;
  font-style: italic;
  font-weight: 400;
}

.hero__meta {
  display: block;
}
.hero__copy p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 2;
  max-width: 520px;
}
.hero__copy p + p { margin-top: 16px; }
.hero__copy em { color: var(--accent); font-weight: 500; }

.hero__panel {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  padding: 20px 22px;
  font-family: var(--mono);
  font-size: 12px;
}
.panel-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}
.panel-row:last-child { border-bottom: none; }
.panel-row__k { color: var(--text-mute); letter-spacing: 0.14em; }
.panel-row__v { color: var(--text); }
.dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 6px;
  vertical-align: middle;
}
.dot--on { background: #6ee895; box-shadow: 0 0 8px #6ee895; }

.hero__scroll {
  position: absolute;
  bottom: 40px; left: var(--gutter);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-mute);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 24px 0;
  background: var(--bg-2);
}
.marquee__track {
  display: flex;
  gap: 36px;
  white-space: nowrap;
  font-family: var(--serif);
  font-style: italic;
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--text);
  animation: marquee 28s linear infinite;
}
.marquee__track span:nth-child(even) { color: var(--accent); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Section Head ---------- */
.section-head {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--text-mute);
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  width: 100%;
  max-width: var(--max);
}
.section-head__num { color: var(--accent); }
.section-head__label { color: var(--text); text-transform: uppercase; }

/* ---------- ABOUT ---------- */
.about {
  padding: 120px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.about__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.about__title em { color: var(--accent); }
.about__intro {
  font-size: 1.15rem;
  margin-bottom: 22px;
  line-height: 1.9;
}
.about__intro strong {
  color: var(--accent);
  font-weight: 700;
}
.about__body p {
  color: var(--text-dim);
  font-size: 0.96rem;
  line-height: 2;
}
.about__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 50px;
}
.kpi {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.kpi:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.kpi__num {
  font-family: var(--serif);
  font-size: 3.2rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}
.kpi__label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ---------- SERVICES (Bento) ---------- */
.services {
  padding: 120px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.services__intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 50px;
}
.services__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.services__title em { color: var(--accent); }
.services__desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 2;
}

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(200px, auto);
  gap: 16px;
}
.bento__item {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.bento__item:hover {
  border-color: var(--line-2);
  background: var(--bg-3);
}
.bento__item--lg {
  grid-column: span 4;
  grid-row: span 2;
}
.bento__item--md {
  grid-column: span 2;
  grid-row: span 2;
}
.bento__item--quote {
  grid-column: span 2;
  grid-row: span 1;
  background: var(--accent-soft);
  border-color: rgba(232,177,74,0.3);
  justify-content: space-between;
}
.bento__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-mute);
}
.bento__tag {
  padding: 4px 10px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  color: var(--accent);
}
.bento__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.1;
}
.bento__title small {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-mute);
  letter-spacing: 0.16em;
  margin-top: 6px;
}
.bento__desc {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.9;
}
.bento__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.bento__list li {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--text-dim);
}

.bento__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
}
.bento__quote em {
  color: var(--accent);
  font-weight: 700;
}
.bento__quote-by {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-mute);
}

/* Bento visuals */
.bento__visual {
  position: absolute;
  right: -20px; bottom: -20px;
  opacity: .4;
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.bento__item:hover .bento__visual { opacity: .7; transform: scale(1.05); }

.bento__visual--web .frame {
  width: 280px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: 4px;
  overflow: hidden;
}
.frame__bar {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.frame__bar i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-mute);
}
.frame__bar i:nth-child(1) { background: var(--red); }
.frame__bar i:nth-child(2) { background: var(--accent); }
.frame__rows {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.frame__rows span {
  display: block;
  height: 10px;
  background: linear-gradient(90deg, var(--line-2), transparent);
  border-radius: 2px;
}
.frame__rows span:nth-child(1) { width: 90%; }
.frame__rows span:nth-child(2) { width: 70%; }
.frame__rows span:nth-child(3) { width: 50%; }

.bento__visual--3d {
  right: 20px; bottom: 20px;
}
.cube {
  position: relative;
  width: 120px; height: 120px;
  transform-style: preserve-3d;
  animation: rotate3d 16s linear infinite;
}
.cube span {
  position: absolute;
  inset: 0;
  border: 1px solid var(--accent);
  background: rgba(232,177,74,0.05);
}
.cube span:nth-child(1) { transform: rotateY(0deg) translateZ(60px); }
.cube span:nth-child(2) { transform: rotateY(90deg) translateZ(60px); }
.cube span:nth-child(3) { transform: rotateY(180deg) translateZ(60px); }
.cube span:nth-child(4) { transform: rotateY(-90deg) translateZ(60px); }
.cube span:nth-child(5) { transform: rotateX(90deg) translateZ(60px); }
.cube span:nth-child(6) { transform: rotateX(-90deg) translateZ(60px); }
@keyframes rotate3d {
  from { transform: rotateX(-15deg) rotateY(0); }
  to   { transform: rotateX(-15deg) rotateY(360deg); }
}

.bento__visual--movie {
  right: 24px; bottom: 24px;
}
.player {
  width: 140px; height: 90px;
  background: var(--bg-3);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 18px;
}
.player__play {
  width: 0; height: 0;
  border-left: 14px solid var(--accent);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
}
.player__waves {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 30px;
}
.player__waves i {
  display: block;
  width: 3px;
  background: var(--accent);
  animation: wave 1.2s ease-in-out infinite;
}
.player__waves i:nth-child(1) { height: 30%; animation-delay: 0s; }
.player__waves i:nth-child(2) { height: 60%; animation-delay: .1s; }
.player__waves i:nth-child(3) { height: 80%; animation-delay: .2s; }
.player__waves i:nth-child(4) { height: 50%; animation-delay: .3s; }
.player__waves i:nth-child(5) { height: 90%; animation-delay: .4s; }
.player__waves i:nth-child(6) { height: 40%; animation-delay: .5s; }
.player__waves i:nth-child(7) { height: 70%; animation-delay: .6s; }
.player__waves i:nth-child(8) { height: 55%; animation-delay: .7s; }
.player__waves i:nth-child(9) { height: 35%; animation-delay: .8s; }
@keyframes wave {
  0%,100% { transform: scaleY(.4); }
  50%     { transform: scaleY(1); }
}

/* ---------- COMPANY ---------- */
.company {
  padding: 120px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.company__wrap {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.company__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.company__title em { color: var(--accent); }
.company__sub {
  color: var(--text-dim);
  font-size: 0.92rem;
  line-height: 1.9;
}
.company__table {
  border-top: 1px solid var(--line);
}
.company__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease);
}
.company__row:hover { background: rgba(255,255,255,0.02); }
.company__row dt {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-mute);
  padding-top: 4px;
}
.company__row dd {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.7;
}
.company__row dd a:hover { color: var(--accent); }

/* ---------- LOCATIONS ---------- */
.locations {
  padding: 120px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.locations__head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 50px;
}
.locations__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.locations__title em { color: var(--accent); }
.locations__sub {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 2;
}

.locations__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.loc {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
  position: relative;
}
.loc::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(232,177,74,0.06));
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.loc:hover { border-color: var(--accent); transform: translateY(-4px); }
.loc:hover::before { opacity: 1; }
.loc__num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--accent);
}
.loc__city {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  text-transform: uppercase;
}
.loc__address {
  margin-top: auto;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text);
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 140px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.contact__tag {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: inline-block;
  margin-bottom: 28px;
  padding: 6px 14px;
  border: 1px solid var(--accent);
  border-radius: 100px;
}
.contact__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.contact__title em { color: var(--accent); }
.contact__desc {
  color: var(--text-dim);
  font-size: 1rem;
  margin-bottom: 50px;
}
.contact__cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 30px 60px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 6px;
  position: relative;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  font-weight: 700;
}
.contact__cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -10px rgba(232,177,74,0.5);
}
.contact__cta-arrow {
  position: absolute;
  top: 14px; right: 18px;
  font-size: 1.3rem;
  transition: transform .3s var(--ease);
}
.contact__cta:hover .contact__cta-arrow { transform: translate(4px,-4px); }
.contact__cta-num {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.contact__cta-by {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(13,13,16,0.7);
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 80px var(--gutter) 30px;
  position: relative;
  z-index: 1;
}
.footer__top {
  max-width: var(--max);
  margin: 0 auto 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
.footer__logo {
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--text);
}
.footer__logo span {
  color: var(--accent);
  font-style: italic;
  font-size: 0.4em;
  font-weight: 400;
}
.footer__tagline {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  line-height: 2;
  text-align: right;
}
.footer__cols {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.footer__col p { color: var(--text-dim); font-size: 0.85rem; line-height: 1.9; }
.footer__col a:hover { color: var(--accent); }
.footer__col-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer__bottom {
  max-width: var(--max);
  margin: 30px auto 0;
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-mute);
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero__meta { grid-template-columns: 1fr; }
  .hero__panel { max-width: 360px; }
  .about__grid,
  .services__intro,
  .locations__head,
  .company__wrap { grid-template-columns: 1fr; gap: 40px; }
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento__item--lg { grid-column: span 4; grid-row: span 2; }
  .bento__item--md { grid-column: span 2; grid-row: span 2; }
  .bento__item--quote { grid-column: span 4; }
  .locations__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
  .footer__tagline { text-align: left; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .side-marker { display: none; }
  .nav { display: none; }
  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg);
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    padding: 80px var(--gutter);
    z-index: 105;
  }
  .nav.is-open .nav__link {
    font-size: 1.4rem;
    font-family: var(--serif);
    color: var(--text);
    padding: 6px 0;
  }
  .nav.is-open .nav__link i {
    color: var(--accent);
    margin-right: 12px;
  }
  .nav.is-open .nav__link--cta {
    border: 1px solid var(--accent);
    border-radius: 100px;
    padding: 12px 24px;
    margin-top: 20px;
  }
  .menu-btn { display: flex; }

  .hero { padding: 110px var(--gutter) 60px; }
  .hero__tags { margin-bottom: 30px; }
  .hero__title { margin-bottom: 50px; }
  .about, .services, .company, .locations { padding: 80px var(--gutter); }
  .about__cards { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento__item--lg,
  .bento__item--md,
  .bento__item--quote { grid-column: span 1; grid-row: auto; }
  .company__row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .locations__grid { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .contact__cta { padding: 24px 30px; }
  .marquee__track { font-size: 1.5rem; }
}
