@layer global {
  :root {
    --mainBlack: #1f1d1a;
    --blue1: #f05d23;
    --blue2: #0f8b8d;
    --blue3: #2f4858;
    --blue4: #4c5b5c;
    --white: #fdf7ec;
    --light: #f4ebd0;
    --grey: #d2c2a8;
    --ink-soft: #2d2a26;
    --paper: #fffdf7;
    --paper-alt: #f9f1da;
    --shadow-color: rgba(20, 17, 13, 0.15);
    --shadow-strong: rgba(20, 17, 13, 0.35);
    --muted-green: #6d8c7c;
    --font-sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: var(--font-sans);
    background-color: var(--paper);
    background-image: radial-gradient(circle at 10% 10%, rgba(240, 93, 35, 0.08) 0%, transparent 40%),
      radial-gradient(circle at 80% 0%, rgba(15, 139, 141, 0.08) 0%, transparent 35%),
      linear-gradient(120deg, rgba(255, 255, 255, 0.8), rgba(249, 241, 218, 0.9));
    color: var(--mainBlack);
    line-height: 1.7;
    font-size: 1rem;
    min-height: 100vh;
    position: relative;
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cpath fill='%23d7ccb6' fill-opacity='0.14' d='M0 160h20L0 140zm40 0h20L40 140zm40 0h20l-20-20zm40 0h20l-20-20zM20 140h20l-20-20zm40 0h20l-20-20zm40 0h20l-20-20zM0 120h20L0 100zm40 0h20l-20-20zm40 0h20l-20-20zm40 0h20l-20-20zM20 100h20L20 80zm40 0h20L60 80zm40 0h20l-20-20zM0 80h20L0 60zm40 0h20L40 60zm40 0h20L80 60zm40 0h20l-20-20zM20 60h20l-20-20zm40 0h20L60 40zm40 0h20L100 40zM0 40h20L0 20zm40 0h20L40 20zm40 0h20L80 20zm40 0h20l-20-20zM20 20h20L20 0zm40 0h20L60 0zm40 0h20L100 0zm40 0h20L140 0z'/%3E%3C/svg%3E");
    opacity: 0.2;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: -1;
  }

  a {
    color: var(--blue2);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.25rem;
    font-weight: 500;
    transition: color 0.2s ease;
  }

  a:hover {
    color: var(--blue1);
  }

  button {
    background: transparent;
    border: none;
    outline: none;
    font-weight: 500;
    font-family: var(--font-sans);
    letter-spacing: 0.08rem;
    text-transform: uppercase;
  }

  img {
    width: 100%;
    display: block;
    border-radius: 0.35rem;
  }

  h1,
  h2,
  h3,
  h4 {
    font-family: var(--font-sans);
    letter-spacing: 0.08rem;
    text-transform: none;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--ink-soft);
  }

  h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
  }

  h2 {
    font-size: clamp(2rem, 3vw, 3rem);
  }

  h3 {
    font-size: clamp(1.4rem, 2.4vw, 2rem);
  }

  h4 {
    font-size: 1.1rem;
  }

  p {
    margin-bottom: 1.5rem;
    max-width: 60ch;
  }

  ul {
    list-style: none;
  }

  @media (min-width: 800px) {
    h1 {
      font-size: 4rem;
      margin-bottom: 2rem;
      margin-top: 1rem;
    }

    h2 {
      font-size: 2.5rem;
      margin-bottom: 2rem;
    }

    h3 {
      font-size: 2.1rem;
    }

    h4 {
      font-size: 1.4rem;
    }

    body {
      font-size: 1.2rem;
    }

    p {
      font-size: 1.05rem;
    }

    h1,
    h2,
    h3,
    h4 {
      line-height: 1.05;
    }
  }

  /* layout component */

  .main-content {
    min-height: 100vh;
    position: relative;
    padding: clamp(1.5rem, 5vw, 4rem) clamp(0.75rem, 4vw, 3.25rem) clamp(2rem, 6vw, 4rem);
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(31, 29, 26, 0.08);
    box-shadow: 0 30px 80px var(--shadow-color);
    border-radius: 0;
  }
}

@media (max-width: 640px) {
  .main-content {
    padding: 1rem clamp(0.5rem, 3vw, 1.2rem) 1.75rem;
  }
}

@media (min-width: 1100px) {
  .main-content {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}


/* navbar component */

@property --phone-display {
  syntax: "block | none";
  inherits: true;
  initial-value: block;
}

@property --desktop-display {
  syntax: "block | none";
  inherits: true;
  initial-value: block;
}

@property --menu-display {
  syntax: "block | none";
  inherits: true;
  initial-value: block;
}

.nav {
  --desktop-display: none;
  --phone-display: block;
  --menu-display: none;
  position: relative;
  z-index: 200;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--mainBlack);
  border-bottom: 1px solid rgba(31, 29, 26, 0.12);
  box-shadow: 0 10px 30px rgba(15, 24, 30, 0.08);
  font-family: var(--font-sans);
}

.nav-link {
  display: block;
  color: var(--mainBlack);
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.25rem;
  font-weight: 600;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--blue2);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-center {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.65rem 1.35rem;
  position: relative;
}

.nav-logo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-hamburger-btn {
  display: var(--phone-display);
  cursor: pointer;
  border: 1px solid rgba(31, 29, 26, 0.18);
  border-radius: 999px;
  padding: 0.35rem;
}

.nav-logo-hamburger {
  fill: var(--mainBlack);
  height: 1.35rem;
  width: 1.35rem;
}

.nav-logo-brand {
  display: inline-flex;
  align-items: center;
  padding: 0.05rem 0.45rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.16rem;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blue4);
  font-weight: 600;
}

.nav-phone-links {
  display: var(--menu-display);
  border-top: 1px solid rgba(31, 29, 26, 0.08);
  margin-top: 0.35rem;
}

.nav-phone-links>ul {
  padding: 0.75rem 0rem;
}

.nav-phone-links>ul>li {
  font-size: 0.95rem;
  border-bottom: 1px dashed rgba(31, 29, 26, 0.15);
  padding-bottom: 0.55rem;
  margin: 0.65rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.18rem;
  font-weight: 500;
}

.nav-desktop-links {
  display: var(--desktop-display);
}

.nav-desktop-links>ul {
  display: flex;
  gap: 0.35rem;
}

.nav-desktop-links>ul>li {
  padding: 0 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.22rem;
  font-weight: 500;
}

@media (min-width: 992px) {
  .nav {
    padding: 0 1.25rem;
    --desktop-display: block;
    --phone-display: none;
  }

  .nav-center {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .nav-desktop-links {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .nav-phone-links {
    display: none;
  }

  .nav-logo-hamburger-btn {
    display: none;
  }
}


/* footer component */

.footer {
  background: var(--paper);
  border-top: 1px solid rgba(31, 29, 26, 0.12);
  padding: 1.25rem 1.5rem 1.75rem;
}

.footer-content {
  width: 100%;
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
}

.footer-name {
  font-weight: 600;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
}

.footer-email {
  color: var(--blue3);
  text-decoration: none;
  font-weight: 500;
}

.footer-email:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.footer-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.35rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(31, 29, 26, 0.1);
  background: rgba(255, 255, 255, 0.7);
}

.footer-icon {
  fill: var(--blue3);
  height: 1.1rem;
  width: 1.1rem;
}

.footer-source {
  color: var(--blue2);
  font-size: 0.85rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-source:hover {
  text-decoration: underline;
}

.footer-copy {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: var(--blue4);
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}