/* InFocus Design LLC */

:root {
  --bg: #0C0C14;
  --card: #12121C;
  --amber: #D4A042;
  --amber-dim: rgba(212,160,66,.1);
  --coral: #C85A44;
  --signal: #3DAA8F;
  --cream: #EDE6DA;
  --mid: rgba(237,230,218,.5);
  --border: rgba(212,160,66,.08);
  --mono: 'Space Mono', monospace;
  --sans: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(.16,1,.3,1);
  --mx: 50%;
  --my: 50%;
}

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

  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
  font-size: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: rgba(12,12,20,.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.nav-logo svg {
  width: 24px;
  height: 24px;
  opacity: 0.8;
}

.nav-logo .focus {
  color: var(--amber);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  transition: color 250ms var(--ease);
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms var(--ease);
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--cream);
  cursor: pointer;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all 250ms var(--ease);
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

@property --mr {
  syntax: '<length>';
  inherits: true;
  initial-value: 0px;
}

/* hero */
.hero {
  position: relative;
  min-height: calc(100svh - 60px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 60px;
  padding: clamp(4rem, 10vh, 7rem) 0 3rem;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0,0,0,.03),
    rgba(0,0,0,.03) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 25;
  mix-blend-mode: multiply;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(212,160,66,.08) 0%, transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(60,170,143,.06) 0%, transparent 30%),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(212,160,66,.02) 40px, rgba(212,160,66,.02) 80px);
  z-index: 1;
}

/* Veil: split mask from backdrop-filter — fixes Safari/WebKit rendering bug
   where combining -webkit-mask-image + -webkit-backdrop-filter on one element
   causes the blur to bleed into foreground content or fail entirely.
   Outer div (.hero-veil) holds the mask; inner div (.hero-veil-blur) holds the blur. */
.hero-veil {
  position: absolute;
  inset: 0;
  mask-image: radial-gradient(circle var(--mr, 0px) at var(--mx, 50%) var(--my, 50%), transparent, black 70%);
  -webkit-mask-image: radial-gradient(circle var(--mr, 0px) at var(--mx, 50%) var(--my, 50%), transparent, black 70%);
  pointer-events: none;
  z-index: 2;
  transition: --mr 400ms ease;
}

.hero-veil-blur {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateZ(0);
}

.no-hover .hero-veil {
  mask-image: none;
  -webkit-mask-image: none;
}

.no-hover .hero-veil-blur {
  animation: heroUnfocus 3s 0.8s ease-out forwards;
}

@keyframes heroUnfocus {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes signalLock {
  0%   { text-shadow: -4px 0 0 rgba(200,90,68,.8), 4px 0 0 rgba(61,170,143,.7); opacity: 0.6; }
  40%  { text-shadow: -2px 0 0 rgba(200,90,68,.4), 2px 0 0 rgba(61,170,143,.4); opacity: 0.85; }
  100% { text-shadow: none; opacity: 1; }
}

@keyframes focusIn {
  from { filter: blur(8px); opacity: 0; transform: translateY(4px); }
  to   { filter: blur(0);   opacity: 1; transform: translateY(0); }
}

.hero-eyebrow        { animation: focusIn  550ms  80ms ease-out both; }
.hero h1             { animation: signalLock 1.5s 150ms ease-out both; }
.hero-text-group > p { animation: focusIn  600ms 550ms ease-out both; }
.hero-buttons        { animation: focusIn  500ms 750ms ease-out both; }
.hero-mark           { animation: focusIn  900ms 250ms ease-out both; }

.hero-content {
  position: relative;
  z-index: 10;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr clamp(280px, 42%, 480px);
  gap: 4rem;
  max-width: 90vw;
  width: 100%;
  align-items: center;
}

.hero-text-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
}

.hero h1 {
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.1;
  color: var(--cream);
}

.hero h1 .cycle {
  color: var(--amber);
  font-style: italic;
  display: inline-block;
  min-width: 8ch;
}

.hero p {
  font-family: var(--sans);
  font-size: 1.05rem;
  color: var(--mid);
  max-width: 28ch;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.btn-primary {
  background: var(--amber);
  color: var(--bg);
  padding: 0.875rem 2rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 250ms var(--ease);
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(212,160,66,.3);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--amber);
  color: var(--amber);
  padding: 0.75rem 1.75rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 250ms var(--ease);
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
}

