@import url('https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300..800;1,300..800&display=swap');
/*@font-face {
    font-family: 'Hatton';
    src: url('/fonts/PPHattonUltralightItalic.eot') format('embedded-opentype'),
         url('/fonts/PPHattonUltralightItalic.woff2') format('woff2'),
         url('/fonts/PPHattonUltralightItalic.woff') format('woff'),
         url('/fonts/PPHattonUltralightItalic.ttf') format('truetype'),
         url('/fonts/PPHattonUltralightItalic.svg#PPHattonUltralightItalic') format('svg');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}*/
@font-face {
    font-family: 'Hatton';
    src: url('/fonts/PPHattonUltralightItalic.woff2') format('woff2'),
         url('/fonts/PPHattonUltralightItalic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
.amp-alt{
	-moz-font-feature-settings: "ss01";
	-webkit-font-feature-settings: "ss01";
	font-feature-settings: "ss01";
}
:root{
  --dark-green: #162623;
  --light-green: #45514F;
  --light: #EADCCC;
  --main: #CF8148;
  --font: 'Host Grotesk', sans-serif;
  --font-accent: 'Hatton', serif;
  --animate: all 0.35s ease-in-out;
  --shadow: 0 0 1.6rem hsla(0 0% 0% / 0.16);
  --grid-gap: 1.6rem;
}
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}
html{
  font-size: 62.5%;
}
body{
  color: var(--light);
  background: radial-gradient(circle at 50% 80%, var(--light-green), var(--dark-green));
  font-size: 1.6rem;
  line-height: 1.4;
  font-weight: 300;
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}
body::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background: url(../images/graphic-noise.png);
    opacity: .8;
    pointer-events: none;
}
body > *{
    position: relative;
    z-index: 2;
}

/* =============================================================
   CUSTOM CURSOR
   ============================================================= */

/* Hide native cursor on non-touch devices */
@media (pointer: fine) {
    *, *::before, *::after {
        cursor: none !important;
    }
}

.cursor-dot,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    will-change: transform;
    /* GSAP drives position — transform is set via JS */
}

/* Small filled cream dot */
.cursor-dot {
    width:  .7rem;
    height: .7rem;
    background: var(--light);
    /* offset so the dot is centred on the pointer */
    margin-left: -.35rem;
    margin-top:  -.35rem;
}

/* Terracotta ring — lagging behind the dot */
.cursor-ring {
    width:  3.6rem;
    height: 3.6rem;
    border: 1.5px solid var(--main);
    background: transparent;
    margin-left: -1.8rem;
    margin-top:  -1.8rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

/* Hover state — ring morphs on interactive elements */
body.cursor-hover .cursor-ring {
    background: hsla(27, 52%, 55%, 0.15);
    border-color: var(--main);
    /* scale is handled by GSAP */
}

/* Click flash */
body.cursor-click .cursor-dot {
    background: var(--main);
}

/* =============================================================
   PAGE LOADER
   ============================================================= */

/* Prevent flash of content before loader fires */
html.loader-active body > *:not(.loader):not(.cursor-dot):not(.cursor-ring) {
    visibility: hidden;
}

.loader {
    position: fixed;
    inset: 0;
    z-index: 99998;
    pointer-events: none;
}

/* Top and bottom split panels */
.loader__panel {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--dark-green);
    will-change: transform;
}
.loader__panel--top  { top: 0; }
.loader__panel--bottom { bottom: 0; }

/* Noise texture on panels */
.loader__panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url(assets/images/graphic-noise.png);
    opacity: .7;
    pointer-events: none;
}

/* Centred content — counter + progress */
.loader__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3.2rem;
    z-index: 1;
}

/* Counter — big Hatton italic number */
.loader__counter {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: clamp(10rem, 16vw, 22rem);
    line-height: 1;
    color: var(--light);
    letter-spacing: -0.04em;
    font-weight: 400;
    display: block;
    min-width: 3ch;
    text-align: center;
    will-change: contents;
}

/* Progress bar — thin line below counter */
.loader__progress {
    width: clamp(12rem, 20vw, 28rem);
    height: 1px;
    background: hsla(32 42% 86% / .15);
    overflow: hidden;
}
.loader__progress-bar {
    height: 100%;
    width: 0%;
    background: var(--main);
    transform-origin: left;
    will-change: width;
}

/* Hidden state — after animation completes */
.loader.is-done {
    display: none;
}

a.btn{
    border: 1px solid var(--light);
    height: 4rem;
    border-radius: 4rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .01em;
    padding: 2px 4rem 0;
    margin: 0;
    color: var(--light);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--animate);
    overflow: hidden;
    position: relative;
}
a.btn:hover{
    color: var(--dark-green);
}
a.btn::before{
    content: '';
    position: absolute;
    left: -104%;
    top: -1%;
    height: 102%;
    width: 102%;
    z-index: -1;
    border-radius: 4rem;
    background: var(--light);
    transition: var(--animate);
}
a.btn:hover::before{
    left: -2%;
}
a.btn.disabled{
    opacity: .48;
}
a.btn.btn.disabled:hover{
    color: var(--light);
}
a.btn.btn.disabled:hover::before{
    left: -104%;
}
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4{
    font-weight: 300;
    text-transform: uppercase;
    margin: 0 0 1.6rem;
}
h5, .h5,
h6, .h6{
    font-weight: 300;
    letter-spacing: .1em;
    color: var(--main);
    text-transform: uppercase;
    margin: 0 0 1.6rem;
}
h1, .h1{
    font-size: clamp(4rem, 5vw, 7.2rem);
    line-height: 1.075;
}
h2, .h2{
    font-size: clamp(3.2rem, 4.5vw, 6.4rem);
    line-height: 1.075;
}
h3, .h3{
    font-size: clamp(1.8rem, 1.4vw, 2rem);
    line-height: 1.075;
}
h4, .h4{
    font-size: clamp(2.4rem, 2.8vw, 4rem);
    line-height: 1.075;
}
h1 strong, .h1 strong,
h2 strong, .h2 strong,
h3 strong, .h3 strong,
h4 strong, .h4 strong{
    text-transform: capitalize;
    font-weight: 400;
    color: var(--main);
    font-family: var(--font-accent);
    font-style: italic;
}
h1 strong, .h1 strong{
    font-size: clamp(9.2rem, 12.5vw, 18rem);
}
h2 strong, .h2 strong{
    font-size: clamp(4rem, 3.1vw, 5.6rem);
}
h3 strong, .h3 strong{
    font-size: clamp(4rem, 2.8vw, 5.2rem);
}

/* ----- Header ----- */
header{
    padding: 2.4rem;
    position: fixed;
    z-index: 999;
    width: 100%;
    transition: var(--animate);
}
header.header-bg{
    background: linear-gradient(to bottom, var(--dark-green), transparent);
}
header .container{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header img{
    width: 4.8rem;
}
header nav ul{
    display: flex;
    gap: 7.2rem;
    list-style: none;
}
header nav ul li a{
    font-size: 1.2rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--light);
    text-decoration: none;
    position: relative;
    padding-block: .8rem;
}
header nav ul li a::after{
    content: '';
    width: 0;
    left: 50%;
    bottom: .4rem;
    height: .1rem;
    position: absolute;
    background: var(--main);
    transform: translate(-50% , 0);
    transition: var(--animate);
}
header nav ul li a:hover::after{
    width: 100%;
}
header .ham-nav{
    position: relative;
    width: 3.2rem;
    height: 3.2rem;
    cursor: pointer;
    z-index: 2;
}
header .ham-nav span{
    width: 3.2rem;
    height: .2rem;
    background: var(--main);
    position: absolute;
    left: 50%;
    transform: translate(-50% , 0);
    top: 1rem;
    transition: var(--animate);
}
header .ham-nav span:nth-child(2){
    width: 1.6rem;
    top: auto;
    bottom: 1rem;
}
header.active .ham-nav span{
    transform: translate(-50%, 0) rotate(45deg);
    top: 1.6rem;
}
header.active .ham-nav span:nth-child(2){
    transform: translate(-50%, 0) rotate(-45deg);
    width: 3.2rem;
    bottom: 1.6rem;
}
header .nav-drawer{
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    color: var(--light);
    background: radial-gradient(circle at 50% 80%, var(--light-green), var(--dark-green));
    transition: all .5s ease-in-out;
    transform: translate(0 , -101%);
    display: flex;
    align-items: center;
    justify-content: center;
}
header .nav-drawer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background: url(../images/graphic-noise.png);
    opacity: .8;
}
header.active .nav-drawer{
    transform: translate(0 , 0);
}
header .nav-drawer .content{
    width: 100%;
    margin: 0 auto;
    display: flex;
    position: relative;
    z-index: 1;
    flex-direction: column;
}
header .nav-drawer nav{
    height: calc(100vh - 6.5rem);
    display: flex;
    align-items: center;
    justify-content: center;
}
header .nav-drawer nav ul{
    flex-direction: column;
    gap: 3.2rem;
    text-align: center;
}
header .nav-drawer nav ul li a{
    font-weight: 300;
    text-transform: uppercase;
    font-size: clamp(4rem, 4.4vw, 5.8rem);
    line-height: 1.075;
}
header .nav-drawer .contact-info{
    border-top: 1px solid hsla(32 42% 86% / .16);
    padding: 2.4rem 3.2rem;
}
header .nav-drawer .contact-info ul{
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header .nav-drawer .contact-info ul li{
    font-size: 1.6rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--light);
}
header .nav-drawer .contact-info ul li a{
    color: var(--light);
    text-decoration: none;
}
header .nav-drawer .contact-info ul li a:hover{
    color: var(--main);
}
header aside{
    font-size: 1.2rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--light);
    width: 30rem;
    justify-content: center;
    text-align: center;
    transform: rotate(-90deg);
    position: absolute;
    top: calc(50vh - 0px);
    left: -120px;
}
header aside a{
    color: var(--light);
    text-decoration: none;
}
header aside a:hover{
    color: var(--main);
}
aside.phone-email{
    display: flex;
    align-items: center;
    gap: 2.4rem;
}
aside.phone-email span{
    display: block;
    height: .1rem;
    width: .8rem;
    background: var(--light);
}
aside.location{
    left: auto;
    right: -121px;
    transform: rotate(90deg);
}

/* =============================================================
   HERO — Reworked
   ============================================================= */
section.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Drifting gradient orb */
.hero-orb {
    position: absolute;
    width: 70vw;
    height: 70vw;
    max-width: 90rem;
    max-height: 90rem;
    border-radius: 50%;
    background: radial-gradient(circle, hsla(27, 52%, 55%, 0.18) 0%, transparent 70%);
    top: -20%;
    right: -15%;
    z-index: 0;
    pointer-events: none;
    will-change: transform;
}

/* H1 — top left, two lines stacked */
section.hero h1 {
    position: absolute;
    z-index: 3;
    top: 22%;
    left: 8%;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 68rem;
}
section.hero h1 span:first-child {
    padding-right: 0;
}

/* "Loves Local" — spans across the layout, bleeds into the image */
section.hero h2 {
    position: absolute;
    z-index: 4;          /* sits above the image */
    top: 42%;
    left: 5%;
    width: 92%;          /* wider than the text column — bleeds right */
    margin: 0;
    line-height: 0.92;
    white-space: nowrap;
}
/* The <strong> inside h2 already gets the Hatton accent treatment */

/* Image — right side, vertically centered, partially behind h2 */
section.hero .img-wrapper {
    position: absolute;
    z-index: 2;          /* below h2 so type overlaps */
    top: 14%;
    right: 6%;
    width: 38%;
    height: 72%;
    overflow: hidden;
    will-change: transform;
}
section.hero .img-wrapper::after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: var(--dark-green);
    opacity: 0.38;
}
section.hero .img-wrapper img {
    width: 100%;
    height: 110%;         /* extra height for parallax travel */
    object-fit: cover;
    transform-origin: center center;
    will-change: transform;
}

/* Descriptor paragraph — bottom left */
section.hero p {
    position: absolute;
    z-index: 3;
    bottom: 18%;
    left: 8%;
    max-width: 30rem;
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.6;
}

