:root {
  --page: #ffffff;
  --section: #f7f5f0;
  --card: #ffffff;
  --card-alt: #f0f0ed;
  --text: #2b322d;
  --muted: #67716a;
  --line: #e3e5df;
  --accent: #00a26d;
  --accent-deep: #00885c;
  --accent-soft: #e5f8f0;
  --shadow: 0 20px 48px rgba(39, 50, 43, 0.08);
  --container: 1120px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

p {
  color: var(--muted);
  line-height: 1.7;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
}

.brand img {
  width: 196px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}

.site-nav a {
  position: relative;
  padding: 22px 0 18px;
  color: var(--muted);
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
}

section {
  padding: 96px 0;
}

.hero-section {
  min-height: 500px;
  padding: 132px 0 48px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(255, 255, 255, 0.42) 44%,
      rgba(255, 255, 255, 0.9) 78%,
      #ffffff 100%
    ),
    url("Image (Open window to sky).png") center top / cover no-repeat;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content h1 {
  font-size: clamp(3.25rem, 6vw, 4.7rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.hero-section:not(.page-hero) .hero-content h1 {
  color: #ffffff;
}

.hero-roles {
  margin-top: 12px;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  color: #536058;
}

.hero-summary {
  max-width: 34rem;
  margin-top: 22px;
  font-size: 1.05rem;
}

.hero-pill {
  margin-bottom: 18px;
}

.page-hero {
  min-height: 420px;
  padding: 120px 0 64px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, #05b478 0%, #009864 100%);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(0, 152, 100, 0.22);
}

.button-secondary {
  margin-top: 26px;
  background: #ffffff;
  color: var(--accent-deep);
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 22px rgba(23, 41, 33, 0.12);
}

.button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
}

.button-icon img {
  width: 19px;
  height: 19px;
}

.button-icon svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: currentColor;
}

.button-social {
  gap: 6px;
  padding: 0 18px 0 14px;
  border-color: transparent;
  background: linear-gradient(180deg, #05b478 0%, #009864 100%);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(0, 152, 100, 0.22);
}

.social-button-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
  border-radius: 999px;
  color: #ffffff;
  line-height: 0;
}

.social-button-icon-link:hover,
.social-button-icon-link:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.social-button-icon-link svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: currentColor;
}

.social-button-label {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
}

.about-section {
  padding: 20px 0 36px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.92fr);
  gap: 72px;
  align-items: center;
}

.about-copy h2 {
  font-size: 1.9rem;
  font-weight: 600;
  color: var(--accent-deep);
}

.about-copy p {
  max-width: 32rem;
  margin-top: 14px;
  font-size: 1rem;
}

.about-image-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.about-image-card img {
  width: 100%;
  aspect-ratio: 15 / 10;
  object-fit: cover;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 46px;
  text-align: center;
}

.projects-section {
  padding-top: 52px;
}

