/* =========================================================
   WEBCRAFT
   Global + Homepage Styles
   ========================================================= */


/* =========================================================
   DESIGN TOKENS
========================================================= */

:root {
  --bg: #f5f3ee;
  --bg-soft: #eeece6;

  --surface: #ffffff;
  --surface-soft: #faf9f6;

  --ink: #171a19;
  --ink-soft: #4f5753;

  --muted: #737b76;
  --muted-light: #929994;

  --line: #d9d8d1;
  --line-dark: #3f4642;

  --accent: #168789;
  --accent-light: #8bd4cf;
  --accent-soft: #eaf5f3;

  --danger: #b44848;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-sm:
    0 8px 25px rgba(23, 26, 25, 0.06);

  --shadow-md:
    0 20px 55px rgba(23, 26, 25, 0.09);

  --shadow-lg:
    0 30px 90px rgba(23, 26, 25, 0.15);

  --container: 1160px;
  --nav-height: 76px;
}


/* =========================================================
   RESET
========================================================= */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  min-height: 100vh;
  margin: 0;

  overflow-x: hidden;

  background: var(--bg);
  color: var(--ink);

  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";

  position: fixed;
  inset: 0;

  z-index: 999;

  pointer-events: none;

  opacity: 0.06;

  background-image:
    radial-gradient(
      var(--ink) 0.5px,
      transparent 0.5px
    );

  background-size: 7px 7px;
}

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

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

button {
  color: inherit;
}

a {
  color: inherit;
}

::selection {
  background: var(--accent);
  color: #ffffff;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

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

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

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

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* =========================================================
   GLOBAL UTILITIES
========================================================= */

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

  margin-inline: auto;
}

.section {
  padding-top: 125px;
}

.section-kicker,
.micro-label {
  display: block;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.7px;

  text-transform: uppercase;
}

.section-kicker,
.micro-label {
  color: var(--accent);
}

em {
  color: var(--accent);
  font-style: normal;
}


/* =========================================================
   BRAND
========================================================= */

.brand {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  color: var(--ink);

  text-decoration: none;

  font-family: "Manrope", sans-serif;
  font-size: 20px;
  font-weight: 800;

  letter-spacing: -0.8px;
}

.brand img {
  width: 35px;
  height: 35px;

  object-fit: contain;
}

.brand > span > span {
  color: var(--accent);
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  min-height: 48px;

  padding: 13px 18px;

  border: 0;
  border-radius: 10px;

  text-decoration: none;

  font-size: 13px;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    opacity 0.2s ease;
}

.btn span {
  color: var(--accent-light);
}

.btn-dark {
  background: var(--ink);
  color: #ffffff;

  box-shadow:
    0 12px 30px rgba(23, 26, 25, 0.13);
}

.btn-dark:hover {
  transform: translateY(-2px);

  box-shadow:
    0 17px 35px rgba(23, 26, 25, 0.18);
}

.btn-dark:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
}


/* =========================================================
   TEXT LINK
========================================================= */

