/* =========================================================
   ROOT / BASE
========================================================= */

:root {
  --bg: #f4f2ee;
  --text: #171717;

  --dark: #151515;
  --dark-2: #1b1b1b;

  --white: #fff;
  --muted: #777;

  --container-max: 1320px;
  --radius: 3px;

  --section-space: clamp(64px, 8vw, 140px);

  --side-space: clamp(18px, 4vw, 40px);
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;

  min-width: 320px;

  background: var(--bg);
  color: var(--text);

  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;

  overflow-x: hidden;
}

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

img {
  height: auto;
}

figure {
  margin: 0;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--text);
  color: var(--white);
}


/* =========================================================
   BOOTSTRAP CONTAINER OVERRIDE
========================================================= */

.container {
  width: min(
    calc(100% - (var(--side-space) * 2)),
    var(--container-max)
  );

  max-width: var(--container-max);

  padding-left: 0;
  padding-right: 0;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navbar {
  position: fixed;

  inset: 0 0 auto 0;

  z-index: 1000;

  padding:
    max(14px, env(safe-area-inset-top))
    0
    14px;

  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.62),
      rgba(0, 0, 0, 0)
    );

  transition:
    background 0.25s ease,
    padding 0.25s ease;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  margin-right: 0;

  color: #fff !important;

  font-size: clamp(0.78rem, 1.2vw, 1rem);
  font-weight: 700;

  letter-spacing: 0.12em;
  line-height: 1;

  white-space: nowrap;
}

.navbar-brand span {
  font-weight: 400;
}

.navbar-toggler {
  margin-left: auto;

  padding: 7px;

  border: 0;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  width: 1.35rem;
  height: 1.35rem;
}

.navbar-collapse {
  flex-grow: 0;
}

.navbar-nav {
  align-items: center;
}

.nav-link {
  color: #fff !important;

  font-size: 0.95rem;
  font-weight: 500;

  transition: opacity 0.2s ease;
}

.nav-link:hover {
  opacity: 0.65;
}

.navbar .btn {
  white-space: nowrap;
}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 991.98px) {

  .navbar {
    padding:
      max(12px, env(safe-area-inset-top))
      0
      12px;
  }

  .navbar-collapse {
    margin-top: 14px;

    padding: 14px 18px 18px;

    background: rgba(21, 21, 21, 0.97);

    border-radius: 8px;

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .navbar-nav {
    align-items: stretch;

    gap: 0 !important;
  }

  .nav-link {
    display: block;

    padding: 0.7rem 0;
  }

  .navbar .btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin-top: 8px;

    min-height: 46px;
  }

}


/* =========================================================
   HERO
========================================================= */

.hero {
  position: relative;

  min-height: 100svh;

  display: flex;
  align-items: flex-end;

  color: var(--white);

  background:
    linear-gradient(
      120deg,
      #343434 0%,
      #111 55%,
      #5b534a 100%
    );

  overflow: hidden;

  isolation: isolate;
}

.hero-overlay {
  position: absolute;

  inset: 0;

  z-index: 1;

  pointer-events: none;

  background:
    radial-gradient(
      circle at 75% 35%,
      rgba(255, 255, 255, 0.08),
      transparent 30%
    ),
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.08),
      transparent 40%,
      rgba(0, 0, 0, 0.72)
    );
}

.hero .container {
  position: relative;

  z-index: 2;

  padding-top: clamp(110px, 15vh, 170px);

  padding-bottom:
    max(
      clamp(40px, 8vh, 105px),
      env(safe-area-inset-bottom)
    );
}

.hero-content {
  width: 100%;
}

.hero h1 {
  max-width: 1000px;

  margin: 0;

  font-size: clamp(
    3rem,
    7vw,
    7rem
  );

  font-weight: 600;

  letter-spacing: -0.055em;

  line-height: 0.94;

  text-wrap: balance;
}

.hero h1 em,
.section h2 em,
.contact h2 em {
  font-family: "Playfair Display", serif;

  font-weight: 500;
}