/* CTA button — below paragraph */
section.hero .hero-cta {
    position: absolute;
    z-index: 3;
    bottom: 9%;
    left: 8%;
    opacity: 1 !important;
}

/* Marquee strip — sits at the very bottom of the hero */
.hero-marquee {
    position: absolute;
    z-index: 5;
    bottom: 0;
    left: 0;
    width: 100%;
    border-block: 1px solid hsla(32 42% 86% / .12);
    overflow: hidden;
    padding-block: 1.2rem;
    pointer-events: none;
}
.hero-marquee__track {
    display: flex;
    width: max-content;
    /* JS drives the animation via GSAP, but CSS provides the loop fallback */
}
.hero-marquee__item {
    display: flex;
    align-items: center;
    gap: 3.2rem;
    padding-right: 3.2rem;
    white-space: nowrap;
    font-size: 1.1rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: hsla(32 42% 86% / .5);
    flex-shrink: 0;
}
.hero-marquee__item span.sep {
    display: inline-block;
    width: .4rem;
    height: .4rem;
    border-radius: 50%;
    background: var(--main);
    flex-shrink: 0;
}

/* ----- Scroll indicator ----- */
.scroll{
    position: relative;
    z-index: 2;
}
.scroll span{
    text-transform: uppercase;
    font-size: 1.2rem;
    line-height: 1;
    letter-spacing: .1em;
    position: absolute;
    top: -136px;
    left: 50%;
    transform: translate(-50%, 0);
    color: var(--main);
}
.scroll span::after{
    content: '';
    position: absolute;
    top: calc(100% + 14px);
    height: 6.4rem;
    width: .1rem;
    background: linear-gradient(to bottom, var(--main) 0, var(--main) 32px, transparent 100%);
    left: calc(50% - .05rem);
}

/* ----- Who We Are ----- */
section.who-we-are{
    position: relative;
    width: 100%;
    height: 100vh;
}
section.who-we-are h2{
    max-width: 72rem;
    width: 100%;
    top: 16.03%;
    left: 13.28%;
    position: absolute;
}
section.who-we-are .content{
    max-width: 42rem;
    width: 100%;
    bottom: 11.92%;
    right: 11.46%;
    position: absolute;
}
section.who-we-are p{
    margin: 0;
}
section.who-we-are a.btn{
    margin-top: 9.6rem;
}

/* =============================================================
   SERVICES — hover-driven numbered list
   ============================================================= */
section.services {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    overflow: hidden;
}

/* Left image panel — fixed within the section */
.services-img-panel {
    position: relative;
    width: 45%;
    flex-shrink: 0;
    overflow: hidden;
}

.services-img-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0s; /* GSAP handles the fade */
    will-change: opacity;
}

.services-img-slide.active {
    opacity: 1;
}

.services-img-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 0.8s ease;
    will-change: transform;
}

.services-img-slide.active img {
    transform: scale(1);
}

/* Dark overlay on the image panel */
.services-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        hsla(168 27% 12% / 0.3) 0%,
        transparent 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Right content column */
.services-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10vh 6% 10vh 7%;
    position: relative;
    z-index: 2;
}

.services-content h2 {
    margin-bottom: 5.6rem;
}

/* Numbered list */
.services-list {
    list-style: none;
    width: 100%;
}

/* Each row */
.service-row {
    position: relative;
    overflow: hidden;
}

/* Top ruled line — animates width on scroll-in */
.service-row__rule {
    height: 1px;
    width: 100%;
    background: hsla(32 42% 86% / .18);
    transform-origin: left;
}

.service-row__inner {
    display: flex;
    align-items: center;
    gap: 2.4rem;
    padding-block: 2rem;
    cursor: default;
    transition: padding 0.35s ease;
}

/* Number */
.service-row__num {
    font-size: 1.1rem;
    letter-spacing: .12em;
    color: var(--main);
    opacity: 0.5;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
    width: 2.8rem;
}

/* Name + descriptor */
.service-row__body {
    flex: 1;
}

