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

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

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

a {
  color: var(--blue);
}

a:hover {
  color: var(--blue-deep);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  padding: 0.5rem 0.85rem;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  border-bottom: var(--line-width) solid var(--line);
  background: var(--paper);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
}

.wordmark-mark {
  width: 1.7rem;
  height: 1.7rem;
  flex: none;
}

.wordmark-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.hero {
  padding: 4.5rem 0 4.25rem;
  border-bottom: var(--line-width) solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.color-rule {
  display: flex;
  height: 10px;
  max-width: 13rem;
  gap: 3px;
  background: var(--ink);
  margin-bottom: 1.5rem;
}

.color-rule span {
  display: block;
}

.color-rule .b {
  width: 38%;
  background: var(--blue);
}

.color-rule .y {
  width: 16%;
  background: var(--yellow);
}

.color-rule .c {
  flex: 1;
  background: var(--paper);
}

.color-rule .t {
  width: 22%;
  background: var(--terracotta);
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 7vw, 4.15rem);
  font-weight: 500;
  font-optical-sizing: auto;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.lede {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.55rem 1.15rem;
  border: var(--line-width) solid var(--line);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.btn-primary {
  background: var(--blue);
  color: var(--paper);
  border-color: var(--blue-deep);
}

.btn-primary:hover {
  background: var(--blue-deep);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--paper);
  color: var(--ink);
}

.hero-note {
  margin: 1.25rem 0 1.75rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-email-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
}

.hero-art {
  width: 100%;
  max-width: 24rem;
  margin-inline: 0;
  aspect-ratio: 3.5 / 2;
}

/* Work Request Form */
.hero-form-container {
  width: 100%;
}

.hero-form-card {
  background: var(--paper);
  border: var(--line-width) solid var(--line);
  padding: 1.5rem;
}

.hero-form-card .form-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 500;
  margin: 0.25rem 0 0.25rem;
  letter-spacing: -0.02em;
}

.hero-form-card .form-subtitle {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 1.15rem;
  line-height: 1.4;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.85rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

@media (min-width: 540px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.req-star {
  color: var(--terra);
  font-weight: 700;
}

.opt-label {
  font-size: 0.75rem;
  font-weight: 400;
  text-transform: none;
  color: var(--muted);
}

.form-control {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: var(--line-width) solid var(--line);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46, 76, 114, 0.18);
}

.form-control::placeholder {
  color: #888;
  font-size: 0.85rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 4.85rem;
  line-height: 1.4;
}

/* File Upload Zone */
.file-drop-zone {
  position: relative;
  border: var(--line-width) dashed var(--line);
  background: var(--white);
  padding: 0.85rem;
  text-align: center;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.file-drop-zone:hover,
.file-drop-zone.drag-over {
  background: #fdfbf7;
  border-color: var(--blue);
}

.file-input-hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-drop-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  cursor: pointer;
  pointer-events: none;
}

.file-drop-icon {
  font-size: 1.35rem;
}

.file-drop-text {
  font-size: 0.85rem;
  color: var(--ink);
}

.file-drop-hint {
  font-size: 0.74rem;
  color: var(--muted);
}

.file-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.file-preview-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.3rem 0.5rem 0.3rem 0.3rem;
  font-size: 0.8rem;
  max-width: 100%;
}

.file-preview-thumb {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: cover;
  border: 1px solid var(--line);
  background: var(--paper);
}

.file-preview-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.file-preview-name {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 8.5rem;
}

.file-preview-size {
  font-size: 0.72rem;
  color: var(--muted);
}

.file-preview-remove {
  background: transparent;
  border: none;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--terra);
  cursor: pointer;
  padding: 0 0.25rem;
  margin-left: auto;
}

.file-preview-remove:hover {
  font-weight: 700;
  color: #8a2412;
}

.btn-block {
  width: 100%;
  cursor: pointer;
  margin-top: 0.35rem;
  transition: background-color 0.15s ease;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  padding: 0.75rem 1rem;
  border: var(--line-width) solid var(--line);
  font-size: 0.88rem;
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.form-status-success {
  background: #eaf3ea;
  border-color: #2e6930;
  color: #1a4d1c;
  font-weight: 500;
}

.form-status-error {
  background: #fdf0ed;
  border-color: var(--terra);
  color: #8a2412;
  font-weight: 600;
}

.section {
  padding: 4.25rem 0;
  border-bottom: var(--line-width) solid var(--line);
}

.section h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-intro {
  margin: 0 0 2.25rem;
  max-width: 36rem;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.service {
  background: var(--paper);
  border: var(--line-width) solid var(--line);
  padding: 1.15rem 1.2rem 1.3rem;
}

.service-swatch {
  width: 2.35rem;
  height: 0.55rem;
  margin-bottom: 0.85rem;
  border: 2px solid var(--line);
}

.swatch-blue { background: var(--blue); }
.swatch-red { background: var(--terracotta); }
.swatch-yellow { background: var(--yellow); }
.swatch-cream {
  background: var(--cream);
}

.service h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.service p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.similar-note {
  margin: 1.5rem 0 0;
  padding: 1rem 1.15rem;
  border-left: 8px solid var(--yellow);
  background: var(--paper);
}

.similar-note p {
  margin: 0;
  color: var(--muted);
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.step {
  padding: 0.2rem 0 0.2rem 0.2rem;
}

.step-num {
  display: inline-block;
  margin-bottom: 0.45rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.step h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.about-split {
  display: grid;
  gap: 1.5rem;
}

.about-split p {
  margin: 0;
  max-width: 38rem;
}

.contact-panel {
  display: grid;
  gap: 1.5rem;
}

.contact-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.contact-list span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list a,
.contact-list strong {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--blue);
}

.site-footer {
  padding: 1.35rem 0 1.7rem;
  background: var(--paper);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-inner a {
  color: inherit;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .how-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1.08fr;
    gap: 3.5rem;
    align-items: start;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
  }

  .hero-art {
    max-width: 22rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .wrap {
    width: min(100% - 3.5rem, var(--max));
  }

  .hero {
    padding: 5.5rem 0 5rem;
  }
}

@media print {
  .site-header,
  .hero-actions,
  .skip-link {
    display: none;
  }

  body {
    background: white;
  }

  .hero,
  .section {
    border-bottom: 1px solid #ccc;
    padding: 1.25rem 0;
    break-inside: avoid;
  }

  a[href^="tel"],
  a[href^="mailto"] {
    color: inherit;
    text-decoration: none;
  }
}
