/* Shared reading scale, contrast and layout for all corporate pages. */
:root {
  --body: 16px;
  --muted: #536158;
  --line: #b6bdb3;
  --text-body: 1rem;
  --text-small: .875rem;
  --text-label: .8125rem;
  --rule-width: 1.5px;
}

body { line-height: 1.85; }
.works__grid--single { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.header__tag, .header__nav, .header__contact,
.section__label, .section__number, .hero__eyebrow,
.ocean__label, .person__role, .business-card__top,
.business-offer__index, .business-banner__caption,
.business-entry__label { font-weight: 600; }

.hero__title, .section__title, .intro h2, .ocean h2,
.person h3, .contact h2, .business-section__heading h2,
.business-hero__catch, .business-person__info h3,
.wavehack-access h2 { font-weight: 600; }

.work__meta h3, .service h3, .business-card h3,
.business-offer h3, .business-process h3,
.business-related__header h2, .business-entry__title,
.business-hero__title { font-weight: 600; }

/* Descriptions and biographies should have the same readable scale. */
.intro__body, .section__aside, .work__description,
.services__intro > p:not(.section__label), .service h3 + p,
.ocean__project p, .person__bio, .about__name p,
.contact__bottom p, .business-card__description,
.business-hero__description, .business-entry__body,
.business-section__heading > p:not(.section__label),
.business-offer p, .business-process p,
.business-person__info > p:last-child, .business-story,
.wavehack-access p:not(.section__label) {
  font-size: var(--text-body);
  line-height: 2;
}

.section__aside, .work__description, .person__bio,
.business-card__description, .business-entry__body,
.business-section__heading > p:not(.section__label),
.business-offer p, .business-process p,
.business-person__info > p:last-child, .service h3 + p {
  color: #46534c;
}

/* Navigation and labels retain hierarchy without becoming micro-text. */
.header__tag, .section__label, .section__number,
.hero__eyebrow, .ocean__label, .person__role,
.business-card__top, .business-entry__label,
.business-offer__index, .business-banner__caption,
.service__number, .service__english, .service__tags,
.work__meta span, .footer__back, .footer__bottom,
.footer__bottom small, .footer__top p {
  font-size: var(--text-label);
  line-height: 1.7;
}

.header__nav, .header__contact, .text-link, .service__detail,
.business-card__bottom, .business-entry__bottom,
.footer__businesses, .business-related__header > a,
.contact__top > p:last-child, .ocean__project h3 span {
  font-size: var(--text-small);
  font-weight: 600;
}
.breadcrumb { font-size: var(--text-label); line-height: 1.9; }
.breadcrumb a, .footer__businesses a { display: inline-block; padding: 6px 0; }
.business-process li::before { font-size: var(--text-label); font-weight: 600; }
.business-process h3 { font-size: 20px; }
.business-card h3 { font-size: clamp(21px, 1.75vw, 27px); line-height: 1.65; }
.business-card__top { letter-spacing: .04em; }
.business-card__arrow { flex-shrink: 0; width: 44px; height: 44px; }
.business-card__bottom { min-height: 44px; }
.business-card__icon:not(img) { stroke-width: 2.3; }

.hero__bottom p, .hero__bottom p span { font-size: var(--text-small); font-weight: 500; line-height: 1.9; }
.hero__eyebrow { max-width: calc(100% - 48px); letter-spacing: .06em; }
.hero__shade { background: linear-gradient(180deg, #0f1d2138, #0f1d212e 25%, #0f1d2187 72%, #0f1d2199); }
.hero__title { text-shadow: 0 2px 18px #0f1d2138; }
.hero__side { font-size: 12px; font-weight: 600; }
.ocean::after { background: linear-gradient(90deg, #142f3dcc, #142f3d70); }
.ocean__project h3 { font-weight: 600; }
.ocean__content { width: 100%; }

/* Borders and touch targets are intentionally stronger than hairlines. */
.works, .services, .business-cards, .business-card,
.business-cards__grid, .service, .about__name,
.business-entry, .business-section + .business-section,
.business-offer, .business-process li, .business-works,
.business-related, .footer__businesses, .wavehack-access {
  border-top-width: var(--rule-width);
}
.business-card { border-right-width: var(--rule-width); }
.text-link, .service__detail, .business-offer:last-child,
.service:last-child, .business-related__links a {
  border-bottom-width: var(--rule-width);
}
.header__contact span, .contact__arrow, .business-card__arrow,
.business-entry__arrow, .wavehack-launch__button { border-width: var(--rule-width); }
.header__nav a::after { height: 2px; }
.header__contact { min-height: 44px; }
.header__contact span { width: 40px; height: 40px; }
.header__nav a { padding: 10px 0; }
.contact__bottom { border-top: var(--rule-width) solid var(--line); }
.dot { width: 8px; height: 8px; }
.work__meta { flex-wrap: wrap; row-gap: 7px; }
.work__meta span { letter-spacing: .02em; }
.footer__top, .footer__bottom { flex-wrap: wrap; }
.footer__businesses { gap: 12px 28px; }
.business-banner__caption {
  max-width: calc(100% - 48px);
  background: #172e32c9;
  padding: 7px 12px;
  text-shadow: none;
}
.business-banner--sns .business-banner__caption { color: var(--ink); background: #f5f3edeb; }

.wavehack-launch__button,
.wavehack-launch--compact .wavehack-launch__button { font-size: var(--text-small); font-weight: 600; }
.wavehack-launch__button small { font-size: 12px; font-weight: 500; opacity: 1; }
.wavehack-launch--compact .wavehack-launch__button { min-width: 145px; padding: 14px 12px; }
.wavehack-launch--compact { gap: 10px; }
.wavehack-launch--compact .wavehack-launch__button--web { align-self: stretch; }

/* Mobile: use two navigation rows instead of shrinking labels to fit. */
.header { height: auto; min-height: 96px; padding-top: 16px; padding-bottom: 16px; display: grid; grid-template-columns: 1fr auto; gap: 10px 18px; }
.header .wordmark { grid-row: 1; grid-column: 1; }
.header__contact { grid-row: 1; grid-column: 2; margin-left: 0; gap: 12px; }
.header__nav { grid-row: 2; grid-column: 1 / -1; display: flex; gap: 28px; margin-left: 0; }
.header__nav a:not(:first-child) { display: inline-block; }
.header__tag { display: none; }
.hero__title { font-size: clamp(25px, 7.2vw, 48px); }
.hero__bottom { align-items: flex-end; }
.hero__bottom p { max-width: calc(100% - 30px); }
.section__label { flex-wrap: wrap; }
.section__number { white-space: nowrap; }
.business-card__link { min-width: 0; }
.business-person { gap: 32px; }
.business-person__info { min-width: 0; }
.business-hero__title--service span { white-space: normal; }
.business-hero__title--service { font-size: clamp(27px, 7.5vw, 74px); }
.business-hero__title.wavehack-title { font-size: clamp(36px, 9vw, 120px); }
.business-contact .contact__link { align-items: flex-end; }
.business-contact h2 { font-size: clamp(26px, 4.5vw, 62px); }

@media (min-width: 768px) {
  .header { min-height: 108px; display: flex; gap: 28px; padding-top: 20px; padding-bottom: 20px; }
  .header__nav { margin-left: auto; gap: 25px; }
  .header__contact { margin-left: 8px; }
  .hero__title { font-size: clamp(38px, 4.8vw, 80px); }
  .hero__scroll { font-size: var(--text-label); font-weight: 600; }
  .intro__content { margin-left: 21%; grid-template-columns: 1fr 1fr; gap: 5vw; }
  .intro > .section__label { max-width: 17%; }
  .section__heading { gap: 32px; }
  .section__heading > .text-link { flex-shrink: 0; }
  .business-card { border-top-width: 0; }
  .business-cards__grid { border-top-width: var(--rule-width); }
  .business-person { grid-template-columns: 1fr; }
  .business-person__photo { max-width: 420px; }
  .business-hero__title--service { font-size: var(--detail-title); }
  .business-hero__title.wavehack-title { font-size: clamp(43px, 8.5vw, 120px); }
}

@media (min-width: 1100px) {
  .header__tag { display: block; font-size: 12px; letter-spacing: .04em; }
  .header__nav { font-size: 15px; }
  .header__contact { font-size: 15px; }
  .business-person { grid-template-columns: 1fr 1.15fr; gap: 28px; }
}

/* Three approved portfolio sites; stack on small screens. */
.works__grid--three { grid-template-columns: minmax(0, 1fr); max-width: none; }
.works__grid--three .work__meta { flex-direction: column; align-items: flex-start; gap: 10px; }
.work__visual--site { padding: 0; background: #e4e8e3; }
.work__visual--site img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .works__grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }
