/*
Theme Name: OFFBEAT Child
Template: offbeat
Description: 子テーマ
Version: 1.0.0
*/

/* ====================
   Google Fonts Import
   ==================== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Space+Grotesk:wght@400;600;700&display=swap');

/* ====================
   Base & Typography
   ==================== */
html, body {
  overflow-x: hidden;
  font-family: 'Space Grotesk', 'Yu Gothic', YuGothic, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wp-site-blocks {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
  margin-left: auto;
  margin-right: auto;
}

/* ====================
   CSS Variables
   ==================== */
:root {
  --bg: #f7f7f5;
  --paper: #ffffff;
  --text: #222222;
  --muted: #666666;
  --line: rgba(0, 0, 0, .08);
  --accent: #EFA25C;
  --accent-light: rgba(239, 162, 92, .12);
  --accent-border: rgba(239, 162, 92, .6);
  --shadow: 0 10px 30px rgba(0, 0, 0, .06);
  --shadow2: 0 2px 10px rgba(0, 0, 0, .06);
}

.ob-front {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* ====================
   Top Navigation
   ==================== */
.ob-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,247,245,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  transition: background .3s ease;
}

.ob-topbar__brand {
  text-decoration: none;
  color: var(--text);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px;
  letter-spacing: .12em;
  transition: opacity .2s ease;
}

.ob-topbar__brand:hover {
  opacity: .7;
}

.ob-topbar__links {
  display: flex;
  gap: 24px;
}

.ob-topbar__links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  position: relative;
  transition: color .2s ease;
  letter-spacing: .04em;
}

.ob-topbar__links a:hover {
  color: var(--text);
}

.ob-topbar__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 999px;
  transition: width .3s ease;
}

.ob-topbar__links a:hover::after {
  width: 100%;
}

/* WordPressメニュー用スタイル */
.ob-topbar__links ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ob-topbar__links li {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

.ob-topbar__links li::before,
.ob-topbar__links li::marker {
  display: none !important;
  content: none !important;
}

.ob-topbar__links .current-menu-item > a {
  color: var(--text);
}

.ob-topbar__links .current-menu-item > a::after {
  width: 100%;
}

/* ====================
   KV Section
   ==================== */
.ob-kv {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ob-kv__video-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.ob-kv__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.ob-kv__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(247,245,241,.80) 0%, rgba(255,255,255,.92) 85%);
  backdrop-filter: blur(1px);
}

.ob-kv__inner {
  position: relative;
  z-index: 2;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(60px, 10vh, 100px) 0;
}

.ob-kv__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(80px, 15vw, 220px);
  letter-spacing: .04em;
  line-height: .95;
  margin: 0 0 clamp(40px, 6vh, 60px);
  font-weight: 400;
  animation: fadeInUp 1s ease-out;
}

.ob-kv__title-off {
  color: var(--text);
}

.ob-kv__title-beat {
  color: var(--accent);
}

.ob-kv__services {
  margin: 0 0 clamp(50px, 8vh, 80px);
  animation: fadeInUp 1s ease-out .3s backwards;
}

.ob-kv__service-line {
  font-family: 'Space Grotesk', monospace;
  font-size: clamp(14px, 1.8vw, 18px);
  font-weight: 400;
  letter-spacing: .08em;
  margin: 8px 0;
  color: var(--muted);
  line-height: 1.6;
}

.ob-kv__scroll {
  position: absolute;
  bottom: clamp(30px, 5vh, 50px);
  right: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--muted);
  font-weight: 600;
  animation: fadeInUp 1s ease-out .6s backwards, bounce 2s ease-in-out 2s infinite;
}

.ob-kv__scroll svg {
  opacity: .7;
}

/* ====================
   Sections
   ==================== */
.ob-section {
  padding: 60px 24px;
}

.ob-section--last {
  padding-bottom: 100px;
}

.ob-section__head {
  max-width: 1280px;
  margin: 0 auto 60px;
}

.ob-h2 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: .08em;
  font-weight: 700;
}

