/* ==========================================================================
   Gumtti Core Design System & Global Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Reset & Viewport Hardening
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  font-family: var(--g-font-body);
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--g-dark);
  background-color: var(--g-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--g-transition-fast), opacity var(--g-transition-fast);
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* --------------------------------------------------------------------------
   1. Typography & Headings
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--g-font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--g-dark);
  margin-top: 0;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

h1, .h1 { font-size: clamp(2.6rem, 4.5vw, 4.2rem); }
h2, .h2 { font-size: clamp(2.2rem, 3.5vw, 3.2rem); }
h3, .h3 { font-size: clamp(1.8rem, 2.5vw, 2.4rem); }
h4, .h4 { font-size: clamp(1.6rem, 2vw, 2.0rem); }
h5, .h5 { font-size: 1.6rem; }
h6, .h6 { font-size: 1.4rem; }

p {
  margin-top: 0;
  margin-bottom: 1.4rem;
}

/* Squiggle underline under section titles */
.title-squiggle {
  position: relative;
  display: inline-block;
}

.title-squiggle::after {
  content: '';
  position: absolute;
  left: 0.2rem;
  bottom: -0.9rem;
  width: 13rem;
  max-width: 80%;
  height: 1rem;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 130 12" preserveAspectRatio="none"><path d="M3 8 Q 12 2 24 7 T 46 7 T 68 7 T 90 7 T 112 7 T 127 7" fill="none" stroke="%23ff6b4a" stroke-width="4" stroke-linecap="round"/></svg>') no-repeat center / contain;
}

/* --------------------------------------------------------------------------
   2. Layout & Containers
   -------------------------------------------------------------------------- */
.page-width {
  max-width: var(--g-container-width, 1200px);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(2rem, 5vw, 6rem);
  padding-right: clamp(2rem, 5vw, 6rem);
}

@media screen and (max-width: 749px) {
  .page-width {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.center { text-align: center; }
.visually-hidden {
  position: absolute !important;
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  word-wrap: normal !important;
}

/* --------------------------------------------------------------------------
   3. Color Schemes & Tints
   -------------------------------------------------------------------------- */
.color-scheme-1 { background-color: var(--g-white); color: var(--g-dark); }
.color-scheme-2 {
  background-color: var(--g-cream-alt);
  color: var(--g-dark);
  background-image:
    radial-gradient(rgba(53, 167, 224, 0.14) 0.15rem, transparent 0.16rem),
    radial-gradient(rgba(255, 107, 74, 0.12) 0.15rem, transparent 0.16rem);
  background-size: 2.8rem 2.8rem;
  background-position: 0 0, 1.4rem 1.4rem;
}
.color-scheme-3 { background-color: var(--g-sky-light); color: var(--g-dark); }
.color-scheme-4 { background-color: var(--g-dark-footer); color: var(--g-white); }
.color-scheme-5 { background-color: var(--g-coral); color: var(--g-white); }

/* Playful pastel tint classes */
.g-tint--sky { background: #eaf6fe; color: #1a6f99; border-color: rgba(53, 167, 224, 0.25); }
.g-tint--sun { background: #fff8e6; color: #9c6800; border-color: rgba(255, 183, 3, 0.25); }
.g-tint--coral { background: #ffe9dd; color: #c43c1c; border-color: rgba(255, 107, 74, 0.25); }
.g-tint--lilac { background: #f3f0ff; color: #6340bd; border-color: rgba(169, 139, 255, 0.25); }
.g-tint--mint { background: #e6f9f5; color: #167a64; border-color: rgba(46, 196, 162, 0.25); }
.g-tint--peach { background: #fff2eb; color: #b84c17; border-color: rgba(255, 158, 109, 0.25); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.button,
.button--primary,
a.button,
button.button,
input[type="submit"].button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1.1rem 2.4rem;
  border-radius: var(--g-radius-pill);
  font-family: var(--g-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 0.2rem solid transparent;
  background-color: var(--g-coral);
  color: var(--g-white);
  box-shadow: 0 4px 12px rgba(255, 107, 74, 0.32);
  transition: all var(--g-transition-normal);
  line-height: 1.2;
}

.button:hover,
.button--primary:hover {
  background-color: var(--g-coral-dark);
  color: var(--g-white);
  transform: translateY(-2px);
  box-shadow: var(--g-shadow-coral-lg);
}

.button--secondary {
  background-color: var(--g-white);
  color: var(--g-coral);
  border-color: var(--g-coral);
  box-shadow: 0 4px 12px rgba(45, 42, 50, 0.06);
}

.button--secondary:hover {
  background-color: var(--g-coral);
  color: var(--g-white);
  transform: translateY(-2px);
  box-shadow: var(--g-shadow-coral);
}

.button--large {
  padding: 1.4rem 3.2rem;
  font-size: 1.65rem;
}

.button--full-width {
  width: 100%;
}

/* --------------------------------------------------------------------------
   5. Breadcrumbs
   -------------------------------------------------------------------------- */
.g-breadcrumbs {
  max-width: var(--g-container-width, 1200px);
  margin: 0 auto;
  padding: 1.4rem clamp(2rem, 5vw, 6rem) 0;
  font-size: 1.35rem;
}

@media screen and (max-width: 749px) {
  .g-breadcrumbs {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.g-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.g-breadcrumbs__item a {
  color: rgba(45, 42, 50, 0.72);
  font-weight: 500;
}

.g-breadcrumbs__item a:hover {
  color: var(--g-coral);
  text-decoration: underline;
}

.g-breadcrumbs__item[aria-current='page'] span {
  color: rgba(45, 42, 50, 0.5);
  font-weight: 600;
}

.g-breadcrumbs__sep {
  color: rgba(45, 42, 50, 0.35);
}
