:root {
  --ink: #f2f0e9;
  --muted: #9b9a94;
  --paper: #090a0a;
  --panel: #111313;
  --line: rgba(242, 240, 233, 0.16);
  --accent: #39a67a;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(22px, 4vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.wordmark {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.wordmark span {
  color: var(--accent);
}

nav {
  display: flex;
  gap: clamp(18px, 3vw, 46px);
}

nav a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: white;
}

.hero {
  position: relative;
  min-height: min(920px, 100svh);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 130px clamp(22px, 7vw, 110px) clamp(48px, 8vw, 110px);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.01);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(2, 8, 6, 0.94) 0%, rgba(2, 8, 6, 0.44) 49%, rgba(2, 8, 6, 0.06) 76%),
    linear-gradient(0deg, rgba(2, 8, 6, 0.64) 0%, transparent 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.eyebrow,
.section-kicker {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 20px 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.6rem, 11vw, 10.5rem);
  font-weight: 400;
  line-height: 0.77;
  letter-spacing: -0.075em;
}

.hero-location {
  margin: 0 0 42px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -0.18em;
}

.frame-number {
  position: absolute;
  right: clamp(22px, 4vw, 64px);
  bottom: clamp(30px, 4vw, 64px);
  z-index: 2;
  margin: 0;
  font-size: 0.69rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.section {
  padding: clamp(90px, 11vw, 170px) clamp(22px, 7vw, 110px);
}

.intro,
.experience {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(50px, 10vw, 160px);
  border-bottom: 1px solid var(--line);
}

.section h2,
.contact h2 {
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 5.3vw, 6rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.about-copy {
  align-self: end;
  max-width: 740px;
}

.about-copy p {
  margin: 0 0 25px;
  color: #c8c7c1;
  font-size: clamp(1.06rem, 1.5vw, 1.32rem);
  line-height: 1.75;
}

.work-section {
  background: #0d0f0f;
}

.video-section {
  background: #e8e5dd;
  color: #111313;
}

.video-heading > p {
  color: #6b6b66;
}

.video-card {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: #121414;
  color: white;
  cursor: pointer;
  text-align: left;
}

.video-card-featured {
  margin-bottom: clamp(14px, 2vw, 28px);
  aspect-ratio: 2.25 / 1;
}

.video-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 300ms ease;
}

.video-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), transparent 55%);
  transition: background 300ms ease;
}

.video-card:hover img,
.video-card:focus-visible img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.03);
}

.video-card:hover .video-wash,
.video-card:focus-visible .video-wash {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.64)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.32), transparent 55%);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
}

.video-number {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 2;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.video-title {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.video-title strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.55vw, 1.65rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.video-title small {
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.video-card-featured .video-title {
  right: clamp(22px, 4vw, 56px);
  bottom: clamp(22px, 4vw, 46px);
  left: clamp(22px, 4vw, 56px);
}

.video-card-featured .video-title strong {
  font-size: clamp(2rem, 4vw, 4.7rem);
}

.video-card-featured .video-number {
  top: clamp(22px, 3vw, 42px);
  left: clamp(22px, 4vw, 56px);
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(7px);
  transform: translate(-50%, -50%);
  transition: 250ms ease;
}

.video-play span {
  display: grid;
  place-items: center;
  margin-left: 3px;
}

.icon-play {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.video-card-featured .icon-play {
  width: clamp(24px, 3vw, 34px);
  height: clamp(24px, 3vw, 34px);
}

.video-card-featured .video-play {
  width: clamp(68px, 8vw, 106px);
  height: clamp(68px, 8vw, 106px);
}

.video-card:hover .video-play,
.video-card:focus-visible .video-play {
  border-color: var(--accent);
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.08);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 55px;
}

.section-heading > p {
  max-width: 250px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 28px);
}

.gallery-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: #151717;
  color: white;
  cursor: zoom-in;
  text-align: left;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 300ms ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.62));
  pointer-events: none;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.035);
  filter: saturate(1.08);
}

.gallery-index,
.gallery-view {
  position: absolute;
  z-index: 2;
  bottom: 18px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-index {
  left: 20px;
}

.gallery-view {
  right: 20px;
  opacity: 0;
  transform: translateY(5px);
  transition: 220ms ease;
}

.gallery-card:hover .gallery-view,
.gallery-card:focus-visible .gallery-view {
  opacity: 1;
  transform: translateY(0);
}

.feature-frame {
  position: relative;
  height: min(72vw, 850px);
  min-height: 480px;
  overflow: hidden;
}

.feature-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), transparent 60%);
}

