:root {
  --ink: #171c1d;
  --muted: #5d6062;
  --paper: #fff;
  --line: #d6d8d9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.6 Arial,Helvetica,sans-serif;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

[hidden] {
  display: none!important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #4598bb;
  outline-offset: 5px;
}

.wrap {
  width: min(1160px,calc(100% - 120px));
  margin-inline: auto;
}

.section {
  padding-block: 90px;
}

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

h1,
h2,
h3 {
  font-weight: 400;
}

h2 {
  font-size: clamp(32px,3.4vw,50px);
  line-height: 1.15;
  letter-spacing: -.03em;
  margin-bottom: 26px;
}

h3 {
  font-size: 23px;
  line-height: 1.3;
  margin-bottom: 20px;
}

p {
  margin-bottom: 20px;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 34px;
}

.eyebrow:after {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: .65;
}

.eyebrow.stacked {
  display: block;
}

.eyebrow.stacked:after {
  margin-top: 22px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  min-height: 54px;
  padding: 17px 32px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .19em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s,color .2s;
}

.light {
  background: #fff;
  color: #171c1d;
}

.light:hover {
  background: #e6eaec;
}

.dark-button {
  background: #171c1d;
  color: white;
}

.dark-button:hover {
  background: #36464c;
}

.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  background: white;
  padding: 12px;
  z-index: 20;
}

.skip:focus {
  top: 12px;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 760px;
  height: 100svh;
  max-height: 1100px;
  color: white;
  display: flex;
  flex-direction: column;
  background: #17262c;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.hero-image {
  z-index: -2;
}

