/* OZATA Group LLC — static portfolio */

:root {
  --ink: #111111;
  --ink-soft: #3a3a3a;
  --muted: #5c5c5c;
  --paper: #f6f5f2;
  --white: #ffffff;
  --accent: #d7f25c;
  --accent-ink: #111111;
  --nav-shadow: 0 8px 28px rgba(17, 17, 17, 0.1);
  --card-shadow: 0 12px 40px rgba(17, 17, 17, 0.06);
  --radius-card: 26px;
  --radius-panel: 32px;
  --max: 1120px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::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);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
}

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

/* ——— Buttons ——— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}

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

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

.btn-white {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.btn-accent:hover {
  box-shadow: 0 10px 28px rgba(215, 242, 92, 0.35);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: #222;
}

.btn-nav {
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
}

/* ——— Header / nav ——— */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 1.25rem 0;
  pointer-events: none;
}

.nav-pill {
  pointer-events: auto;
  width: min(100%, 920px);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0.55rem 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: var(--nav-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  flex-shrink: 0;
}

.nav-brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.15rem;
  margin-left: auto;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(17, 17, 17, 0.05);
  outline: none;
}

.nav-pill .btn-nav {
  display: none;
  margin-left: 0.25rem;
  flex-shrink: 0;
}

.nav-toggle {
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-menu {
  pointer-events: auto;
  width: min(100%, 920px);
  margin-top: 0.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 22px;
  box-shadow: var(--nav-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-menu[hidden] {
  display: none;
}

.nav-menu a:not(.btn) {
  text-decoration: none;
  font-weight: 550;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  color: var(--ink);
}

.nav-menu a:not(.btn):hover {
  background: rgba(17, 17, 17, 0.05);
}

.nav-menu .btn {
  margin-top: 0.35rem;
  width: 100%;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .nav-pill .btn-nav {
    display: inline-flex;
  }

  .nav-toggle,
  .nav-menu {
    display: none !important;
  }
}

/* ——— Hero ——— */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(10, 22, 14, 0.12) 0%,
      rgba(10, 22, 14, 0.18) 35%,
      rgba(12, 28, 18, 0.55) 70%,
      rgba(8, 18, 12, 0.78) 100%
    );
}

.hero-inner {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 7.5rem 0 6.5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

.hero-copy {
  display: grid;
  gap: 1.75rem;
  align-items: end;
}

.hero h1 {
  font-size: clamp(2.35rem, 6.5vw, 4.35rem);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.045em;
  max-width: 11ch;
  text-wrap: balance;
}

.hero-aside {
  max-width: 28rem;
}

.hero-aside p {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.35rem;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

@media (min-width: 860px) {
  .hero-inner {
    padding: 8rem 0 7.5rem;
  }

  .hero-copy {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }

  .hero-aside {
    justify-self: end;
    text-align: left;
    padding-bottom: 0.35rem;
  }
}

/* ——— Intro panel (overlaps hero) ——— */

.intro-panel {
  position: relative;
  z-index: 2;
  width: min(100% - 1.5rem, var(--max));
  margin: -3.25rem auto 0;
  padding: 2.25rem 1.75rem;
  background: var(--white);
  border-radius: var(--radius-panel);
  box-shadow: var(--card-shadow);
  text-align: center;
}

.intro-panel p {
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: var(--ink);
  max-width: 38rem;
  margin: 0 auto;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .intro-panel {
    margin-top: -3.75rem;
    padding: 2.75rem 3rem;
  }
}

/* ——— Sections ——— */

.section {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 5rem 0 0;
}

.section h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -0.04em;
  margin-bottom: 1.75rem;
}

/* ——— Work ——— */

.work-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 720px) {
  .work-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

.work-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: 100%;
  padding: 1.5rem;
  border-radius: var(--radius-card);
  box-shadow: 0 1px 0 rgba(17, 17, 17, 0.03);
}

.work-card--blue {
  background: #e8f0ff;
}

.work-card--peach {
  background: #fdeee6;
}

.work-card--yellow {
  background: #f8f4c8;
}

.work-card--mint {
  background: #e5f5ea;
}

.work-mark {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 1.85rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 24px rgba(17, 17, 17, 0.05);
}

.work-card--blue .work-mark {
  color: #2f5bb8;
}

.work-card--peach .work-mark {
  color: #b85a32;
}

.work-card--yellow .work-mark {
  color: #8a7420;
}

.work-card--mint .work-mark {
  color: #2f7a4a;
}

.work-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.tag {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.tag--blue {
  background: #c9dbff;
  color: #1e3f8a;
}

.tag--peach {
  background: #f5d4c4;
  color: #7a3518;
}

.tag--yellow {
  background: #ebe48a;
  color: #5c4d0f;
}

.tag--mint {
  background: #c5e8d0;
  color: #1f5c35;
}

.work-card h3 {
  font-size: 1.55rem;
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.work-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 36ch;
}

.visit {
  margin-top: auto;
  padding-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
  transition: gap 0.15s ease, opacity 0.15s ease;
  gap: 0.15rem;
  width: fit-content;
}

.visit:hover {
  gap: 0.4rem;
  opacity: 0.75;
}

.visit:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (min-width: 720px) {
  .work-card {
    padding: 1.75rem;
    min-height: 320px;
  }
}

/* ——— About ——— */

.about-lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--ink-soft);
  max-width: 42rem;
  margin-bottom: 1.75rem;
  text-wrap: pretty;
}

.value-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.value-pills li {
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.05);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* ——— Contact ——— */

.contact {
  padding-bottom: 2rem;
}

.contact-card {
  background: #0f1612;
  color: var(--white);
  border-radius: var(--radius-panel);
  padding: 2.5rem 1.75rem;
  box-shadow: var(--card-shadow);
}

.contact-card h2 {
  color: var(--white);
  margin-bottom: 1.1rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.contact-email {
  display: inline-block;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 0.85rem;
}

.contact-email:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-email:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.contact-address {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.98rem;
  max-width: 22rem;
  line-height: 1.5;
}

@media (min-width: 720px) {
  .contact-card {
    padding: 3.25rem 3rem;
  }
}

/* ——— Footer ——— */

.site-footer {
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: 2rem 0 2.75rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ——— Mobile tweaks (390px+) ——— */

@media (max-width: 480px) {
  .hero-inner {
    width: min(100% - 1.75rem, var(--max));
    padding: 6.5rem 0 5.5rem;
  }

  .intro-panel {
    width: min(100% - 1.1rem, var(--max));
    padding: 1.75rem 1.25rem;
    margin-top: -2.75rem;
  }

  .section {
    width: min(100% - 1.75rem, var(--max));
    padding-top: 3.75rem;
  }

  .hero h1 {
    max-width: none;
  }

  .work-card {
    padding: 1.35rem;
  }

  .site-footer {
    width: min(100% - 1.75rem, var(--max));
    flex-direction: column;
  }
}
