/*
Theme Name: Daikuma
Theme URI: https://example.com/
Author: Daikuma
Description: Static corporate site theme for Daikuma. Pages are assigned via selectable page templates, not slug-based templates.
Version: 1.0.0
Text Domain: daikuma
*/
:root {
  --color-primary: #0066cc;
  --color-primary-focus: #0071e3;
  --color-primary-on-dark: #2997ff;
  --color-ink: #1d1d1f;
  --color-body: #1d1d1f;
  --color-body-on-dark: #ffffff;
  --color-body-muted: #cccccc;
  --color-muted-80: #333333;
  --color-muted-48: #7a7a7a;
  --color-hairline: #e0e0e0;
  --color-canvas: #ffffff;
  --color-parchment: #f5f5f7;
  --color-pearl: #fafafc;
  --color-tile-1: #272729;
  --color-black: #000000;
  --font-display: "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --font-text: "SF Pro Text", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --radius-sm: 8px;
  --radius-md: 11px;
  --radius-lg: 18px;
  --radius-pill: 9999px;
  --shadow-soft: none;
  --shadow-product: rgba(0, 0, 0, 0.22) 3px 5px 30px 0;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 17px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-section: 80px;
  --container: 1440px;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--color-body); background: var(--color-parchment); font-family: var(--font-text); font-size: 17px; line-height: 1.47; letter-spacing: -0.374px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 2px solid var(--color-primary-focus); outline-offset: 3px; }