.hero .lead {
  width: 100%;

  max-width: 560px;

  margin:
    clamp(20px, 2.5vw, 28px)
    0
    clamp(24px, 3vw, 34px);

  color: #ddd;

  font-size: clamp(
    0.95rem,
    1.35vw,
    1.15rem
  );

  line-height: 1.6;

  text-wrap: pretty;
}


/* =========================================================
   EYEBROW
========================================================= */

.eyebrow {
  margin: 0 0 clamp(12px, 1.5vw, 18px);

  font-size: clamp(
    0.58rem,
    0.8vw,
    0.72rem
  );

  font-weight: 700;

  letter-spacing: 0.2em;

  line-height: 1.4;

  text-transform: uppercase;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background-color 0.2s ease;
}

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

.hero-buttons {
  display: flex;

  flex-wrap: wrap;

  align-items: center;

  gap: 12px;
}

.hero-buttons .btn {
  min-height: 48px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  font-weight: 500;
}

.instagram-btn {
  border-color: rgba(255, 255, 255, 0.7);
}


/* =========================================================
   RECORD ICON
========================================================= */

.record-icon {
  display: inline-block;

  width: 12px;
  height: 12px;

  flex: 0 0 12px;

  margin-left: 8px;

  border-radius: 50%;

  background: currentColor;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
  padding: var(--section-space) 0;
}

.section-head {
  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 30px;

  margin-bottom: clamp(
    32px,
    4vw,
    55px
  );
}

.section h2,
.contact h2 {
  margin-top: 0;

  font-weight: 600;

  letter-spacing: -0.05em;

  line-height: 0.95;

  text-wrap: balance;
}

.section h2 {
  margin-bottom: 0;

  font-size: clamp(
    2.5rem,
    5.2vw,
    5rem
  );
}

.muted {
  color: var(--muted);
}

.work-counter {
  flex: 0 0 auto;

  font-size: 0.8rem;
}


/* =========================================================
   WORK / PROJECTS
========================================================= */

.project {
  position: relative;

  width: 100%;

  height: clamp(
    360px,
    40vw,
    520px
  );

  display: flex;

  align-items: flex-end;

  padding: clamp(
    20px,
    3vw,
    35px
  );

  overflow: hidden;

  border-radius: var(--radius);

  color: #fff;

  background: #333;

  isolation: isolate;
}

.project img {
  position: absolute;

  inset: 0;

  z-index: -2;

  width: 100%;
  height: 100%;

  object-fit: cover;

  object-position: center;

  transition: transform 0.6s ease;
}

.project::after {
  content: "";

  position: absolute;

  inset: 0;

  z-index: -1;

  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.82),
      rgba(0, 0, 0, 0.12) 65%,
      transparent
    );

  pointer-events: none;
}

.project-content {
  position: relative;

  z-index: 2;

  width: 100%;
}

.project span {
  display: block;

  font-size: 0.68rem;

  font-weight: 500;

  letter-spacing: 0.16em;

  text-transform: uppercase;
}

.project h3 {
  margin: 7px 0 0;

  font-size: clamp(
    1.25rem,
    2vw,
    1.7rem
  );

  line-height: 1.15;

  text-wrap: balance;
}


/* =========================================================
   DESKTOP PROJECT WIDTH
========================================================= */

@media (min-width: 1200px) {

  .project-tall {
    height: clamp(
      440px,
      39vw,
      560px
    );
  }

}


/* =========================================================
   SERVICES
========================================================= */

.section-dark {
  background: var(--dark);

  color: #fff;
}

.section-dark h2 {
  margin-bottom: clamp(
    35px,
    5vw,
    55px
  );
}

.service-grid {
  border-top: 1px solid rgba(
    255,
    255,
    255,
    0.2
  );
}

.service {
  min-height: 280px;

  padding:
    34px
    30px
    24px
    0;

  border-right: 1px solid rgba(
    255,
    255,
    255,
    0.2
  );
}

.service:not(:first-child) {
  padding-left: 30px;
}

.service:last-child {
  border-right: 0;
}