.hero-shade {
  z-index: -1;
  background: linear-gradient(90deg,rgba(5,13,19,.63),rgba(5,13,19,.08)),linear-gradient(0deg,rgba(5,13,19,.58),rgba(5,13,19,.12) 75%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-block: 25px;
  position: relative;
  z-index: 5;
}

.brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.brand img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.brand span {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .23em;
  line-height: 1.65;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
}

.nav-links a {
  padding-block: 8px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover {
  border-bottom-color: currentColor;
}

.menu-toggle {
  display: none;
}

.hero-content {
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding-top: 40px;
  padding-bottom: 110px;
}


.hero h1 {
  font-size: clamp(54px,6vw,88px);
  line-height: 1.06;
  letter-spacing: -.035em;
  margin-bottom: 25px;
}

.hero-content p {
  font-size: clamp(15px,2vw,18px);
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 26px;
  margin-top: 20px;
}
.whereabout {
  margin-top: 220px;
}
.whereabout p {
  font-size: 15px;
  font-weight: bold;
}

.scroll-cue {
  position: absolute;
  right: max(60px,calc((100vw - 1160px)/2));
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 12px;
}

.scroll-cue span {
  height: 90px;
  width: 1px;
  background: #ffffff8a;
}

.about {
  display: grid;
  grid-template-columns: 1.2fr .85fr;
  align-items: center;
  gap: 100px;
}

.about-copy {
  max-width: 590px;
}

.about-copy>p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.about .button {
  margin-top: 16px;
}

.about-image {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center;
}

.dark {
  background: #181c1d;
  color: #fff;
}

.services h2 {
  margin-bottom: 80px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
}

.service-grid article {
  padding: 0 48px;
  border-left: 1px solid #ffffff26;
}

.service-grid article:first-child {
  padding-left: 0;
  border: 0;
}

.service-grid article:last-child {
  padding-right: 0;
}

.service-grid svg {
  width: 45px;
  height: 45px;
  margin-bottom: 30px;
}

.service-grid p {
  color: #d3d5d5;
  font-size: 17px;
  line-height: 1.8;
  max-width: 285px;
  margin-bottom: 0;
}

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

.section-heading h2 {
  margin-bottom: 12px;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

.sample-note {
  font-size: 12px;
  text-align: right;
  max-width: 220px;
}

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

.portfolio figure {
  margin: 0;
}

.image-box {
  background: #e9ecec;
  overflow: hidden;
}

.image-box img,
.image-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-box img {
  transition: transform .5s;
}

.image-box:hover img {
  transform: scale(1.025);
}

figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  font-size: 14px;
}

figcaption span {
  font-size: 12px;
  color: var(--muted);
}

.process {
  background: #f1f2f3;
}

.process h2 {
  margin-bottom: 64px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 80px;
}

.process-grid article {
  position: relative;
}

.process-grid article:not(:last-child):after {
  content: "";
  width: 38px;
  height: 1px;
  background: #9b9e9f;
  position: absolute;
  right: -52px;
  top: 50px;
}

.process-grid article>span {
  font-size: 46px;
  line-height: 1.2;
  letter-spacing: -.04em;
}

.process-grid h3 {
  font-size: 21px;
  margin: 10px 0 10px;
}

.process-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

.project-cta {
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: 60px 0;
  color: white;
  background: #17262c;
}

.project-cta>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.project-cta:before {
  content: "";
  position: absolute;
  inset: 0;
  background: #071319a6;
  z-index: -1;
}

.project-cta h2 {
  font-size: clamp(30px,3.4vw,45px);
  margin-bottom: 18px;
}

.project-cta p {
  font-size: 18px;
  margin-bottom: 34px;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 100px;
}

.contact > .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.contact-copy {
  min-width: 0;
}

.contact > .contact-form {
  align-self: start;
}

.contact-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.contact-info {
  padding-top: 55px;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

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

.contact-email {
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.form-row {
  display: contents;
}

.field {
  min-width: 0;
}

.field>label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 0;
  background: #eff0f1;
  padding: 15px 18px;
  min-height: 54px;
  color: var(--ink);
  font-size: 16px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: #f6f7f8;
  border-color: #81969e;
}

.field textarea {
  resize: vertical;
  min-height: 145px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #62686b;
  opacity: 1;
}

.project-details summary {
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}

.project-details .field {
  margin-top: 14px;
}

.project-details .field>label {
  position: static;
  display: block;
  width: auto;
  height: auto;
  clip-path: none;
  font-size: 14px;
  margin-bottom: 6px;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.form-note a {
  text-decoration: underline;
}

.form-status {
  font-size: 14px;
  margin: 0;
}

.form-status:empty {
  display: none;
}

.form-trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 30px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

footer>a:first-child {
  letter-spacing: .15em;
  color: var(--ink);
}

.thanks {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}

.thanks p {
  max-width: 540px;
}

@media(min-width:1600px) {
  .hero-content {
    padding-bottom: 160px;
  }
}

@media(max-width:1000px) {
  .wrap {
    width: calc(100% - 72px);
  }
  .section {
    padding-block: 90px;
  }
  .nav-links {
    gap: 22px;
  }
  .about {
    gap: 50px;
  }
  .about-image {
    height: 500px;
  }
  .service-grid article {
    padding-inline: 28px;
  }
  .contact {
    column-gap: 50px;
  }
  .scroll-cue {
    right: 36px;
  }
  .brand span {
    font-size: 12px;
  }
  .process-grid {
    gap: 55px;
  }
  .process-grid article:not(:last-child):after {
    right: -35px;
    width: 25px;
  }
}

@media(max-width:700px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .section {
    padding-block: 70px;
  }
  .nav {
    padding-block: 15px;
  }
  .brand img {
    width: 52px;
    height: 52px;
  }
  .brand span {
    font-size: 11px;
    letter-spacing: .15em;
  }
  .menu-toggle {
    display: block;
    background: transparent;
    color: inherit;
    border: 1px solid #ffffff70;
    padding: 10px 15px;
    font-size: 14px;
    min-height: 44px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 85px;
    left: 0;
    right: 0;
    background: #171c1d;
    padding: 18px 24px;
    flex-direction: column;
    gap: 8px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 10px;
  }
  .hero {
    min-height: 690px;
    max-height: none;
    height: 92svh;
  }
  .hero-content {
    padding-top: 65px;
    padding-bottom: 100px;
    margin-top: 100px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .hero-content p {
    font-size: 19px;
  }
  .whereabout p {
    font-size: 13px;
  }
  .scroll-cue {
    right: 24px;
    font-size: 12px;
  }
  .scroll-cue span {
    height: 60px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-copy>p:not(.eyebrow) {
    font-size: 16px;
  }
  .about-image {
    height: 430px;
    object-position: center 45%;
  }
  .eyebrow {
    margin-bottom: 26px;
  }
  .services h2 {
    margin-bottom: 48px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .service-grid article,
  .service-grid article:first-child,
  .service-grid article:last-child {
    border: 0;
    border-top: 1px solid #ffffff26;
    padding: 30px 0 0;
  }
  .service-grid article:first-child {
    border: 0;
    padding-top: 0;
  }
  .service-grid svg {
    margin-bottom: 20px;
  }
  .service-grid p {
    max-width: none;
    font-size: 16px;
  }
  .service-grid h3 {
    margin-bottom: 12px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
  }
  .sample-note {
    text-align: left;
    max-width: none;
  }
  .portfolio {
    gap: 25px 14px;
  }
  figcaption {
    font-size: 13px;
    flex-direction: column;
    gap: 0;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .process-grid article:not(:last-child):after {
    display: none;
  }
  .process-grid article {
    padding-left: 78px;
  }
  .process-grid article>span {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 40px;
  }
  .process h2 {
    margin-bottom: 42px;
  }
  .process-grid h3 {
    margin-top: 0;
  }
  .project-cta {
    padding-block: 80px;
  }
  .contact {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .contact-heading {
    grid-column: auto;
  }
  .contact-info {
    padding: 0;
    gap: 16px;
  }
  .contact-form {
    margin-top: 5px;
  }
  .contact-heading p:not(.eyebrow) {
    font-size: 16px;
  }
  .desktop-break {
    display: none;
  }
  footer {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 15px;
  }
  footer>a:first-child {
    width: 100%;
  }
}

@media(max-width:420px) {
  .hero h1 {
    font-size: 50px;
  }
  .portfolio {
    grid-template-columns: 1fr;
  }
  .about-image {
    height: 380px;
  }
  .button {
    padding-inline: 25px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none!important;
  }
}

/* Finishing details: centered hero, rounded surfaces, featured film. */
:root {
  --radius: 10px;
}

.button,
.menu-toggle,
.skip,
.about-image,
.image-box,
.image-box img,
.image-box video,
.field input,
.field select,
.field textarea,
.nav-links.open {
  border-radius: var(--radius);
}


.project-cta {
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-content {
  align-items: center;
  text-align: center;
}

.hero-content .button {
  align-self: center;
}

.portfolio {
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 28px 22px;
}

.portfolio .project-featured {
  grid-column: 1/-1;
}

@media(max-width:700px) {
  .portfolio {
    gap: 24px 14px;
  }
}

@media(max-width:420px) {
  .portfolio {
    grid-template-columns: 1fr;
  }
}

/* Desktop headline and a more compact portfolio. */
.hero h1 {
  font-size: clamp(32px,5.2vw,76px);
  white-space: nowrap;
}

.hero-content p {
  white-space: nowrap;
}

.hero-content .button {
  margin-top: 30px;
}

.work.section {
  padding-block: 48px;
}

.work>.eyebrow {
  margin-bottom: 20px;
}

.work .section-heading {
  margin-bottom: 28px;
}

.portfolio {
  gap: 22px;
}

/* Edit these two values to adjust portfolio heights on larger screens. */
.portfolio {
  --featured-height: clamp(285px, 40.5svh, 450px);
  --image-height: clamp(210px, 28.5svh, 315px);
}

.portfolio .project-featured .image-box {
  height: var(--featured-height);
  aspect-ratio: auto;
}

.portfolio figure:not(.project-featured) .image-box {
  height: var(--image-height);
  aspect-ratio: auto;
}

.project-cta,
.project-cta>img {
  border-radius: 0;
}

@media(max-width:700px) {
  .hero h1 {
    font-size: clamp(34px,8.8vw,58px);
    white-space: normal;
    max-width: 100%;
  }
  .hero-content p {
    white-space: normal;
    max-width: 420px;
  }
  .hero-content .button {
    margin-top: 30px;
  }
  
  .work.section {
    padding-block: 60px;
  }
  .portfolio {
    gap: 22px 14px;
  }
  /* Mobile portfolio heights (screens up to 700px wide). */
  .portfolio {
    --featured-height: 345px;
    --image-height: 270px;
  }
}

/* Lower the hero wording without moving the View Work button. */
.hero-content h1,
.hero-content > p {
  position: relative;
  top: 150px;
}

/* Keep mobile hero content in normal flow and above the About section. */
@media (max-width: 700px) {
  .hero {
    height: auto;
    min-height: max(690px, 92svh);
  }

  .hero-content {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .hero-content h1,
  .hero-content > p {
    position: static;
  }

  .hero-content > p {
    margin-top: 0;
    margin-bottom: 0;
  }

  .hero-content .whereabout {
    margin-top: 148px;
  }

  .hero-content .whereabout p {
    margin: 0;
  }
}

/* Portfolio slideshows: keep the existing card dimensions. */
.slideshow {
  position: relative;
}

.slideshow .slideshow-photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease;
  transform: none;
}

.slideshow .slideshow-photo.is-active {
  opacity: 1;
}

/* Small visible dots with larger invisible touch targets. */
.slideshow-dots {
  position: absolute;
  z-index: 1;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  padding: 0 6px;
  background: rgba(6, 6, 6, 0.75);
  border-radius: 20px;
}

.slideshow-dots button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.slideshow-dots button::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(255 255 255 / 45%);
  box-shadow: 0 1px 4px rgb(0 0 0 / 65%);
}

.slideshow-dots button[aria-current="true"]::before,
.slideshow-dots button:hover::before {
  background: #fff;
}

.slideshow-dots button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

@media (prefers-reduced-motion: reduce) {
  .slideshow .slideshow-photo {
    transition: none;
  }
}
