:root {
  color-scheme: light;
  --bg: #ffffff;
  --fg: #0b0b0f;
  --muted: rgba(11, 11, 15, 0.62);
  --hairline: rgba(11, 11, 15, 0.12);
  --shadow: 0 20px 60px rgba(11, 11, 15, 0.18);
  --radius: 18px;
  --container: 1120px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Gotham (local files in ./fonts/gotham/) */
@font-face {
  font-family: "Gotham";
  src: local("Gotham Thin"),
    url("./fonts/gotham/Gotham-Thin.woff2") format("woff2"),
    url("./fonts/gotham/Gotham-Thin.woff") format("woff");
  font-style: normal;
  font-weight: 100;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: local("Gotham Thin Italic"),
    url("./fonts/gotham/Gotham-ThinItalic.woff2") format("woff2"),
    url("./fonts/gotham/Gotham-ThinItalic.woff") format("woff");
  font-style: italic;
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: local("Gotham XLight"),
    url("./fonts/gotham/Gotham-XLight.woff2") format("woff2"),
    url("./fonts/gotham/Gotham-XLight.woff") format("woff");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: local("Gotham XLight Italic"),
    url("./fonts/gotham/Gotham-XLightItalic.woff2") format("woff2"),
    url("./fonts/gotham/Gotham-XLightItalic.woff") format("woff");
  font-style: italic;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: local("Gotham Light"),
    url("./fonts/gotham/Gotham-Light.woff2") format("woff2"),
    url("./fonts/gotham/Gotham-Light.woff") format("woff");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: local("Gotham Light Italic"),
    url("./fonts/gotham/Gotham-LightItalic.woff2") format("woff2"),
    url("./fonts/gotham/Gotham-LightItalic.woff") format("woff");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: local("Gotham Book"),
    url("./fonts/gotham/Gotham-Book.woff2") format("woff2"),
    url("./fonts/gotham/Gotham-Book.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: local("Gotham Book Italic"),
    url("./fonts/gotham/Gotham-BookItalic.woff2") format("woff2"),
    url("./fonts/gotham/Gotham-BookItalic.woff") format("woff");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: local("Gotham Medium"),
    url("./fonts/gotham/Gotham-Medium.woff2") format("woff2"),
    url("./fonts/gotham/Gotham-Medium.woff") format("woff");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: local("Gotham Medium Italic"),
    url("./fonts/gotham/Gotham-MediumItalic.woff2") format("woff2"),
    url("./fonts/gotham/Gotham-MediumItalic.woff") format("woff");
  font-style: italic;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: local("Gotham Bold"),
    url("./fonts/gotham/Gotham-Bold.woff2") format("woff2"),
    url("./fonts/gotham/Gotham-Bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: local("Gotham Bold Italic"),
    url("./fonts/gotham/Gotham-BoldItalic.woff2") format("woff2"),
    url("./fonts/gotham/Gotham-BoldItalic.woff") format("woff");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: local("Gotham Black"),
    url("./fonts/gotham/Gotham-Black.woff2") format("woff2"),
    url("./fonts/gotham/Gotham-Black.woff") format("woff");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: local("Gotham Black Italic"),
    url("./fonts/gotham/Gotham-BlackItalic.woff2") format("woff2"),
    url("./fonts/gotham/Gotham-BlackItalic.woff") format("woff");
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Gotham";
  src: local("Gotham Ultra"),
    url("./fonts/gotham/Gotham-Ultra.woff2") format("woff2"),
    url("./fonts/gotham/Gotham-Ultra.woff") format("woff");
  font-style: normal;
  font-weight: 950;
  font-display: swap;
}
@font-face {
  font-family: "Gotham";
  src: local("Gotham Ultra Italic"),
    url("./fonts/gotham/Gotham-UltraItalic.woff2") format("woff2"),
    url("./fonts/gotham/Gotham-UltraItalic.woff") format("woff");
  font-style: italic;
  font-weight: 950;
  font-display: swap;
}

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

html,
body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Gotham", "Gotham SSm", "Gotham ScreenSmart", ui-sans-serif,
    system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  line-height: 1.35;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 9999;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: 10px 12px;
}

.skip-link:focus {
  left: 12px;
}

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(11, 11, 15, 0.08);
}

.topbar__inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.14em;
  font-weight: 650;
  font-size: 12px;
}

.brand__mark {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--fg);
  display: inline-block;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.nav__link {
  font-size: 13px;
  color: rgba(11, 11, 15, 0.76);
  transition: color 200ms var(--ease);
}

.nav__link:hover {
  color: var(--fg);
}