.feature-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.feature-frame p {
  position: absolute;
  left: clamp(22px, 7vw, 110px);
  bottom: clamp(38px, 7vw, 95px);
  z-index: 2;
  max-width: 650px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.8vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.experience-card {
  padding-top: 5px;
}

.role-heading {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.role-heading h3 {
  max-width: 560px;
  margin: 8px 0 0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.25;
}

.role-date,
.role-heading > p {
  margin: 0;
  color: var(--muted);
  font-size: 0.73rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.experience-card ul {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.experience-card li {
  position: relative;
  margin-bottom: 17px;
  padding-left: 25px;
  color: #b8b7b2;
  line-height: 1.6;
}

.experience-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 14px;
  height: 14px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M17 7 7 17'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7h10v10'/%3E%3Cpath d='M17 7 7 17'/%3E%3C/svg%3E") center / contain no-repeat;
}

.skills-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(50px, 10vw, 160px);
  background: #e8e5dd;
  color: #111313;
}

.skills-list {
  border-top: 1px solid rgba(17, 19, 19, 0.25);
}

.skill-row {
  display: grid;
  grid-template-columns: 55px 1fr;
  align-items: center;
  padding: 25px 0;
  border-bottom: 1px solid rgba(17, 19, 19, 0.25);
}

.skill-row span {
  color: #6b6b66;
  font-size: 0.69rem;
  letter-spacing: 0.12em;
}

.skill-row p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.7vw, 2.9rem);
  letter-spacing: -0.035em;
}

.contact {
  padding: clamp(100px, 13vw, 190px) clamp(22px, 7vw, 110px) 45px;
}

.contact h2 {
  max-width: 950px;
}

.contact-form {
  margin-top: 55px;
  max-width: 780px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-bottom: 26px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 250ms ease;
}

.field textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.6;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(155, 154, 148, 0.6);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 15px 30px;
  border: 1px solid var(--accent);
  border-radius: 100px;
  background: var(--accent);
  color: #06120d;
  cursor: pointer;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 250ms ease, color 250ms ease, transform 250ms ease;
}

.form-submit:hover,
.form-submit:focus-visible {
  background: transparent;
  color: var(--accent);
  transform: translateY(-1px);
}

.form-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.form-status[data-state="success"] {
  color: var(--accent);
}

.form-status[data-state="error"] {
  color: #e07a6a;
}

.email-link {
  display: inline-block;
  margin-top: 60px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--accent);
  font-size: clamp(1rem, 2.2vw, 2rem);
}

.contact-meta {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  margin-top: 115px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.73rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-meta p {
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 70px 24px 24px;
  background: rgba(0, 0, 0, 0.94);
  cursor: zoom-out;
}

.lightbox img {
  display: block;
  max-width: 94vw;
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 30px;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.96);
}

.video-modal-inner {
  width: min(1200px, 96vw);
}

.video-modal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 0 0 16px;
  color: #d7d6d1;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.video-modal-topbar p {
  margin: 0;
}

.video-modal-topbar div {
  display: flex;
  gap: 28px;
}

.video-modal-topbar a {
  color: var(--accent);
}

.video-modal-topbar button {
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
  cursor: pointer;
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}

.video-embed {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.65);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 780px) {
  .site-header {
    padding: 20px 18px;
  }

  nav {
    gap: 16px;
  }

  nav a:nth-child(2),
  nav a:nth-child(3) {
    display: none;
  }

  .hero {
    min-height: 820px;
    padding-inline: 20px;
  }

  .hero-image {
    object-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(2, 8, 6, 0.91), rgba(2, 8, 6, 0.18)),
      linear-gradient(0deg, rgba(2, 8, 6, 0.78), transparent 58%);
  }

  .hero h1 {
    font-size: clamp(4.2rem, 23vw, 7rem);
  }

  .hero-location {
    max-width: 250px;
    line-height: 1.6;
  }

  .frame-number {
    display: none;
  }

  .intro,
  .experience,
  .skills-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 20px;
  }

  .video-card-featured {
    aspect-ratio: 16 / 10;
  }

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

  .video-title strong {
    font-size: 1.4rem;
  }

  .video-play {
    width: 58px;
    height: 58px;
  }

  .video-modal {
    padding: 18px;
  }

  .video-modal-topbar {
    align-items: flex-start;
  }

  .video-modal-topbar p {
    display: none;
  }

  .video-modal-topbar div {
    width: 100%;
    justify-content: space-between;
  }

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

  .gallery-view {
    opacity: 1;
    transform: none;
  }

  .feature-frame {
    min-height: 570px;
  }

  .feature-frame img {
    object-position: 56% center;
  }

  .role-heading {
    grid-template-columns: 1fr;
  }

  .contact-meta {
    grid-template-columns: 1fr;
    margin-top: 85px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .form-submit {
    width: 100%;
    justify-content: center;
  }
}

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

  .gallery-card img,
  .video-card img {
    transition: none;
  }
}