.btn-outline:hover {
  background: var(--amber);
  color: var(--bg);
}

.hero-mark {
  width: 100%;
  max-width: 440px;
  justify-self: center;
}

.hero-mark svg {
  width: 100%;
  height: auto;
  display: block;
}

/* marquee */
.marquee {
  background: var(--amber);
  color: var(--bg);
  padding: 1.5rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: scroll 30s linear infinite;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.marquee-content span {
  display: inline-block;
  margin-right: 3rem;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* services */
.services {
  background: var(--bg);
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.services h2 {
  font-family: var(--mono);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 3rem;
  color: var(--cream);
  font-weight: 700;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
  position: relative;
}

.accordion-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 16px;
  height: 16px;
  border-top: 2px solid var(--amber);
  border-left: 2px solid var(--amber);
  opacity: 0.15;
  transition: opacity 250ms var(--ease);
}

.accordion-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 16px;
  height: 16px;
  border-bottom: 2px solid var(--amber);
  border-right: 2px solid var(--amber);
  opacity: 0.15;
  transition: opacity 250ms var(--ease);
}

.accordion-item.open::before,
.accordion-item.open::after {
  opacity: 0.5;
}

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  transition: color 250ms var(--ease);
  text-align: left;
}

.accordion-trigger:hover {
  color: var(--amber);
}

.accordion-icon {
  position: relative;
  width: 32px;
  height: 32px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 250ms var(--ease);
}

.accordion-item.open .accordion-icon {
  background: var(--amber);
  border-color: var(--amber);
}

.accordion-icon::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 2px;
  background: currentColor;
}

.accordion-icon::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 12px;
  background: currentColor;
  transition: opacity 250ms var(--ease);
}

.accordion-item.open .accordion-icon::after {
  opacity: 0;
}

.accordion-item.open .accordion-icon {
  color: var(--bg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms var(--ease);
}

.accordion-item.open .accordion-body {
  max-height: 500px;
}

.accordion-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.accordion-description {
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 1.7;
}

.accordion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-content: flex-start;
}

.tag {
  display: inline-block;
  background: var(--amber-dim);
  color: var(--amber);
  padding: 0.35rem 0.75rem;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 12px;
}

/* dof */
.dof {
  background: var(--bg);
  padding: 6rem 2rem;
}

.dof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.dof-cell {
  background: var(--card);
  padding: 3rem 2rem;
  position: relative;
  border: 1px solid var(--border);
  transition: all 250ms var(--ease);
}

.dof-grid:has(.dof-cell:hover) .dof-cell:not(:hover) {
  filter: blur(2.5px);
  opacity: 0.28;
}

.dof-cell:hover {
  border-color: var(--amber);
}

.dof-number {
  font-family: var(--mono);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(212,160,66,.62);
  margin-bottom: 1rem;
  line-height: 1;
}