.service-row__name {
    font-size: clamp(2rem, 2.2vw, 3rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin: 0;
    color: hsla(32 42% 86% / .45);
    transition: color 0.35s ease;
}

.service-row__desc {
    font-size: 1.3rem;
    line-height: 1.5;
    color: hsla(32 42% 86% / .55);
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.35s ease, margin 0.35s ease;
}

/* Arrow indicator */
.service-row__arrow {
    font-size: 1.6rem;
    color: var(--main);
    opacity: 0;
    transform: translate(-6px, 6px);
    transition: opacity 0.3s ease, transform 0.35s ease;
    flex-shrink: 0;
}
.service-row__arrow img{
    width: 1.2rem;
    height: 1.2rem;
}

/* Active / hover state */
.service-row.active .service-row__num,
.service-row:hover .service-row__num {
    opacity: 1;
}

.service-row.active .service-row__name,
.service-row:hover .service-row__name {
    color: var(--light);
}

.service-row.active .service-row__desc,
.service-row:hover .service-row__desc {
    max-height: 6rem;
    opacity: 1;
    margin-top: .8rem;
}

.service-row.active .service-row__arrow,
.service-row:hover .service-row__arrow {
    opacity: 1;
    transform: translate(0, 0);
}

.service-row.active .service-row__inner,
.service-row:hover .service-row__inner {
    padding-block: 2.4rem;
}



/* =============================================================
   WORK — asymmetric editorial grid
   ============================================================= */
section.work {
    position: relative;
    width: 100%;
    padding: 12rem 6% 14rem;
}

/* Section header */
.work-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 6.4rem;
    max-width: 140rem;
    margin-inline: auto;
}
.work-header h2 {
    margin: 0;
}
.work-header__sub {
    max-width: 32rem;
    font-size: 1.5rem;
    line-height: 1.6;
    color: hsla(32 42% 86% / .6);
    margin: 0;
    padding-bottom: .8rem;
}

/* Grid container */
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    gap: 1.6rem;
    max-width: 140rem;
    margin-inline: auto;
}

/* Base item */
.work-item {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    background: var(--light-green);
}

/* Image container */
.work-item__img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.work-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 0.7s ease;
    display: block;
    will-change: transform;
}
.work-item:hover .work-item__img img {
    transform: scale(1);
}

/* Overlay — slides up from bottom */
.work-item__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.4rem 2.8rem;
    background: linear-gradient(
        to top,
        hsla(168 27% 12% / 0.96) 0%,
        hsla(168 27% 12% / 0.8) 60%,
        transparent 100%
    );
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}
.work-item:hover .work-item__overlay {
    transform: translateY(0);
}