.utility { min-height: 44px; color: var(--color-body-on-dark); background: var(--color-black); font-size: 12px; line-height: 1; letter-spacing: -0.12px; }
.utility__inner, .nav__inner, .container { width: min(100% - 40px, var(--container)); margin: 0 auto; }
.utility__inner { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 28px; opacity: .9; }
.nav { position: sticky; top: 0; z-index: 10; background: rgba(245, 245, 247, .86); border-bottom: 1px solid rgba(0,0,0,.08); backdrop-filter: saturate(180%) blur(20px); }
.nav__inner { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--color-ink); font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.19; letter-spacing: .231px; }
.brand__mark { width: 30px; height: 30px; display: grid; place-items: center; color: var(--color-body-on-dark); background: var(--color-ink); border-radius: 50%; font-size: 11px; letter-spacing: 0; }
.nav__links, .footer__links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.nav__links a { padding: 18px 0; color: var(--color-muted-80); border-bottom: 1px solid transparent; font-size: 12px; line-height: 1; letter-spacing: -0.12px; }
.nav__links a[aria-current="page"] { color: var(--color-ink); border-color: var(--color-ink); }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: var(--radius-pill); padding: 11px 22px; font-size: 17px; font-weight: 400; line-height: 1; letter-spacing: -0.374px; text-transform: none; transition: transform 160ms ease; }
.button:active { transform: scale(.95); }
.button--primary { color: var(--color-body-on-dark); background: var(--color-primary); }
.button--outline { color: var(--color-primary); background: transparent; border-color: var(--color-primary); }
.hero { position: relative; padding: 0; overflow: hidden; background: var(--color-canvas); }
.hero::before, .hero::after { display: none; }
.hero .container { width: 100%; max-width: none; }
.hero__card { min-height: calc(100vh - 96px); position: relative; display: grid; grid-template-columns: 1fr; align-items: end; gap: 0; padding: 0; color: var(--color-body-on-dark); background: var(--color-tile-1); border-radius: 0; box-shadow: none; }
.hero__image { grid-area: 1 / 1; width: 100%; height: 100%; min-height: calc(100vh - 96px); overflow: hidden; border-radius: 0; background: var(--color-tile-1); }
.hero__image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.02) contrast(1.02); opacity: .78; }
.hero__copy { grid-area: 1 / 1; z-index: 1; width: min(100% - 40px, 980px); margin: 0 auto; padding: 80px 0 96px; display: flex; flex-direction: column; align-items: center; justify-content: end; gap: var(--space-5); text-align: center; }
.hero__copy .lead { max-width: 760px; color: var(--color-body-on-dark); }
.eyebrow { color: var(--color-primary); font-size: 14px; font-weight: 600; line-height: 1.29; letter-spacing: -0.224px; text-transform: none; }
.hero__copy .eyebrow, .cta-band .eyebrow { color: var(--color-primary-on-dark); }
h1,h2,h3,p { margin-top: 0; }
h1 { margin-bottom: 0; font-family: var(--font-display); font-size: clamp(34px, 5.5vw, 56px); font-weight: 600; line-height: 1.07; letter-spacing: -0.28px; }
h2 { margin-bottom: var(--space-4); font-family: var(--font-display); font-size: clamp(32px, 4vw, 40px); font-weight: 600; line-height: 1.1; letter-spacing: 0; }
h3 { margin-bottom: var(--space-2); font-size: 17px; font-weight: 600; line-height: 1.24; letter-spacing: -0.374px; }
.lead { color: var(--color-muted-80); font-family: var(--font-display); font-size: clamp(21px, 2.8vw, 28px); font-weight: 400; line-height: 1.14; letter-spacing: .196px; }
.section { padding: var(--space-section) 0; background: var(--color-canvas); }
.section:nth-of-type(even) { background: var(--color-parchment); }
.section--cloud { background: var(--color-parchment); }
.section--fog { background: var(--color-pearl); }
.section__head { max-width: 980px; margin: 0 auto var(--space-7); text-align: center; }
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { height: 100%; padding: var(--space-5); background: var(--color-canvas); border: 1px solid var(--color-hairline); border-radius: var(--radius-lg); box-shadow: none; }
.card--quiet { background: var(--color-canvas); box-shadow: none; }
.card__image { aspect-ratio: 16 / 10; margin: calc(var(--space-5) * -1) calc(var(--space-5) * -1) var(--space-5); overflow: hidden; border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: var(--color-parchment); }
.card__image img { width: 100%; height: 100%; object-fit: cover; box-shadow: var(--shadow-product); }
.meta { color: var(--color-muted-48); font-size: 14px; line-height: 1.43; letter-spacing: -0.224px; }
.tag-list { display: flex; justify-content: center; gap: var(--space-2); flex-wrap: wrap; margin: var(--space-4) 0 var(--space-6); }
.tag { display: inline-flex; align-items: center; border: 1px solid var(--color-hairline); border-radius: var(--radius-pill); padding: 12px 16px; background: var(--color-canvas); font-size: 14px; font-weight: 400; line-height: 1.29; letter-spacing: -0.224px; }
.tag--active { color: var(--color-body-on-dark); background: var(--color-ink); border-color: var(--color-ink); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: center; }
.media-frame { overflow: hidden; border-radius: 0; background: var(--color-parchment); }
.media-frame img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; box-shadow: var(--shadow-product); }
.cta-band { position: relative; overflow: hidden; min-height: 420px; display: grid; place-items: center; padding: var(--space-section); color: var(--color-body-on-dark); background: var(--color-tile-1); border-radius: 0; text-align: center; }
.cta-band::after { display: none; }
.cta-band p { color: var(--color-body-muted); }
.form { display: grid; gap: var(--space-4); }
.form label { display: grid; gap: var(--space-2); font-weight: 600; }
.form input, .form textarea, .form select { width: 100%; min-height: 44px; border: 1px solid rgba(0,0,0,.08); border-radius: var(--radius-pill); padding: 12px 20px; color: var(--color-ink); background: var(--color-canvas); font: inherit; }
.form textarea { min-height: 160px; border-radius: var(--radius-lg); }
.check-group { display: grid; gap: var(--space-2); margin: 0; border: 1px solid var(--color-hairline); border-radius: var(--radius-lg); padding: var(--space-4); }
.check-group label { display: flex; align-items: center; gap: var(--space-2); font-weight: 400; }
.check-group input { width: auto; min-height: auto; }
.table { width: 100%; border-collapse: collapse; background: var(--color-canvas); border: 1px solid var(--color-hairline); border-radius: var(--radius-lg); overflow: hidden; box-shadow: none; }
.table th, .table td { padding: var(--space-4); border-bottom: 1px solid var(--color-hairline); text-align: left; }
.table th { width: 28%; background: var(--color-parchment); font-weight: 600; }
.footer { color: var(--color-muted-80); background: var(--color-parchment); padding: 64px 0 32px; font-size: 12px; line-height: 1.35; letter-spacing: -0.12px; }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--space-7); }
.footer a { color: var(--color-muted-80); }
.footer .brand { color: var(--color-ink); }
.footer__bottom { margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--color-hairline); color: var(--color-muted-48); font-size: 12px; }
.instagram-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.instagram-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); }
.page-hero { padding: 80px 0; background: var(--color-parchment); text-align: center; }
.page-hero .container { max-width: 980px; }
.pagination { display: flex; justify-content: center; gap: var(--space-2); margin-top: var(--space-7); }
.pagination a { display: grid; place-items: center; min-width: 44px; height: 44px; border: 1px solid var(--color-hairline); border-radius: var(--radius-pill); background: var(--color-canvas); }
.article { max-width: 860px; margin: 0 auto; }
.article p { color: var(--color-muted-80); }
@media (max-width: 1068px) { :root { --container: 980px; } .grid--3 { grid-template-columns: repeat(2,1fr); } .hero__copy { padding-bottom: 72px; } }
@media (max-width: 833px) { .nav__inner { align-items: flex-start; flex-direction: column; padding: var(--space-4) 0; } .nav__links { gap: 16px; } .split, .footer__grid { grid-template-columns: 1fr; } .grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { :root { --space-section: 48px; } body { font-size: 16px; } .utility__inner { align-items: center; flex-direction: column; gap: 8px; padding: 8px 0; } .nav__links { align-items: stretch; flex-direction: column; width: 100%; gap: 0; } .nav__links a { padding: 10px 0; } .hero__card, .hero__image { min-height: calc(100vh - 132px); } .hero__copy { padding: 56px 0; } h1 { font-size: 34px; } .grid--3, .instagram-grid { grid-template-columns: 1fr; } .cta-band { min-height: 320px; padding: var(--space-7) var(--space-5); } }
@media (max-width: 419px) { h1 { font-size: 28px; } .lead { font-size: 21px; } }

/* Brand logo override */
.brand--logo {
  flex: 0 0 auto;
  min-height: 44px;
}

.brand--logo img {
  width: auto;
  height: 34px;
  max-width: min(220px, 48vw);
  object-fit: contain;
}

.footer .brand--logo img {
  height: 44px;
  max-width: min(260px, 70vw);
}

@media (max-width: 640px) {
  .brand--logo img {
    height: 30px;
    max-width: 180px;
  }

  .footer .brand--logo img {
    height: 38px;
  }
}

/* About page refinements */
.about-message p {
  color: var(--color-muted-80);
  margin-bottom: 1.05em;
}

.about-message .signature {
  margin-top: 28px;
  color: var(--color-ink);
  font-weight: 600;
  line-height: 1.8;
}

.map-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 834px) {
  .about-message {
    max-width: 640px;
  }

  .about-message h2 {
    text-align: left;
  }
}

