/*
Theme Name: dotcity Holding V2.1
Theme URI: https://dotcity.co/
Author: dotcity
Description: Minimal official holding page for dotcity.
Version: 2.1.0
Text Domain: dotcity-holding-v2-1
*/

:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #0b0b0b;
  --muted: #55534e;
  --line: rgba(11, 11, 11, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
}

body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.site {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-rows: 1fr auto;
  overflow: hidden;
  padding: clamp(28px, 4.5vw, 72px);
}

.art {
  position: absolute;
  z-index: -2;
  right: clamp(-84px, -4vw, -24px);
  bottom: clamp(-54px, -3vw, -18px);
  width: min(72vw, 1120px);
  height: min(78vh, 880px);
  min-height: 460px;
  overflow: hidden;
  background-color: #f5f3ed;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.72) 14%, rgba(255, 255, 255, 0) 39%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.16)),
    url("assets/img/dotcity-art-v2.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  contain: paint;
}

.art::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(11, 11, 11, 0.08);
  content: "";
  pointer-events: none;
}

.main {
  display: flex;
  align-items: flex-start;
  padding-top: clamp(2px, 3vh, 42px);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  max-width: 100%;
  margin: 0;
  color: var(--ink);
  font-size: clamp(4.3rem, 12.8vw, 13rem);
  letter-spacing: -0.082em;
  line-height: 0.82;
  text-transform: lowercase;
}

.brand__dot {
  font-weight: 900;
}

.brand__city {
  font-weight: 300;
}

.brand__home {
  display: inline-flex;
  align-items: baseline;
  color: inherit;
  text-decoration: none;
}

.meta {
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: min(48rem, 100%);
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  font-weight: 560;
  letter-spacing: 0.045em;
  text-transform: lowercase;
}

.meta a {
  text-decoration-color: rgba(11, 11, 11, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.meta a:hover,
.meta a:focus-visible {
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}

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

.not-found .site {
  grid-template-rows: 1fr auto;
}

.not-found .art {
  opacity: 0.46;
  filter: grayscale(0.7);
}

.not-found .brand {
  font-size: clamp(4.3rem, 12vw, 10rem);
}

@media (max-width: 760px) {
  .site {
    grid-template-rows: auto 1fr auto;
    padding: 24px;
  }

  .main {
    padding-top: 4px;
  }

  .brand {
    font-size: clamp(4rem, 21vw, 7rem);
    line-height: 0.87;
  }

  .art {
    right: -20vw;
    bottom: 10vh;
    width: 112vw;
    height: 54vh;
    min-height: 340px;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 28%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0)),
      url("assets/img/dotcity-art-v2.webp");
    background-position: 78% center;
  }

  .meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
    background: rgba(255, 255, 255, 0.92);
  }

}

@media (prefers-reduced-motion: no-preference) {
  .art {
    animation: art-reveal 720ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .brand,
  .meta {
    animation: type-reveal 500ms ease-out both;
  }

  .meta {
    animation-delay: 120ms;
  }

  @keyframes art-reveal {
    from { opacity: 0; transform: translate3d(2.5%, 1.5%, 0) scale(1.015); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
  }

  @keyframes type-reveal {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (prefers-contrast: more) {
  :root {
    --line: rgba(11, 11, 11, 0.62);
  }

  .art {
    background-image:
      linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.4) 34%, rgba(255, 255, 255, 0) 55%),
      url("assets/img/dotcity-art-v2.webp");
  }
}

/* dotcity premium wordmark V2.2: one Manrope family, restrained weight contrast. */
@font-face {
  font-family: "dotcity Manrope";
  src: url("assets/fonts/manrope-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

.brand,
.brand__dot,
.brand__city,
.brand__home {
  font-family: "dotcity Manrope", "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-style: normal;
  font-kerning: normal;
  font-optical-sizing: auto;
  text-rendering: geometricPrecision;
}

.brand {
  letter-spacing: -0.064em;
}

.brand__dot {
  font-weight: 720;
}

.brand__city {
  font-weight: 500;
}
/* dotcity premium layout V2.3: full-height art, quieter scale, executive finish. */

:root {
  --dotcity-page-pad: clamp(26px, 4.25vw, 66px);
  --dotcity-rule: rgba(11, 11, 11, 0.22);
}

.site {
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--dotcity-page-pad);
  background: #fff;
}

.art {
  inset: 0;
  width: auto;
  height: auto;
  min-height: 0;
  background-color: #fff;
  background-image:
    linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.99) 21%, rgba(255, 255, 255, 0.82) 36%, rgba(255, 255, 255, 0.24) 55%, rgba(255, 255, 255, 0) 73%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 24%, rgba(255, 255, 255, 0) 78%, rgba(255, 255, 255, 0.12) 100%),
    url("assets/img/dotcity-art-v2.webp");
  background-position: center, center, 61% center;
  background-size: cover;
  filter: saturate(0.98) contrast(1.035);
}

.art::after {
  inset: 0;
  border: 0;
  background:
    linear-gradient(90deg, transparent calc(40.5% - 1px), rgba(11, 11, 11, 0.09) 40.5%, transparent calc(40.5% + 1px)),
    linear-gradient(180deg, transparent calc(79% - 1px), rgba(11, 11, 11, 0.07) 79%, transparent calc(79% + 1px));
}

.main {
  z-index: 1;
  padding-top: 0;
}

.brand {
  font-size: clamp(4.3rem, 10.5vw, 9.6rem);
  letter-spacing: -0.058em;
  line-height: 0.86;
}

.brand__dot {
  font-weight: 740;
}

.brand__city {
  font-weight: 470;
}

.meta {
  width: 100%;
  gap: 28px;
  padding-top: 16px;
  border-top-color: var(--dotcity-rule);
  font-family: "dotcity Manrope", "Avenir Next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(0.7rem, 0.78vw, 0.8rem);
  font-weight: 620;
  letter-spacing: 0.09em;
}

.meta a {
  text-decoration-color: rgba(11, 11, 11, 0.28);
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  :root {
    --dotcity-page-pad: 22px;
  }

  .site {
    grid-template-rows: 1fr auto;
    padding: var(--dotcity-page-pad);
  }

  .main {
    padding-top: 0;
  }

  .brand {
    font-size: clamp(4rem, 20.5vw, 6.25rem);
    letter-spacing: -0.065em;
    line-height: 0.88;
  }

  .art {
    inset: 0;
    width: auto;
    height: auto;
    min-height: 0;
    background-image:
      linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.12) 26%, rgba(255, 255, 255, 0.03) 72%, rgba(255, 255, 255, 0.72) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.77) 26%, rgba(255, 255, 255, 0.08) 64%, rgba(255, 255, 255, 0) 100%),
      url("assets/img/dotcity-art-v2.webp");
    background-position: center, center, 72% center;
    background-size: cover;
  }

  .art::after {
    background:
      linear-gradient(90deg, transparent calc(28% - 1px), rgba(11, 11, 11, 0.075) 28%, transparent calc(28% + 1px)),
      linear-gradient(180deg, transparent calc(74% - 1px), rgba(11, 11, 11, 0.06) 74%, transparent calc(74% + 1px));
  }

  .meta {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    padding-top: 13px;
    background: transparent;
    font-size: clamp(0.62rem, 2.75vw, 0.72rem);
    letter-spacing: 0.06em;
  }
}

@media (max-width: 350px) {
  .meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .art {
    animation-duration: 920ms;
  }
}