/* Info block */
.work-item__info {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.work-item__client {
    font-size: clamp(1.6rem, 1.4vw, 2rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    color: var(--light);
    line-height: 1;
}
.work-item__meta {
    font-size: 1.2rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: hsla(32 42% 86% / .8);
}
.work-item__sep {
    color: var(--main);
    margin-inline: .4rem;
}

/* Arrow */
.work-item__arrow {
    font-size: 2rem;
    color: var(--main);
    line-height: 1;
    transform: translate(-4px, 4px);
    transition: transform 0.35s ease;
    flex-shrink: 0;
}
.work-item:hover .work-item__arrow {
    transform: translate(0, 0);
}
.work-item__arrow img{
    width: 1.4rem;
    height: 1.4rem;
}

/* ---- Grid size variants ---- */

/* Large — spans 2 cols, fixed aspect ratio */
.work-item--large {
    grid-column: span 2;
    aspect-ratio: 21 / 9;
}

/* Tall — 1 col, taller than standard */
.work-item--tall {
    grid-column: span 1;
    grid-row: span 2;
    height: 100%;
    aspect-ratio: unset;
}

/* Standard items — 1 col each */
.work-item:not(.work-item--large):not(.work-item--tall):not(.work-item--wide) {
    /* aspect-ratio: 4 / 3; */
}

/* Wide — spans all 3 cols */
.work-item--wide {
    grid-column: span 2;
    aspect-ratio: 21 / 9;
}



/* =============================================================
   CONTACT — typographic closer
   Cream background palette inversion
   ============================================================= */
section.contact {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 12rem 8% 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
}

/* Noise texture overlay — reuses the same graphic */
.contact__noise {
    position: absolute;
    inset: 0;
    background: url(../images/graphic-noise.png);
    opacity: .35;
    pointer-events: none;
    z-index: 0;
    mix-blend-mode: multiply;
}

.contact__inner {
    position: relative;
    z-index: 1;
    flex: 1;
}

/* Eyebrow row */
.contact__eyebrow {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 6.4rem;
}
.contact__rule {
    display: block;
    width: 4rem;
    height: 1px;
    background: var(--main);
}
.contact__label {
    font-size: 1.1rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--main);
}

/* Oversized heading */
.contact__heading {
    display: flex;
    flex-direction: column;
    margin: 0 0 7.2rem;
    font-size: clamp(6rem, 10.5vw, 16rem);
    line-height: 0.92;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: -0.03em;
}
.contact__heading-line {
    display: block;
    overflow: hidden; /* clip for word-reveal */
}
/* The accent line with Hatton strong */
.contact__heading-line--accent strong {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 400;
    text-transform: capitalize;
    color: var(--main);
    font-size: 1em;
    letter-spacing: -0.03em;
}
.contact__heading .contact__heading-line--accent .word-mask{
    padding-right: 2.4rem;
}

/* Pitch line */
.contact__pitch {
    max-width: 52rem;
    font-size: 1.6rem;
    line-height: 1.65;
    color: var(--light);
    margin: 0 0 8rem;
}

/* Contact links */
.contact__links {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid hsla(32 42% 86% / .16);
}
.contact__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 2.8rem;
    border-bottom: 1px solid hsla(32 42% 86% / .16);
    text-decoration: none;
    color: var(--light);
    transition: color 0.3s ease;
    overflow: hidden;
    position: relative;
}
.contact__link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--main);
    transform: translateX(-101%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}