.text-link {
  display: inline-flex;
  align-items: center;

  color: #454b48;

  text-decoration: none;

  font-size: 13px;
  font-weight: 600;

  border-bottom:
    1px solid #bbbdb7;

  padding-bottom: 4px;

  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.text-link:hover {
  color: var(--accent);

  border-color:
    var(--accent);
}

.text-link span {
  margin-left: 7px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav-wrap {
  position: fixed;

  top: 0;
  left: 0;

  z-index: 100;

  width: 100%;

  background:
    rgba(245, 243, 238, 0.86);

  border-bottom:
    1px solid rgba(23, 26, 25, 0.08);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  height: var(--nav-height);

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;

  gap: 30px;
}

.nav-links a {
  position: relative;

  color: #626965;

  text-decoration: none;

  font-size: 13px;

  transition:
    color 0.2s ease;
}

.nav-links a:not(.nav-cta)::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -5px;

  width: 0;
  height: 1px;

  background: var(--accent);

  transition:
    width 0.2s ease;
}

.nav-links a:not(.nav-cta):hover {
  color: var(--ink);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 11px 16px;

  border-radius: 999px;

  background: var(--ink);
  color: #ffffff !important;
}

.nav-cta b {
  margin-left: 4px;

  color: var(--accent-light);
}


/* =========================================================
   MOBILE MENU
========================================================= */

.menu-toggle {
  display: none;

  width: 42px;
  height: 42px;

  padding: 0;

  border:
    1px solid var(--line);

  border-radius: 9px;

  background: transparent;

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 20px;
  height: 2px;

  margin: 5px auto;

  background: var(--ink);

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}


/* =========================================================
   HOMEPAGE HERO
========================================================= */

.hero {
  min-height: 790px;

  padding-top: 155px;
  padding-bottom: 95px;

  display: grid;

  grid-template-columns:
    1.04fr 0.96fr;

  align-items: center;

  gap: 80px;
}


/* =========================================================
   HERO COPY
========================================================= */

.eyebrow {
  display: inline-flex;
  align-items: center;

  gap: 9px;

  padding: 8px 11px;

  border:
    1px solid #d8d6cf;

  border-radius: 999px;

  color: #69706c;

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;

  text-transform: uppercase;
}

.eyebrow > span {
  width: 6px;
  height: 6px;

  flex: 0 0 auto;

  border-radius: 50%;

  background: var(--accent);

  box-shadow:
    0 0 0 4px
    rgba(22, 135, 137, 0.08);
}

.hero h1 {
  max-width: 760px;

  margin: 23px 0;

  font-family: "Manrope", sans-serif;

  font-size:
    clamp(48px, 6.1vw, 79px);

  font-weight: 800;

  line-height: 0.98;

  letter-spacing: -5px;
}

.hero-text {
  max-width: 620px;

  margin: 0;

  color: #606864;

  font-size: 16px;

  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;

  gap: 24px;

  margin-top: 31px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;

  gap: 25px;

  margin-top: 45px;

  padding-top: 17px;

  border-top:
    1px solid var(--line);

  color: #767d78;

  font-size: 10px;
}

.hero-meta b {
  margin-right: 5px;

  color: var(--accent);
}


/* =========================================================
   HOMEPAGE HERO VISUAL
========================================================= */

.hero-tool {
  position: relative;
}

.tool-window {
  overflow: hidden;

  background: var(--surface);

  border:
    1px solid #dadbd6;

  border-radius:
    var(--radius-lg);

  box-shadow:
    var(--shadow-lg);
}

.window-bar {
  height: 44px;

  display: grid;

  grid-template-columns:
    1fr 2fr 1fr;

  align-items: center;

  padding: 0 16px;

  border-bottom:
    1px solid #e5e5e1;

  color: #929994;

  font-size: 9px;
  letter-spacing: 1.3px;

  text-transform: uppercase;
}

.window-bar > span:nth-child(2) {
  text-align: center;
}

.window-bar > span:last-child {
  text-align: right;
}

.window-dots {
  display: flex;

  gap: 5px;
}

.window-dots i {
  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #d5d7d2;
}

.tool-body {
  padding: 34px;
}

.tool-intro h2 {
  margin: 12px 0 9px;

  font-family: "Manrope", sans-serif;

  font-size: 32px;
  font-weight: 700;

  line-height: 1.02;

  letter-spacing: -1.6px;
}

.tool-intro p {
  max-width: 360px;

  margin: 0;

  color: var(--muted);

  font-size: 12px;
}

.goal-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 9px;

  margin-top: 27px;
}

