:root {
    --dark: #1b1b1b;
    --gold: #b08d4f;
    --grey-line: #e2e2e2;
    --text: #2b2b2b;
    --font-family: 'SaolDisplay-Regular';
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    color: var(--text);
    background: #fff;
}

img {
    display: block;
    width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ---------- HEADER ---------- */
.tim-header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 40px;
    border-bottom: 1px solid var(--grey-line);
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1000;
    transition: padding .25s ease, box-shadow .25s ease;
}

.tim-header-main.scrolled {
    padding: 10px 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

.tim-header-main.scrolled .logo img {
    width: 120px;
}

.tim-header-main .logo img {
    width: 150px;
    height: auto;
    transition: width .25s ease;
}

.tim-header ul {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
}

.tim-header ul li a {
    font-size: 15px;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark);
    transition: color .2s;
    font-family: var(--font-family);
}

.tim-header ul li a:hover {
    color: var(--gold);
}

.header-cta {
    font-family: Arial, sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    border: 1px solid var(--dark);
    padding: 8px 18px;
    letter-spacing: .05em;
    white-space: nowrap;
    color: #000 !important;
}

.header-cta:hover{
    color: var(--gold);
}

.footer-cols ul {
    list-style: none;
}

.footer-cols ul li a{
    color: #fff;
}

.nav-cta {
    display: none;
}

/* hamburger button (hidden on desktop) */
.tim-header-main .menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 26px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.tim-header-main .menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--dark);
    transition: transform .3s ease, opacity .3s ease;
}

.tim-header-main .menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.tim-header-main .menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.tim-header-main .menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* dims page behind the open mobile nav */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 900;
}

.nav-overlay.show {
    display: block;
}

/* ---------- HERO ---------- */
.homepage-hero {
    position: relative;
    width: 100%;
}

.homepage-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .2);
    z-index: 0;
    pointer-events: none;
}

.homepage-hero img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* single positioned card that holds BOTH the title and subheading, stacked in normal flow */
.hero-content {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 700px;
    width: 88%;
    padding: 26px 40px;
    /* background:rgba(28,22,16,.5); */
    /* backdrop-filter:blur(8px); */
    /* -webkit-backdrop-filter:blur(8px); */
    border-radius: 4px;
}

.hero-title {
    font-weight: 300;
    font-size: clamp(28px, 5vw, 60px);
    letter-spacing: .08em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
    font-family: var(--font-family);
}

.hero-subtitle {
    margin-top: 14px;
    font-size: 15px;
    text-align: left;
    font-family: Arial, sans-serif;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, .88);
    white-space: normal;
    font-family: revert;
    letter-spacing: 1px;
}

/* ---------- GENERIC IMAGE + TEXT BANNER ---------- */
.homepage-banner {
    position: relative;
    width: 100%;
}

.homepage-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .18);
    z-index: 0;
    pointer-events: none;
}

.homepage-banner img {
    width: 100%;
    height: auto;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    max-width: 520px;
    color: #fff;
    padding: 32px 34px;
    background: rgba(28, 22, 16, .5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 4px;
    border-left: 3px solid var(--gold);
    z-index: 1;
}

.banner-text h2 {
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-family: var(--font-family);
}

.banner-text p {
    font-size: 15px;
    line-height: 1.5;
    font-weight: 300;
    font-family: revert;
    letter-spacing: 1px;
    text-align: left;
     display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}

.banner-text.dark {
    color: #ffffff;
    background: rgb(6 6 6 / 22%);
    border-left: 3px solid var(--gold);
}

/* award ribbon */
.award-banner {
    position: relative;
}

.award-banner .banner-text ul {
    margin-top: 10px;
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.award-banner .banner-text ul li {
    list-style: disc;
    margin-left: 18px;
}

/* ---------- SECTION HEADINGS ---------- */
.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 70px 20px 40px;
}

.section-intro h2 {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-bottom: 20px;
    color: var(--dark);
}

.section-intro p {
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

/* ---------- PRODUCT GRID ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    z-index: 2;
    background: #fff;
}

/* ---------- STICKY / PINNED PORTFOLIO BANNER ---------- */
.sticky-wrapper {
    position: relative;
    height: 170vh;
    /* extra scroll room = how long the banner stays pinned */
}

.sticky-banner {
    position: sticky;
    top: 0;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

.sticky-banner img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.product-grid figure {
    position: relative;
    overflow: hidden;
    margin: 0;
}

.product-grid figure::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(20, 16, 12, .6), rgba(20, 16, 12, 0));
    pointer-events: none;
}

.product-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.product-grid a:hover img {
    transform: scale(1.05);
}

.product-grid figcaption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    font-family: var(--font-family);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .03em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
    z-index: 1;
}