.contact__link:hover::before {
    transform: translateX(0);
}
.contact__link:hover {
    color: var(--light);
}
.contact__link-label {
    position: relative;
    z-index: 1;
    font-size: 1.1rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: inherit;
    opacity: 0.5;
    min-width: 6rem;
}
.contact__link-value {
    position: relative;
    z-index: 1;
    font-size: clamp(2rem, 3vw, 4rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 1.2rem;
}
.contact__link-arrow {
    display: inline-block;
    transform: translate(-4px, 4px);
    transition: transform 0.35s ease;
    color: var(--main);
    margin: -8px 0 0;
}
.contact__link:hover .contact__link-arrow {
    transform: translate(0, 0);
    color: var(--light);
}
.contact__link-arrow img{
    width: 2rem;
    height: 2rem;
}
.contact__link:hover .contact__link-arrow img{
    filter: brightness(0) invert(1);
}

/* Footer row — merged into contact */
.contact__footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 2.4rem;
    margin-top: 8rem;
    border-top: 1px solid hsla(32 42% 86% / .16);
}
.contact__footer-logo img {
    width: 3.6rem;
}
.contact__footer-copy {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: hsla(32 42% 86% / .64);
    margin: 0;
}
.contact__footer-location {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: hsla(32 42% 86% / .64);
}
.case-hero{
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 5.8rem 4.8rem;
}
.case-hero .content{
    max-width: 136.6rem;
    width: 100%;
    margin: 0 auto;
}
.case-hero .img-wrapper{
    width: calc(50% - 58px);
    height: calc(100% - 103px);
    position: absolute;
    overflow: hidden;
    top: 103px;
    right: 58px;
    z-index: 0;
}
.case-hero .img-wrapper::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-green);
    opacity: .48;
}
.case-hero .img-wrapper img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.case-hero .content-wrapper{
    position: relative;
    z-index: 2;
}
.case-hero p.h6{
    color: var(--light);
    display: flex;
    gap: .8rem;
    align-items: center;
    margin: 0;
}
.case-hero p.h6 span{
    width: .2rem;
    height: .2rem;
    background: var(--main);
    border-radius: 50%;
    display: block;
}
.case-intro{
    padding: 20rem 5.8rem 12rem;
}
.case-intro .content{
    max-width: 136.6rem;
    margin: 0 auto;
    width: 100%;
    display: flex;
    gap: 8rem;
    align-items: flex-start;
}
.case-intro .content .content-wrapper{
    width: calc(100% - 8rem - 40rem);
}
.case-intro .content .content-wrapper p{
    font-size: 1.8rem;
    line-height: 1.5;
    max-width: 76.8rem;
    margin-bottom: 3.2rem;
}
.case-intro .content aside{
    width: 40rem;
}
.case-intro .content aside h3{
    margin: 0 0 3.2rem;
    padding: 0 0 3.2rem;
    border-bottom: 1px solid hsla(32 42% 86% / .16);
    font-size: 1.4rem;
    letter-spacing: .1em;
}
.case-intro .content aside ul{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
    margin: 0;
    padding: 0;
}
.case-intro .content aside ul li{
    margin: 0;
}
.case-intro .content aside ul strong{
    font-size: 1.4rem;
    letter-spacing: .1em;
    display: block;
    margin: 0 0 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
}
.desktop-img img{
    width: 100%;
    height: auto;
}
.case-mobile{
    padding: 12rem 5.8rem 0;
}
.case-mobile .content{
    max-width: 126.4rem;
    width: 100%;
    margin: 0 auto;
    padding-bottom: 12rem;
}
.case-mobile .content-wrapper{
    margin: 0 0 6.4rem;
    max-width: 75.8rem;
}
.case-mobile .flex{
   --flex-gap: 2.4rem;
    display: flex;
    gap: var(--flex-gap); 
}
.case-mobile .flex .flex-item{
    border-radius: .8rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    width: calc(100% / 5 - calc(var(--flex-gap) * 4 / 5));  
    aspect-ratio: 39 / 86; 
}
.case-mobile .flex .flex-item:nth-child(2n){
    transform: translate(0, 2.4rem);
}
.case-mobile .flex .flex-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.case-mobile img.type-color{
    width: 100%;
    height: auto;
    margin: 12rem 0 0;
}
/* =============================================================
   RESPONSIVE
   ============================================================= */

