/*This code was written with the help of AI specific sections for which AI was used will be marked*/

:root {
  --color-black: #090909;
  --color-charcoal: #171612;
  --color-dark-stone: #29271f;

  --color-ivory: #f1ede4;
  --color-paper: #e7e0d4;
  --color-text-dark: #1d1b18;
  --color-text-light: #f4efe7;

  --color-gold: #bd8735;
  --color-border-light: rgba(255, 255, 255, 0.2);
  --color-border-dark: rgba(30, 25, 20, 0.18);

  --font-heading: "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", Arial, sans-serif;

  --container-width: 1440px;
  --page-padding: clamp(24px, 4vw, 72px);

  --transition-fast: 220ms ease;
  --transition-slow: 700ms cubic-bezier(0.22, 1, 0.36, 1);
}
/*this code was written with the help of AI tools*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-black);
  color: var(--color-text-light);
  font-family: var(--font-body);
  line-height: 1.6;
}
/*this code was written with the help of AI tools*/

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 90px;
  padding: 0 var(--page-padding);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--color-text-light);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background-color 400ms ease,
    color 400ms ease,
    border-color 400ms ease,
    box-shadow 400ms ease,
    backdrop-filter 400ms ease;
}
/*this code was written with the help of AI tools*/

.site-header.is-scrolled {
  background-color: rgba(241, 237, 228, 0.98);
  color: var(--color-text-dark);
  border-bottom: 1px solid rgba(30, 25, 20, 0.12);
  box-shadow: 0 8px 28px rgba(25, 20, 15, 0.08);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled .brand-mark,
.site-header.is-scrolled .main-nav a,
.site-header.is-scrolled .header-cta {
  color: var(--color-text-dark);
}

.site-header.is-scrolled .header-cta span {
  color: var(--color-gold);
}
/*this code was written with the help of AI tools*/

.brand-mark {
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  line-height: 1;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 52px;
}

.main-nav a,
.header-cta,
.brand-mark {
  position: relative;
  color: inherit;
  transition:
    color 400ms ease,
    opacity 220ms ease;
}

.main-nav a::after,
.header-cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 180ms ease;
}

.main-nav a:hover::after,
.header-cta:hover::after {
  width: 100%;
}

.header-cta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}
/*this code was written with the help of AI tools*/

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background-image: url(assets/images/Header01.png);
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.4) 34%,
      rgba(0, 0, 0, 0.08) 64%,
      rgba(0, 0, 0, 0.88) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  width: min(430px, 90%);
  padding-left: var(--page-padding);

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin-bottom: 24px;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 5.6rem);
  font-weight: 400;
  line-height: 0.94;
  text-transform: uppercase;
}

.gold-line {
  width: 44px;
  height: 1px;
  margin: 34px 0;
  background: var(--color-gold);
}

