/* InfoWebPlus organization reference — palette from official logo */

:root {
  --teal: #134e4a;
  --sea: #569591;
  --gold: #e3a355;
  --sand: #e8d5b7;
  --bg: #ffffff;
  --bg-soft: #f7f4ef;
  --bg-teal: #eef5f4;
  --bg-gold: #fbf6ee;
  --ink: #12201e;
  --ink-muted: #455552;
  --ink-faint: #74807d;
  --line: #e4ddd2;
  --accent: var(--gold);
  --accent-ink: #9a6a20;
  --measure: 42rem;
  --page: 68rem;
  --space: clamp(1.25rem, 3vw, 2rem);
  --section: clamp(3.5rem, 8vw, 5.5rem);
  --font-display: "Source Serif 4", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 220ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color var(--dur) var(--ease);
}

a:hover {
  color: #9a6a20;
}

a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--teal);
  color: var(--bg);
}

.skip:focus {
  left: var(--space);
  top: var(--space);
}

.wrap {
  width: min(100% - (var(--space) * 2), var(--page));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
}

.site-header::after {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--teal) 0%,
    var(--sea) 32%,
    var(--gold) 66%,
    var(--sand) 100%
  );
  background-size: 200% 100%;
  animation: brand-flow 10s ease-in-out infinite alternate;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.95rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
  transition: transform var(--dur) var(--ease);
}

.brand:hover {
  color: inherit;
  transform: translateY(-1px);
}

.brand__mark {
  width: 3.25rem;
  height: auto;
  flex-shrink: 0;
  transition: transform 320ms var(--ease);
}

.brand:hover .brand__mark {
  transform: rotate(-4deg) scale(1.04);
}

.brand__name {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand__info {
  color: var(--sea);
}

.brand__web {
  color: var(--teal);
}

.brand__plus {
  color: var(--gold);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  font-size: 0.9375rem;
}

.nav a {
  position: relative;
  color: var(--ink-muted);
  text-decoration: none;
  padding-bottom: 0.15rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--sea), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur) var(--ease);
}

.nav a:hover {
  color: var(--teal);
}

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

main {
  display: block;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 10vw, 6.5rem) clamp(3rem, 7vw, 5rem);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 55% 70% at 12% 18%, color-mix(in srgb, var(--sea) 22%, transparent), transparent 70%),
    radial-gradient(ellipse 50% 60% at 88% 12%, color-mix(in srgb, var(--gold) 24%, transparent), transparent 68%),
    radial-gradient(ellipse 45% 50% at 70% 88%, color-mix(in srgb, var(--sand) 45%, transparent), transparent 70%),
    linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 78%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -20% -35% -20%;
  height: 55%;
  background:
    radial-gradient(circle at 30% 40%, color-mix(in srgb, var(--teal) 10%, transparent), transparent 45%),
    radial-gradient(circle at 70% 50%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 42%);
  animation: aura 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero > .wrap {
  position: relative;
  z-index: 1;
}

.hero__brand {
  margin: 0 0 1.25rem;
  max-width: min(22rem, 100%);
  animation: rise 700ms var(--ease) both;
}

.hero__logo {
  width: min(22rem, 100%);
  height: auto;
  filter: drop-shadow(0 10px 24px color-mix(in srgb, var(--teal) 14%, transparent));
  transition: transform 400ms var(--ease), filter 400ms var(--ease);
}

.hero__logo:hover {
  transform: translateY(-3px) scale(1.015);
  filter: drop-shadow(0 16px 28px color-mix(in srgb, var(--gold) 22%, transparent));
}

.hero__tagline {
  margin: 0 0 2rem;
  max-width: 36rem;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  animation: rise 700ms var(--ease) 80ms both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--teal);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal) 0%, #1c6a64 55%, var(--sea) 100%);
  background-size: 160% 160%;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.975rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1.2;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--teal) 24%, transparent);
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    background-position 400ms var(--ease);
  animation: rise 700ms var(--ease) 140ms both;
}

.btn:hover {
  color: #fff;
  background-position: 100% 0;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--gold) 28%, transparent);
  border-color: var(--gold);
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn__arrow {
  font-size: 1.05em;
  line-height: 1;
  transition: transform var(--dur) var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.section {
  padding-block: var(--section);
  border-bottom: 1px solid var(--line);
}

.section:nth-of-type(even) {
  background:
    linear-gradient(180deg, var(--bg-teal) 0%, var(--bg) 100%);
}

.section:nth-of-type(odd):not(.hero) {
  background: var(--bg);
}

#products {
  background:
    linear-gradient(180deg, var(--bg-gold) 0%, var(--bg) 100%);
}

