.iot-hero {
  position: relative;
  display: grid;
  height: clamp(500px, 62vh, 560px);
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--iot-border);
  background:
    radial-gradient(circle at 24% 45%, rgba(111, 23, 34, 0.18), transparent 36%),
    #050505;
}

.iot-hero::after {
  position: absolute;
  z-index: 1;
  inset: auto 0 0;
  height: 4%;
  content: "";
  pointer-events: none;
  background: linear-gradient(transparent, var(--iot-bg));
}

.iot-hero__art {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.2;
  transition: opacity 400ms ease;
}

.iot-hero.is-art-loaded .iot-hero__art {
  opacity: 1;
}

.iot-hero__art picture {
  display: block;
  width: 100%;
  height: 100%;
}

body.iot-site .iot-hero__art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
  filter: brightness(1.07) contrast(1.02);
}

.iot-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
}

.iot-hero__copy {
  max-width: 720px;
  padding: clamp(28px, 5vw, 72px);
  transform: translateY(-52px);
  border-left: 1px solid var(--iot-border-red);
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.88), rgba(5, 5, 5, 0.12));
  transition: opacity 180ms ease;
}

.iot-hero.is-art-loaded .iot-hero__copy {
  opacity: 0;
  pointer-events: none;
}

.iot-hero__eyebrow {
  margin: 0 0 18px;
  color: #c6c0b7;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.18em;
}

.iot-hero h1 {
  margin: 0;
  color: var(--iot-text);
  font-family: var(--iot-font-serif);
  font-size: clamp(56px, 8vw, 126px);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.1;
}

.iot-hero h1 span {
  color: var(--iot-accent-bright);
}

.iot-hero__catch {
  margin: 22px 0 0;
  color: var(--iot-text);
  font-family: var(--iot-font-serif);
  font-size: clamp(20px, 2.2vw, 34px);
  letter-spacing: 0.14em;
}

.iot-hero__catch em {
  color: var(--iot-accent-bright);
  font-style: normal;
}

.iot-hero__description {
  max-width: 580px;
  margin: 18px 0 0;
  color: #b7b0a7;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.iot-category-section {
  padding-top: clamp(48px, 5.5vw, 76px);
  background: linear-gradient(180deg, #0d0d0d, var(--iot-bg));
}

.iot-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 22px);
}

.iot-category-card {
  position: relative;
  display: flex;
  min-height: clamp(180px, 17vw, 252px);
  overflow: hidden;
  flex-direction: column;
  justify-content: end;
  padding: clamp(20px, 2.1vw, 32px);
  border: 1px solid var(--iot-border-strong);
  border-radius: var(--iot-radius);
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.86)),
    var(--iot-card-bg, linear-gradient(135deg, #271318, #101010));
  background-position: center;
  background-size: cover;
  isolation: isolate;
  text-decoration: none;
  transition: transform var(--iot-ease), border-color var(--iot-ease);
}

.iot-category-card::before,
.iot-category-card::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.iot-category-card::before {
  top: -30%;
  right: -8%;
  width: 64%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255, 255, 255, 0.018), 0 0 0 56px rgba(255, 255, 255, 0.012);
}

.iot-category-card::after {
  inset: auto 0 0;
  height: 4px;
  transform: scaleX(0.18);
  transform-origin: left center;
  background: var(--iot-accent-bright);
  transition: transform 240ms ease;
}

.iot-category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 48, 69, 0.7);
}

.iot-category-card:hover::after {
  transform: scaleX(1);
}