/* Menu title/body spacing adjustments */
.section__head h2,
.page-hero h1,
.about-message h2,
.cta-band h2 {
  margin-bottom: 28px;
}

.section__head .lead,
.page-hero .lead {
  margin-top: 0;
}

.card h3 {
  margin-bottom: 16px;
}

.card .meta + h3 {
  margin-top: 10px;
}

.card p:not(.meta) {
  margin-top: 10px;
}

/* Tighten section lead/content spacing and hide title eyebrows */
.eyebrow {
  display: none;
}

.section__head {
  margin-bottom: 32px;
}

.page-hero {
  padding-top: 64px;
  padding-bottom: 64px;
}

.section__head h2,
.page-hero h1,
.about-message h2,
.cta-band h2 {
  margin-bottom: 18px;
}

.section__head .lead,
.page-hero .lead {
  margin-bottom: 0;
}

/* Yellow estimate/contact band */
.estimate-band {
  padding: 84px 0;
  background: #ffcc00;
  color: #111111;
}

.estimate-band__inner {
  max-width: 1320px;
}

.estimate-band__head {
  display: grid;
  justify-items: center;
  gap: 24px;
  text-align: center;
}

.estimate-band__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 28px;
  color: #ffffff;
  background: #1f1f1f;
  border-radius: 6px;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 800;
  letter-spacing: 0;
}

.estimate-band__head h2 {
  margin: 0;
  color: #151515;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.estimate-band__head p {
  margin: 8px 0 28px;
  font-size: clamp(16px, 1.35vw, 20px);
  letter-spacing: 0;
}

.estimate-band__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: stretch;
}

.estimate-card {
  min-height: 170px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  padding: 34px 42px;
  text-decoration: none;
}

.estimate-card--dark {
  position: relative;
  color: #ffffff;
  background: #202020;
}

.estimate-card--dark::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 18px solid #202020;
  transform: translateY(-50%);
}
.estimate-card--dark,
.estimate-card[href^="tel:"],
.estimate-card--form,
.estimate-card--line {
  grid-column: span 2;
}

.estimate-card[href^="tel:"] {
  justify-content: flex-end;
  text-align: right;
}

.estimate-card[href^="tel:"] > span:last-child {
  text-align: right;
}

.estimate-card--line .estimate-card__icon {
  background: #06c755;
  font-size: 16px;
}


.estimate-card--dark ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.estimate-card--dark li {
  position: relative;
  padding-left: 36px;
  font-size: clamp(15px, 1.2vw, 18px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
}

.estimate-card--dark li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 10px;
  border-left: 5px solid #ffffff;
  border-bottom: 5px solid #ffffff;
  transform: rotate(-45deg);
}

.estimate-card--light {
  gap: 24px;
  color: #111111;
  background: #ffffff;
}