.dof-cell h3 {
  font-family: var(--mono);
  font-size: 1.25rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.dof-cell p {
  color: var(--mid);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* waveform divider */
.waveform-divider {
  display: flex;
  justify-content: center;
  padding: 3rem 0;
  background: var(--bg);
}

.waveform-divider svg {
  width: 100%;
  max-width: 1200px;
  height: 40px;
  opacity: 0.4;
}

/* process */
.process {
  background: var(--bg);
  padding: 6rem 2rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.process-step {
  border-left: 2px solid var(--amber-dim);
  padding-left: 2rem;
  transition: border-color 250ms var(--ease);
}

.process-step:hover {
  border-left-color: var(--amber);
}

.process-number {
  font-family: var(--mono);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(212,160,66,.62);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-family: var(--mono);
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.process-step p {
  color: var(--mid);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* cta */
.cta {
  background: var(--amber);
  color: var(--bg);
  padding: 5rem 2rem;
  text-align: center;
}

.cta h2 {
  font-family: var(--mono);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 2rem;
}

.cta .btn-primary {
  background: var(--bg);
  color: var(--cream);
  border: 1px solid rgba(237,230,218,.15);
}

.cta .btn-primary:hover {
  box-shadow: 0 0 30px rgba(0,0,0,.2);
}

/* page shells */
.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}

.page-shell--center {
  max-width: 760px;
  text-align: center;
}

.page-title {
  font-family: var(--mono);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 1rem;
}

.page-copy {
  color: var(--mid);
  font-size: 1.05rem;
  line-height: 1.8;
}

.page-shell--center .page-copy {
  max-width: 38rem;
  margin: 0 auto;
}

.page-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* about */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-text h1 {
  font-family: var(--mono);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--cream);
}

.about-text p {
  color: var(--mid);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-image {
  aspect-ratio: 4/5;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image svg {
  width: 50%;
  height: 50%;
  opacity: 0.1;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 4rem auto;
  max-width: 1200px;
  padding: 0 2rem;
}

.value-cell {
  border: 1px solid var(--border);
  padding: 2rem;
  transition: all 250ms var(--ease);
}

.value-cell:hover {
  border-color: var(--amber);
  background: var(--amber-dim);
}

.value-cell h3 {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.value-cell p {
  color: var(--mid);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* contact */
.contact-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 6rem;
  text-align: center;
}

.contact-hero h1 {
  font-family: var(--mono);
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--cream);
}

.contact-email {
  font-family: var(--mono);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--amber);
  font-weight: 700;
  word-break: break-all;
}

.contact-form {
  background: var(--card);
  padding: 3rem;
  max-width: 600px;
  margin: 4rem auto;
  border: 1px solid var(--border);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: #0C0C14;
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.95rem;
  transition: all 250ms var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(212,160,66,.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.form-status {
  min-height: 1.5rem;
  margin-top: 1rem;
  color: var(--mid);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.form-status.is-error {
  color: var(--coral);
}

.form-success {
  text-align: center;
  padding: 3rem 1rem;
  outline: none;
}

.form-success-title {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.form-success-message {
  color: var(--cream);
  font-size: 1.1rem;
  line-height: 1.7;
}

.cta-copy {
  color: var(--bg);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  font-family: var(--sans);
}

.privacy-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 8rem 2rem 4rem;
}

.privacy-title {
  font-family: var(--mono);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--cream);
}

.privacy-updated {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 3rem;
}

.privacy-content {
  color: var(--mid);
  font-size: 1rem;
  line-height: 1.8;
}

.privacy-content h2 {
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  margin: 2.5rem 0 1rem;
  letter-spacing: 0.05em;
}

.privacy-content p {
  margin-bottom: 1.5rem;
}

.privacy-content p:last-child {
  margin-bottom: 0;
}

.inline-link {
  color: var(--amber);
}

/* footer */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-logo {
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cream);
}

.footer-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.footer-links a {
  font-family: var(--mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--cream);
  transition: color 250ms var(--ease);
}

.footer-links a:hover {
  color: var(--amber);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--mid);
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 750ms var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow,
  .hero h1,
  .hero-text-group > p,
  .hero-buttons,
  .hero-mark {
    animation: none;
    opacity: 1;
    filter: none;
    transform: none;
    text-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: translateY(0);
  }
}

/* skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--amber);
  color: var(--bg);
  padding: 0.5rem 1rem;
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.8rem;
  z-index: 2000;
}

.skip-link:focus {
  top: 0;
}

/* focus visible */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* responsive */
@media (max-width: 768px) {
  nav {
    padding: 0 1rem;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(12,12,20,.95);
    backdrop-filter: blur(10px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 350ms var(--ease);
  }

  .nav-links.open {
    max-height: 400px;
  }

  .nav-links a {
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    height: auto;
    min-height: calc(100svh - 60px);
    align-items: flex-start;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero-mark {
    display: none;
  }

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

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 7rem 1rem 3rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 1rem;
    margin: 3rem auto;
  }

  .accordion-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .page-shell,
  .privacy-page {
    padding: 7rem 1rem 3rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  nav {
    padding: 0 1rem;
  }

  .nav-logo {
    font-size: 0.85rem;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  .hero-buttons,
  .page-actions {
    flex-direction: column;
  }

  .hero-buttons a,
  .page-actions a {
    width: 100%;
    text-align: center;
  }

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

  .dof-cell {
    padding: 2rem 1.5rem;
  }

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

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

  .contact-form {
    padding: 2rem 1.25rem;
    margin: 2rem 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}
