/* ========================================
   YoriYoi Japan v0.1
   主要な色・余白・幅はこのセクションで調整できます。
   ======================================== */
:root {
  --color-white: #ffffff;
  --color-ink: #102438;
  --color-text: #405467;
  --color-muted: #6d8192;
  --color-blue: #159ee8;
  --color-blue-deep: #0877bd;
  --color-sky: #eaf8ff;
  --color-sky-light: #f5fbff;
  --color-yellow: #ffc400;
  --color-yellow-deep: #f2ae00;
  --color-cream: #fffaf0;
  --color-border: #dbe8ef;
  --color-green: #2aa879;
  --color-shadow: rgba(16, 58, 84, 0.1);
  --font-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
  --container: 1180px;
  --header-height: 82px;
  --section-space: clamp(5.5rem, 9vw, 9rem);
  --radius-large: 28px;
  --radius-medium: 18px;
  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-white);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.035em;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

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

h1,
h2,
h3 {
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-space);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 18px;
  color: var(--color-white);
  background: var(--color-ink);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(0, 137, 220, 0.5);
  outline-offset: 4px;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(25, 86, 122, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.global-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.1vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav a {
  position: relative;
  display: block;
  padding-block: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.global-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 50%;
  bottom: 1px;
  left: 50%;
  height: 2px;
  background: var(--color-yellow);
  content: "";
  transition: right var(--transition), left var(--transition);
}

.global-nav a:not(.nav-contact):hover::after,
.global-nav a:not(.nav-contact):focus-visible::after {
  right: 0;
  left: 0;
}

.nav-contact {
  padding: 10px 18px !important;
  color: #3f3200;
  background: var(--color-yellow);
  border-radius: 999px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.nav-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 196, 0, 0.3);
}

.menu-button {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(820px, 100svh);
  padding-top: var(--header-height);
  overflow: hidden;
  background: #dbf3ff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 25%, rgba(255, 255, 255, 0.18) 54%, rgba(255, 255, 255, 0) 76%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.12), transparent 45%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(5rem, 9vh, 7rem);
}

.hero-copy {
  width: min(590px, 52%);
}