.estimate-card__icon {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #252525;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.estimate-card strong {
  display: block;
  font-size: clamp(24px, 2.1vw, 32px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
}

.estimate-card small {
  display: block;
  margin-top: 4px;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.4;
  letter-spacing: 0;
}

@media (max-width: 1068px) {
  .estimate-band__cards {
    grid-template-columns: 1fr;
  }

  .estimate-card--dark,
  .estimate-card[href^="tel:"],
  .estimate-card--form,
  .estimate-card--line {
    grid-column: auto;
  }

  .estimate-card--dark::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .estimate-band {
    padding: 56px 0;
  }

  .estimate-card {
    padding: 28px;
  }

  .estimate-card--light {
    align-items: center;
    flex-direction: row;
    gap: 16px;
    min-height: 132px;
    padding: 26px 22px;
  }

  .estimate-card__icon {
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    font-size: 16px;
  }

  .estimate-card--light strong {
    font-size: clamp(20px, 6vw, 26px);
    line-height: 1.35;
  }

  .estimate-card--light small {
    font-size: 15px;
  }
}

/* Hero generated image and centered large copy */
.hero__card,
.hero__image {
  min-height: calc(100vh - 96px);
}

.hero__image img {
  opacity: 0.62;
  filter: saturate(1.05) contrast(1.08) brightness(0.82);
}

.hero__copy {
  min-height: calc(100vh - 96px);
  justify-content: center;
  padding-top: 96px;
  padding-bottom: 96px;
}

.hero__copy h1 {
  max-width: 980px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: 1.06;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
}

.hero__copy .lead {
  max-width: 980px;
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.35;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
}

@media (max-width: 640px) {
  .hero__copy {
    min-height: calc(100vh - 132px);
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero__copy h1 {
    font-size: 38px;
  }

  .hero__copy .lead {
    font-size: 21px;
  }
}


/* Hero logo title */
.hero__logo-panel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hero__logo {
  display: block;
  width: min(72vw, 540px);
  max-height: 160px;
  object-fit: contain;
}


@media (max-width: 640px) {
  .hero__logo {
    width: min(82vw, 340px);
    max-height: 105px;
  }
}






/* Hero content true center alignment */
.hero__card {
  align-items: stretch;
}

.hero__copy {
  box-sizing: border-box;
  min-height: calc(100vh - 96px);
  padding-top: 0;
  padding-bottom: 0;
  justify-content: center;
}

@media (max-width: 640px) {
  .hero__copy {
    min-height: calc(100vh - 132px);
    padding-top: 0;
    padding-bottom: 0;
  }
}

/* Hero CTA button emphasis */
.hero__copy .button {
  min-height: 58px;
  padding: 16px 32px;
  font-size: 20px;
  font-weight: 600;
}

.hero__copy > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

@media (max-width: 640px) {
  .hero__copy .button {
    width: min(100%, 320px);
    min-height: 54px;
    padding: 15px 24px;
    font-size: 18px;
  }
}

/* Hero CTA color, icon, and equal sizing */
.hero__copy .hero__cta {
  width: 260px;
  min-height: 62px;
  padding: 17px 28px;
  border-color: transparent;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
}

.hero__cta--estimate {
  background: #d71920;
}

.hero__cta--phone {
  background: #005bac;
}

.hero__copy .hero__cta:hover {
  transform: translateY(-1px);
}

.button__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .hero__copy .hero__cta {
    width: min(100%, 320px);
    min-height: 58px;
    font-size: 18px;
  }
}



/* Promise card heading emphasis */
.promise-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 18px;
  padding: 0 0 16px;
  color: var(--color-ink);
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0;
}

.promise-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), rgba(255, 204, 0, 0.55));
}

.promise-title__num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  background: var(--color-primary);
  border-radius: 999px;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

@media (max-width: 640px) {
  .promise-title {
    font-size: 23px;
  }

  .promise-title__num {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

/* Promise cards without images */
.card--promise {
  padding-top: 30px;
}

.card--promise .promise-title {
  margin-top: 0;
}

/* Decorated top section headings */
.section__head h2 {
  position: relative;
  display: inline-block;
  padding: 0 22px 18px;
  color: var(--color-ink);
  font-weight: 900;
  letter-spacing: 0;
}

.section__head h2::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  z-index: -1;
  width: calc(100% + 18px);
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 204, 0, 0.5);
  transform: translateX(-50%);
}

.section__head h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 72px;
  height: 5px;
  border-radius: 999px;
  background: var(--color-primary);
  transform: translateX(-50%);
}

.section__head {
  text-align: center;
}

@media (max-width: 640px) {
  .section__head h2 {
    padding-right: 12px;
    padding-left: 12px;
  }
}

/* Section heading icons */
.section__head h2.section-title--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.section-title__icon {
  width: 0.86em;
  height: 0.86em;
  flex: 0 0 auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .section__head h2.section-title--icon {
    gap: 10px;
  }
}


/* Instagram account link */
.instagram-grid--linked {
  color: inherit;
  text-decoration: none;
}

.instagram-grid--linked img {
  transition: transform 180ms ease, filter 180ms ease;
}

.instagram-grid--linked:hover img {
  filter: brightness(1.04) saturate(1.05);
  transform: translateY(-2px);
}

.instagram-follow {
  margin: 28px 0 0;
  text-align: center;
}

/* Compact mobile header menu */
.nav__toggle {
  display: none;
}