.ob-lead {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ====================
   Services
   ==================== */
.ob-services {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(0px, 1vw, 8px);
}

.ob-service {
  display: grid;
  grid-template-columns: clamp(80px, 12vw, 140px) 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(20px, 3vw, 32px) 0;
  border-top: 1px solid var(--line);
  transition: all .4s ease;
}

.ob-service:hover {
  transform: translateX(8px);
}

.ob-service:first-child {
  border-top: none;
}

.ob-service__number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 10vw, 120px);
  line-height: 1;
  color: var(--accent);
  opacity: .5;
  font-weight: 400;
}

.ob-service__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ob-service__head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

.ob-service__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: .06em;
  line-height: 1.1;
  margin: 0;
  font-weight: 400;
  color: var(--text);
}

.ob-service__tag {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .04em;
  padding: 6px 12px;
  background: rgba(0,0,0,.04);
  border-radius: 4px;
}

.ob-service__text {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  max-width: 600px;
}

.ob-service__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: gap .3s ease;
}

.ob-service__link:hover {
  gap: 12px;
  color: var(--accent);
}

/* ====================
   Posts Cards
   ==================== */
.ob-post-cards {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.ob-post-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: all .4s ease;
}

.ob-post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.1);
  border-color: var(--accent-border);
}

.ob-post-card__link {
  display: block;
  text-decoration: none;
  color: var(--text);
}

.ob-post-card__thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  overflow: hidden;
}

.ob-post-card__thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(239,162,92,.08) 0%, rgba(239,162,92,.02) 100%);
}

.ob-post-card__thumb--empty svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--muted);
  opacity: .4;
}

.ob-post-card__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.ob-post-card:hover .ob-post-card__img {
  transform: scale(1.05);
}

.ob-post-card__content {
  padding: 20px;
}

.ob-post-card__date {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 10px;
}

.ob-post-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--text);
  transition: color .2s ease;
}

.ob-post-card:hover .ob-post-card__title {
  color: var(--accent);
}

.ob-post-cards__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

.ob-post-cards__empty p {
  margin: 0;
  font-size: 15px;
}

.ob-posts__more {
  margin-top: 40px;
  text-align: center;
}

.ob-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: all .2s ease;
}

.ob-link:hover {
  gap: 12px;
  color: var(--accent);
}

/* ====================
   Buttons
   ==================== */
.ob-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  padding: 16px 24px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  box-shadow: var(--shadow2);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: all .3s ease;
}

.ob-btn:hover {
  border-color: var(--accent-border);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.ob-btn--line {
  border-color: var(--accent-border);
  background: var(--accent-light);
}

.ob-btn--line:hover {
  background: rgba(239,162,92,.24);
}

.ob-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
}

/* ====================
   Contact CTA Section
   ==================== */
.ob-section--contact {
  background: var(--text);
  padding: clamp(80px, 12vw, 140px) 24px;
}

.ob-contact-cta {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}

.ob-contact-cta__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--accent);
  margin: 0 0 20px;
}

.ob-contact-cta__title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 10vw, 120px);
  line-height: .92;
  letter-spacing: .04em;
  color: #fff;
  margin: 0 0 24px;
  font-weight: 400;
}

.ob-contact-cta__title span {
  color: var(--accent);
}

.ob-contact-cta__lead {
  font-size: 15px;
  color: rgba(255, 255, 255, .5);
  margin: 0;
  line-height: 1.8;
}

.ob-contact-cta__btns {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ob-contact-cta__btn {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  text-decoration: none;
  color: #fff;
  transition: all .3s ease;
}

.ob-contact-cta__btn:hover {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .2);
  transform: translateX(6px);
}

.ob-contact-cta__btn--line {
  border-color: var(--accent-border);
  background: rgba(239, 162, 92, .08);
}

.ob-contact-cta__btn--line:hover {
  background: rgba(239, 162, 92, .16);
}