@media screen and (max-width: 1024px){
    header {
        padding: 1.6rem 2.4rem 0;
    }
    aside.phone-email,
    header aside,
    header .container nav{
        display: none;
    }
    header .nav-drawer nav{
        height: calc(100vh - 9.2rem);
    }
    header .nav-drawer .contact-info ul{
        flex-direction: column;
        gap: 1.2rem;
    }
    header .nav-drawer .contact-info ul li{
        font-size: 1.4rem;
    }
    header .nav-drawer .contact-info{
        padding-block: 1.2rem;
    }

    /* Hero tablet */
    section.hero h1 {
        top: 14%;
        left: 4%;
        max-width: 100%;
    }
    section.hero h2 {
        top: 24rem;
        left: 0;
        padding-left: 3.2rem;
        width: 100%;
        text-align: left;
        white-space: normal;
    }
    section.hero .img-wrapper {
        top: 30%;
        right: auto;
        left: 1.6rem;
        width: calc(100% - 3.2rem);
        transform: none !important;
        height: 44%;
    }
    section.hero p {
        bottom: 16%;
        left: 4%;
        max-width: 60%;
    }
    section.hero .hero-cta {
        bottom: 8%;
        left: 4%;
    }
    .hero-orb {
        width: 100vw;
        height: 100vw;
    }

    section.who-we-are h2{
        top: 24%;
        padding-inline: 2.4rem;
        left: 0;
    }
    section.who-we-are .content{
        bottom: 20.7%;
        right: 2.4rem;
        max-width: calc(75% - 2.4rem);
    }
    section.who-we-are a.btn{
        margin-top: 6.4rem;
    }

    /* Services — stack vertically on tablet */
    section.services {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }
    .services-img-panel {
        width: 100%;
        height: 36vh;
        flex-shrink: 0;
        position: relative;
    }
    .services-content {
        padding: 4.8rem 2.4rem 6.4rem;
    }
    .services-content h2 {
        margin-bottom: 3.2rem;
    }

    /* Work grid — 2 cols on tablet */
    section.work {
        padding: 8rem 4% 10rem;
    }
    .work-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2.4rem;
        margin-bottom: 4rem;
    }
    .work-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .work-item--large {
        grid-column: span 2;
        aspect-ratio: 16 / 9;
    }
    .work-item--tall {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 4 / 3;
    }
    .work-item--wide {
        grid-column: span 2;
        aspect-ratio: 16 / 7;
    }
    /* Always show overlay on touch */
    .work-item__overlay {
        transform: translateY(0);
        background: linear-gradient(
            to top,
            hsla(168 27% 12% / 0.88) 0%,
            hsla(168 27% 12% / 0.4) 70%,
            transparent 100%
        );
        padding-top: 4.8rem;
    }

    /* Contact — tablet */
    section.contact {
        padding: 8rem 6% 0;
    }
    .contact__heading {
        font-size: clamp(5rem, 8vw, 12rem);
        margin-bottom: 5.6rem;
    }
    .contact__footer {
        margin-top: 6rem;
    }
    .case-hero .img-wrapper{
        width: calc(100% - 48px);
        height: 60svh;
        top: 80px;
        right: 24px;
    }
    .case-hero{
        height: auto;
        min-height: 88vh;
        padding: 0 3.2rem 4.8rem;
    }
    .case-intro{
        padding: 8rem 3.2rem;
    }
    .case-intro .content{
        flex-direction: column-reverse;
        gap: 4rem;
    }
    .case-intro .content aside,
    .case-intro .content .content-wrapper{
        width: 100%;
    }
    .case-mobile{
        padding: 8rem 3.2rem 0;
    }
    .case-mobile .content{
        padding-bottom: 8rem;
    }
    .cursor-ring,
    .cursor-dot,
    .scroll{
        display: none;
    }
    .work-item__meta,
    .work-item__arrow{
        display: none;
    }
    .case-mobile .flex{
        flex-wrap: wrap;
    }
    .case-mobile .flex .flex-item{
       width: calc(100% / 3 - calc(var(--flex-gap) * 2 / 3));
    }
    .case-mobile .flex .flex-item:nth-child(2n) {
        transform: translate(0, 0);
    }
    .contact__link-arrow img {
        width: 1.2rem;
        height: 1.2rem;
    }
}

@media screen and (max-width: 640px) {
    section.hero h1 {
        top: 16%;
        left: 0;
        padding-inline: 2.4rem;
    }
    section.hero h2 {
        top: 26%;
        padding-left: 2.4rem;
        font-size: clamp(3.2rem, 4.5vw, 6.4rem);
    }
    section.hero .img-wrapper {
        top: 42%;
        right: 2.4rem;
        width: calc(100% - 4.8rem);
        height: 30%;
    }
    section.hero p {
        bottom: 20%;
        left: 2.4rem;
        max-width: 85%;
        font-size: 1.4rem;
    }
    section.hero .hero-cta {
        bottom: 11%;
        left: 2.4rem;
    }
    .hero-marquee__item {
        font-size: 1rem;
        gap: 2.4rem;
        padding-right: 2.4rem;
    }

    /* Work grid — single column on mobile */
    section.work {
        padding: 6.4rem 2.4rem 8rem;
    }
    .work-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .work-item--large,
    .work-item--tall,
    .work-item--wide {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 4 / 3;
    }

    /* Contact — mobile */
    section.contact {
        padding: 6.4rem 2.4rem 0;
    }
    .contact__heading {
        font-size: clamp(4.8rem, 14vw, 8rem);
        margin-bottom: 4rem;
    }
    .contact__pitch {
        font-size: 1.5rem;
        margin-bottom: 5.6rem;
    }
    .contact__link-value {
        font-size: clamp(1.8rem, 5vw, 3rem);
    }
    .contact__footer {
        flex-wrap: wrap;
        gap: 1.6rem;
        margin-top: 4rem;
    }
    .contact__footer-location {
        display: none;
    }
}