@media (max-width: 833px) {
  .nav__inner {
    position: relative;
    min-height: 58px;
    flex-direction: row;
    align-items: center;
    padding: 8px 0;
    gap: 12px;
  }

  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    margin-left: auto;
    padding: 9px 13px;
    color: var(--color-ink);
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
  }

  .nav__toggle-lines,
  .nav__toggle-lines::before,
  .nav__toggle-lines::after {
    display: block;
    width: 17px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    content: "";
  }

  .nav__toggle-lines {
    position: relative;
  }

  .nav__toggle-lines::before,
  .nav__toggle-lines::after {
    position: absolute;
    left: 0;
  }

  .nav__toggle-lines::before {
    top: -6px;
  }

  .nav__toggle-lines::after {
    top: 6px;
  }

  .nav__links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    width: 100%;
    gap: 0;
    padding: 8px 0;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(16px);
  }

  .nav.nav--open .nav__links {
    display: flex;
  }

  .nav__links a {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 15px;
    font-weight: 700;
  }

  .nav__links a:last-child {
    border-bottom: 0;
  }

  .nav__inner > .button {
    display: none;
  }
}

/* Contact Form 7 visual alignment */
.cf7-form-card .wpcf7 {
  width: 100%;
}

.cf7-form-card .wpcf7-form {
  display: grid;
  gap: var(--space-4);
}

.cf7-form-card .cf7-field,
.cf7-form-card .wpcf7-form p {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  font-weight: 600;
}

.cf7-form-card .wpcf7-form-control-wrap {
  display: block;
}

.cf7-form-card input[type="text"],
.cf7-form-card input[type="email"],
.cf7-form-card input[type="tel"],
.cf7-form-card textarea,
.cf7-form-card select {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: var(--radius-pill);
  padding: 12px 20px;
  color: var(--color-ink);
  background: var(--color-canvas);
  font: inherit;
}

.cf7-form-card textarea {
  min-height: 160px;
  border-radius: var(--radius-lg);
}

.cf7-form-card .wpcf7-checkbox {
  display: grid;
  gap: var(--space-2);
  border: 1px solid var(--color-hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  font-weight: 400;
}

.cf7-form-card .wpcf7-list-item {
  margin: 0;
}

.cf7-form-card .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 400;
}

.cf7-form-card input[type="checkbox"] {
  width: auto;
  min-height: auto;
}

.cf7-form-card .wpcf7-submit {
  width: fit-content;
  min-width: 180px;
  cursor: pointer;
}

.cf7-form-card .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #d71920;
  font-size: 14px;
  font-weight: 600;
}

.cf7-form-card .wpcf7-response-output {
  margin: 0;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

/* Contact form redesign: step bar and horizontal rows */
.contact-form-container {
  max-width: 1040px;
}

.contact-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.contact-step {
  position: relative;
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 24px 34px;
  color: var(--color-ink);
  background: #f0f0f0;
  font-weight: 900;
  overflow: hidden;
}

.contact-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -28px;
  z-index: 2;
  width: 56px;
  height: 100%;
  background: inherit;
  clip-path: polygon(0 0, 52% 0, 100% 50%, 52% 100%, 0 100%);
  border-right: 6px solid #ffffff;
}

.contact-step span {
  color: var(--color-primary);
  font-size: 24px;
  line-height: 1;
  letter-spacing: .08em;
}

.contact-step strong {
  font-size: 25px;
  line-height: 1.25;
}

.contact-step--active {
  color: #ffffff;
  background: var(--color-primary);
}

.contact-step--active span,
.contact-step--active strong {
  color: #ffffff;
}

.cf7-form-card--flat {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.cf7-form-card--flat .wpcf7-form {
  display: block;
}

.contact-form-table {
  border-top: 1px solid #d9d9d9;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 10px 10px 10px 14px;
  border-bottom: 1px solid #d9d9d9;
}

.contact-form-row--textarea {
  padding-top: 18px;
  padding-bottom: 18px;
}

.contact-form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #333333;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.required-badge,
.optional-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 22px;
  padding: 2px 7px;
  color: #ffffff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.required-badge {
  background: #ff2b2b;
}

.optional-badge {
  background: #a9a9a9;
}

.contact-form-control {
  min-width: 0;
}

.contact-form-control--postal {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cf7-form-card--flat input[type="text"],
.cf7-form-card--flat input[type="email"],
.cf7-form-card--flat input[type="tel"],
.cf7-form-card--flat textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  padding: 14px 12px;
  color: var(--color-ink);
  background: #ffffff;
  font: inherit;
  font-size: 16px;
  box-shadow: none;
}

.cf7-form-card--flat input[type="text"],
.cf7-form-card--flat input[type="email"],
.cf7-form-card--flat input[type="tel"] {
  min-height: 56px;
}

.cf7-form-card--flat textarea {
  min-height: 200px;
  resize: vertical;
}