.ob-contact-cta__btn-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  letter-spacing: .14em;
  color: var(--accent);
  background: rgba(239, 162, 92, .12);
  border-radius: 6px;
  padding: 4px 10px;
  flex-shrink: 0;
}

.ob-contact-cta__btn-text {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .04em;
  flex: 1;
}

.ob-contact-cta__btn-arrow {
  font-size: 20px;
  color: rgba(255, 255, 255, .3);
  transition: all .3s ease;
  flex-shrink: 0;
}

.ob-contact-cta__btn:hover .ob-contact-cta__btn-arrow {
  color: var(--accent);
  transform: translateX(4px);
}

/* ====================
   Footer
   ==================== */
.ob-footer {
  border-top: 1px solid var(--line);
  padding: 40px 24px;
  background: rgba(255,255,255,.7);
}

.ob-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
}

.ob-footer__left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ob-footer__location {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .04em;
}

.ob-footer__left small {
  font-size: 12px;
}

.ob-footer__social {
  color: var(--muted);
  transition: all .3s ease;
}

.ob-footer__social:hover {
  color: var(--accent);
  transform: translateY(-4px);
}

/* ====================
   Animations
   ==================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ====================
   Page Template
   ==================== */
body.page,
.ob-page {
  background: var(--bg);
  min-height: 70vh;
}

.ob-page__container,
body.page .ob-page__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}

.ob-page__header,
body.page .ob-page__header {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--line);
}

.ob-page__title,
body.page .ob-page__title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  letter-spacing: .06em;
  margin: 0;
  line-height: 1.3;
}

.ob-page__content,
body.page .ob-page__content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}

.ob-page__content h2,
body.page .ob-page__content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-light);
}

.ob-page__content h3,
body.page .ob-page__content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 16px;
}

.ob-page__content p,
body.page .ob-page__content p {
  margin: 0 0 24px;
}

.ob-page__content ul,
.ob-page__content ol,
body.page .ob-page__content ul,
body.page .ob-page__content ol {
  margin: 0 0 24px;
  padding-left: 28px;
}

.ob-page__content li,
body.page .ob-page__content li {
  margin-bottom: 8px;
}

/* ====================
   Single Post Template
   ==================== */
body.single,
.ob-single {
  background: var(--bg);
  min-height: 70vh;
}

.ob-single__container,
body.single .ob-single__container {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}

.ob-single__thumb,
body.single .ob-single__thumb {
  margin-bottom: 32px;
  border-radius: 16px;
  overflow: hidden;
}

.ob-single__thumb img,
body.single .ob-single__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.ob-single__header,
body.single .ob-single__header {
  margin-bottom: 40px;
}

.ob-single__date,
body.single .ob-single__date {
  display: block;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 12px;
}

.ob-single__title,
body.single .ob-single__title {
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0;
  line-height: 1.4;
}

.ob-single__content,
body.single .ob-single__content {
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
}

.ob-single__content h2,
body.single .ob-single__content h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 48px 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-light);
}

.ob-single__content h3,
body.single .ob-single__content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 36px 0 16px;
}

.ob-single__content p,
body.single .ob-single__content p {
  margin: 0 0 24px;
}

.ob-single__content ul,
.ob-single__content ol,
body.single .ob-single__content ul,
body.single .ob-single__content ol {
  margin: 0 0 24px;
  padding-left: 28px;
}

.ob-single__content li,
body.single .ob-single__content li {
  margin-bottom: 8px;
}

.ob-single__content img,
body.single .ob-single__content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 32px 0;
}

.ob-single__footer,
body.single .ob-single__footer {
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.ob-single__back,
body.single .ob-single__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  transition: all .2s ease;
}

.ob-single__back:hover,
body.single .ob-single__back:hover {
  color: var(--accent);
  gap: 4px;
}

/* ====================
   Archive Template
   ==================== */
body.archive,
body.blog,
.ob-archive {
  background: var(--bg);
  min-height: 70vh;
}

.ob-archive__container,
body.archive .ob-archive__container,
body.blog .ob-archive__container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px 100px;
}

