:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 8%;
  --card: 0 0% 100%;
  --card-foreground: 0 0% 8%;
  --popover: 0 0% 100%;
  --popover-foreground: 0 0% 8%;
  --primary: 0 0% 8%;
  --primary-foreground: 0 0% 100%;
  --secondary: 30 10% 96%;
  --secondary-foreground: 0 0% 8%;
  --muted: 30 5% 94%;
  --muted-foreground: 0 0% 45%;
  --accent: 30 10% 96%;
  --accent-foreground: 0 0% 8%;
  --destructive: 0 84.2% 60.2%;
  --destructive-foreground: 0 0% 100%;
  --border: 0 0% 90%;
  --input: 0 0% 90%;
  --ring: 0 0% 8%;
  --radius: 0rem;
  --warm-gray: 30 5% 55%;
  --light-warm: 30 10% 98%;
  --dark-overlay: 0 0% 0%;
  --font-display: "Roboto Slab", "Georgia", serif;
  --font-body: "Roboto Slab", "Georgia", serif;
  --section-gap: 8rem;
  --content-max: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

html {
  max-width: 100%;
  /* overflow-x: hidden; */
  scroll-behavior: smooth;
}

body {
  width: 100%;
  margin: 0;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body,
#page,
#content,
.site,
.site-content,
.site-main {
  width: 100%;
  max-width: none;
}

body {
  min-width: 0;
  max-width: 100%;
  overflow-x: hidden;
}

.front-page-main,
.hero,
.about-section,
.services-section,
.process-section,
.showcase-gallery,
.site-footer {
  width: 100%;
  max-width: none;
}

main.front-page-main {
  width: 100%;
  max-width: none;
  overflow-x: hidden;
  min-height: 100vh;
}

.front-page-main > section,
.front-page-main > footer {
  width: 100%;
  max-width: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.025em;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: inherit;
}

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

.text-display-medium {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: -0.01em;
}

@media (min-width: 768px) {
  .text-display-medium {
    font-size: 1.875rem;
  }
}

@media (min-width: 1024px) {
  .text-display-medium {
    font-size: 2.25rem;
  }
}

.section-link {
  color: #7a7a7a;
  --underline-color: rgba(27, 27, 27, 0.5);
  --focus-ring: rgba(27, 27, 27, 0.5);
  display: inline-block;
}

.section-link a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #7a7a7a;
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  font-size: 1.5rem;
}

.section-link a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--underline-color);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}

.section-link__arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.section-link a:hover::after,
.section-link a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.section-link a:hover .section-link__arrow,
.section-link a:focus-visible .section-link__arrow {
  transform: translateX(3px);
}

.section-link a:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 4px;
}

.section-link--dark {
  --link-color: #ffffff;
  --underline-color: rgba(255, 255, 255, 0.7);
  --focus-ring: rgba(255, 255, 255, 0.7);
}

.section-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

@media (max-width: 767px) {
  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-link a {
    font-size: 1rem;
  }
}

.section-header {
  font-size: clamp(1.1rem, 0.83rem + 1.15vw, 1.75rem);
  width: 100%;
  line-height: 1.1;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #7a7a7a;
}

@media (max-width: 767px) {
  .section-header {
    font-size: 1.28rem;
    line-height: 1.15;
  }
}

@media (min-width: 1440px) {
  .section-header {
    font-size: 1.75rem;
  }
}

@media (min-width: 1920px) {
  .section-header {
    font-size: 1.75rem;
  }
}
