/* Design tokens */
:root {
  --color-ink: #172824;
  --color-ink-soft: #4f625d;
  --color-forest: #1e4d43;
  --color-teal: #277b72;
  --color-water: #5da8b5;
  --color-coral: #e47b5e;
  --color-sand: #f4f2eb;
  --color-paper: #fffefa;
  --color-line: #d9ded7;
  --font-display: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --font-body: Inter, "Helvetica Neue", Arial, sans-serif;
  --shadow-small: 0 12px 30px rgba(23, 40, 36, 0.08);
  --shadow-large: 0 35px 80px rgba(23, 40, 36, 0.16);
  --radius-small: 0.65rem;
  --radius-medium: 1.25rem;
  --radius-large: 2rem;
  --container: 72rem;
  --section-space: clamp(5rem, 10vw, 8rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-sand);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.container {
  width: min(calc(100% - 3rem), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  color: var(--color-paper);
  background: var(--color-ink);
  border-radius: var(--radius-small);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.hero {
  position: relative;
  display: grid;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  align-items: start;
  overflow: hidden;
  background:
    linear-gradient(rgba(23, 40, 36, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 40, 36, 0.045) 1px, transparent 1px),
    var(--color-sand);
  background-size: 4rem 4rem;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 8rem;
  background: linear-gradient(transparent, var(--color-sand));
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--color-teal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.status {
  display: inline-flex;
  margin-bottom: 1.5rem;
  padding: 0.42rem 0.8rem;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-forest);
  background: rgba(39, 123, 114, 0.1);
  border: 1px solid rgba(39, 123, 114, 0.2);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.status-dot {
  width: 0.45rem;
  height: 0.45rem;
  background: var(--color-coral);
  border-radius: 50%;
  box-shadow: 0 0 0 0.25rem rgba(228, 123, 94, 0.15);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.25rem, 7vw, 6.4rem);
  font-weight: 750;
}

h1 span {
  color: var(--color-teal);
}

.hero-copy {
  max-width: 38rem;
  margin: 0 0 2.25rem;
  color: var(--color-ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.button {
  display: inline-flex;
  min-height: 3.5rem;
  padding: 0.8rem 1.45rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--color-paper);
  background: var(--color-forest);
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-small);
  font-weight: 750;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  background: var(--color-teal);
  transform: translateY(-2px);
}

.button span {
  font-size: 1.25rem;
}

.hero-visual {
  position: relative;
  min-height: 27rem;
}

.visual-card {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: min(26rem, 85%);
  overflow: hidden;
  background: var(--color-paper);
  border: 1px solid rgba(23, 40, 36, 0.1);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-large);
  transform: translate(-50%, -50%) rotate(-3deg);
}

.visual-top {
  display: flex;
  height: 3.4rem;
  padding-inline: 1.4rem;
  align-items: center;
  gap: 0.45rem;
  background: #eaece6;
  border-bottom: 1px solid var(--color-line);
}

.visual-top span {
  width: 0.55rem;
  height: 0.55rem;
  background: var(--color-water);
  border-radius: 50%;
}

.visual-top span:nth-child(2) {
  background: var(--color-coral);
}

.visual-top span:nth-child(3) {
  background: var(--color-teal);
}

.visual-body {
  display: flex;
  min-height: 17rem;
  padding: 2.5rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background:
    radial-gradient(circle at 85% 20%, rgba(93, 168, 181, 0.22), transparent 30%),
    var(--color-paper);
}

.visual-logo {
  display: grid;
  width: 5rem;
  margin-bottom: 1.25rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--color-paper);
  background: var(--color-forest);
  border-radius: 50%;
  box-shadow: 0 0.55rem 1.1rem rgba(23, 40, 36, 0.16);
  font-family: "Arial Rounded MT Bold", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.visual-body p {
  margin: 0 0 2rem;
  color: var(--color-ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.visual-line {
  width: 85%;
  height: 0.55rem;
  margin-bottom: 0.75rem;
  background: #dfe4df;
  border-radius: 1rem;
}

.visual-line.short {
  width: 58%;
  background: #e8eae6;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(39, 123, 114, 0.23);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 28rem;
  height: 28rem;
}

.orbit-two {
  width: 36rem;
  height: 36rem;
  border-color: rgba(228, 123, 94, 0.17);
}

.floating-tag {
  position: absolute;
  z-index: 5;
  padding: 0.7rem 1rem;
  color: var(--color-paper);
  border-radius: 999px;
  box-shadow: var(--shadow-small);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tag-web {
  top: 12%;
  right: 1%;
  background: var(--color-teal);
}

.tag-water {
  right: 2%;
  bottom: 14%;
  background: var(--color-water);
}

.tag-print {
  bottom: 6%;
  left: 2%;
  background: var(--color-coral);
}

.hero-accent {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.hero-accent-one {
  top: 9%;
  right: 6%;
  width: 17rem;
  height: 17rem;
  background: rgba(93, 168, 181, 0.15);
}

.hero-accent-two {
  bottom: 4%;
  left: -5rem;
  width: 15rem;
  height: 15rem;
  background: rgba(228, 123, 94, 0.1);
}

.section {
  padding-block: var(--section-space);
}

.contact-intro h2 {
  max-width: 16ch;
  margin-bottom: 0;
  font-size: clamp(2.35rem, 5vw, 4rem);
}

.contact {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

.contact-shell {
  display: grid;
  padding: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--color-paper);
  background:
    radial-gradient(circle at 5% 100%, rgba(93, 168, 181, 0.25), transparent 30%),
    var(--color-ink);
  border-radius: var(--radius-large);
}

.contact-intro .eyebrow {
  color: #8fcbc5;
}

.contact-intro > p:not(.eyebrow) {
  max-width: 31rem;
  margin: 1.5rem 0 2.5rem;
  color: #c6d0cc;
}

.general-contact {
  padding-left: 1rem;
  border-left: 3px solid var(--color-coral);
}

.general-contact span {
  display: block;
  margin-bottom: 0.3rem;
  color: #98aaa4;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.general-contact a {
  display: block;
  font-size: clamp(0.9rem, 2vw, 1.08rem);
  font-weight: 750;
  overflow-wrap: anywhere;
  text-underline-offset: 0.3rem;
}

.contact-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-service {
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-service h3 {
  margin-bottom: 0.45rem;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}

.contact-service p {
  max-width: 34rem;
  margin: 0 0 0.8rem;
  color: #b8c5c0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.contact-service a {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow-wrap: anywhere;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 750;
  text-underline-offset: 0.25rem;
}

.contact-service a span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.contact-service strong {
  flex: 0 0 auto;
  color: var(--color-coral);
  font-size: 1.3rem;
  transition: transform 180ms ease;
}

.contact-service a:hover strong {
  transform: translate(0.2rem, -0.2rem);
}

.site-footer {
  padding-block: 2rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  color: var(--color-ink-soft);
  font-size: 0.84rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  font-weight: 700;
  text-underline-offset: 0.2rem;
}

:focus-visible {
  outline: 3px solid var(--color-coral);
  outline-offset: 4px;
}

@media (max-width: 56rem) {
  .hero {
    padding-top: 3rem;
  }

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

  .hero-grid {
    gap: 1.5rem;
  }

  .hero-content {
    max-width: 44rem;
  }

  .hero-visual {
    min-height: 24rem;
  }

}

@media (max-width: 36rem) {
  .container {
    width: min(calc(100% - 2rem), var(--container));
  }

  .hero {
    padding: 2.5rem 0 4rem;
  }

  .button {
    width: 100%;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.2rem);
  }

  .hero-visual {
    min-height: 20rem;
  }

  .visual-card {
    width: 88%;
  }

  .visual-body {
    min-height: 15rem;
    padding: 1.5rem;
  }

  .orbit-one {
    width: 21rem;
    height: 21rem;
  }

  .orbit-two {
    width: 27rem;
    height: 27rem;
  }

  .floating-tag {
    padding: 0.55rem 0.75rem;
    font-size: 0.62rem;
  }

  .tag-water {
    right: 0;
  }

  .contact-shell {
    width: 100%;
    padding-inline: 1.25rem;
    border-radius: 0;
  }

  .contact {
    padding-bottom: 3rem;
  }

  .contact-service {
    padding-block: 1.2rem;
  }

  .contact-service a {
    align-items: flex-start;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
}

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

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