.all-projects-section {
  padding-top: 52px;
  padding-bottom: 88px;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin-top: 16px;
  font-size: clamp(2.4rem, 4.4vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.section-summary {
  margin-top: 12px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 34px;
}

.project-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

.directing-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

.projects-status {
  display: none;
  margin: 0 auto 28px;
  text-align: center;
}

.projects-status-visible {
  display: block;
}

.project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.project-row-card {
  display: flex;
  flex-wrap: nowrap;
  gap: 36px;
  align-items: start;
  padding: 0;
}

.directing-row-card {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  align-items: start;
  padding: 0;
}

.project-thumbnail {
  min-height: 198px;
  aspect-ratio: 16 / 9;
  border: 1px solid #ecece9;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #f3f3f1 0%, #e9e9e6 100%);
  overflow: hidden;
}

.project-thumbnail-link,
.project-embed {
  display: block;
  width: 100%;
  height: 100%;
}

.project-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-row-thumbnail {
  flex: 0 0 48%;
  width: 48%;
  min-height: 0;
}

.directing-thumbnail {
  flex: 0 0 31%;
  width: 31%;
  min-height: 0;
  aspect-ratio: 2 / 3;
}

.directing-thumbnail img {
  object-fit: fill;
}

.project-embed {
  border: 0;
}

.project-file-preview,
.project-thumbnail-empty {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 100%;
  padding: 22px;
  background: linear-gradient(180deg, #f8f8f5 0%, #eeeeea 100%);
}

.project-file-type {
  color: var(--accent-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-file-title {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.project-file-action {
  color: var(--muted);
  font-size: 0.92rem;
}

.project-body {
  padding-top: 14px;
}

.project-row-body {
  flex: 1 1 0;
  min-width: 0;
  margin-top: -9px;
}

.directing-row-body {
  flex: 1 1 0;
  min-width: 0;
  margin-top: -6px;
}

.project-body h3 {
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.project-row-body h3 {
  font-size: clamp(2.35rem, 4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.project-row-body .project-kicker {
  margin-top: 10px;
  font-size: 1.15rem;
}

.project-row-body .project-meta {
  margin-top: 18px;
  font-size: 1rem;
}

.project-row-body .project-logline {
  margin-top: 18px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.project-row-body .project-links {
  margin-top: 22px;
}

.project-row-body .project-links a {
  font-size: 1rem;
}

.directing-row-body h3 {
  font-size: clamp(2.35rem, 4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.directing-row-body .project-kicker {
  margin-top: 10px;
  font-size: 1.15rem;
}

.directing-detail-block {
  margin-top: 16px;
}

.directing-detail-label,
.directing-detail-value {
  font-size: 1rem;
  line-height: 1.7;
}

.directing-detail-label {
  color: var(--text);
  font-weight: 700;
}

.directing-detail-value {
  color: var(--muted);
  font-weight: 400;
}

.directing-description {
  margin-top: 18px;
  color: var(--accent-deep);
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.8;
}

.project-kicker {
  margin-top: 6px;
  color: var(--accent-deep);
  font-size: 0.97rem;
  font-style: italic;
}

.project-meta {
  margin-top: 10px;
  font-size: 0.83rem;
  color: #7d857f;
}

.project-logline {
  margin-top: 12px;
}

.project-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.project-links a {
  color: var(--accent-deep);
  font-size: 0.92rem;
  font-weight: 600;
}

.project-links a:hover,
.project-links a:focus-visible {
  text-decoration: underline;
}

.services-section {
  margin-top: 14px;
  background: var(--section);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  min-height: 212px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--card);
  box-shadow: 0 14px 28px rgba(39, 50, 43, 0.05);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--accent-soft);
}

.service-icon img {
  width: 18px;
  height: 18px;
}

.service-card h3 {
  margin-top: 18px;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.service-card p {
  margin-top: 12px;
}

.cta-section {
  padding: 72px 0 104px;
}

.cta-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 58px 30px;
  border-radius: 20px;
  background: linear-gradient(180deg, #06b57b 0%, #00a069 100%);
  text-align: center;
  box-shadow: 0 28px 52px rgba(0, 143, 97, 0.18);
}

.cta-panel h2 {
  font-size: clamp(2.3rem, 4.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.cta-panel p {
  max-width: 36rem;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.88);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 32px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand img {
  width: 188px;
}

.footer-brand p,
.footer-copy {
  font-size: 0.88rem;
  color: #6f7771;
}

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

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

@media (max-width: 980px) {
  .about-grid,
  .projects-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .project-row-card {
    flex-direction: column;
    gap: 22px;
  }

  .directing-row-card {
    flex-direction: column;
    gap: 22px;
  }

  .project-row-thumbnail {
    width: 100%;
    flex-basis: auto;
  }

  .directing-thumbnail {
    width: min(100%, 340px);
    flex-basis: auto;
  }

  .project-row-body {
    margin-top: 0;
  }

  .directing-row-body {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .site-header {
    position: static;
  }

  .header-inner,
  .site-nav,
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 14px;
    padding-bottom: 18px;
  }

  .site-nav a {
    padding: 0;
  }

  .site-nav a[aria-current="page"]::after {
    bottom: -8px;
  }

  section {
    padding: 74px 0;
  }

  .hero-section {
    min-height: auto;
    padding: 108px 0 78px;
    background-position: center top;
  }

  .page-hero {
    padding: 96px 0 56px;
  }

  .about-section {
    padding: 20px 0 28px;
  }

  .project-row-card {
    gap: 20px;
  }

  .cta-panel {
    padding: 42px 24px;
  }
}