.cf7-form-card--flat ::placeholder {
  color: #b9b9b9;
  opacity: 1;
}

.contact-form-control--postal .wpcf7-form-control-wrap {
  max-width: 380px;
  flex: 1 1 260px;
}

.address-search {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 22px;
  color: #ffffff;
  background: var(--color-primary);
  border: 0;
  border-radius: 0;
  font-weight: 800;
  cursor: pointer;
}

.contact-form-note {
  margin: 22px 0 34px;
  text-align: center;
  color: #333333;
  font-size: 16px;
  letter-spacing: .08em;
}

.contact-form-submit {
  display: flex;
  justify-content: center;
}

.cf7-form-card--flat .wpcf7-submit {
  min-width: 320px;
  min-height: 60px;
  padding: 16px 36px;
  color: #ffffff;
  background: var(--color-primary);
  border: 0;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 900;
}

.cf7-form-card--flat .wpcf7-not-valid-tip {
  margin-top: 6px;
  color: #ff2b2b;
  font-size: 13px;
  font-weight: 700;
}

.cf7-form-card--flat .wpcf7-response-output {
  margin: 24px 0 0;
  border-radius: 6px;
  padding: 14px 16px;
}

@media (max-width: 833px) {
  .contact-steps {
    grid-template-columns: 1fr;
  }

  .contact-step {
    min-height: auto;
    padding: 18px 22px;
  }

  .contact-step:not(:last-child)::after {
    display: none;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px 0;
  }

  .contact-form-label {
    min-height: auto;
  }

  .contact-form-control--postal {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form-control--postal .wpcf7-form-control-wrap {
    max-width: none;
  }

  .address-search {
    width: fit-content;
  }
}

@media (max-width: 480px) {
  .contact-step span {
    font-size: 19px;
  }

  .contact-step strong {
    font-size: 21px;
  }

  .cf7-form-card--flat .wpcf7-submit {
    width: 100%;
    min-width: 0;
  }
}

/* Contact step readability refinement */
.contact-step {
  color: var(--color-primary);
  background: #ffffff;
  border: 2px solid rgba(0, 102, 204, 0.28);
  border-radius: 14px;
}

.contact-step strong {
  color: var(--color-ink);
}

.contact-step--active {
  color: #ffffff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.contact-step--active span,
.contact-step--active strong {
  color: #ffffff;
}

.contact-step:not(:last-child)::after {
  display: none;
}

/* Works carousel posts */
.works-carousel {
  position: relative;
}

.works-carousel__viewport {
  overflow: hidden;
}

.works-carousel__track {
  display: flex;
  gap: 20px;
  transition: transform .32s ease;
  will-change: transform;
}

.works-carousel__item {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
}

.works-carousel__item a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.works-carousel__controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.works-carousel__button {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: var(--color-primary);
  border: 0;
  border-radius: 999px;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.works-carousel__button:disabled {
  opacity: .35;
  cursor: default;
}

.works-carousel__more {
  margin-top: 32px;
  text-align: center;
}

@media (max-width: 1068px) {
  .works-carousel__item {
    flex-basis: calc((100% - 20px) / 2);
  }
}

@media (max-width: 640px) {
  .works-carousel__item {
    flex-basis: 100%;
  }
}

/* Single case detail layout */
.case-detail {
  max-width: 1100px;
}

.case-detail__main,
.case-detail__notes {
  margin-top: 0;
}

.case-detail__notes,
.case-detail__table,
.case-detail__back {
  margin-top: 32px;
}

.case-detail__summary h3,
.case-detail__photo h3,
.case-detail__notes h3 {
  color: var(--color-primary);
}

.case-detail__content.article {
  max-width: none;
  margin: 0;
}

.case-detail__content p + p {
  margin-top: 14px;
}

.case-detail__table th {
  width: 180px;
}

.case-detail__back {
  text-align: center;
}

.single__eyecatch {
  margin-bottom: 32px;
}

@media (max-width: 640px) {
  .case-detail__table th,
  .case-detail__table td {
    display: block;
    width: 100%;
  }

  .case-detail__table th {
    padding-bottom: 6px;
  }
}

/* Cases archive dynamic cards */
.pagination .current {
  display: grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  color: #ffffff;
  background: var(--color-primary);
  border-radius: var(--radius-pill);
}

.case-detail__overview {
  margin-top: 32px;
}

.case-detail__overview h3 {
  color: var(--color-primary);
}

/* Single column case detail */
.case-detail--single-column {
  position: relative;
  max-width: 920px;
  display: grid;
  gap: 28px;
  padding-bottom: 156px;
}

.case-detail--single-column .case-detail__block,
.case-detail--single-column .case-detail__table,
.case-detail--single-column .case-detail__back {
  margin-top: 0;
}

.case-detail--single-column .case-detail__block h3 {
  color: var(--color-primary);
}

.case-detail--single-column .case-detail__image {
  aspect-ratio: 16 / 9;
}

.case-detail__mascot {
  position: absolute;
  right: 8px;
  bottom: 72px;
  width: clamp(120px, 18vw, 210px);
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.case-detail--single-column .case-detail__back {
  position: relative;
  z-index: 2;
}

@media (max-width: 640px) {
  .case-detail--single-column {
    padding-bottom: 118px;
  }

  .case-detail__mascot {
    right: 0;
    bottom: 64px;
    width: 112px;
  }
}

/* Case progress gallery */
.case-progress-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.case-progress-gallery__item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--color-parchment);
}

.case-progress-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.case-progress-gallery__item:hover img {
  transform: scale(1.04);
}

.case-progress-gallery--empty {
  grid-template-columns: 1fr;
  padding: 22px;
  color: var(--color-muted-80);
  background: var(--color-parchment);
  border: 1px dashed var(--color-hairline);
  border-radius: var(--radius-sm);
}

.case-progress-gallery--empty p {
  margin: 0;
}

@media (max-width: 640px) {
  .case-progress-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

/* Heading mascot replacement */
.section-head__mascot,
.page-hero__mascot {
  display: block;
  width: clamp(58px, 7vw, 88px);
  height: auto;
  margin: 0 auto 12px;
}

.section__head h2.section-title {
  display: inline-block;
}

.section__head h2.section-title--icon {
  display: inline-block;
}

.section-title__icon {
  display: none;
}

@media (max-width: 640px) {
  .section-head__mascot,
  .page-hero__mascot {
    width: 58px;
    margin-bottom: 10px;
  }
}

.section-head__mascot--about {
  margin-right: 0;
  margin-left: 0;
}

@media (max-width: 833px) {
  .section-head__mascot--about {
    margin-right: auto;
    margin-left: auto;
  }
}

/* Instagram feed plugin embed */
.instagram-feed-embed {
  max-width: 1040px;
  margin: 0 auto;
}

.instagram-feed-embed #sb_instagram,
.instagram-feed-embed .sbi,
.instagram-feed-embed .sb_instagram_header {
  max-width: 100%;
}

.instagram-feed-embed:empty {
  display: none;
}

/* Brand mascot beside logo */
.brand--with-mascot {
  gap: 12px;
}

.brand--with-mascot .brand__logo {
  width: auto;
  height: 34px;
  max-width: min(220px, 48vw);
  object-fit: contain;
}

.brand--with-mascot .brand__mascot {
  width: auto;
  height: 44px;
  flex: 0 0 auto;
  object-fit: contain;
}

.footer .brand--with-mascot .brand__logo {
  height: 44px;
  max-width: min(260px, 70vw);
}

.footer .brand--with-mascot .brand__mascot {
  height: 58px;
}

@media (max-width: 640px) {
  .brand--with-mascot {
    gap: 8px;
  }

  .brand--with-mascot .brand__logo {
    height: 30px;
    max-width: 160px;
  }

  .brand--with-mascot .brand__mascot {
    height: 36px;
  }

  .footer .brand--with-mascot .brand__logo {
    height: 38px;
  }

  .footer .brand--with-mascot .brand__mascot {
    height: 48px;
  }
}

/* Category filter links */
.tag-list a.tag {
  text-decoration: none;
}

.tag-list a.tag:hover {
  color: var(--color-body-on-dark);
  background: var(--color-primary);
  border-color: var(--color-primary);
}


/* Estimate band mascot */
.estimate-band__title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.estimate-band__title h2 {
  margin: 0;
}

.estimate-band__mascot {
  width: clamp(72px, 8.5vw, 108px);
  height: auto;
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .estimate-band__title {
    flex-direction: column;
    gap: 10px;
  }

  .estimate-band__mascot {
    width: 68px;
  }
}
/* Contact page title mascot */
.contact-hero__title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}

.contact-hero__title h1 {
  margin: 0;
}

.contact-hero__mascot {
  width: clamp(58px, 7vw, 88px);
  height: auto;
  flex: 0 0 auto;
}

@media (max-width: 640px) {
  .contact-hero__title {
    flex-direction: column;
    gap: 10px;
  }

  .contact-hero__mascot {
    width: 58px;
  }
}
/* Section title mascot side placement */
.section-title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 18px;
  max-width: 100%;
}

.section-title-row .section-head__mascot {
  display: block;
  width: clamp(58px, 7vw, 88px);
  height: auto;
  flex: 0 0 auto;
  margin: 0;
}

.section-title-row h2,
.section__head .section-title-row h2 {
  margin: 0;
}

.section-title-row--about {
  justify-content: flex-start;
  text-align: left;
}

.section-title-row--about .section-head__mascot--about {
  margin: 0;
}

@media (max-width: 640px) {
  .section-title-row {
    gap: 10px;
  }

  .section-title-row .section-head__mascot {
    width: 54px;
  }
}
/* Promise title mascots */
.promise-title {
  align-items: center;
}

.promise-title__mascot {
  width: clamp(76px, 8vw, 112px);
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
}

@media (max-width: 640px) {
  .promise-title__mascot {
    width: 82px;
  }
}
/* Case detail bottom action buttons */
.case-detail__back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.case-detail__button {
  min-width: min(100%, 260px);
  min-height: 60px;
  padding: 18px 34px;
  font-size: 20px;
  font-weight: 700;
}

@media (max-width: 640px) {
  .case-detail__back {
    align-items: stretch;
    flex-direction: column;
  }

  .case-detail__button {
    width: 100%;
    min-width: 0;
  }
}
.case-detail__button--list {
  color: #ffffff;
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.case-detail__button--contact {
  color: #ffffff;
  background: #e60012;
  border-color: #e60012;
}
/* About access map embed */
.map-card--embed {
  max-width: 960px;
  padding: 0;
  overflow: hidden;
}

.map-card--embed h3 {
  margin: 0;
  padding: 24px 28px 0;
}

.map-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 20px;
  background: var(--color-parchment);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-card__action {
  margin: 24px 0 28px;
  text-align: center;
}

@media (max-width: 640px) {
  .map-card--embed h3 {
    padding: 20px 20px 0;
  }

  .map-embed {
    aspect-ratio: 4 / 3;
  }
}
/* Blog detail readability */
.single-post-hero {
  padding-top: 56px;
  padding-bottom: 48px;
}

.single-post-hero h1 {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
}

.single-post-hero .lead {
  margin-top: 14px;
  font-size: clamp(16px, 1.7vw, 20px);
}

.single-post-article {
  max-width: 860px;
  padding: clamp(28px, 4vw, 48px);
  background: #fff;
  border: 1px solid var(--color-hairline);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .06);
}

.single-post-article .single__eyecatch {
  margin: 0 0 32px;
  border-radius: 12px;
  overflow: hidden;
}

.single-post-article p {
  margin: 0 0 1.35em;
  color: var(--color-muted-80);
  line-height: 1.9;
}

.single-post-article h2 {
  margin: 2.1em 0 .9em;
  padding: 14px 18px 14px 20px;
  color: var(--color-ink);
  background: rgba(0, 102, 204, .08);
  border-left: 6px solid var(--color-primary);
  border-radius: 8px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

.single-post-article h2:first-child {
  margin-top: 0;
}

.single-post-article h3 {
  margin: 1.9em 0 .75em;
  padding-bottom: 8px;
  color: var(--color-primary);
  border-bottom: 2px solid rgba(0, 102, 204, .18);
  font-size: clamp(20px, 2.3vw, 25px);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: 0;
}

.single-post-article ul,
.single-post-article ol {
  margin: 0 0 1.5em 1.25em;
  padding: 0;
  color: var(--color-muted-80);
  line-height: 1.9;
}

.single-post-article li + li {
  margin-top: .45em;
}

.single-post-article blockquote {
  margin: 2em 0;
  padding: 18px 22px;
  background: var(--color-parchment);
  border-left: 5px solid var(--color-primary);
  border-radius: 8px;
}

@media (max-width: 640px) {
  .single-post-hero {
    padding-top: 42px;
    padding-bottom: 38px;
  }

  .single-post-hero h1 {
    font-size: 27px;
    line-height: 1.32;
  }

  .single-post-article {
    padding: 22px;
    border-radius: 10px;
  }

  .single-post-article h2 {
    padding: 12px 14px;
    font-size: 22px;
  }

  .single-post-article h3 {
    font-size: 19px;
  }
}
/* Estimate phone emphasis */
.estimate-card[href^="tel:"] strong:first-child {
  color: #e60012;
  font-size: clamp(42px, 4.2vw, 68px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 4px 0 rgba(230, 0, 18, .12);
}

.estimate-card[href^="tel:"] {
  border: 3px solid rgba(230, 0, 18, .22);
  box-shadow: 0 18px 42px rgba(230, 0, 18, .16);
}

@media (max-width: 640px) {
  .estimate-card[href^="tel:"] strong:first-child {
    font-size: clamp(34px, 9.4vw, 48px);
  }
}
/* Hero LINE CTA */
.hero__cta--line {
  background: #06c755;
  color: #ffffff;
}

.button__icon--line {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 20px;
  border: 2px solid #ffffff;
  border-radius: 5px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}
/* Hero catch copy */
.hero__catch {
  margin: 0 0 12px;
  color: #ffffff;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "YuMincho", "Times New Roman", serif;
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .08em;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .42);
}

@media (max-width: 640px) {
  .hero__catch {
    margin-bottom: 10px;
    font-size: clamp(19px, 5.8vw, 27px);
  }
}