/* ---------- CORE SECTION ---------- */
.core-section {
    position: relative;
}

.core-section img {
    width: 100%;
    height: auto;
}

/* ---------- AWARD STRIP ---------- */
.award-strip {
    position: relative;
}

.award-strip img {
    width: 100%;
    height: auto;
}

.award-strip .banner-text h3 {
    font-size: clamp(20px, 2.4vw, 30px);
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 8px;
}

.award-strip .banner-text a {
    font-family: Arial, sans-serif;
    font-size: 13px;
    text-decoration: underline;
}

/* ---------- ALTERNATING FEATURE ROWS ---------- */
.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.feature-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-row .copy {
    padding: 60px 60px;
}

.feature-row .copy h3 {
    font-size: clamp(24px, 2.6vw, 32px);
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 18px;
    color: var(--dark);
}

.feature-row .copy p {
    font-family: Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.feature-row.reverse {
    grid-template-columns: 1fr 1fr;
}

.feature-row.reverse .copy {
    order: 2;
}

.feature-row.reverse img {
    order: 1;
}

/* ---------- ABOUT US ---------- */
.about-us {
    position: relative;
}

.about-us img {
    width: 100%;
    height: auto;
}

.about-us .banner-text {
    max-width: 600px;
}

.about-us .banner-text h2 {
    margin-bottom: 14px;
}

.about-us .banner-text p {
    font-size: 14px;
    line-height: 1.8;
}

/* ---------- CONTACT STRIP ---------- */
.contact-strip {
    background: var(--dark);
    color: #fff;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-strip p {
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

.contact-strip .phone {
    font-size: 22px;
    letter-spacing: .03em;
    margin-top: 6px;
    color: var(--gold);
}

.contact-strip .btn {
    border: 1px solid #fff;
    padding: 10px 24px;
    font-family: Arial, sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: background .2s ease, border-color .2s ease;
}

.contact-strip .btn:hover {
    background: var(--gold);
    border-color: var(--gold);
}

/* ---------- FOOTER ---------- */
.timber-footer {
    background: #000;
    padding: 50px 40px 30px;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto 30px;
    font-family: Arial, sans-serif;
    color: #fff;
}

.footer-cols ul li {
    margin-bottom: 12px;
    font-size: 18px;
    font-family: var(--font-family);
}

.footer-cols ul li a:hover {
    color: var(--gold);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 20px;
}

.footer-social img {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #888;
    margin-top: 30px;
}

/* ---------- RESPONSIVE ---------- */

/* Tablet / iPad and below: collapse nav into a slide-in drawer */
@media (max-width:1024px) {
    .tim-header-main {
        padding: 16px 20px;
    }

    .tim-header-main .menu-toggle {
        display: flex;
    }

    .desktop-cta {
        display: none;
    }

    .nav-cta {
        display: block;
    }

    .tim-header {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(320px, 78vw);
        background: #fff;
        padding: 90px 30px 30px;
        transform: translateX(100%);
        transition: transform .35s ease;
        overflow-y: auto;
        box-shadow: -4px 0 20px rgba(0, 0, 0, .15);
        z-index: 1000;
    }

    .tim-header.open {
        transform: translateX(0);
    }

    .tim-header ul {
        flex-direction: column;
        gap: 0;
    }

    .tim-header ul li {
        border-bottom: 1px solid var(--grey-line);
    }

    .tim-header ul li a {
        display: block;
        padding: 16px 0;
        font-size: 14px;
    }

    .tim-header .header-cta {
        display: block;
        margin-top: 24px;
        text-align: center;
    }
}

/* Tablet: 2-column product/footer grids, feature rows stay side-by-side but tighter */
@media (max-width:1024px) and (min-width:601px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-cols {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-row .copy {
        padding: 36px;
    }

    .banner-text {
        left: 6%;
        max-width: 70%;
    }

    .sticky-wrapper {
        height: auto;
    }

    .sticky-banner {
        position: relative;
        top: 0;
        height: auto;
    }

    .sticky-banner img {
        height: auto;
        object-fit: initial;
    }
}

/* Mobile phones */
@media (max-width:600px){

  /* ---------- HEADER ---------- */
  .tim-header-main{
    padding:14px 16px;
  }

  .tim-header-main .logo img{
    width:120px;
  }

  /* ---------- HERO ---------- */
  .homepage-hero{
    height:78vh;
    overflow:hidden;
  }

  .homepage-hero img{
    width:100%;
    height:100%;
    object-fit:cover;
  }

  .hero-content{
    position:absolute;
    left:50%;
    top:42%;
    bottom:auto;
    transform:translate(-50%, -50%);
    width:88%;
    max-width:none;
    padding:22px 20px;
    text-align:center;
  }

  .hero-title{
    font-size:34px;
    line-height:1;
    margin-bottom:14px;
    letter-spacing:.06em;
  }

  .hero-subtitle{
    font-size:14px;
    line-height:1.7;
    text-align:left;
    letter-spacing:.4px;
  }

  /* ---------- ALL IMAGE BANNERS ---------- */
  .homepage-banner{
    height:72vh;
    overflow:hidden;
  }

  .homepage-banner img{
    width:100%;
    height:100%;
    object-fit:cover;
  }

  .banner-text{
    left:50%;
    top:50%;
    transform:translate(-50%, -50%);
    width:88%;
    max-width:none;
    padding:22px 20px;
    border-left:2px solid var(--gold);
    background:rgba(20,16,12,.62);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
  }

  .banner-text h2{
    font-size:26px;
    line-height:1.25;
    margin-bottom:14px;
  }

  .banner-text p{
    font-size:14px;
    line-height:1.7;
    letter-spacing:.4px;
  }

  /* ---------- PORTFOLIO SECTION ---------- */
  .sticky-wrapper{
    height:auto;
  }

  .sticky-banner{
    position:relative;
    height:72vh;
  }

  .sticky-banner img{
    width:100%;
    height:100%;
    object-fit:cover;
  }

  .sticky-banner .banner-text.dark{
    left:50% !important;
    top:50% !important;
    transform:translate(-50%, -50%) !important;
    width:88%;
    text-align:center;
    background:rgba(20,16,12,.55);
    border-left:2px solid var(--gold);
    padding:22px 20px;
  }

  /* ---------- PRODUCT GRID ---------- */
  .product-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .product-grid figure{
    height:220px;
  }

  .product-grid img{
    width:100%;
    height:100%;
    object-fit:cover;
  }

  .product-grid figcaption{
    left:14px;
    bottom:14px;
    font-size:13px;
  }

  /* ---------- FEATURE ROWS ---------- */
  .feature-row,
  .feature-row.reverse{
    grid-template-columns:1fr;
  }

  .feature-row img,
  .feature-row.reverse img{
    height:300px;
    object-fit:cover;
  }

  .feature-row .copy,
  .feature-row.reverse .copy{
    order:2;
    padding:28px 20px;
  }

  .feature-row .copy h3{
    font-size:24px;
  }

  .feature-row .copy p{
    font-size:14px;
    line-height:1.7;
  }

  /* ---------- ABOUT ---------- */
  .about-us .banner-text{
    width:88%;
    max-width:none;
  }

  /* ---------- CONTACT ---------- */
  .contact-strip{
    flex-direction:column;
    align-items:flex-start;
    padding:28px 20px;
    gap:18px;
  }

  .contact-strip .phone{
    font-size:22px;
  }

  /* ---------- FOOTER ---------- */
  .footer-cols{
    grid-template-columns:1fr 1fr;
    gap:24px 16px;
  }

  .footer-cols ul li{
    font-size:16px;
  }
}

@media (max-width:380px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .footer-cols {
        grid-template-columns: 1fr;
    }
}