.hero-kicker {
  margin-bottom: 0.35rem;
  font-size: clamp(1.8rem, 3.4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.45;
}

.hero-kicker em {
  color: var(--color-yellow-deep);
  font-style: normal;
}

.hero h1 {
  margin-bottom: clamp(1.8rem, 4vw, 3rem);
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.hero-description {
  margin-bottom: 2rem;
  color: #263c4c;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  font-weight: 600;
  line-height: 2;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-width: 188px;
  padding: 14px 20px 14px 24px;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 700;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.button-primary {
  color: #342a00;
  background: var(--color-yellow);
  box-shadow: 0 12px 30px rgba(250, 183, 0, 0.22);
}

.button-primary span {
  font-size: 1.25rem;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(250, 183, 0, 0.3);
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 20px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: rgba(20, 52, 73, 0.68);
  font-size: 0.59rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  transform: translateX(-50%);
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 26px;
  background: currentColor;
}

/* Shared headings */
.section-heading {
  margin-bottom: clamp(2.8rem, 6vw, 5rem);
}

.section-heading-centered {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  margin-bottom: 0.7rem;
  color: var(--color-blue-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.eyebrow::before {
  display: inline-block;
  width: 26px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--color-yellow);
  content: "";
}

.section-heading h2,
.contact h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 800;
}

.section-heading > p:last-child,
.section-heading > div + p {
  margin-bottom: 0;
  color: var(--color-text);
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}

.split-heading h2 {
  margin-bottom: 0;
}

/* About */
.about {
  position: relative;
  background: var(--color-white);
}

.about::before {
  position: absolute;
  top: 0;
  left: 8%;
  width: 130px;
  height: 130px;
  background: radial-gradient(circle, rgba(74, 191, 242, 0.14) 1.5px, transparent 1.5px);
  background-size: 13px 13px;
  content: "";
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.value-card {
  position: relative;
  min-height: 320px;
  padding: 34px 25px 28px;
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  box-shadow: 0 12px 40px rgba(24, 78, 111, 0.05);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.value-card:hover {
  border-color: #b8e2f5;
  box-shadow: 0 22px 48px var(--color-shadow);
  transform: translateY(-6px);
}

.card-number {
  position: absolute;
  top: 18px;
  right: 22px;
  color: #d7e7ef;
  font-size: 1rem;
  font-weight: 800;
}

.value-symbol {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 18px 0 29px;
  color: var(--color-yellow-deep);
  background: var(--color-cream);
  border-radius: 50%;
  font-size: 2.15rem;
  font-style: normal;
}

.symbol-people {
  font-size: 1.25rem;
  box-shadow: inset 13px -2px 0 -9px var(--color-yellow-deep), inset -13px -2px 0 -9px var(--color-yellow-deep);
}

.symbol-tech,
.symbol-trust {
  font-weight: 800;
}

.value-card h3 {
  margin-bottom: 12px;
  font-size: 1.08rem;
}

.value-card p {
  margin-bottom: 0;
  color: var(--color-text);
  font-size: 0.86rem;
  line-height: 1.85;
}

/* Products */
.products {
  background: linear-gradient(135deg, #fffdf7 0%, #f8fbfc 55%, #f3fbff 100%);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid rgba(216, 231, 238, 0.85);
  border-radius: var(--radius-large);
  box-shadow: 0 16px 48px rgba(22, 67, 94, 0.07);
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  box-shadow: 0 24px 56px rgba(22, 67, 94, 0.12);
  transform: translateY(-6px);
}

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 228px;
  overflow: hidden;
}

.product-visual::before,
.product-visual::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.product-visual::before {
  top: -70px;
  right: -30px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.product-visual::after {
  bottom: -82px;
  left: -48px;
  width: 190px;
  height: 190px;
  background: rgba(255, 255, 255, 0.22);
}

.product-visual-one {
  background: linear-gradient(145deg, #dff7ff, #79d3f4);
}

.visual-orbit {
  position: absolute;
  width: 250px;
  height: 130px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.visual-device {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 108px;
  height: 174px;
  color: var(--color-blue-deep);
  background: rgba(255, 255, 255, 0.96);
  border: 5px solid #f8fcff;
  border-radius: 24px;
  box-shadow: 18px 24px 35px rgba(18, 107, 153, 0.2);
  transform: rotate(7deg);
}

.visual-device i {
  position: absolute;
  top: 9px;
  width: 30px;
  height: 4px;
  background: #d9e7ed;
  border-radius: 10px;
}

.visual-device b {
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.7;
}

.product-visual-two {
  background: linear-gradient(145deg, #fff9d8, #ffe48e);
}

.check-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  width: 150px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 25px;
  box-shadow: 18px 24px 35px rgba(146, 113, 0, 0.14);
  transform: rotate(-5deg);
}

.check-panel i {
  position: relative;
  display: block;
  width: 23px;
  height: 23px;
  color: var(--color-white);
  background: var(--color-yellow-deep);
  border-radius: 7px;
  font-size: 0.72rem;
  font-style: normal;
  line-height: 23px;
  text-align: center;
}

.check-panel i::after {
  position: absolute;
  top: 10px;
  left: 34px;
  width: 60px;
  height: 3px;
  background: #e4dcc1;
  border-radius: 5px;
  content: "";
}

.product-visual-three {
  background: linear-gradient(145deg, #e7f8ee, #8fd9ad);
}

.food-bowl {
  position: relative;
  z-index: 1;
  display: block;
  width: 155px;
  height: 78px;
  margin-top: 55px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 12px 12px 78px 78px;
  box-shadow: 16px 22px 32px rgba(30, 113, 74, 0.17);
}

.food-bowl::before,
.food-bowl::after,
.food-bowl i,
.food-bowl b {
  position: absolute;
  bottom: 51px;
  width: 32px;
  height: 72px;
  background: #48ad72;
  border-radius: 90% 10% 75% 25%;
  content: "";
  transform-origin: bottom;
}

.food-bowl::before { left: 40px; transform: rotate(-22deg); }
.food-bowl::after { right: 39px; transform: rotate(24deg) scale(0.9); }
.food-bowl i { left: 62px; height: 90px; transform: rotate(-5deg); }
.food-bowl b { right: 58px; height: 76px; background: #7acb79; transform: rotate(8deg); }

.product-body {
  padding: 28px 28px 32px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.product-number {
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.71rem;
  font-weight: 800;
}

.status-development {
  color: #006843;
  background: #dff6ec;
}

.status-development::before {
  width: 6px;
  height: 6px;
  margin-right: 6px;
  background: var(--color-green);
  border-radius: 50%;
  content: "";
}

.status-planning {
  color: #7c6200;
  background: #fff4c8;
}

.product-card h3 {
  min-height: 66px;
  margin-bottom: 20px;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.product-card p {
  margin-bottom: 0.8rem;
  color: var(--color-text);
  font-size: 0.88rem;
  line-height: 1.9;
}

.product-card p:last-child {
  margin-bottom: 0;
}

/* Technology */
.technology {
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  background: linear-gradient(135deg, #087cbd 0%, #0aa7e8 55%, #49c0e9 100%);
}

.technology::before {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image: radial-gradient(circle at center, #fff 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 45%, #000 80%, transparent);
}

.tech-decoration {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.tech-decoration-one {
  top: -250px;
  right: -120px;
  width: 600px;
  height: 600px;
}

.tech-decoration-two {
  bottom: -360px;
  left: -160px;
  width: 600px;
  height: 600px;
}

.technology-inner {
  position: relative;
  z-index: 1;
}

.section-heading-light .eyebrow,
.section-heading-light > p:last-child {
  color: rgba(255, 255, 255, 0.88);
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
  margin-inline: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.technology-card {
  position: relative;
  min-height: 290px;
  padding: 42px 30px 35px;
  text-align: center;
}

.technology-card + .technology-card {
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.tech-number {
  position: absolute;
  top: 18px;
  left: 22px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.75rem;
  font-weight: 800;
}

.tech-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 23px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  font-size: 1.45rem;
  font-weight: 800;
}

.technology-card h3 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.technology-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.84rem;
}

/* News */
.news {
  padding-block: clamp(4.5rem, 7vw, 7rem);
}

.news-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(2rem, 7vw, 7rem);
}

.news-heading {
  margin-bottom: 0;
}

.news-list {
  border-top: 1px solid var(--color-border);
}

.news-item {
  display: grid;
  grid-template-columns: 100px 100px 1fr;
  align-items: center;
  gap: 20px;
  min-height: 108px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--color-border);
}

.news-item time {
  color: var(--color-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.news-category {
  padding: 4px 10px;
  color: #18769b;
  background: #e2f6ff;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-align: center;
}

.news-item p {
  margin-bottom: 0;
  font-weight: 600;
}

/* Contact */
.contact {
  position: relative;
  padding-block: clamp(4.5rem, 7.5vw, 7rem);
  overflow: hidden;
  background: var(--color-sky);
}

.contact::after {
  position: absolute;
  top: -140px;
  right: -70px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(15, 164, 228, 0.18), rgba(15, 164, 228, 0) 70%);
  border-radius: 50%;
  content: "";
}

.contact-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 6rem;
}

.contact h2 {
  margin-bottom: 0;
}

.contact-content > p {
  margin-bottom: 2rem;
  color: var(--color-text);
}

.contact-mail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 520px;
  padding: 21px 24px;
  background: var(--color-white);
  border-radius: 14px;
  box-shadow: 0 12px 35px rgba(12, 101, 144, 0.1);
  font-size: clamp(0.85rem, 2vw, 1.15rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: transform var(--transition), box-shadow var(--transition);
}

.contact-mail i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: var(--color-white);
  background: var(--color-yellow-deep);
  border-radius: 50%;
  font-style: normal;
}

.contact-mail:hover {
  box-shadow: 0 18px 42px rgba(12, 101, 144, 0.15);
  transform: translateY(-3px);
}

.contact-social {
  max-width: 520px;
  margin-top: 26px;
}

.contact-social-title {
  margin-bottom: 10px;
  color: var(--color-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.contact-social-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.contact-social-link {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 11px 12px;
  color: var(--color-ink);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(21, 158, 232, 0.16);
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 800;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.contact-social-link > span:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-social-link > i {
  margin-left: auto;
  color: var(--color-blue-deep);
  font-style: normal;
}

.contact-social-link .social-mark-x {
  color: var(--color-white);
  background: var(--color-ink);
  border-radius: 7px;
}

.contact-social-link:hover {
  background: var(--color-white);
  border-color: rgba(21, 158, 232, 0.34);
  box-shadow: 0 12px 28px rgba(12, 101, 144, 0.1);
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  color: #dceaf1;
  background: #0d2738;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding-block: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  color: var(--color-white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 26px;
}

.footer-nav a {
  color: #bed0da;
  font-size: 0.78rem;
  font-weight: 700;
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--color-white);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 13px 7px 8px;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.social-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.social-mark-x {
  font-size: 0.92rem;
  font-weight: 500;
}

.social-mark-youtube {
  background: #ff0033;
  border-radius: 7px;
}

.social-mark-youtube::before {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--color-white);
  content: "";
  transform: translateX(1px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 92px;
}

.privacy-note {
  max-width: 650px;
  color: #a9bdc8;
  font-size: 0.72rem;
}

.privacy-note summary {
  cursor: pointer;
  font-weight: 700;
}

.privacy-note p {
  margin: 10px 0 20px;
  line-height: 1.8;
}

.copyright {
  flex: 0 0 auto;
  margin-bottom: 0;
  color: #8da4b1;
  font-size: 0.7rem;
}

.mobile-break {
  display: none;
}

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --header-height: 72px;
  }

  .global-nav ul {
    gap: 1rem;
  }

  .global-nav a {
    font-size: 0.74rem;
  }

  .nav-contact {
    padding-inline: 13px !important;
  }

  .hero {
    min-height: 720px;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .value-card {
    min-height: auto;
  }

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

  .product-card:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .product-card:last-child .product-visual {
    height: 100%;
    min-height: 280px;
  }

  .contact-inner {
    gap: 3rem;
  }
}

/* Mobile navigation and layout */
@media (max-width: 820px) {
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

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

  .menu-button {
    position: relative;
    z-index: 102;
    display: grid;
    gap: 5px;
    width: 45px;
    height: 45px;
    padding: 12px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-ink);
    border-radius: 4px;
    transition: transform var(--transition), opacity var(--transition);
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .global-nav {
    position: fixed;
    z-index: 101;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100vw;
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(var(--header-height) + 24px) 18px 30px;
    overflow-y: auto;
    color: var(--color-ink);
    visibility: hidden;
    opacity: 0;
    background: rgba(231, 247, 255, 0.62);
    -webkit-backdrop-filter: blur(16px) saturate(1.08);
    backdrop-filter: blur(16px) saturate(1.08);
    transition: opacity var(--transition), visibility var(--transition);
  }

  .global-nav.is-open {
    visibility: visible;
    opacity: 1;
  }

  .global-nav ul {
    flex-direction: column;
    gap: 8px;
    width: min(100%, 380px);
    padding: clamp(24px, 7vw, 36px);
    background: rgba(255, 255, 255, 0.76);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(16, 58, 84, 0.18);
  }

  .global-nav a {
    padding: 12px 18px;
    font-size: 1rem;
    text-align: center;
  }

  .nav-contact {
    margin-top: 12px;
    padding-block: 12px !important;
  }

  .hero {
    align-items: end;
    min-height: 760px;
  }

  .hero-media img {
    object-position: 68% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(255, 255, 255, 0.98) 4%, rgba(255, 255, 255, 0.92) 28%, rgba(255, 255, 255, 0.25) 60%, rgba(255, 255, 255, 0.1) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.66), transparent 75%);
  }

  .hero-inner {
    padding-top: 19rem;
    padding-bottom: 5.4rem;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-kicker {
    font-size: clamp(1.55rem, 7vw, 2.25rem);
  }

  .hero h1 {
    margin-bottom: 1.2rem;
    font-size: clamp(2.4rem, 12vw, 4.1rem);
  }

  .hero-description {
    margin-bottom: 1.5rem;
    font-size: 0.94rem;
    line-height: 1.8;
  }

  .scroll-cue {
    display: none;
  }

  .split-heading {
    display: block;
  }

  .split-heading > div {
    margin-bottom: 1rem;
  }

  .technology-grid {
    grid-template-columns: 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-bottom: 0;
  }

  .technology-card {
    min-height: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  }

  .technology-card + .technology-card {
    border-left: 0;
  }

  .news-inner {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .footer-main,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-links {
    align-items: flex-start;
    width: 100%;
  }

  .social-links {
    justify-content: flex-start;
  }

  .footer-bottom {
    padding-block: 28px;
  }
}

@media (max-width: 620px) {
  :root {
    --section-space: 5.2rem;
  }

  body {
    font-size: 15px;
  }

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

  .brand {
    font-size: 1.05rem;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .desktop-break {
    display: none;
  }

  .mobile-break {
    display: initial;
  }

  .section-heading h2,
  .contact h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .section-heading-centered {
    text-align: left;
  }

  .about::before {
    left: auto;
    right: 0;
  }

  .values-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    padding: 26px 23px;
  }

  .value-symbol {
    width: 64px;
    height: 64px;
    margin-block: 10px 20px;
    font-size: 1.8rem;
  }

  .product-card:last-child {
    grid-column: auto;
    display: block;
  }

  .product-card:last-child .product-visual,
  .product-visual {
    height: 210px;
    min-height: 0;
  }

  .product-body {
    padding: 24px 22px 27px;
  }

  .product-card h3 {
    min-height: 0;
  }

  .news-item {
    grid-template-columns: 88px 1fr;
    gap: 12px;
  }

  .news-item p {
    grid-column: 1 / -1;
  }

  .contact-mail {
    padding: 16px;
  }

  .contact-social-actions {
    grid-template-columns: 1fr;
  }

  .contact-mail i {
    width: 36px;
    height: 36px;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
