:root {
  --ink: #161615;
  --charcoal: #1f1e1c;
  --paper: #f7f4ee;
  --cream: #eee9e1;
  --mint: #f7f4ee;
  --teal: #f84154;
  --coral: #f84154;
  --gold: #f84154;
  --line: rgba(22, 22, 21, 0.14);
  --muted: #6f6961;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(18, 18, 17, 0.18);
  --lp-content-max: 1120px;
  --lp-wide-max: 1440px;
  --lp-gutter: clamp(20px, 4vw, 56px);
  --lp-section-y: clamp(56px, 7vw, 88px);
  --lp-header-height: 72px;
  --hero-max: var(--lp-wide-max);
  --content-max: var(--lp-content-max);
  --section-title-size: 2.1rem;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 0;
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

main#top {
  min-height: 100dvh;
  overflow-x: clip;
  scroll-behavior: smooth;
}

@supports not (overflow: clip) {
  main#top {
    overflow-x: hidden;
  }
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px clamp(24px, 5vw, 64px);
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, rgba(22, 22, 21, 0.86), rgba(22, 22, 21, 0.34) 72%, rgba(22, 22, 21, 0));
  pointer-events: none;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 28px;
  width: min(var(--hero-max), 100%);
  min-height: 48px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  pointer-events: none;
}

.brand,
.header-nav {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  position: relative;
  padding-right: 0;
}

.brand-logo {
  display: block;
  width: 142px;
  height: 48px;
  flex: 0 0 142px;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
}

.header-nav a {
  position: relative;
  padding: 7px 0;
  border-radius: 0;
  line-height: 1.2;
}

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

.header-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--coral);
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 160ms ease, transform 160ms ease;
}

.header-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.button {
  padding: 0 22px;
}

.button-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 14px 30px rgba(248, 65, 84, 0.28);
}

.button-primary:hover {
  background: #e93649;
}

.button-x {
  gap: 9px;
  background: #000000;
  color: var(--white);
  border-color: #000000;
}

.button-x:hover {
  background: #161615;
}

.x-logo {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  object-fit: contain;
}

.section {
  padding: var(--lp-section-y) var(--lp-gutter);
}

.section-inner {
  width: min(var(--content-max), 100%);
  margin: 0 auto;
}

.section-dark {
  background: var(--charcoal);
  color: var(--white);
}

.section-light {
  background: var(--paper);
}

.news-strip {
  padding: 18px var(--lp-gutter);
  background: #fffefd;
  border-bottom: 1px solid var(--line);
}

.news-strip-inner {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 12px 18px;
  align-items: center;
}

.news-strip h2,
.news-strip p {
  margin: 0;
}

.news-strip h2 {
  color: var(--coral);
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
}

.news-strip time {
  color: var(--muted);
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
}

.news-strip p {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.5;
}

.section-ink {
  background: var(--charcoal);
  color: var(--white);
}

.section-soft {
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: min(760px, 86svh);
  padding: 116px clamp(18px, 4vw, 48px) 48px;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-scene {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(var(--hero-max), 100%);
  transform: translateX(-50%);
  background-image: url("assets/images/hero-handshake-nail-v4.png");
  background-position: center right;
  background-size: cover;
  pointer-events: none;
}

.hero-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(31, 30, 28, 0.96) 0%, rgba(31, 30, 28, 0.8) 44%, rgba(31, 30, 28, 0.34) 100%),
    linear-gradient(180deg, rgba(31, 30, 28, 0.12), rgba(31, 30, 28, 0.26));
}

.hero-scene::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(31, 30, 28, 0), rgba(31, 30, 28, 0.88));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: min(var(--content-max), 100%);
  min-height: calc(min(760px, 86svh) - 164px);
  margin: 0 auto;
}

.hero-copy {
  width: min(640px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  font-size: 2.85rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.12;
}

.hero h1 span {
  white-space: nowrap;
}

.hero-title-line {
  display: block;
}

.hero-title-line + .hero-title-line {
  margin-top: 6px;
  margin-left: 0;
}

.hero-lead {
  max-width: 560px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading h2,
.entry-copy h2 {
  margin: 0;
  font-size: var(--section-title-size);
  line-height: 1.2;
  white-space: nowrap;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
}

.section-ink .section-heading p:not(.eyebrow),
.section-ink .safety-item p {
  color: rgba(255, 255, 255, 0.72);
}

.compact {
  margin-bottom: 0;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.54);
}

.info-card h3,
.safety-item h3,
.flow-list h3 {
  margin: 18px 0 8px;
  font-size: 1.18rem;
  line-height: 1.35;
}

.info-card h3,
.flow-list h3 {
  margin-top: 0;
}

.info-card p,
.flow-list p {
  margin: 0;
  color: var(--muted);
}

.focus-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(250px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  margin-top: 22px;
  padding: 28px;
  border: 1px solid rgba(22, 22, 21, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 250, 242, 0.66));
}

