:root {
  --paper: #f6f4ef;
  --navy: #121a33;
  --navy-soft: #243056;
  --orange: #ff5c1c;
  --muted: #3d465c;
  --muted-light: #d5d8e2;
  --line: rgba(18, 26, 51, 0.14);
  --line-light: rgba(246, 244, 239, 0.18);
  --pad: clamp(1.35rem, 4.4vw, 4.75rem);
  --sans: "Rubik", "Arial Hebrew", "Arial", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

::selection {
  background: #ffd3c2;
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  z-index: 30;
  inset-inline-start: var(--pad);
  top: 0.8rem;
  transform: translateY(-160%);
  padding: 0.65rem 1rem;
  background: var(--navy);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

main:focus {
  outline: none;
}

.top,
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-inline: var(--pad);
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-top: calc(1.05rem + env(safe-area-inset-top));
  padding-bottom: 1.05rem;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a,
.foot a {
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
}

.nav a:hover,
.foot a:hover {
  text-decoration: underline;
  text-underline-offset: 0.35em;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: calc(100svh - 4.4rem);
  justify-content: flex-end;
  padding: clamp(2.5rem, 8vh, 5rem) var(--pad) clamp(3rem, 9vh, 5.5rem);
  overflow: hidden;
}

.kicker,
.eyebrow {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
}

.kicker,
.eyebrow {
  color: var(--navy-soft);
}

.hero h1,
.service h2,
.contact h2 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.hero h1 {
  position: relative;
  z-index: 1;
  margin-top: 0.85rem;
  max-width: 16em;
  font-size: clamp(2.7rem, 6.4vw, 6.2rem);
  line-height: 1.08;
}

.line {
  display: block;
}

.line-fast {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  max-width: 100%;
}

.streak {
  display: block;
  width: min(18vw, 168px);
  height: 7px;
  background: var(--orange);
  flex: none;
  transform-origin: 100% 50%;
}

.lede,
.service-copy p,
.contact-copy p,
.kinds p {
  margin: 0;
  color: var(--muted);
}

.lede {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin-top: 1.45rem;
  font-size: 1.16rem;
  line-height: 1.8;
}

.cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  margin-top: 1.85rem;
  padding: 0.85rem 1.45rem;
  background: var(--navy);
  color: var(--paper);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cta:hover {
  background: var(--navy-soft);
  transform: translateY(-1px);
}

.arc {
  position: absolute;
  z-index: 0;
  top: 14%;
  inset-inline-end: -2vw;
  width: min(28vw, 360px);
  height: auto;
  pointer-events: none;
}

.arc path {
  fill: none;
  stroke: rgba(18, 26, 51, 0.16);
  stroke-width: 1.5;
  stroke-dasharray: 760;
  stroke-dashoffset: 760;
}

#service,
#contact {
  scroll-margin-top: 5rem;
}

.service,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding: clamp(4.5rem, 11vh, 7.5rem) var(--pad);
}

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

.service h2,
.contact h2 {
  margin-top: 0.65rem;
  font-size: clamp(2.05rem, 3.8vw, 3.35rem);
  line-height: 1.2;
}

.service-copy p,
.contact-copy p {
  margin-top: 1rem;
  max-width: 34rem;
  font-size: 1.125rem;
}

.kinds {
  margin: 0;
  padding: 0;
  list-style: none;
}

.kinds li {
  padding: 1.25rem 0 1.35rem;
  border-top: 1px solid var(--line);
}

.kinds li:last-child {
  border-bottom: 1px solid var(--line);
}

.kinds h3 {
  margin: 0 0 0.3rem;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.3;
}

.contact {
  align-items: end;
  background: var(--navy);
  color: var(--paper);
}

.contact .eyebrow,
.contact-copy p {
  color: var(--muted-light);
}

.cta-light {
  background: var(--paper);
  color: var(--navy);
}

.cta-light:hover {
  background: #fff;
  color: var(--navy);
}

.mails {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 1.2rem 0;
  border-top: 1px solid var(--line-light);
  color: inherit;
  text-decoration: none;
}

.mail:last-child {
  border-bottom: 1px solid var(--line-light);
}

.mail-label {
  color: var(--orange);
  font-size: 0.95rem;
  font-weight: 600;
}

.mail-addr {
  color: var(--paper);
  font-size: clamp(1.25rem, 2.3vw, 1.9rem);
  font-weight: 500;
  line-height: 1.35;
  overflow-wrap: anywhere;
  unicode-bidi: isolate;
}

.foot {
  padding-top: 1.15rem;
  padding-bottom: calc(1.3rem + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.foot-mails {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
}

.foot a[href^="mailto"] {
  unicode-bidi: isolate;
}

@media (max-width: 900px) {
  .hero {
    min-height: 0;
    justify-content: flex-start;
  }

  .service,
  .contact {
    grid-template-columns: 1fr;
  }

  .arc {
    display: none;
  }
}

@media (max-width: 640px) {
  .cta,
  .cta-light {
    width: 100%;
  }

  .streak {
    width: 48px;
    height: 5px;
  }
}

@media (max-width: 380px) {
  .nav {
    gap: 0.85rem;
  }

  .wordmark {
    letter-spacing: 0.1em;
    font-size: 0.78rem;
  }

  .streak {
    display: none;
  }
}

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

  .cta,
  .streak,
  .arc path {
    transition: none;
    animation: none;
  }

  .streak {
    transform: none;
  }

  .arc path {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .kicker,
  .hero h1 .line,
  .lede,
  .hero .cta {
    animation: rise 0.75s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .hero h1 .line:nth-child(2) {
    animation-delay: 0.08s;
  }

  .lede {
    animation-delay: 0.14s;
  }

  .hero .cta {
    animation-delay: 0.2s;
  }

  .streak {
    animation: shoot 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both;
  }

  .arc path {
    animation: draw 1.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s forwards;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes shoot {
  from {
    opacity: 0;
    transform: scaleX(0.15);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