.goal {
  position: relative;

  min-height: 100px;

  padding: 14px;

  text-align: left;

  background:
    var(--surface-soft);

  border:
    1px solid #e2e2dc;

  border-radius: 10px;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.goal:hover {
  transform: translateY(-2px);

  border-color:
    #9dc5c2;
}

.goal.active {
  background:
    var(--accent-soft);

  border-color:
    #71b7b2;
}

.goal span,
.goal small {
  display: block;

  color: #8b938e;

  font-size: 9px;
}

.goal strong {
  display: block;

  margin: 10px 0 3px;

  font-size: 12px;
}

.goal.active strong {
  color: #116f71;
}

.tool-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  margin-top: 18px;

  padding-top: 17px;

  border-top:
    1px solid #e5e5e1;

  color: #727a75;

  font-size: 10px;
}

.tool-footer a {
  color: var(--ink);

  text-decoration: none;

  font-weight: 700;

  transition:
    color 0.2s ease;
}

.tool-footer a:hover {
  color: var(--accent);
}

.hero-note {
  position: absolute;

  right: -35px;
  bottom: 38px;

  padding: 10px 13px;

  background: var(--ink);
  color: #e8e9e4;

  border-radius: 9px;

  font-size: 10px;

  box-shadow:
    0 12px 25px
    rgba(0, 0, 0, 0.13);
}

.hero-note span {
  color: var(--accent-light);
}


/* =========================================================
   PROOF STRIP
========================================================= */

.proof-strip {
  border-block:
    1px solid #deddd7;

  background:
    var(--bg-soft);
}

.proof-inner {
  min-height: 54px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  color: #777e79;

  font-size: 9px;
  letter-spacing: 1.5px;

  text-transform: uppercase;
}

.proof-inner span:first-child {
  color: var(--ink);
  font-weight: 700;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;

  gap: 50px;

  margin-bottom: 48px;
}

.section-heading h2 {
  margin: 12px 0 0;

  font-family: "Manrope", sans-serif;

  font-size:
    clamp(37px, 4.4vw, 57px);

  font-weight: 800;

  line-height: 1.02;

  letter-spacing: -3.2px;
}

.section-heading > p {
  max-width: 430px;

  margin: 0;

  color: #68706b;

  font-size: 13px;

  line-height: 1.8;
}


/* =========================================================
   SERVICES PREVIEW
========================================================= */

.service-list {
  border-top:
    1px solid #d7d7d0;
}

.service-row {
  display: grid;

  grid-template-columns:
    65px 1fr 30px;

  align-items: center;

  gap: 20px;

  padding: 26px 4px;

  border-bottom:
    1px solid #d7d7d0;

  color: inherit;

  text-decoration: none;

  transition:
    padding 0.25s ease,
    background-color 0.25s ease;
}

.service-row:hover {
  padding-left: 13px;

  background:
    rgba(255, 255, 255, 0.4);
}

.service-index {
  color: var(--accent);

  font-size: 10px;
}

.service-row h3 {
  margin: 0 0 4px;

  font-family: "Manrope", sans-serif;

  font-size: 21px;
  font-weight: 700;

  letter-spacing: -0.5px;
}

.service-row p {
  margin: 0;

  color: #747b77;

  font-size: 12px;
}