.hero-description {
  max-width: 340px;
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.hero-side {
  position: absolute;
  z-index: 2;
  right: var(--page-padding);
  top: 50%;
  transform: translateY(-30%);
  display: flex;
  flex-direction: column;
  gap: 46px;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.scroll-arrow {
    width: 12px;
    height: 12px;
    border-right: 1px solid rgba(255,255,255,.7);
    border-bottom: 1px solid rgba(255,255,255,.7);
    transform: rotate(45deg);
    animation: scrollArrow 2s ease-in-out infinite;
}

.outline-button {
  width: fit-content;
  min-width: 190px;
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
}
/*this code was written with the help of AI tools*/

.outline-button:hover {
  background: var(--color-text-light);
  color: var(--color-black);
}

.projects {
  padding: 76px var(--page-padding) 86px;
  background: var(--color-ivory);
  color: var(--color-text-dark);
}

.projects-button {
  min-width: 190px;
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid var(--color-border-dark);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.projects-button:hover {
  background: var(--color-text-dark);
  color: var(--color-text-light);
}

.projects-button span {
  color: var(--color-gold);
}

.section-heading,
.project-grid {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.section-heading {
  margin-bottom: 62px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}



.section-heading h2 {
  position: relative;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 400;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -24px;
  width: 44px;
  height: 1px;
  background: var(--color-gold);
}

.project-card {
  background: #f5f0e8;
  box-shadow: 0 16px 36px rgba(35, 25, 15, 0.08);
  overflow: hidden;
}

.project-image {
  aspect-ratio: 4 / 2.35;
  overflow: hidden;
}

.project-image img {
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-info {
  position: relative;
  padding: 24px 24px 26px;
}

.project-number {
  margin-bottom: 8px;
  color: var(--color-gold);
  font-size: 0.75rem;
}

.project-info h3 {
  margin-bottom: 5px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  text-transform: uppercase;
}

.section-eyebrow,
.project-info > p:last-of-type,
.principles p {
  text-transform: uppercase;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  line-height: 1.4;
}

.section-eyebrow {
  margin-bottom: 10px;
}

.manifesto-kicker {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
}

.projects-kicker {
  margin-bottom: 20px;
  font-weight: 600;
  color: var(--color-text-dark);
}

.project-info > p:last-of-type {
  margin-top: 7px;
}

.project-arrow {
  position: absolute;
  right: 24px;
  bottom: 26px;
  color: var(--color-gold);
}

.project-card:hover img {
  transform: scale(1.035);
}

.manifesto {
  padding: 56px var(--page-padding);
  background:
    linear-gradient(
      rgba(22, 20, 16, 0.64),
      rgba(22, 20, 16, 0.64)
    ),
    url("assets/images/darkmarble.png") center / cover no-repeat;
  color: var(--color-text-light);
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 70px;
}

.manifesto-intro h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 2.7vw, 3.2rem);
  font-weight: 400;
  line-height: 1.08;
}

.manifesto-intro h2 span {
  display: block;
}

.manifesto-intro h2 span + span {
  margin-top: 4px;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principles article {
  padding: 0 30px;
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.principles article > span {
  display: block;

  font-size: 2.8rem;
  line-height: 1;
  color: var(--color-text-light);
}

.principles h3 {
  margin: 22px 0 14px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}

.principles p {
  max-width: 290px;
  color: rgba(255, 255, 255, 0.65);
}

.light-outline-button {
  width: fit-content;
  min-width: 220px;
  min-height: 52px;
  padding: 0 20px;

  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  border: 1px solid var(--color-border-dark);
  color: var(--color-text-dark);

  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.13em;

  transition:
    background-color var(--transition-fast),
    color var(--transition-fast);
}

.light-outline-button span {
  color: var(--color-gold);
  transition: transform var(--transition-fast);
}

.light-outline-button:hover {
  background: var(--color-text-dark);
  color: var(--color-text-light);
}

.light-outline-button:hover span {
  transform: translateX(4px);
}

.about {
  min-height: 620px;
  display: grid;
  grid-template-columns: 63% 37%;
  grid-template-areas: "image copy";
  background: var(--color-ivory);
  color: var(--color-text-dark);
}

.about-copy {
  padding: 78px var(--page-padding);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-copy h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
}

.about-copy > p:last-of-type {
  max-width: 430px;
  margin-bottom: 34px;
}

.about-image {
  grid-area: image;
  min-height: 620px;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  margin-top: 0;
  object-fit: cover;
  object-position: center;
}

.site-footer {
  position: relative;
  padding: 32px var(--page-padding);
  background:
    linear-gradient(
      rgba(8, 8, 8, 0.42),
      rgba(8, 8, 8, 0.50)
    ),
    url("assets/images/darkmarble.png") center / cover no-repeat;
  color: var(--color-text-light);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 64px;
  row-gap: 18px;
  align-items: start;
}

.footer-contact {
  justify-self: center;
  width: max-content;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.footer-brand img {
  width: 72px;
  height: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  margin-bottom: 14px;
  text-transform: uppercase;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.74);
  text-transform: uppercase;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  line-height: 1.7;
}


.footer-eyebrow {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.footer-contact h3,
.footer-social h3 {
  margin-bottom: 22px;

  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.1;
}


.footer-contact-link {
  position: relative;

  display: inline-flex;
  align-items: center;
  gap: 18px;

  color: rgba(255, 255, 255, 0.74);

  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.13em;

  transition: color var(--transition-fast);
}

.footer-contact-link span {
  color: var(--color-gold);
  transition: transform var(--transition-fast);
}

.footer-contact-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition-fast);
}

.footer-contact-link:hover {
  color: var(--color-text-light);
}

.footer-contact-link:hover::after {
  width: 100%;
}

.footer-contact-link:hover span {
  transform: translateX(4px);
}


.footer-social {
  justify-self: end;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.footer-social-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  transition: color var(--transition-fast);
}

.footer-social-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width var(--transition-fast);
}

.footer-social-links a:hover {
  color: var(--color-text-light);
}

.footer-social-links a:hover::after {
  width: 100%;
}


.footer-bottom {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 0px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 64px;
  align-items: center;
}

.footer-bottom p,
.footer-legal a,
.back-to-top {
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
}

.footer-legal {
  justify-self: center;
  display: flex;
  justify-content: center;
  gap: 26px;
}

.footer-bottom > p {
  justify-self: start;
}

.back-to-top {
  justify-self: end;
  color: var(--color-gold);
  transition: opacity var(--transition-fast);
}

.footer-legal a {
  position: relative;
  transition: color var(--transition-fast);
}

.footer-legal a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;

  width: 0;
  height: 1px;
  background: var(--color-gold);

  transition: width var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--color-text-light);
}

.footer-legal a:hover::after {
  width: 100%;
}

.back-to-top:hover {
  opacity: 0.7;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 800ms ease,
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/*media*/
@media (max-width: 900px) {
  .main-nav,
  .header-cta {
    display: none;
    }

  .site-header {
    grid-template-columns: 1fr auto;
    }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .hero-side {
    display: none;
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 70px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .manifesto {
    grid-template-columns: 1fr;
  }

  .principles {
    grid-template-columns: 1fr;
    gap: 32px;
  }

.about {
  grid-template-columns: 1fr;
  grid-template-areas:
    "copy"
    "image";
}

  .about-image {
    min-height: 420px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-nav,
  .footer-social {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-footer {
  grid-template-columns: 1fr;
  gap: 42px;
}

.footer-social {
  justify-self: start;
}

.footer-social-links {
  gap: 22px;
}

.footer-bottom {
  grid-template-columns: 1fr;
  justify-items: start;
  gap: 22px;
}

.footer-legal {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 18px 24px;
}

.back-to-top {
  justify-self: start;
}
}

@keyframes scrollArrow {

    0% {
        transform: rotate(45deg) translate(0,0);
        opacity: .35;
    }

    50% {
        transform: rotate(45deg) translate(5px,5px);
        opacity: 1;
    }

    100% {
        transform: rotate(45deg) translate(0,0);
        opacity: .35;
    }

}
/*this code was written with the help of AI tools*/