﻿/* =====================================================================
   Saikumar Kanchuparthi — Premium single-page portfolio
   Design system: light yellow / white / black editorial theme
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------- */
:root {
  /* color */
  --yellow: #ffd23f;
  --yellow-deep: #ffc21a;
  --yellow-soft: #fffbdd;
  --paper: #ffffff;
  --ink: #111111;
  --ink-soft: #3d3d3d;
  --muted: #6b6f76;
  --line: rgba(17, 17, 17, 0.16);
  --line-strong: rgba(17, 17, 17, 0.9);
  --green: #22c55e;

  /* elevation */
  --shadow: 0 18px 50px -22px rgba(17, 17, 17, 0.4);
  --shadow-sm: 0 8px 26px -16px rgba(17, 17, 17, 0.3);
  --ring: 0 0 0 1.5px var(--ink);

  /* shape */
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 10px;
  --container: 1200px;
  --space-section: clamp(4.5rem, 9vw, 7.5rem);

  /* type */
  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 260ms;
}

/* ---------------------------------------------------------------------
   2. Reset & base
   --------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

html, body {
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

[hidden] {
  display: none !important;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--yellow);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------------
   3. Utilities
   --------------------------------------------------------------------- */
.container {
  width: min(100% - clamp(2rem, 5vw, 3.5rem), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: var(--space-section);
  position: relative;
}

.section-alt {
  background: var(--yellow-soft);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.icon-arrow {
  width: 1.05rem;
  height: 1.05rem;
}

/* Eyebrow + section headings */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow-num {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.4rem;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 6px;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  max-width: none;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-top: 1rem;
}

.section-lede {
  color: var(--muted);
  font-size: 1rem;
  max-width: 30rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.95rem 1.55rem;
  border-radius: 12px;
  border: 1.5px solid var(--ink);
  cursor: pointer;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}

.btn-primary {
  background: var(--ink);
  color: var(--yellow);
}

.btn-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 rgba(17, 17, 17, 0.25);
}

.btn-primary:active {
  transform: translate(1px, 1px);
  box-shadow: 2px 2px 0 rgba(17, 17, 17, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--yellow);
  transform: translateY(-2px);
}

/* ---------------------------------------------------------------------
   4. Header / nav
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -18px rgba(17, 17, 17, 0.35);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--ink);
  color: var(--yellow);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 8px;
  transform: rotate(-6deg);
  transition: transform var(--dur) var(--ease-out);
}

.brand:hover .brand-mark {
  transform: rotate(6deg);
}

.brand-text {
  display: grid;
  gap: 0.1rem;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.2;
}

.brand-role {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0.8rem;
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 8px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.2rem;
  height: 3px;
  border-radius: 99px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease-out);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.7rem 1.25rem;
  font-size: 0.88rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0.6rem;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 99px;
  transition: transform var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}

/* ---------------------------------------------------------------------
   5. Hero
   --------------------------------------------------------------------- */
.hero {
  background: var(--yellow);
  position: relative;
  overflow: hidden;
  padding-top: clamp(4.5rem, 8vw, 6.5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(17, 17, 17, 0.09) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.hero-copy {
  position: relative;
}

.hero-eyebrow {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 99px;
  padding: 0.45rem 1rem 0.45rem 0.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-top: 1.6rem;
}

.hero-title .mark {
  display: inline-block;
  background: var(--ink);
  color: var(--yellow);
  padding: 0.02em 0.18em 0.06em;
  border-radius: 0.12em;
  transform: rotate(-1.5deg);
  box-shadow: 4px 4px 0 rgba(17, 17, 17, 0.2);
}

.hero-sub {
  margin-top: 1.4rem;
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 34rem;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-location svg {
  width: 1.05rem;
  height: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.6rem;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 99px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.availability-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: ping 2.4s var(--ease-out) infinite;
}

/* Hero board — photo-free growth panel */
.hero-board {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  padding: 1.6rem 0;
}

.board-card {
  position: relative;
  z-index: 1;
  background: var(--ink);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.board-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c7c7c7;
}

.board-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: ping 2.4s var(--ease-out) infinite;
}

.board-meter {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.35rem;
}

.board-meter li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.75rem;
}

.board-label {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
}

.board-kind {
  font-style: normal;
  font-size: 0.82rem;
  color: #9d9d9d;
}

.board-bar {
  flex-basis: 100%;
  display: block;
  height: 9px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  margin-top: 0.35rem;
}

.board-bar b {
  display: block;
  height: 100%;
  width: var(--fill, 80%);
  background: var(--yellow);
  border-radius: inherit;
  transform-origin: left;
}

.js .board-bar b {
  animation: barGrow 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--bar-delay, 0.15s);
}

.board-foot {
  margin-top: 1.5rem;
  padding-top: 1.1rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.22);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--yellow);
}

