:root {
  --navy: #07131d;
  --navy-2: #0d1b27;
  --red: #e23c32;
  --white: #f8fbff;
  --muted: #c9d5df;
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(255, 255, 255, 0.93);
  --ink: #06121d;
  --instagram: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 76%, #515bd4 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Yu Gothic", "Meiryo", system-ui, sans-serif;
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 92px;
  padding: 14px clamp(20px, 4.5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(7, 19, 29, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand img {
  width: 72px;
  height: 72px;
  border: 2px solid var(--red);
  border-radius: 50%;
  object-fit: cover;
}

.brand strong {
  display: block;
  font-size: clamp(24px, 2.2vw, 31px);
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}

.brand small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 950;
}

.header-cta,
.button {
  min-height: 58px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 950;
  white-space: nowrap;
}

.header-cta,
.primary {
  color: #fff;
  background: var(--instagram);
  box-shadow: 0 18px 44px rgba(221, 42, 123, 0.28);
}

.ghost {
  color: #07131d;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
}

.eyebrow {
  color: var(--red);
  font-size: 13px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero {
  min-height: calc(100vh - 92px);
  padding: clamp(52px, 6vw, 86px) clamp(20px, 4.5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1fr);
  align-items: center;
  gap: clamp(34px, 5vw, 72px);
  background:
    linear-gradient(100deg, rgba(7, 19, 29, 0.98) 0%, rgba(7, 19, 29, 0.92) 48%, rgba(7, 19, 29, 0.35) 100%),
    url("./assets/hero-demolition.png") center / cover;
}

.hero-copy h1 {
  margin-top: 18px;
  max-width: 760px;
  font-size: clamp(58px, 6vw, 82px);
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: 0;
}

.hero-copy h1 span {
  display: block;
  color: var(--red);
}

.hero-lead {
  margin-top: 28px;
  max-width: 720px;
  color: #ecf4fb;
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.95;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

.company-panel {
  padding: clamp(26px, 3vw, 38px);
  color: var(--ink);
  background: var(--panel);
  border-radius: 6px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28);
}

.company-panel .eyebrow,
.company .eyebrow {
  color: #0b6fa4;
}

.company-panel h2 {
  margin-top: 12px;
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.25;
}

.company-panel dl,
.company-table dl {
  margin: 24px 0 0;
}

.company-panel div,
.company-table div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  padding: 15px 0;
  border-top: 1px solid rgba(7, 19, 29, 0.14);
  font-weight: 900;
}

.company-panel dt,
.company-table dt {
  color: #5e6c78;
}

.company-panel dd,
.company-table dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.service,
.works {
  padding: clamp(56px, 6vw, 88px) clamp(20px, 4.5vw, 72px);
  background: #07131d;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.9fr);
  gap: 36px;
  align-items: end;
}

.section-heading.wide {
  display: block;
  max-width: 940px;
}

#service .section-heading {
  display: block;
  max-width: 980px;
}

#service-title {
  white-space: nowrap;
  font-size: clamp(30px, 3.4vw, 46px);
}

.section-heading h2,
.company h2,
.contact h2 {
  margin-top: 12px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.18;
  font-weight: 950;
}

.section-heading p,
.contact p {
  color: #d8e3ec;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 780;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 38px;
}

.service-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 4px solid var(--red);
}

.service-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
}

.service-card:nth-child(1) img {
  object-position: center 42%;
}

.service-card:nth-child(2) img {
  object-position: center 45%;
}

.service-card:nth-child(3) img {
  object-position: center 52%;
}

.service-card div {
  padding: 26px;
}

.service-card span {
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.service-card h3 {
  margin-top: 12px;
  font-size: 25px;
  line-height: 1.3;
}

.service-card p {
  margin-top: 10px;
  color: #d1dce5;
  font-size: 15px;
  line-height: 1.85;
  font-weight: 780;
}

.works {
  background: #0d1b27;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.insta-card {
  position: relative;
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(145deg, rgba(7, 19, 29, 0.24), rgba(13, 27, 39, 0.38)),
    url("./assets/post-1.jpg") center / cover;
  overflow: hidden;
}

.insta-card:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(7, 19, 29, 0.24), rgba(13, 27, 39, 0.38)),
    url("./assets/post-2.jpg") center / cover;
}

.insta-card:nth-child(3) {
  background:
    linear-gradient(145deg, rgba(7, 19, 29, 0.24), rgba(13, 27, 39, 0.38)),
    url("./assets/post-3.jpg") center / cover;
}

.instagram-media {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.instagram-media a {
  display: block;
  padding: 22px;
  color: var(--ink);
  font-weight: 950;
}

.embed-fallback {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 28px;
  background: linear-gradient(0deg, rgba(7, 19, 29, 0.94), rgba(7, 19, 29, 0.04));
}

.embed-fallback span {
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.embed-fallback strong {
  font-size: 26px;
  line-height: 1.3;
}

.embed-fallback small {
  color: #d8e3ec;
  font-size: 14px;
  font-weight: 800;
}


.company {
  padding: clamp(56px, 6vw, 88px) clamp(20px, 4.5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(32px, 5vw, 72px);
  color: var(--ink);
  background: #f3f7fb;
}

.company-table {
  padding: 30px;
  background: #fff;
  border: 1px solid #d8e3ec;
}

.contact {
  padding: clamp(48px, 5vw, 72px) clamp(20px, 4.5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: var(--ink);
  background: #fff;
}

.contact > div {
  max-width: 780px;
}

.contact .eyebrow {
  color: #0b6fa4;
}

.contact p {
  color: #4d5f70;
}

.site-footer {
  min-height: 104px;
  padding: 0 clamp(20px, 4.5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #07131d;
  border-top: 1px solid var(--line);
  font-size: 14px;
  font-weight: 950;
}

.site-footer a {
  color: var(--red);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .brand img {
    width: 62px;
    height: 62px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    margin-left: 0;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .header-cta {
    min-height: 50px;
    padding: 0 20px;
  }

  .hero,
  .section-heading,
  .company {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    font-size: 48px;
  }

  .company-panel div,
  .company-table div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .service-grid,
  .instagram-grid {
    grid-template-columns: 1fr;
  }

  .contact {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 18px;
    gap: 14px;
  }

  .brand {
    width: 100%;
    gap: 12px;
  }

  .brand strong {
    font-size: 25px;
  }

  .brand small {
    font-size: 11px;
  }

  .site-nav {
    overflow-x: auto;
    justify-content: flex-start;
    gap: 28px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .header-cta {
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding: 44px 18px 52px;
    background-position: center;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 42px);
    line-height: 1.16;
    overflow-wrap: normal;
    word-break: keep-all;
  }

  .hero-lead {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.85;
  }

  .company-panel {
    width: 100%;
    padding: 22px 18px;
  }

  .section-heading h2,
  .company h2,
  .contact h2 {
    font-size: 32px;
  }

  #service-title {
    white-space: normal;
    font-size: 30px;
    line-height: 1.22;
  }

  .service,
  .works,
  .company,
  .contact {
    padding-left: 18px;
    padding-right: 18px;
  }

  .button,
  .contact .button {
    width: 100%;
  }
}
