/* wazawa.top heritage visual layer.
 * Independently authored for the current semantic templates.
 */

:root {
  color-scheme: light;
  --teas-canvas: #f6f6f6;
  --teas-surface: #ffffff;
  --teas-surface-soft: #f6f6f6;
  --teas-ink: #292929;
  --teas-muted: #595d5a;
  --teas-line: #dedfdf;
  --teas-accent: #0553dd;
  --teas-accent-strong: #043c9f;
  --teas-on-accent: #ffffff;
  --teas-header: #ffffff;
  --teas-header-height: 90px;
  --teas-container: 1224px;
  --teas-radius: 0;
  --teas-control-radius: 0;
}

body {
  background: var(--teas-canvas);
  color: var(--teas-ink);
  font-size: 16px;
  line-height: 1.8;
}

.teas-container {
  width: min(92%, var(--teas-container));
}

.teas-header {
  height: var(--teas-header-height);
  border-bottom: 1px solid #ededed;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(26, 34, 29, 0.05);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.teas-header__inner {
  width: min(92%, var(--teas-container));
  padding-inline: 0;
}

.teas-brand img {
  width: auto;
  max-width: 230px;
  height: 50px;
}

.teas-navigation__list {
  gap: clamp(26px, 2.7vw, 46px);
}

.teas-navigation a {
  color: #30332f;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.035em;
}

.teas-navigation a::after {
  background: var(--teas-accent);
}

.teas-page--home .teas-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr;
  height: calc(100svh - var(--teas-header-height));
  min-height: 640px;
  overflow: hidden;
  background: #252a27;
}

.teas-page--home .teas-hero__visual,
.teas-page--home .teas-hero__content {
  grid-area: 1 / 1;
}

.teas-page--home .teas-hero__visual {
  position: relative;
  z-index: 0;
  height: 100%;
  min-height: 0;
}

.teas-page--home .teas-hero__visual::after {
  position: absolute;
  inset: 0;
  background: rgba(20, 27, 23, 0.43);
  content: "";
  pointer-events: none;
}

.teas-page--home .teas-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teas-page--home .teas-hero__content {
  position: relative;
  z-index: 1;
  justify-content: center;
  width: min(92%, var(--teas-container));
  height: 100%;
  margin-inline: auto;
  padding: clamp(64px, 8vw, 110px) 20px;
  color: #ffffff;
}

.teas-page--home .teas-hero__content::before {
  position: absolute;
  top: calc(50% - 142px);
  bottom: calc(50% - 142px);
  left: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.46);
  content: "";
}

.teas-page--home .teas-hero__eyebrow,
.teas-page--home .teas-hero__lead {
  display: none;
}

.teas-page--home .teas-hero h1 {
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(42px, 4.2vw, 66px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-shadow: none;
  text-wrap: balance;
}

.teas-page--home .teas-hero h1 span {
  display: block;
  color: #ffffff;
  font: inherit;
  letter-spacing: inherit;
}

.teas-button {
  min-height: 56px;
  padding: 16px 30px;
  border: 1px solid var(--teas-accent);
  border-radius: 999px;
  background: var(--teas-accent);
  color: var(--teas-on-accent);
  box-shadow: none;
}

.teas-button:hover,
.teas-button:focus-visible {
  border-color: var(--teas-accent-strong);
  background: var(--teas-accent-strong);
  box-shadow: none;
}

.teas-page--home .teas-button {
  min-width: 168px;
  margin-top: 36px;
}

.teas-page--home .teas-button span {
  display: none;
}

.teas-section {
  padding-block: clamp(76px, 8vw, 104px);
}

.teas-section-heading,
.teas-company__heading {
  max-width: 760px;
  margin-bottom: clamp(44px, 5vw, 66px);
}

.teas-section-heading > p,
.teas-company__heading > p,
.teas-company__heading > span {
  display: none;
}

.teas-section-heading h2,
.teas-company__heading h2 {
  color: var(--teas-accent);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.35;
}

.teas-section-heading::after,
.teas-company__heading::after {
  display: block;
  width: 70px;
  height: 3px;
  margin-top: 22px;
  background: var(--teas-accent);
  content: "";
}

.teas-intro {
  background: var(--teas-surface-soft);
}

.teas-intro__layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
  gap: clamp(48px, 7vw, 90px);
  align-items: center;
}

