@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/roboto-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/lora-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --ink: #17251f;
  --muted: #64706a;
  --paper: #f6f3eb;
  --accent: #e6b85c;
  --accent-deep: #b7832f;
  --green: #234c3b;
  --line: rgba(23, 37, 31, 0.13);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Roboto", ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  min-height: 100vh;
  min-height: 100svh;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(28px, 5vw, 72px);
}

.content {
  max-width: 690px;
  margin: auto 0;
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--accent-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(52px, 7vw, 94px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  font-size: 14px;
  font-weight: 650;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-deep);
  box-shadow: 0 0 0 5px rgba(183, 131, 47, 0.13);
}

.copyright {
  display: flex;
  gap: 9px;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.services-link {
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease;
}

.services-link:hover {
  color: var(--accent-deep);
}

.services-link:focus-visible {
  border-radius: 5px;
  outline: 3px solid rgba(183, 131, 47, 0.28);
  outline-offset: 5px;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease;
}

.instagram-link img {
  width: 18px;
  height: 18px;
}

.instagram-link:hover {
  color: var(--accent-deep);
}

.instagram-link:focus-visible {
  border-radius: 5px;
  outline: 3px solid rgba(183, 131, 47, 0.28);
  outline-offset: 5px;
}

.verse-card {
  position: absolute;
  z-index: 2;
  right: clamp(48px, 7vw, 100px);
  bottom: clamp(48px, 7vw, 82px);
  left: clamp(48px, 7vw, 100px);
  max-width: 580px;
  margin: 0 0 0 auto;
  padding: 22px 24px 20px 30px;
  border: 1px solid rgba(246, 243, 235, 0.18);
  border-radius: 18px;
  background: rgba(11, 29, 23, 0.38);
  box-shadow: 0 18px 50px rgba(5, 18, 14, 0.14);
  backdrop-filter: blur(8px);
}

.verse-card::before {
  position: absolute;
  top: 17px;
  left: 14px;
  width: 4px;
  height: calc(100% - 34px);
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.verse-card blockquote {
  margin: 0;
  color: var(--paper);
  font-family: "Lora", Georgia, serif;
  font-size: clamp(17px, 1.45vw, 21px);
  font-weight: 400;
  line-height: 1.52;
}

.verse-card figcaption {
  margin-top: 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.visual {
  position: relative;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(230, 184, 92, 0.35), transparent 31%),
    linear-gradient(145deg, #274d3e 0%, #172b23 100%);
  color: var(--paper);
}

.visual::after {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  content: "";
}

.worker-scene {
  position: relative;
  z-index: 1;
  width: min(84%, 610px);
}

.worker {
  display: block;
  width: 100%;
  overflow: visible;
}

.desk-shadow {
  fill: rgba(0, 0, 0, 0.22);
}

.code-card rect {
  fill: rgba(246, 243, 235, 0.09);
  stroke: rgba(246, 243, 235, 0.3);
  stroke-width: 2;
}

.code-card path {
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 6;
}

.torso {
  fill: var(--accent);
}

.collar {
  fill: none;
  stroke: rgba(23, 37, 31, 0.55);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 8;
}

.face,
.ear,
.worker-arm circle {
  fill: #e8b98e;
}

.hair {
  fill: #17251f;
}

.eyes path,
.smile {
  fill: none;
  stroke: #17251f;
  stroke-linecap: round;
  stroke-width: 7;
}

.smile {
  stroke-width: 5;
}

.worker-arm path {
  fill: none;
  stroke: #e8b98e;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 24;
}

.laptop rect {
  fill: #f6f3eb;
  stroke: rgba(23, 37, 31, 0.16);
  stroke-width: 3;
}

.laptop circle {
  fill: var(--green);
}

.laptop path {
  fill: #d9d5ca;
}

.mug path:first-child {
  fill: var(--accent);
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 9;
}

.steam {
  fill: none;
  stroke: rgba(246, 243, 235, 0.58);
  stroke-linecap: round;
  stroke-width: 5;
}

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

.orb-one {
  top: -12vw;
  right: -9vw;
  width: 34vw;
  height: 34vw;
}

.orb-two {
  bottom: -8vw;
  left: -11vw;
  width: 28vw;
  height: 28vw;
}

@media (max-width: 820px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 74svh;
  }

  .content {
    padding: 64px 0;
  }

  h1 {
    font-size: clamp(48px, 13vw, 76px);
  }

  .visual {
    min-height: 640px;
  }

  .visual::after {
    inset: 16px;
    border-radius: 20px;
  }

  .worker-scene {
    width: min(92%, 520px);
    margin-bottom: 190px;
  }

  .verse-card {
    right: 28px;
    bottom: 32px;
    left: 28px;
    max-width: none;
    padding: 19px 20px 18px 27px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .status-dot {
    animation: pulse 2.4s ease-in-out infinite;
  }

  .worker-head {
    animation: head-bob 2.6s ease-in-out infinite;
    transform-box: fill-box;
    transform-origin: center bottom;
  }

  .eyes {
    animation: blink 4.2s infinite;
    transform-box: fill-box;
    transform-origin: center;
  }

  .worker-arm-left {
    animation: type-left 0.55s ease-in-out infinite alternate;
    transform-box: fill-box;
    transform-origin: left top;
  }

  .worker-arm-right {
    animation: type-right 0.55s ease-in-out 0.22s infinite alternate;
    transform-box: fill-box;
    transform-origin: right top;
  }

  .code-card-left {
    animation: float 3.4s ease-in-out infinite;
  }

  .code-card-right {
    animation: float 3.4s ease-in-out 0.8s infinite reverse;
  }

  .steam-one,
  .steam-two {
    animation: steam 2s ease-out infinite;
    transform-box: fill-box;
    transform-origin: center bottom;
  }

  .steam-two {
    animation-delay: 0.8s;
  }

  @keyframes pulse {
    50% {
      box-shadow: 0 0 0 8px rgba(183, 131, 47, 0.05);
    }
  }

  @keyframes head-bob {
    50% { transform: rotate(-2deg) translateY(2px); }
  }

  @keyframes blink {
    0%, 46%, 50%, 100% { transform: scaleY(1); }
    48% { transform: scaleY(0.08); }
  }

  @keyframes type-left {
    to { transform: rotate(2deg) translateY(5px); }
  }

  @keyframes type-right {
    to { transform: rotate(-2deg) translateY(5px); }
  }

  @keyframes float {
    50% { transform: translateY(-12px); }
  }

  @keyframes steam {
    0% { opacity: 0; transform: translateY(7px) scale(0.85); }
    35% { opacity: 0.75; }
    100% { opacity: 0; transform: translateY(-15px) scale(1.08); }
  }
}