.ob-archive__header,
body.archive .ob-archive__header,
body.blog .ob-archive__header {
  margin-bottom: 60px;
  text-align: center;
}

.ob-archive__title,
body.archive .ob-archive__title,
body.blog .ob-archive__title {
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 700;
  letter-spacing: .08em;
  margin: 0 0 16px;
}

.ob-archive__desc,
body.archive .ob-archive__desc,
body.blog .ob-archive__desc {
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

.ob-archive__pagination,
body.archive .ob-archive__pagination,
body.blog .ob-archive__pagination {
  margin-top: 60px;
  text-align: center;
}

.ob-archive__pagination .nav-links,
body.archive .ob-archive__pagination .nav-links,
body.blog .ob-archive__pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ob-archive__pagination a,
.ob-archive__pagination .current,
body.archive .ob-archive__pagination a,
body.archive .ob-archive__pagination .current,
body.blog .ob-archive__pagination a,
body.blog .ob-archive__pagination .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all .2s ease;
}

.ob-archive__pagination a:hover,
body.archive .ob-archive__pagination a:hover,
body.blog .ob-archive__pagination a:hover {
  border-color: var(--accent-border);
  background: var(--accent-light);
  color: var(--accent);
}

.ob-archive__pagination .current,
body.archive .ob-archive__pagination .current,
body.blog .ob-archive__pagination .current {
  border-color: var(--accent-border);
  background: var(--accent-light);
  color: var(--accent);
}

.ob-archive__empty,
body.archive .ob-archive__empty,
body.blog .ob-archive__empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}

.ob-archive__empty p,
body.archive .ob-archive__empty p,
body.blog .ob-archive__empty p {
  margin: 0;
  font-size: 16px;
}

/* ====================
   WordPress Override Fix
   ==================== */
body.page {
  background: #f7f7f5 !important;
  font-family: 'Space Grotesk', sans-serif !important;
}

body.page .wp-site-blocks {
  padding: 0 !important;
  max-width: none !important;
}

body.page p,
body.page h2,
body.page h3:not(.ob-service__title):not(.ob-h2):not(.ob-h3) {
  font-family: 'Space Grotesk', sans-serif !important;
}

/* ====================
   Responsive: PC
   ==================== */
@media (min-width: 900px) {
  .ob-topbar {
    padding: 20px 32px;
  }

  .ob-post-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ====================
   Responsive: Tablet
   ==================== */
@media (max-width: 899px) {
  .ob-kv {
    min-height: 75vh;
  }

  .ob-service {
    grid-template-columns: 60px 1fr;
    gap: 20px;
    padding: 28px 0;
  }

  .ob-service__number {
    font-size: 56px;
  }

  .ob-service__title {
    font-size: 28px;
  }

  .ob-post-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .ob-contact-cta {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ====================
   Responsive: SP
   ==================== */
@media (max-width: 640px) {
  .ob-kv {
    min-height: 70vh;
  }

  .ob-kv__inner {
    padding: 50px 0 60px;
  }

  .ob-topbar {
    padding: 16px 20px;
  }

  .ob-topbar__brand {
    font-size: 22px;
  }

  .ob-service {
    grid-template-columns: 50px 1fr;
    gap: 16px;
  }

  .ob-service__number {
    font-size: 48px;
  }

  .ob-service__title {
    font-size: 24px;
  }

  .ob-kv__scroll {
    bottom: 24px;
    font-size: 10px;
  }

  .ob-post-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ====================
   Hamburger Menu
   ==================== */
.ob-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
}

.ob-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s ease;
  transform-origin: center;
}

.ob-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.ob-burger.is-open span:nth-child(2) {
  opacity: 0;
}
.ob-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .ob-burger {
    display: flex;
  }

  .ob-topbar__links {
    display: none !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 90;
  }

  .ob-topbar__links.is-open {
    display: flex !important;
  }

  .ob-topbar__links a {
    font-size: 28px;
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: .1em;
    color: var(--text);
  }

  .ob-topbar__links li {
    list-style: none;
  }
}