.service-arrow {
  color: #7c8580;

  font-size: 18px;

  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.service-row:hover .service-arrow {
  transform:
    translate(3px, -3px);

  color: var(--accent);
}


/* =========================================================
   WORK PREVIEW
========================================================= */

.work-section {
  margin-top: 120px;

  padding: 120px 0;

  background: var(--ink);

  color: #f2f1ec;
}

.work-section .section-kicker {
  color: #78c7c1;
}

.work-section .section-heading > p {
  color: #9ba29e;
}

.portfolio-grid {
  display: grid;

  grid-template-columns:
    1.25fr 1fr;

  gap: 42px 18px;
}

.case-card {
  min-width: 0;
}

.case-card.featured {
  grid-row: span 2;
}

.case-visual {
  position: relative;

  height: 390px;

  overflow: hidden;

  display: block;

  border-radius: 15px;

  text-decoration: none;
}

.featured .case-visual {
  height: 610px;
}

.case-top {
  position: absolute;

  top: 17px;
  left: 18px;
  right: 18px;

  z-index: 2;

  display: flex;
  justify-content: space-between;

  font-size: 8px;
  letter-spacing: 1.5px;
}


/* =========================================================
   NORTHSTAR VISUAL
========================================================= */

.visual-paper {
  position: relative;

  background: #dfe5df;

  color: #1d2925;
}

.paper-layout {
  position: absolute;

  inset:
    65px 45px 35px;

  display: grid;

  grid-template-columns:
    65px 1fr;

  overflow: hidden;

  background: #f7f7f2;

  box-shadow:
    0 18px 40px
    rgba(0, 0, 0, 0.12);
}

.paper-sidebar {
  margin: 25px 20px;

  border-right:
    1px solid #cdd2cc;

  background:
    repeating-linear-gradient(
      to bottom,
      #d0d6d0 0 2px,
      transparent 2px 22px
    );
}

.paper-main {
  padding: 35px;
}

.paper-main small {
  color: #78837c;

  font-size: 8px;

  letter-spacing: 1.2px;
}

.paper-main h3 {
  margin: 18px 0;

  font-family: "Manrope", sans-serif;

  font-size: 52px;
  font-weight: 700;

  line-height: 0.9;

  letter-spacing: -3px;
}

.paper-main h3 i {
  color: #238b88;

  font-style: normal;
}

.paper-button {
  width: 85px;
  height: 25px;

  border-radius: 4px;

  background: #1d2925;
}


/* =========================================================
   FORMA VISUAL
========================================================= */

.visual-forma {
  position: relative;

  background: #e4ded3;

  color: #292725;
}

.forma-word {
  position: absolute;

  left: 30px;
  bottom: 38px;

  font-family: "Manrope", sans-serif;

  font-size: 55px;
  font-weight: 800;

  line-height: 0.82;

  letter-spacing: -4px;
}

.forma-word i {
  color: #7a7369;

  font-family: Georgia, serif;

  font-size: 42px;
  font-weight: 400;
}

.forma-line {
  position: absolute;

  left: 30px;
  right: 30px;
  top: 48%;

  height: 1px;

  background: #938b80;
}


/* =========================================================
   FORM VISUAL
========================================================= */

.visual-form {
  position: relative;

  background: #ddd8cf;

  color: #252925;
}

.product {
  position: absolute;

  width: 145px;
  height: 220px;

  left: 50%;
  top: 50%;

  transform:
    translate(-50%, -50%)
    rotate(7deg);

  border-radius:
    72px 72px 23px 23px;

  background: #263c37;

  box-shadow:
    20px 25px 45px
    rgba(0, 0, 0, 0.18);
}

.form-copy {
  position: absolute;

  left: 25px;
  bottom: 23px;

  font-size: 11px;

  letter-spacing: 2px;
}

.form-copy b {
  color: #3c7069;

  letter-spacing: 0;
}


/* =========================================================
   CASE INFORMATION
========================================================= */

.case-info {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  padding: 13px 2px;
}

.case-info h3 {
  margin: 0 0 3px;

  font-family: "Manrope", sans-serif;

  font-size: 14px;
  font-weight: 700;
}

.case-info p {
  margin: 0;

  color: #8f9893;

  font-size: 10px;
}

.case-open {
  flex: 0 0 auto;

  padding: 0 0 3px;

  border: 0;

  border-bottom:
    1px solid #59615d;

  background: transparent;

  color: #cbd1ce;

  text-decoration: none;

  font-size: 10px;

  cursor: pointer;

  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.case-open:hover {
  color: #ffffff;

  border-color:
    var(--accent);
}

.case-open span {
  margin-left: 6px;

  color: #7ac7c1;
}


/* =========================================================
   PROCESS PREVIEW
========================================================= */

.process {
  border-top:
    1px solid #d7d7d0;
}

.process-item {
  display: block;

  padding: 0 3px;

  border-bottom:
    1px solid #d7d7d0;

  color: inherit;

  text-decoration: none;

  transition:
    background-color 0.2s ease,
    padding-left 0.2s ease;
}

.process-item:hover {
  padding-left: 10px;

  background:
    rgba(255, 255, 255, 0.35);
}

.process-row {
  display: grid;

  grid-template-columns:
    65px 1fr 30px;

  align-items: center;

  padding: 24px 0;
}

.process-row span {
  color: var(--accent);

  font-size: 10px;
}

.process-row strong {
  font-family: "Manrope", sans-serif;

  font-size: 20px;
  font-weight: 700;
}

.process-row i {
  color: #858c87;

  font-size: 19px;

  font-style: normal;

  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.process-item:hover .process-row i {
  transform:
    translate(3px, -3px);

  color: var(--accent);
}


/* =========================================================
   ABOUT PREVIEW
========================================================= */

.about-section {
  margin-top: 120px;

  padding: 120px 0;

  background:
    var(--bg-soft);
}

.about-grid {
  display: grid;

  grid-template-columns:
    0.75fr 1.25fr;

  gap: 85px;

  align-items: start;
}

.about-statement {
  padding-top: 14px;

  border-top:
    1px solid #c9c9c1;
}

.about-statement > span {
  color: #7a817c;

  font-size: 9px;

  letter-spacing: 1.5px;
}

.about-statement strong {
  display: block;

  margin-top: 35px;

  font-family: "Manrope", sans-serif;

  font-size:
    clamp(48px, 5.2vw, 70px);

  font-weight: 800;

  line-height: 0.9;

  letter-spacing: -4px;
}

.about-statement em {
  color: var(--accent);
}

.about-copy h2 {
  margin: 13px 0 20px;

  font-family: "Manrope", sans-serif;

  font-size:
    clamp(37px, 4vw, 52px);

  font-weight: 800;

  line-height: 1.04;

  letter-spacing: -2.7px;
}

.about-copy > p {
  max-width: 670px;

  color: #626a65;

  font-size: 13px;

  line-height: 1.8;
}

.about-points {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 11px;

  margin-top: 30px;
}

.about-points span {
  padding: 12px;

  border:
    1px solid #d0d0c9;

  border-radius: 7px;

  background:
    rgba(255, 255, 255, 0.35);

  color: #525b56;

  font-size: 11px;
}


/* =========================================================
   CONTACT CTA
========================================================= */

.contact-section {
  padding-bottom: 125px;
}

.contact-card {
  display: grid;

  grid-template-columns:
    0.9fr 1.1fr;

  gap: 70px;

  padding: 55px;

  background:
    var(--surface);

  border:
    1px solid #d6d6cf;

  border-radius: 18px;

  box-shadow:
    var(--shadow-md);
}

.contact-copy h2 {
  margin: 14px 0 19px;

  font-family: "Manrope", sans-serif;

  font-size:
    clamp(39px, 4.6vw, 58px);

  font-weight: 800;

  line-height: 1;

  letter-spacing: -3px;
}

.contact-copy > p {
  color: #737b76;

  font-size: 13px;

  line-height: 1.7;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
  padding-top: 50px;

  border-top:
    1px solid #d8d7d1;
}

.footer-main {
  display: flex;

  justify-content: space-between;

  gap: 60px;

  padding-bottom: 45px;
}

.footer-main p {
  margin-top: 14px;

  color: #777f7a;

  font-size: 11px;

  line-height: 1.6;
}

.footer-links {
  display: flex;

  gap: 90px;
}

.footer-links > div {
  display: flex;

  flex-direction: column;

  gap: 9px;
}

.footer-links > div > span {
  margin-bottom: 4px;

  color: #989e99;

  font-size: 9px;

  letter-spacing: 1.5px;

  text-transform: uppercase;
}

.footer-links a,
.footer-links button {
  padding: 0;

  border: 0;

  background: transparent;

  color: #656d68;

  text-decoration: none;

  font-family:
    "DM Sans", sans-serif;

  font-size: 11px;

  text-align: left;

  cursor: pointer;

  transition:
    color 0.2s ease;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;

  justify-content: space-between;

  gap: 20px;

  padding: 18px 0;

  border-top:
    1px solid #d8d7d1;

  color: #969d98;

  font-size: 9px;
}


/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal {
  opacity: 0;

  transform:
    translateY(18px);

  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;

  transform: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  /* HERO */

  .hero {
    grid-template-columns: 1fr;

    padding-top: 125px;

    gap: 55px;
  }

  .hero-tool {
    width: 100%;

    max-width: 680px;
  }

  .hero-note {
    right: 10px;
  }


  /* WORK */

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .case-card.featured {
    grid-row: auto;
  }

  .featured .case-visual,
  .case-visual {
    height: 440px;
  }


  /* ABOUT */

  .about-grid {
    grid-template-columns: 1fr;

    gap: 55px;
  }

  .about-statement strong {
    margin-top: 25px;
  }


  /* CONTACT */

  .contact-card {
    grid-template-columns: 1fr;

    gap: 45px;

    padding: 38px;
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

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


  /* NAVIGATION */

  .nav {
    height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;

    top: 67px;
    left: 16px;
    right: 16px;

    display: flex;

    flex-direction: column;

    align-items: stretch;

    gap: 3px;

    padding: 12px;

    background: #ffffff;

    border:
      1px solid #dddcd6;

    border-radius: 13px;

    box-shadow:
      0 20px 45px
      rgba(0, 0, 0, 0.12);

    opacity: 0;

    visibility: hidden;

    transform:
      translateY(-7px);

    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease;
  }

  .nav-links.open {
    opacity: 1;

    visibility: visible;

    transform: none;
  }

  .nav-links a {
    padding: 10px;
  }

  .nav-cta {
    margin-top: 5px;

    text-align: center;
  }


  /* HERO */

  .hero {
    min-height: auto;

    padding-top: 110px;
    padding-bottom: 70px;
  }

  .hero h1 {
    margin-top: 20px;

    font-size: 46px;

    letter-spacing: -3px;
  }

  .hero-text {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;

    align-items: flex-start;

    gap: 18px;
  }

  .hero-meta {
    gap: 11px;
  }

  .hero-note {
    right: 5px;

    bottom: 24px;

    font-size: 9px;
  }


  /* HERO TOOL */

  .tool-body {
    padding: 23px;
  }

  .tool-intro h2 {
    font-size: 28px;
  }

  .goal-grid {
    grid-template-columns: 1fr;
  }


  /* PROOF */

  .proof-inner {
    justify-content: flex-start;

    overflow-x: auto;

    padding-block: 15px;

    white-space: nowrap;

    scrollbar-width: none;
  }

  .proof-inner::-webkit-scrollbar {
    display: none;
  }


  /* SECTIONS */

  .section {
    padding-top: 90px;
  }

  .section-heading {
    flex-direction: column;

    align-items: flex-start;

    gap: 25px;
  }

  .section-heading h2 {
    letter-spacing: -2px;
  }

  .section-heading > p {
    font-size: 12px;
  }


  /* SERVICES */

  .service-row {
    grid-template-columns:
      35px 1fr 20px;

    gap: 12px;

    padding-block: 22px;
  }

  .service-row h3 {
    font-size: 18px;
  }

  .service-row p {
    font-size: 11px;

    line-height: 1.6;
  }


  /* WORK */

  .work-section {
    margin-top: 80px;

    padding: 90px 0;
  }

  .featured .case-visual,
  .case-visual {
    height: 360px;
  }

  .paper-layout {
    inset:
      60px 22px 22px;
  }

  .paper-main {
    padding: 25px;
  }

  .paper-main h3 {
    font-size: 39px;
  }

  .forma-word {
    font-size: 43px;

    letter-spacing: -3px;
  }

  .forma-word i {
    font-size: 34px;
  }


  /* PROCESS */

  .process-row {
    grid-template-columns:
      40px 1fr 25px;
  }

  .process-row strong {
    font-size: 18px;
  }


  /* ABOUT */

  .about-section {
    margin-top: 80px;

    padding: 90px 0;
  }

  .about-points {
    grid-template-columns: 1fr;
  }

  .about-copy h2 {
    letter-spacing: -2px;
  }


  /* CONTACT */

  .contact-section {
    padding-bottom: 90px;
  }

  .contact-card {
    padding: 25px;

    border-radius: 14px;
  }

  .contact-copy h2 {
    letter-spacing: -2px;
  }


  /* FOOTER */

  .footer-main {
    flex-direction: column;

    gap: 35px;
  }

  .footer-links {
    gap: 55px;
  }

  .footer-bottom {
    flex-direction: column;

    gap: 8px;
  }
}


/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 420px) {

  .container {
    width:
      calc(100% - 24px);
  }

  .brand {
    font-size: 18px;
  }

  .brand img {
    width: 31px;
    height: 31px;
  }

  .hero h1 {
    font-size: 40px;

    letter-spacing: -2.5px;
  }

  .eyebrow {
    font-size: 8px;
  }

  .tool-body {
    padding: 19px;
  }

  .goal {
    min-height: 90px;
  }

  .section-heading h2 {
    font-size: 35px;
  }

  .featured .case-visual,
  .case-visual {
    height: 320px;
  }

  .paper-main h3 {
    font-size: 34px;
  }

  .product {
    width: 115px;
    height: 180px;
  }

  .contact-card {
    padding: 20px;
  }

  .footer-links {
    gap: 35px;
  }
}


/* =========================================================
   WEBCRAFT POLISH LAYER
   Refined spacing, interaction states, typography and
   accessibility details. Kept at the end for safe overrides.
========================================================= */

:root {
  --container: 1180px;
  --nav-height: 78px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 18px 50px rgba(23, 26, 25, .08);
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before { opacity: .035; }

::selection { background: rgba(22,135,137,.18); color: var(--ink); }

a, button, input, textarea, select { -webkit-tap-highlight-color: transparent; }

.btn {
  min-height: 50px;
  padding-inline: 20px;
  border-radius: 12px;
}

.btn-dark:hover { transform: translateY(-3px); }

.text-link { min-height: 30px; align-items: center; }

.nav-wrap {
  background: rgba(248,247,243,.82);
  border-bottom-color: rgba(23,26,25,.07);
}

.nav-links a[aria-current="page"]:not(.nav-cta) { color: var(--ink); font-weight: 700; }
.nav-links a[aria-current="page"]:not(.nav-cta)::after { width: 100%; }

.case-visual, .service-row, .process-item, .feature-card {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
}

.case-visual:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,.16); }

.service-row:hover { padding-left: 12px; }

.contact-card, .about-cta-card {
  box-shadow: var(--shadow-soft);
}

.reveal { transition-duration: .72s; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

@media (max-width: 768px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .nav-links {
    box-shadow: 0 24px 60px rgba(23,26,25,.14);
    border: 1px solid rgba(23,26,25,.08);
  }
}

@media (max-width: 420px) {
  .container { width: calc(100% - 28px); }
  .btn { width: auto; }
}


/* =========================================================
   SECOND PASS — UX, ACCESSIBILITY & PERFORMANCE
========================================================= */

:root {
  --focus: #168789;
  --header-bg: rgba(245, 243, 238, .88);
}

::selection { background: var(--accent); color: #fff; }

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-180%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.nav-wrap {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-links a[aria-current="page"]:not(.nav-cta) {
  color: var(--ink);
}
.nav-links a[aria-current="page"]:not(.nav-cta)::after {
  transform: scaleX(1);
}

.site-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 2px;
  pointer-events: none;
}
.site-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  transition: width .08s linear;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease, background .2s ease;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--ink); color: #fff; }

.toast {
  max-width: min(420px, calc(100vw - 32px));
}

[aria-busy="true"] { cursor: wait; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