.service > span {
  color: #999;

  font-size: 0.72rem;

  letter-spacing: 0.08em;
}

.service h3 {
  margin:
    clamp(35px, 4vw, 48px)
    0
    18px;

  font-size: clamp(
    1.3rem,
    2vw,
    1.6rem
  );

  line-height: 1.2;
}

.service p {
  max-width: 330px;

  margin: 0;

  color: #aaa;

  font-size: 0.95rem;

  line-height: 1.7;
}


/* =========================================================
   ABOUT
========================================================= */

#about .row {
  align-items: center;
}

.about-image {
  width: 100%;
}

#about img {
  width: 70%;

  aspect-ratio: 4 / 5;

  object-fit: cover;

  object-position: center;

  border-radius: var(--radius);
}

#about .copy {
  max-width: 560px;

  margin: 25px 0 0;

  color: #555;

  font-size: clamp(
    0.98rem,
    1.3vw,
    1.05rem
  );

  line-height: 1.8;
}


/* =========================================================
   CONTACT
========================================================= */

.contact {
  padding:
    clamp(78px, 11vw, 160px)
    0;

  background: var(--dark-2);

  color: #fff;
}

.contact h2 {
  margin-bottom: clamp(
    24px,
    3vw,
    35px
  );

  font-size: clamp(
    2.7rem,
    6vw,
    6.5rem
  );
}

.contact-mail {
  display: inline-block;

  max-width: 100%;

  padding-bottom: 5px;

  color: #fff;

  font-size: clamp(
    1rem,
    2.5vw,
    2rem
  );

  line-height: 1.35;

  text-decoration: none;

  border-bottom: 1px solid #777;

  overflow-wrap: anywhere;

  transition: opacity 0.2s ease;
}

.contact-mail:hover {
  opacity: 0.7;
}

.contact .btn {
  min-height: 46px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
  padding: 26px 0;

  padding-bottom:
    max(
      26px,
      env(safe-area-inset-bottom)
    );

  background: #111;

  color: #777;

  font-size: 0.78rem;
}

.footer-inner {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.footer-inner span {
  line-height: 1.5;
}


/* =========================================================
   TABLET
   768px – 991px
========================================================= */

@media (min-width: 768px) and (max-width: 991.98px) {

  .hero h1 {
    max-width: 850px;

    font-size: clamp(
      3.8rem,
      8vw,
      5.8rem
    );
  }

  .hero .container {
    padding-bottom: 65px;
  }

  .project,
  .project-tall {
    height: clamp(
      390px,
      50vw,
      500px
    );
  }

  .service {
    min-height: 270px;

    padding:
      32px
      25px
      28px
      0;
  }

  .service:nth-child(2) {
    border-right: 0;

    padding-left: 25px;
  }

  .service:nth-child(3) {
    border-top: 1px solid rgba(
      255,
      255,
      255,
      0.2
    );

    padding-left: 0;
  }

  #about img {
    width: 82%;
  }

}


/* =========================================================
   MOBILE
   <= 767px
========================================================= */