.teas-intro__copy h3 {
  margin-bottom: 28px;
  color: var(--teas-ink);
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.55;
}

.teas-intro__copy > p {
  max-width: 65ch;
  color: var(--teas-muted);
  line-height: 2;
}

.teas-intro__media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #e8ebe9;
}

.teas-intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teas-services {
  overflow: hidden;
  border-radius: 0 96px 96px 0;
  background: #ffffff;
}

.teas-services__grid {
  display: block;
}

.teas-service-card,
.teas-service-card:nth-child(n) {
  display: grid;
  grid-template-columns: minmax(300px, 5fr) minmax(0, 7fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
  margin: 0;
  padding-block: clamp(44px, 6vw, 74px);
  overflow: visible;
  border: 0;
  border-bottom: 1px solid var(--teas-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.teas-service-card:first-child {
  border-top: 1px solid var(--teas-line);
}

.teas-service-card:hover {
  box-shadow: none;
  transform: none;
}

.teas-service-card:nth-child(even) .teas-service-card__media,
.teas-service-card:nth-child(even) .teas-service-card__body {
  grid-column: auto;
  grid-row: auto;
}

.teas-service-card__media {
  width: 100%;
  height: clamp(280px, 30vw, 400px);
  border-radius: 0;
  background: #eceeed;
}

.teas-service-card__body {
  padding: 0;
}

.teas-service-card__body h3 {
  margin-bottom: 22px;
  color: var(--teas-ink);
  font-size: clamp(24px, 2.2vw, 32px);
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.teas-service-card__body > p,
.teas-service-card__details {
  max-width: 68ch;
  color: var(--teas-muted);
  line-height: 2;
}

.teas-service-card__details {
  margin-top: 18px;
  padding-top: 0;
  border-top: 0;
}

.teas-company {
  background: var(--teas-surface-soft);
}

.teas-company__layout {
  display: block;
}

.teas-company__heading {
  position: static;
}

.teas-company__facts {
  width: 100%;
  border-top: 1px solid var(--teas-line);
}

.teas-company__facts > div {
  display: grid;
  grid-template-columns: minmax(160px, 26%) minmax(0, 74%);
  gap: 0;
  padding: 0;
  border-bottom: 1px solid var(--teas-line);
}

.teas-company__facts dt,
.teas-company__facts dd {
  margin: 0;
  padding: 22px clamp(18px, 3vw, 34px);
  font-size: 16px;
  line-height: 1.8;
}

.teas-company__facts dt {
  display: flex;
  align-items: center;
  background: #eceeed;
  color: var(--teas-ink);
  font-weight: 700;
}

.teas-company__facts dd {
  background: #ffffff;
  font-weight: 400;
}

.teas-access {
  padding-top: 0;
  background: var(--teas-surface-soft);
}

.teas-access__map {
  min-height: 600px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.teas-access__map iframe {
  height: 600px;
}

.teas-page-hero {
  grid-template-columns: minmax(320px, 2fr) minmax(0, 3fr);
  min-height: 500px;
  background: #292929;
}

.teas-page-hero__copy,
.teas-page-hero__media {
  min-height: 500px;
}

.teas-page-hero__copy {
  background: #292929;
  color: #ffffff;
}

.teas-page-hero__copy > p {
  color: #d9e2dc;
}

.teas-page-hero__copy h1 {
  color: #ffffff;
  font-size: clamp(38px, 4vw, 58px);
  letter-spacing: -0.02em;
}

.teas-richtext,
.teas-contact {
  background: var(--teas-canvas);
}

.teas-richtext__body,
.teas-article__body {
  max-width: 980px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.teas-contact__layout {
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(50px, 9vw, 120px);
}

.teas-form {
  padding: clamp(28px, 4vw, 52px);
  border: 0;
  border-radius: 0;
  background: #ffffff;
  box-shadow: none;
}

.teas-form__field input,
.teas-form__field textarea {
  border: 1px solid #dddddd;
  border-radius: 0;
  background: #f3f4f3;
}

.teas-form__field input:focus,
.teas-form__field textarea:focus {
  border-color: var(--teas-accent);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(5, 83, 221, 0.14);
}

.teas-footer {
  padding-top: clamp(70px, 7vw, 96px);
  border-top: 1px solid var(--teas-line);
  background: #ffffff;
}

.teas-footer__grid {
  grid-template-columns: minmax(190px, 0.75fr) minmax(320px, 1.2fr) minmax(260px, 1fr);
  gap: clamp(38px, 7vw, 90px);
}

.teas-footer h2 {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--teas-line);
}

.teas-footer__address {
  margin-bottom: 14px;
  color: var(--teas-ink);
  font-size: 14px;
  font-weight: 600;
}

.teas-back-top {
  width: 50px;
  min-width: 50px;
  height: 50px;
  min-height: 50px;
  border: 0;
  border-radius: 0;
  background: var(--teas-ink);
  color: transparent;
  font-size: 0;
}

.teas-back-top::before {
  color: #ffffff;
  font-size: 22px;
  content: "↑";
}

@media (max-width: 820px) {
  :root {
    --teas-header-height: 80px;
  }

  .teas-header__inner,
  .teas-container {
    width: min(calc(100% - 32px), var(--teas-container));
  }

  .teas-brand img {
    max-width: 176px;
    height: 42px;
  }

  .teas-menu-button {
    min-width: 48px;
    min-height: 48px;
    justify-content: flex-end;
  }

  .teas-page--home .teas-hero {
    height: max(640px, calc(100svh - var(--teas-header-height)));
    min-height: 640px;
  }

  .teas-page--home .teas-hero__content {
    width: min(calc(100% - 48px), var(--teas-container));
    padding: 52px 20px;
  }

  .teas-page--home .teas-hero__content::before {
    top: calc(50% - 132px);
    bottom: calc(50% - 132px);
  }

  .teas-page--home .teas-hero h1 {
    font-size: clamp(36px, 10vw, 48px);
    line-height: 1.2;
  }

  .teas-section {
    padding-block: 68px;
  }

  .teas-intro__layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .teas-intro__media {
    width: min(100%, 520px);
  }

  .teas-services {
    border-radius: 0 54px 54px 0;
  }

  .teas-service-card,
  .teas-service-card:nth-child(n) {
    display: block;
    padding-block: 38px;
  }

  .teas-service-card__media {
    height: clamp(230px, 60vw, 320px);
  }

  .teas-service-card__body {
    padding-top: 28px;
  }

  .teas-company__facts > div {
    grid-template-columns: 1fr;
  }

  .teas-company__facts dt {
    padding-bottom: 10px;
  }

  .teas-company__facts dd {
    padding-top: 12px;
  }

  .teas-access__map,
  .teas-access__map iframe {
    min-height: 380px;
    height: 380px;
  }

  .teas-page-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .teas-page-hero__copy,
  .teas-page-hero__media {
    min-height: 320px;
  }

  .teas-contact__layout,
  .teas-footer__grid {
    grid-template-columns: 1fr;
  }

  .teas-form {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .teas-section-heading h2,
  .teas-company__heading h2,
  .teas-intro__copy h3 {
    font-size: 28px;
  }

  .teas-footer__navigation ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .teas-service-card,
  .teas-service-card__media img,
  .teas-button {
    transition: none;
  }
}

@media print {
  .teas-page--home .teas-hero {
    min-height: 500px;
  }
}


/* Restore the original restrained news rhythm without reusing the legacy DOM. */
.teas-news-summary {
  background: var(--teas-surface-soft);
}

.teas-news-summary .teas-container {
  display: block;
}

.teas-news-summary .teas-section-heading {
  margin-bottom: clamp(42px, 5vw, 66px);
}

.teas-news-summary__list {
  border-top: 1px solid var(--teas-line);
}

.teas-news-row a {
  grid-template-columns: minmax(220px, 0.8fr) minmax(280px, 1.4fr);
  gap: clamp(22px, 4vw, 64px);
  padding: 24px 0;
}

.teas-news-row a:hover,
.teas-news-row a:focus-visible {
  padding-inline: 0;
  background: transparent;
}

.teas-news-row span {
  display: none;
}

@media (max-width: 820px) {
  .teas-news-row a {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px 0;
  }
}