.section:last-of-type {
  border-bottom: 0;
}

.section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section__label::before {
  content: "";
  width: 1.35rem;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--sea));
}

.section h2 {
  margin: 0 0 1.25rem;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--teal);
}

.section__lead,
.prose p {
  margin: 0 0 1rem;
  max-width: var(--measure);
  color: var(--ink-muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.expertise {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  list-style: none;
  padding: 0;
}

.expertise__item {
  position: relative;
  padding: 1.2rem 1.2rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--bg) 88%, white);
  overflow: hidden;
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.expertise__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--item-accent, var(--teal));
}

.expertise__item--teal {
  --item-accent: var(--teal);
  background: color-mix(in srgb, var(--teal) 5%, white);
}

.expertise__item--sea {
  --item-accent: var(--sea);
  background: color-mix(in srgb, var(--sea) 8%, white);
}

.expertise__item--gold {
  --item-accent: var(--gold);
  background: color-mix(in srgb, var(--gold) 10%, white);
}

.expertise__item--sand {
  --item-accent: #c9ae7a;
  background: color-mix(in srgb, var(--sand) 35%, white);
}

.expertise__item:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--item-accent) 45%, var(--line));
  box-shadow: 0 14px 28px color-mix(in srgb, var(--item-accent) 16%, transparent);
}

.expertise__item h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--teal);
}

.expertise__item--gold h3,
.expertise__item--sand h3 {
  color: #8a6418;
}

.expertise__item--sea h3 {
  color: #2f6f6b;
}

.expertise__item p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.94rem;
  line-height: 1.55;
}

.tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.tech li {
  padding: 0.42rem 0.78rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.tech li:nth-child(4n + 1) {
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 10%, white);
  border-color: color-mix(in srgb, var(--teal) 22%, white);
}

.tech li:nth-child(4n + 2) {
  color: #2f6f6b;
  background: color-mix(in srgb, var(--sea) 16%, white);
  border-color: color-mix(in srgb, var(--sea) 28%, white);
}

.tech li:nth-child(4n + 3) {
  color: #8a6418;
  background: color-mix(in srgb, var(--gold) 18%, white);
  border-color: color-mix(in srgb, var(--gold) 32%, white);
}

.tech li:nth-child(4n) {
  color: #6d5a3a;
  background: color-mix(in srgb, var(--sand) 55%, white);
  border-color: color-mix(in srgb, var(--sand) 70%, #d9c7a4);
}

.tech li:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px color-mix(in srgb, var(--gold) 16%, transparent);
}

.founder {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
  margin-top: 0.5rem;
  max-width: var(--measure);
}

.founder__name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--teal);
}

.founder a {
  font-weight: 700;
  color: var(--gold);
  text-decoration-color: color-mix(in srgb, var(--gold) 50%, transparent);
}

.founder a:hover {
  color: #9a6a20;
}

.products {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  max-width: var(--measure);
}

.product {
  display: grid;
  gap: 0.35rem;
  padding: 1.25rem 1.15rem;
  border: 1px solid color-mix(in srgb, var(--gold) 28%, var(--line));
  border-radius: 1rem;
  background: color-mix(in srgb, var(--gold) 8%, white);
  transition:
    transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.product:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--gold) 18%, transparent);
}

.product__name {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
}

.product__name a {
  color: var(--teal);
  text-decoration: none;
}

.product__name a:hover {
  color: #9a6a20;
}

.product__desc {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.975rem;
}

.site-footer {
  position: relative;
  border-top: 0;
  background: linear-gradient(180deg, #102f2d 0%, #0c2422 100%);
  padding-block: 2.25rem;
  color: color-mix(in srgb, var(--sand) 72%, white);
  font-size: 0.9rem;
}

.site-footer::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--teal),
    var(--sea),
    var(--gold),
    var(--sand)
  );
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
}

.site-footer a {
  color: var(--gold);
}

.site-footer a:hover {
  color: var(--sand);
}

.site-footer p {
  margin: 0;
  max-width: 36rem;
}

.site-footer strong {
  color: var(--sand);
}

.note {
  color: var(--ink-faint);
}

@keyframes brand-flow {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@keyframes aura {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.85;
  }
  to {
    transform: translate3d(2%, -3%, 0) scale(1.06);
    opacity: 1;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    gap: 0.5rem 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