@media (max-width: 767.98px) {

  html {
    scroll-padding-top: 72px;
  }


  /* -------------------------------------------------------
     CONTAINER
  ------------------------------------------------------- */

  .container {
    width: calc(100% - 36px);
  }


  /* -------------------------------------------------------
     NAV
  ------------------------------------------------------- */

  .navbar {
    padding:
      max(12px, env(safe-area-inset-top))
      0
      12px;
  }

  .navbar-brand {
    font-size: 0.82rem;

    letter-spacing: 0.1em;
  }


  /* -------------------------------------------------------
     HERO
  ------------------------------------------------------- */

  .hero {
    min-height: 100svh;
  }

  .hero .container {
    padding-top: 100px;

    padding-bottom:
      max(
        34px,
        env(safe-area-inset-bottom)
      );
  }

  .eyebrow {
    margin-bottom: 13px;

    font-size: 0.59rem;

    letter-spacing: 0.16em;
  }

  .hero h1 {
    max-width: 100%;

    font-size: clamp(
      2.7rem,
      12vw,
      4.4rem
    );

    line-height: 0.96;

    letter-spacing: -0.055em;
  }

  .hero .lead {
    max-width: 100%;

    margin:
      20px
      0
      25px;

    font-size: 0.97rem;

    line-height: 1.55;
  }


  /* -------------------------------------------------------
     HERO BUTTONS
  ------------------------------------------------------- */

  .hero-buttons {
    width: 100%;

    flex-direction: column;

    align-items: stretch;

    gap: 10px;
  }

  .hero-buttons .btn {
    width: 100%;

    min-height: 49px;

    padding-left: 20px;
    padding-right: 20px;
  }


  /* -------------------------------------------------------
     SECTIONS
  ------------------------------------------------------- */

  .section {
    padding: 68px 0;
  }

  .section-head {
    align-items: flex-start;

    margin-bottom: 34px;
  }

  .section h2 {
    font-size: clamp(
      2.45rem,
      11vw,
      3.8rem
    );

    line-height: 0.97;
  }

  .work-counter {
    display: none;
  }


  /* -------------------------------------------------------
     WORK
  ------------------------------------------------------- */

  .project,
  .project-large,
  .project-tall,
  .project-wide {
    width: 100%;

    height: clamp(
      250px,
      68vw,
      390px
    );

    min-height: 250px;

    padding: 20px;
  }

  .project h3 {
    font-size: 1.35rem;
  }

  .project span {
    font-size: 0.6rem;
  }


  /* -------------------------------------------------------
     SERVICES
  ------------------------------------------------------- */

  .section-dark h2 {
    margin-bottom: 35px;
  }

  .service {
    min-height: 0;

    padding:
      28px
      0 !important;

    border-right: 0;

    border-bottom: 1px solid rgba(
      255,
      255,
      255,
      0.2
    );
  }

  .service:last-child {
    border-bottom: 0;
  }

  .service h3 {
    margin:
      24px
      0
      12px;

    font-size: 1.4rem;
  }

  .service p {
    max-width: 540px;

    font-size: 0.94rem;

    line-height: 1.65;
  }


  /* -------------------------------------------------------
     ABOUT
  ------------------------------------------------------- */

  #about .row {
    row-gap: 42px !important;
  }

  #about img {
    width: 70%;

    max-width: 380px;

    margin:
      0
      auto;

    aspect-ratio: 4 / 5;
  }

  #about .copy {
    margin-top: 20px;

    font-size: 1rem;

    line-height: 1.7;
  }


  /* -------------------------------------------------------
     CONTACT
  ------------------------------------------------------- */

  .contact {
    padding: 78px 0;
  }

  .contact h2 {
    margin-bottom: 27px;

    font-size: clamp(
      2.55rem,
      11vw,
      4rem
    );

    line-height: 0.98;
  }

  .contact-mail {
    font-size: clamp(
      1rem,
      5vw,
      1.4rem
    );
  }



  /* -------------------------------------------------------
     FOOTER
  ------------------------------------------------------- */

  footer {
    padding: 24px 0;

    text-align: center;
  }

  .footer-inner {
    flex-direction: column;

    justify-content: center;

    gap: 7px;
  }

}

/* =========================================================
   LEGAL PAGES
   ========================================================= */

.legal-section {
  min-height: 100vh;
  padding-top: 180px;
  padding-bottom: var(--section-space);
  background: var(--bg);
}

.legal-header {
  max-width: 900px;
  margin-bottom: 80px;
}

.legal-header h1 {
  margin: 0;
  font-size: clamp(48px, 7vw, 96px);
  line-height: .95;
  letter-spacing: -0.05em;
  font-weight: 600;
}