.focus-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--coral);
}

.focus-heading {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.focus-label {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--coral);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 800;
  animation: focusPulse 1.8s ease-in-out infinite;
}

.focus-panel h3 {
  margin: 0;
  font-size: 1.24rem;
  line-height: 1.35;
}

.focus-note {
  margin: 4px 0 0;
  color: var(--muted);
}

@keyframes focusPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(248, 65, 84, 0.28);
    opacity: 1;
  }

  50% {
    box-shadow: 0 0 0 7px rgba(248, 65, 84, 0);
    opacity: 0.76;
  }
}

@media (prefers-reduced-motion: reduce) {
  .focus-label {
    animation: none;
  }
}

.focus-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(22, 22, 21, 0.12);
  border-left: 1px solid rgba(22, 22, 21, 0.12);
  list-style: none;
}

.focus-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 14px 16px;
  border-right: 1px solid rgba(22, 22, 21, 0.12);
  border-bottom: 1px solid rgba(22, 22, 21, 0.12);
  background: rgba(255, 255, 255, 0.5);
  color: #3d3934;
}

.focus-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(248, 65, 84, 0.1);
}

.focus-list strong {
  min-width: 0;
  font-size: 0.98rem;
  line-height: 1.45;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: start;
}

.safety-list {
  display: grid;
  gap: 14px;
}

.safety-item {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.safety-item > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--coral);
  color: var(--white);
  font-weight: 800;
}

.safety-item h3 {
  margin-top: 0;
}

.safety-item p {
  margin: 0;
}

.condition-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.condition-board div {
  min-height: 160px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.34);
}

.condition-board strong {
  display: block;
  font-size: 1.08rem;
  margin-bottom: 12px;
}

.condition-board span {
  color: var(--muted);
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: none;
}

.flow-list li {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(22, 22, 21, 0.12);
  border-radius: 8px;
  background: var(--paper);
}

.flow-list li::after {
  content: attr(data-number);
  position: absolute;
  right: 12px;
  bottom: -18px;
  color: rgba(248, 65, 84, 0.11);
  font-family: "Outfit", sans-serif;
  font-size: 6.2rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.flow-list li > div {
  position: relative;
  z-index: 1;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.48);
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.section-entry {
  background: var(--ink);
  color: var(--white);
}

.section-x-contact {
  background: #fffefd;
}

.x-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: center;
  padding-top: 34px;
  padding-bottom: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.x-contact-copy {
  max-width: 720px;
}

.x-contact-copy h2 {
  margin: 0;
  font-size: var(--section-title-size);
  line-height: 1.2;
}

.x-contact-copy p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--muted);
}

.x-contact-action {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.x-contact-action .button {
  min-width: 172px;
}

.x-contact-action p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.entry-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 1.22fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.entry-copy p:not(.eyebrow),
.notice-box p {
  color: rgba(255, 255, 255, 0.74);
}

.notice-box {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.notice-box strong {
  display: block;
  margin-bottom: 8px;
}

.notice-box p {
  margin: 0;
}

.entry-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.98);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.spam-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row label {
  color: #3d3934;
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(22, 22, 21, 0.2);
  border-radius: 8px;
  padding: 12px 13px;
  background: #fffefd;
  color: var(--ink);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(248, 65, 84, 0.14);
}

textarea {
  resize: vertical;
}

input[type="file"] {
  padding: 10px;
}

.field-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.check-field {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: #3e3a35;
  font-size: 0.92rem;
  font-weight: 700;
}

.check-field input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--coral);
}

.form-error,
.form-success {
  min-height: 1.5em;
  margin: 0;
  font-weight: 800;
}

.form-error {
  color: #bf3325;
}

.form-success {
  color: var(--coral);
}

.form-submit {
  width: 100%;
  border: 0;
}

.site-footer {
  padding: 26px clamp(18px, 4vw, 48px);
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
  text-align: center;
}

.footer-inner {
  display: grid;
  gap: 6px;
  width: min(var(--content-max), 100%);
  margin: 0 auto;
}

.footer-copy {
  margin: 0;
  color: var(--white);
  font-weight: 800;
}

.site-footer p {
  margin: 0;
}

.footer-note {
  font-size: 0.86rem;
}