.nav__cta {
  font-size: 13px;
  padding: 10px 12px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  transition: background 200ms var(--ease), border-color 200ms var(--ease),
    transform 200ms var(--ease);
}

.nav__cta:hover {
  transform: translateY(-1px);
  background: rgba(11, 11, 15, 0.04);
  border-color: rgba(11, 11, 15, 0.18);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-top: 64px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("./images/rome.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.7) saturate(1.05);
  transform: scale(1.06);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.28),
    rgba(0, 0, 0, 0.16)
  );
  pointer-events: none;
}

.hero__content {
  position: relative;
  padding: 64px 0 56px;
  max-width: 920px;
  color: rgba(255, 255, 255, 0.96);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.hero__title {
  margin: 0;
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.hero__subtitle {
  margin: 14px 0 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 54ch;
}

.hero__actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__tagline {
  margin: 30px 0 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.section {
  padding: 86px 0;
  border-top: 1px solid rgba(11, 11, 15, 0.06);
}

.section--alt {
  background: #ffffff;
}

.section__title {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.section__lead {
  margin: 12px 0 0;
  color: var(--muted);
  max-width: 68ch;
}

.muted {
  color: var(--muted);
}

.cards {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card {
  border: 1px solid rgba(11, 11, 15, 0.1);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(11, 11, 15, 0.06);
}

.card__title {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.card__text {
  margin: 10px 0 0;
  color: rgba(11, 11, 15, 0.74);
}

.grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: start;
}

.contact {
  margin: 20px 0 0;
  padding: 0;
}

.contact__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid rgba(11, 11, 15, 0.08);
}

.contact__row:first-child {
  border-top: 0;
}

.contact__k {
  margin: 0;
  color: rgba(11, 11, 15, 0.62);
  font-size: 13px;
}

.contact__v {
  margin: 0;
  font-size: 14px;
}

.link {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(11, 11, 15, 0.25);
  transition: text-decoration-color 200ms var(--ease);
}

.link:hover {
  text-decoration-color: rgba(11, 11, 15, 0.7);
}

.panel {
  border: 1px solid rgba(11, 11, 15, 0.1);
  border-radius: calc(var(--radius) + 2px);
  padding: 18px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.panel__title {
  margin: 0;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.panel__text {
  margin: 10px 0 0;
  color: var(--muted);
}

.form {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.label {
  display: block;
  font-size: 13px;
  color: rgba(11, 11, 15, 0.78);
  margin-bottom: 6px;
}

.input,
.textarea {
  width: 100%;
  appearance: none;
  border: 1px solid rgba(11, 11, 15, 0.14);
  border-radius: 14px;
  padding: 12px 12px;
  font: inherit;
  background: #fff;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.input:focus,
.textarea:focus {
  outline: none;
  border-color: rgba(11, 11, 15, 0.38);
  box-shadow: 0 0 0 4px rgba(11, 11, 15, 0.08);
}

.field-error {
  min-height: 18px;
  margin: 6px 0 0;
  font-size: 12px;
  color: rgba(186, 20, 20, 0.86);
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

.form__fineprint {
  margin: 6px 0 0;
  font-size: 12px;
  color: rgba(11, 11, 15, 0.6);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 11px 14px;
  font-size: 13px;
  border: 1px solid rgba(11, 11, 15, 0.18);
  transition: transform 200ms var(--ease), background 200ms var(--ease),
    border-color 200ms var(--ease), color 200ms var(--ease);
  user-select: none;
}

.button:active {
  transform: translateY(1px);
}

.button--primary {
  background: var(--fg);
  color: #fff;
  border-color: var(--fg);
}

.button--primary:hover {
  background: rgba(11, 11, 15, 0.92);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.5);
}

.button--ghost:hover {
  background: rgba(11, 11, 15, 0.04);
  border-color: rgba(11, 11, 15, 0.28);
}

.footer {
  margin-top: 42px;
  padding-top: 16px;
  border-top: 1px solid rgba(11, 11, 15, 0.08);
}

.footer__text {
  margin: 0;
  color: rgba(11, 11, 15, 0.62);
  font-size: 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 100;
  max-width: min(560px, calc(100vw - 32px));
  background: rgba(11, 11, 15, 0.92);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: 0 20px 50px rgba(11, 11, 15, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--ease), transform 220ms var(--ease);
}

.toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

@media (max-width: 900px) {
  .hero__bg {
    background-position: right center;
  }

  .hero__content {
    padding-left: 10px;
    padding-right: 10px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .contact__row {
    grid-template-columns: 110px 1fr;
  }

  .nav__link {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