/* Rotating ring badge */
.ring-badge {
  position: absolute;
  top: -1.6rem;
  right: -1.4rem;
  z-index: 2;
  width: 6.2rem;
  height: 6.2rem;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}

.ring-track {
  width: 100%;
  height: 100%;
  animation: spin 18s linear infinite;
}

.ring-track text {
  font-family: var(--font-head);
  font-size: 7.2px;
  font-weight: 700;
  letter-spacing: 2.6px;
  fill: var(--ink);
  text-transform: uppercase;
}

.ring-core {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.ring-core b {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

/* Floating chips */
.chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 99px;
  padding: 0.55rem 1.05rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  animation: floaty 6s ease-in-out infinite;
}

.chip-a {
  top: 0;
  left: -1.1rem;
  transform: rotate(-8deg);
}

.chip-b {
  top: 42%;
  right: -1.4rem;
  transform: rotate(6deg);
  animation-delay: 1s;
}

.chip-c {
  bottom: 1rem;
  left: -0.8rem;
  transform: rotate(4deg);
  animation-delay: 2s;
}

/* Hero stats bar */
.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: clamp(2.4rem, 5vw, 3.4rem);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.hero-stats li {
  display: grid;
  gap: 0.3rem;
  padding: 1.35rem 1.6rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stats li:last-child {
  border-right: none;
}

.hero-stats b {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--yellow);
}

.hero-stats span {
  font-size: 0.86rem;
  color: #b9b9b9;
}

/* ---------------------------------------------------------------------
   6. Ticker
   --------------------------------------------------------------------- */
.ticker {
  background: var(--ink);
  color: var(--yellow);
  overflow: hidden;
  padding: 0.95rem 0;
  position: relative;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-right: 2.4rem;
}

.tick-sep {
  margin: 0 1.1rem;
  color: rgba(255, 210, 63, 0.55);
  font-style: normal;
}

/* ---------------------------------------------------------------------
   7. About
   --------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.about-copy p {
  color: var(--ink-soft);
  margin-bottom: 1.1rem;
}

.about-copy p:first-of-type {
  font-size: 1.1rem;
  color: var(--ink);
}

.about-principles {
  display: grid;
  gap: 0.9rem;
}

.principle-card {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.principle-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.principle-ico {
  flex: 0 0 auto;
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--yellow);
}

.principle-ico svg {
  width: 1.35rem;
  height: 1.35rem;
}

.principle-card h3 {
  font-family: var(--font-head);
  font-size: 1.02rem;
  font-weight: 600;
}

.principle-card p {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------------------------------------------------------------------
   8. Services
   --------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.5rem 0;
}

.service-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.service-ico {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--yellow);
}

.service-ico svg {
  width: 1.3rem;
  height: 1.3rem;
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.3rem 1.5rem 0;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0.6rem 1.5rem 2.8rem;
}

.service-arrow {
  position: absolute;
  right: 1.4rem;
  bottom: 1.4rem;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}

.service-card:hover .service-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.service-arrow svg {
  width: 1rem;
  height: 1rem;
}

/* ---------------------------------------------------------------------
   9. Skills & platforms
   --------------------------------------------------------------------- */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 99px;
  padding: 0.6rem 1.05rem;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.skill-chip:hover {
  background: var(--yellow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.skill-ico {
  width: 1.35rem;
  height: 1.35rem;
}

.skill-ico svg {
  width: 100%;
  height: 100%;
}

.platforms {
  margin-top: 3rem;
  background: var(--yellow-soft);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem;
}

.platforms-label {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.platforms-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.platforms-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.platforms-list li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.platforms-list img {
  width: 1.1rem;
  height: 1.1rem;
}

/* ---------------------------------------------------------------------
   10. Work
   --------------------------------------------------------------------- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.7rem 1.9rem;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.case-card.case-dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.case-index {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.case-dark .case-index {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.85);
}

.case-pill {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  border-radius: 99px;
  background: var(--yellow);
  padding: 0.32rem 0.8rem;
  color: var(--ink);
}

.case-dark .case-pill {
  border-color: var(--yellow);
}

.case-title {
  font-family: var(--font-head);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.3;
  margin-top: 1.3rem;
}

.case-facts {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.7rem;
}

.case-facts div {
  display: flex;
  gap: 0.6rem;
}

.case-facts dt {
  flex: 0 0 5.5rem;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 0.15rem;
}

.case-facts dd {
  font-size: 0.88rem;
  color: var(--muted);
}

.case-dark .case-facts dd {
  color: #bdbdbd;
}

.case-dark .case-facts dt {
  color: var(--yellow);
}

.case-arrow {
  position: absolute;
  right: 1.6rem;
  bottom: 1.6rem;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: var(--yellow);
  transition: transform var(--dur) var(--ease-out);
}

.case-arrow svg {
  width: 1.15rem;
  height: 1.15rem;
}

.case-card:hover .case-arrow {
  transform: rotate(45deg);
}

.case-dark .case-arrow {
  border-color: var(--yellow);
  color: var(--yellow);
}

/* ---------------------------------------------------------------------
   14. Contact
   --------------------------------------------------------------------- */
.contact {
  background: var(--yellow);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}

.contact-info .eyebrow {
  color: var(--ink);
}

.contact-lead {
  margin-top: 1.1rem;
  color: var(--muted);
  max-width: 30rem;
}

.contact-meta {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.contact-meta li {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.meta-ico {
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  background: var(--yellow);
}

.meta-ico svg {
  width: 1.3rem;
  height: 1.3rem;
}

.meta-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta-value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.meta-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-note {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  background: var(--yellow-soft);
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.contact-note-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--green);
  flex: 0 0 auto;
}

/* Contact form */
.contact-form-wrap {
  display: flex;
  flex-direction: column;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  padding: 1.5rem 1.5rem 1.6rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.form-field label span {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font: 600 0.95rem var(--font-body);
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem;
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur) var(--ease-out);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #a3a3a3;
  font-weight: 400;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--yellow-soft);
  box-shadow: 3px 3px 0 rgba(17, 17, 17, 0.18);
}

.form-field textarea {
  resize: vertical;
  min-height: 7rem;
}

.form-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%23111111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1rem;
  padding-right: 2.4rem;
}

.form-field select:invalid {
  color: #a3a3a3;
  font-weight: 400;
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
}

.form-submit {
  justify-self: start;
  margin-top: 0.2rem;
}

.form-status {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}

.form-status.is-sent {
  color: #15803d;
}

.form-status.is-error {
  color: #b91c1c;
  font-weight: 500;
}

.form-status a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 700;
}

/* ---------------------------------------------------------------------
   15. Footer
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: #bdbdbd;
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.9fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.site-footer .brand-mark {
  background: var(--yellow);
  color: var(--ink);
}

.site-footer .brand-name {
  color: var(--paper);
}

.site-footer .brand-role {
  color: #7d7d7d;
}

.footer-brand p {
  font-size: 0.9rem;
  color: #9c9c9c;
  max-width: 24rem;
  margin-top: 1.2rem;
}

.footer-nav-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6d6d6d;
  margin-bottom: 1rem;
}

.footer-nav ul,
.footer-contact ul {
  display: grid;
  gap: 0.55rem;
}

.footer-nav a,
.footer-contact a,
.footer-contact li {
  font-size: 0.92rem;
  color: #c6c6c6;
  transition: color var(--dur) var(--ease-out);
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: var(--yellow);
}

.footer-seo {
  margin-top: 1.4rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #9d9d9d;
  max-width: 30rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.4rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: #7c7c7c;
}

.back-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: #c6c6c6;
  transition: color var(--dur) var(--ease-out);
}

.back-top svg {
  width: 0.95rem;
  height: 0.95rem;
}

.back-top:hover {
  color: var(--yellow);
}

/* ---------------------------------------------------------------------
   16. Floating WhatsApp button
   --------------------------------------------------------------------- */
.whatsapp-fab {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 150;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #2bbf63, #16a34a);
  color: #ffffff;
  box-shadow: 0 14px 34px -12px rgba(22, 163, 74, 0.65);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}

.whatsapp-fab img {
  width: 1.35rem;
  height: 1.35rem;
  filter: invert(1);
}

.whatsapp-fab:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -12px rgba(22, 163, 74, 0.75);
}

@media (max-width: 560px) {
  .whatsapp-fab {
    padding: 0.85rem;
  }

  .whatsapp-fab-label {
    display: none;
  }
}

/* ---------------------------------------------------------------------
   17. Skip link
   --------------------------------------------------------------------- */
.skip-link {
  position: fixed;
  top: 0.6rem;
  left: 0.6rem;
  z-index: 300;
  background: var(--ink);
  color: var(--yellow);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform var(--dur) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------------------------------------------------------------------
   18. Scroll reveal
   --------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 650ms var(--ease-out), transform 650ms var(--ease-out);
}

.js .reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes barGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes floaty {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -7px;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes ping {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }
  70% {
    box-shadow: 0 0 0 0.5rem rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* ---------------------------------------------------------------------
   19. JS-safe initial states for hero entrance
   --------------------------------------------------------------------- */
.js .hero-eyebrow,
.js .hero-title,
.js .hero-sub,
.js .hero-location,
.js .hero-actions,
.js .availability {
  opacity: 0;
  animation: rise 800ms var(--ease-out) forwards;
}

.js .hero-eyebrow { animation-delay: 60ms; }
.js .hero-title { animation-delay: 150ms; }
.js .hero-sub { animation-delay: 260ms; }
.js .hero-location { animation-delay: 360ms; }
.js .hero-actions { animation-delay: 450ms; }
.js .availability { animation-delay: 540ms; }

.js .hero-board {
  opacity: 0;
  animation: scaleIn 900ms var(--ease-out) forwards 180ms;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ---------------------------------------------------------------------
   20. Reduced motion
   --------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal,
  .js .hero-eyebrow,
  .js .hero-title,
  .js .hero-sub,
  .js .hero-location,
  .js .hero-actions,
  .js .availability,
  .js .hero-board {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

/* ---------------------------------------------------------------------
   21. Responsive
   --------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms var(--ease-out), visibility 300ms var(--ease-out);
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.4rem;
  }

  .nav-list .nav-link {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 600;
    padding: 0.6rem 0.8rem;
  }

  .nav-list .nav-link::after {
    display: none;
  }

  .nav-list .nav-link.active {
    color: var(--ink);
  }

  .nav-cta {
    display: none;
  }

  .site-nav.open .nav-cta {
    display: inline-flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-board {
    max-width: 520px;
  }

  .chip-a {
    left: 0.2rem;
  }

  .chip-b {
    right: 0.2rem;
  }

  .chip-c {
    left: 0.4rem;
    bottom: 2rem;
  }

  .ring-badge {
    right: -0.4rem;
    top: -0.8rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 3.8rem);
  }

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    padding: clamp(1.75rem, 4vw, 3rem);
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: 4.6rem;
  }

  .nav-wrap {
    height: 4.2rem;
  }

  .site-header.scrolled .nav-wrap {
    height: 3.9rem;
  }

  .brand-role {
    display: none;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-board {
    max-width: 400px;
    padding-top: 1.2rem;
  }

  .chip-a {
    top: -0.4rem;
  }

  .chip-c {
    bottom: 1.2rem;
  }

  .ring-badge {
    width: 5.2rem;
    height: 5.2rem;
    right: -0.2rem;
    top: -0.6rem;
  }

  .hero-stats li {
    padding: 1.1rem 1.1rem;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats li:last-child {
    border-bottom: none;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}