@media (max-width: 920px) {
  :root {
    --section-title-size: 1.9rem;
  }

  .site-header-inner {
    gap: 12px;
  }

  .header-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 104px;
    padding-bottom: 64px;
  }

  .split,
  .entry-layout,
  .x-contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero-scene::before {
    background: linear-gradient(180deg, rgba(31, 30, 28, 0.86) 0%, rgba(31, 30, 28, 0.74) 58%, rgba(31, 30, 28, 0.35) 100%);
  }

  .card-grid.three,
  .condition-board,
  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .focus-panel {
    grid-template-columns: 1fr;
  }

  .compact {
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --lp-gutter: 16px;
    --lp-section-y: 52px;
    --lp-header-height: 64px;
    --section-title-size: 1.42rem;
  }

  .site-header {
    position: absolute;
    padding: 0;
  }

  .site-header-inner {
    min-height: 64px;
    padding: 10px 16px;
    border-width: 0 0 1px;
    border-radius: 0;
    background: rgba(31, 30, 28, 0.7);
    box-shadow: none;
  }

  .site-header-inner::after {
    content: "18+";
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 32px;
    margin-left: auto;
    background: var(--white);
    border: 2px solid var(--coral);
    border-radius: 2px;
    color: var(--coral);
    font-family: "Outfit", "Noto Sans JP", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
  }

  .brand-logo {
    width: 118px;
    height: 40px;
    flex-basis: 118px;
  }

  .brand {
    padding-right: 0;
  }

  .brand::after {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: var(--lp-header-height) 0 0;
  }

  .hero-copy {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    border-left: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .hero-copy::before {
    content: none;
  }

  .hero h1 {
    font-size: clamp(1.62rem, 7vw, 1.92rem);
    line-height: 1.08;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.38);
  }

  .hero h1 .hero-title-line {
    display: block;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero h1 .hero-title-line:first-child {
    color: var(--white);
    font-size: 1em;
    font-weight: 800;
    line-height: 1.08;
  }

  .hero h1 .hero-title-line + .hero-title-line {
    margin-top: 8px;
    margin-left: 0;
  }

  .hero-lead {
    max-width: 330px;
    margin-top: 16px;
    font-size: 0.94rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
  }

  .hero-scene {
    position: relative;
    order: 1;
    top: auto;
    bottom: auto;
    left: auto;
    height: 165.333vw;
    min-height: 520px;
    max-height: 860px;
    width: 100%;
    margin-top: 0;
    border-radius: 0;
    background-image: url("assets/images/HAMETERU_FV_SP_1125x1860.jpg");
    background-position: center top;
    background-size: cover;
    box-shadow: none;
    transform: none;
  }

  .hero-inner {
    order: 2;
    width: 100%;
    min-height: auto;
    align-items: flex-start;
    padding-top: 0;
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-scene::before {
    content: none;
  }

  .hero-scene::after {
    content: none;
  }

  .section {
    padding: var(--lp-section-y) var(--lp-gutter);
  }

  .news-strip {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .news-strip-inner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px 12px;
  }

  .news-strip p {
    grid-column: 1 / -1;
    font-size: 0.94rem;
  }

  .card-grid.three,
  .condition-board,
  .flow-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .focus-panel {
    padding: 20px;
  }

  .focus-list {
    grid-template-columns: 1fr;
  }

  .condition-board div,
  .flow-list li {
    min-height: auto;
  }

  .flow-list li::after {
    font-size: 5rem;
    bottom: -12px;
  }

  .safety-item {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }
}

/* LP common header lock. */
.site-header {
  box-sizing: border-box;
  width: 100%;
  padding-right: var(--lp-gutter);
  padding-left: var(--lp-gutter);
}

.site-header-inner {
  box-sizing: border-box;
  width: min(100%, var(--lp-wide-max));
}

.brand {
  min-width: 0;
}

@media (max-width: 640px) {
  .site-header {
    padding-right: 0;
    padding-left: 0;
  }

  .site-header-inner {
    min-height: var(--lp-header-height);
    padding-right: max(16px, env(safe-area-inset-right));
    padding-left: max(16px, env(safe-area-inset-left));
  }

  .site-header-inner::after {
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }
}

/* LP header/footer size standard sync. */
:root {
  --sp-cta-icon-button-size: 44px;
  --sp-cta-icon-size: 22px;
}

.header-nav a {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 0.08em;
}

.site-footer {
  padding: 64px 24px;
}

.footer-inner {
  width: min(100%, 1024px);
  gap: 8px;
}

.footer-copy {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.625;
}

.footer-note {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.625;
}

@media (max-width: 640px) {
  :root {
    --lp-header-height: 70px;
  }

  .site-header-inner {
    min-height: var(--lp-header-height);
    padding-right: max(20px, calc(var(--lp-gutter) + env(safe-area-inset-right)));
    padding-left: max(16px, calc(var(--lp-gutter) + env(safe-area-inset-left)));
  }

  .brand-logo {
    height: 56px;
    max-width: min(54vw, 245px);
  }
}

@media (max-width: 380px) {
  .site-header-inner {
    gap: 2px;
    padding-left: max(4px, env(safe-area-inset-left));
  }

  .brand-logo {
    max-width: min(48vw, 205px);
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: var(--lp-header-height);
    padding-top: 0;
    padding-bottom: 0;
  }

  .site-header-inner {
    height: var(--lp-header-height);
    min-height: var(--lp-header-height);
    padding-top: 0;
    padding-bottom: 0;
  }
}