.legal-intro {
  margin-top: 28px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.legal-content {
  max-width: 900px;
}

.legal-block {
  padding: 42px 0;
  border-top: 1px solid rgba(23, 23, 23, .12);
}

.legal-block:last-child {
  border-bottom: 1px solid rgba(23, 23, 23, .12);
}

.legal-label {
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.legal-block h2 {
  margin-bottom: 20px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.02em;
}

.legal-block p {
  max-width: 800px;
  margin-bottom: 18px;
  color: #555;
  font-size: 16px;
  line-height: 1.8;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-block a:hover {
  opacity: .65;
}


/* Mobile */

@media (max-width: 767.98px) {

  .legal-section {
    padding-top: 140px;
    padding-bottom: 80px;
  }

  .legal-header {
    margin-bottom: 55px;
  }

  .legal-header h1 {
    font-size: clamp(48px, 15vw, 72px);
  }

  .legal-intro {
    font-size: 16px;
  }

  .legal-block {
    padding: 32px 0;
  }

  .legal-block h2 {
    font-size: 22px;
  }

  .legal-block p {
    font-size: 15px;
    line-height: 1.7;
  }

}

/* =========================================================
   SMALL PHONES
   <= 575px
========================================================= */

@media (max-width: 575.98px) {

  .container {
    width: calc(100% - 36px);
  }

  .hero {
    min-height: 100svh;
  }

  .hero .container {
    padding-top: 92px;
  }

  .hero h1 {
    font-size: clamp(
      2.6rem,
      13vw,
      4rem
    );
  }

  .hero .lead {
    font-size: 0.94rem;
  }

  .section {
    padding: 60px 0;
  }

  .section h2 {
    font-size: clamp(
      2.35rem,
      12vw,
      3.4rem
    );
  }

  .project,
  .project-large,
  .project-tall,
  .project-wide {
    height: clamp(
      250px,
      68vw,
      370px
    );
  }

  #about img {
    width: 70%;
  }

  .contact {
    padding: 70px 0;
  }

  .contact h2 {
    font-size: clamp(
      2.45rem,
      12vw,
      3.5rem
    );
  }

}


/* =========================================================
   VERY SMALL PHONES
   <= 380px
========================================================= */

@media (max-width: 380px) {

  .container {
    width: calc(100% - 30px);
  }

  .navbar-brand {
    font-size: 0.74rem;

    letter-spacing: 0.08em;
  }

  .hero .container {
    padding-top: 88px;
  }

  .hero h1 {
    font-size: 2.55rem;

    line-height: 0.96;
  }

  .hero .lead {
    font-size: 0.9rem;
  }

  .hero-buttons .btn {
    font-size: 0.9rem;
  }

  .section h2,
  .contact h2 {
    font-size: 2.3rem;
  }

  .project,
  .project-large,
  .project-tall,
  .project-wide {
    height: 250px;

    min-height: 250px;
  }

  .project h3 {
    font-size: 1.22rem;
  }

  #about img {
    width: 72%;
  }

}


/* =========================================================
   MOBILE LANDSCAPE
========================================================= */

@media (
  max-width: 767.98px
) and (
  orientation: landscape
) {

  .hero {
    min-height: 100svh;
  }

  .hero .container {
    padding-top: 90px;

    padding-bottom: 25px;
  }

  .hero h1 {
    font-size: clamp(
      2.4rem,
      8vw,
      3.7rem
    );
  }

  .hero .lead {
    margin:
      14px
      0
      18px;
  }

  .hero-buttons {
    flex-direction: row;

    align-items: center;
  }

  .hero-buttons .btn {
    width: auto;
  }

}


/* =========================================================
   LARGE DESKTOP
   >= 1400px
========================================================= */

@media (min-width: 1400px) {

  .hero .container {
    padding-bottom: 100px;
  }

}


/* =========================================================
   HOVER DEVICES ONLY
========================================================= */

@media (hover: hover) and (pointer: fine) {

  .project {
    transition: transform 0.35s ease;
  }

  .project:hover {
    transform: scale(0.985);
  }

  .project:hover img {
    transform: scale(1.04);
  }

}


/* =========================================================
   FOCUS STATES
========================================================= */

a:focus-visible,
button:focus-visible {
  outline: 2px solid currentColor;

  outline-offset: 4px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

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

    animation: none !important;
  }

}