/* Typography, links, buttons, utilities and the shared brand touches. */

/* Self-hosted fonts (Fontsource, SIL Open Font License). Latin-ext carries the ₹ sign. */
@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/baloo-2-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/baloo-2-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/baloo-2-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Baloo 2";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/baloo-2-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Mukta";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/mukta-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Mukta";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/mukta-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Mukta";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/mukta-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Mukta";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../assets/fonts/mukta-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Noto Sans Telugu";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/noto-sans-telugu-telugu-400-normal.woff2") format("woff2");
  unicode-range: U+0951-0952, U+0964-0965, U+0C00-0C7F, U+1CDA, U+1CF2, U+200C-200D, U+25CC;
}

body {
  background-color: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: var(--leading-body);
}

/* Headings */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--text);
}

h1 {
  font-size: var(--step-5);
}

h2 {
  font-size: var(--step-4);
}

h3 {
  font-size: var(--step-2);
  font-weight: 600;
  line-height: var(--leading-snug);
}

h4 {
  font-size: var(--step-1);
  font-weight: 600;
}

p,
li {
  max-width: var(--measure);
}

strong {
  font-weight: 600;
}

small {
  font-size: var(--step-n1);
}

.kicker {
  display: block;
  font-family: var(--font-body);
  font-size: var(--step-n1);
  font-weight: 600;
  color: var(--accent-ink);
}

.lede {
  font-size: var(--step-1);
  line-height: var(--leading-snug);
  color: var(--text-muted);
}

/* Telugu accent line. Only used if the owner confirms Telugu. */
.te {
  font-family: "Noto Sans Telugu", var(--font-body);
  font-weight: 400;
}

/* Links keep an underline, so they never rely on colour alone. */
a {
  color: var(--text);
  text-decoration-line: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
  transition: text-decoration-thickness var(--duration-quick) var(--ease-out);
}

a:hover {
  text-decoration-thickness: 0.18em;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  min-height: 2.75rem;
  padding: var(--space-2xs) var(--space-m);
  border: 2px solid transparent;
  border-radius: var(--radius-btn);
  font-family: var(--font-display);
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color var(--duration-quick) var(--ease-out);
}

.btn__icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

/* The fill comes from role tokens, so a navy section can switch to its own shade. */
.btn--primary {
  background-color: var(--button-fill);
  color: var(--color-button-text);
}

.btn--primary:hover {
  background-color: var(--button-fill-hover);
}

.btn--primary:active {
  background-color: var(--button-fill-active);
}

.btn--plain {
  border-color: var(--color-button);
  background-color: transparent;
  color: var(--color-button);
}

.btn--plain:hover {
  border-color: var(--color-button);
  background-color: var(--color-button);
  color: var(--color-button-text);
}

.btn--plain:active {
  border-color: var(--color-button-active);
  background-color: var(--color-button-active);
  color: var(--color-button-text);
}

/* The short tapered curve under section headings, after the oval in the logo. */
.section-head h2::after,
.retailers__pitch h2::after,
.contact__intro h2::after {
  content: "";
  display: block;
  inline-size: 7.5rem;
  block-size: 0.75rem;
  margin-block-start: var(--space-2xs);
  background: var(--swoosh) no-repeat center / 100% 100%;
}

/* Full-width curve between two sections. */
.divider {
  display: block;
  width: 100%;
  height: clamp(2.5rem, 1.6rem + 3.5vw, 5rem);
}

.divider__fill {
  fill: var(--surface-inverse);
}

.divider__line {
  fill: var(--accent);
}

/* Utilities */

/* Components set their own display, which would otherwise beat the hidden attribute. */
[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-block-start: var(--space-2xs);
  inset-inline-start: var(--space-2xs);
  z-index: 100;
  padding: var(--space-2xs) var(--space-s);
  background-color: var(--surface-inverse);
  color: var(--text-inverse);
  font-weight: 600;
  translate: 0 -200%;
}

.skip-link:focus {
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  a,
  .btn {
    transition: none;
  }
}