.iot-category-card--2 {
  --iot-card-bg: linear-gradient(135deg, #211827, #101010);
}

.iot-category-card--3 {
  --iot-card-bg: linear-gradient(135deg, #182329, #101010);
}

.iot-category-card--4 {
  --iot-card-bg: linear-gradient(135deg, #2b2118, #101010);
}

.iot-category-card__number {
  position: absolute;
  top: 13px;
  right: 16px;
  color: rgba(255, 255, 255, 0.24);
  font-family: var(--iot-font-serif);
  font-size: 11px;
  letter-spacing: 0.13em;
}

.iot-category-card__name {
  color: var(--iot-ivory);
  font-family: var(--iot-font-serif);
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1;
}

.iot-category-card__description {
  margin-top: 13px;
  color: var(--iot-text);
  font-size: 13px;
  font-weight: 650;
}

.iot-category-card__arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  font-size: 14px;
}

.iot-warning-section {
  position: relative;
  background:
    linear-gradient(90deg, rgba(111, 23, 34, 0.10), transparent 34%),
    #080808;
}

.iot-warning-section::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 22%;
  height: 1px;
  content: "";
  background: var(--iot-accent-bright);
}

.iot-tag-section {
  background: var(--iot-bg-soft);
}

.iot-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.iot-tag-cloud a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 8px;
  padding: 10px 17px;
  border: 1px solid var(--iot-border-strong);
  border-radius: 4px;
  background: #101010;
  color: var(--iot-text);
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: border-color var(--iot-ease), background var(--iot-ease), color var(--iot-ease);
}

.iot-tag-cloud a > span {
  color: var(--iot-accent-bright);
  font-family: var(--iot-font-serif);
  font-size: 1.2em;
}

.iot-tag-cloud a small {
  min-width: 18px;
  padding: 1px 5px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--iot-text-muted);
  font-size: 9px;
  text-align: center;
}

.iot-tag-cloud a:hover {
  border-color: var(--iot-accent);
  background: var(--iot-accent-dark);
  color: #fff;
}

.iot-about-section {
  padding-bottom: calc(var(--iot-section-space) + 12px);
}

.iot-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.9fr);
  gap: clamp(18px, 2.4vw, 36px);
}

.iot-about-card,
.iot-updates {
  min-width: 0;
  border-radius: var(--iot-radius);
}

.iot-about-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4.5vw, 68px);
  background: var(--iot-ivory);
  color: #2c2926;
}

.iot-about-card::after {
  position: absolute;
  right: -7%;
  bottom: -65%;
  width: 48%;
  aspect-ratio: 1;
  content: "嫌";
  border: 1px solid rgba(111, 23, 34, 0.15);
  border-radius: 50%;
  color: rgba(111, 23, 34, 0.08);
  font-family: var(--iot-font-serif);
  font-size: clamp(160px, 22vw, 320px);
  line-height: 0.75;
  text-align: center;
}

.iot-about-card .iot-section-kicker {
  color: var(--iot-accent-dark);
}

.iot-about-card h2 {
  position: relative;
  z-index: 1;
  color: #201d1b;
}

.iot-about-card > p:not(.iot-section-kicker) {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 22px 0 0;
  font-family: var(--iot-font-serif);
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 2.1;
}

.iot-about-card .iot-about-card__note {
  color: #685f59;
  font-family: var(--iot-font-sans) !important;
  font-size: 11px !important;
  line-height: 1.8 !important;
}

.iot-updates {
  padding: clamp(26px, 3vw, 42px);
  border: 1px solid var(--iot-border-strong);
  background: var(--iot-surface-deep);
}

.iot-updates__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--iot-border);
}

.iot-updates__heading h2 {
  font-size: 24px;
}

.iot-updates__heading span {
  color: var(--iot-accent-bright);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.iot-updates ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.iot-updates li {
  display: grid;
  grid-template-columns: 78px 76px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding-block: 15px;
  border-bottom: 1px solid var(--iot-border);
  font-size: 11px;
}

.iot-updates time {
  color: var(--iot-text-dim);
}

.iot-updates li > span {
  color: var(--iot-accent-bright);
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}

.iot-updates li a {
  overflow: hidden;
  color: var(--iot-text-muted);
  line-height: 1.6;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iot-updates li a:hover {
  color: var(--iot-text);
}

.iot-updates__empty {
  margin: 26px 0 0;
  color: var(--iot-text-muted);
  font-size: 12px;
}
