:root {
  --page-margin: 80px;
  --grid-gutter: 30px;
  --radius-lg: 30px;
  --card-padding: 50px;
  --brand-width: 197px;
  --brand-height: 33px;
  --text: #050505;
  --muted: #686868;
  --panel: #d9d9d9;
  --accent: #caff63;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  font-size: 16px;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background: #ffffff;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.container {
  width: auto;
  margin-left: var(--page-margin);
  margin-right: var(--page-margin);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--grid-gutter);
}

.page-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: 50px;
  padding-bottom: 50px;
}

.site-header {
  position: relative;
  align-items: center;
  min-height: var(--brand-height);
  opacity: 0;
  transform: translateY(-10px);
  animation: headerIn 780ms var(--ease-out) 80ms forwards;
}

.site-header::before,
.site-header::after {
  content: none;
}

.mail-link {
  grid-column: 1 / span 4;
  justify-self: start;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0;
}

.brand {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--brand-width);
  height: var(--brand-height);
  transform: translate(-50%, -50%);
  text-decoration: none;
}

.brand img {
  width: var(--brand-width);
  height: var(--brand-height);
  object-fit: contain;
}

.top-nav {
  grid-column: 9 / span 4;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 70px;
  line-height: 1;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  letter-spacing: 0;
}

.lang-button {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transition: color 220ms ease, opacity 220ms ease;
}

.lang-button:hover {
  opacity: .65;
}

.lang-button.is-active {
  color: var(--text);
}

.shop-link {
  font-size: 20px;
  line-height: 1;
}

.site-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.intro {
  margin-bottom: 70px;
}

.intro h1 {
  margin: 0;
  font-size: clamp(42px, 3.82vw, 55px);
  line-height: 1.14;
  font-weight: 400;
  letter-spacing: 0;
}

.intro h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: .03em;
}

.intro h1 .line-inner {
  display: inline-block;
  transform: translateY(115%) rotate(1.3deg);
  filter: blur(9px);
  opacity: 0;
  animation: headlineIn 1050ms var(--ease-out) forwards;
}

.intro h1 .line:nth-child(2) .line-inner {
  animation-delay: 140ms;
}

.product-preview {
  position: relative;
  width: 100%;
  height: 417px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  isolation: isolate;
}

.preview-bg {
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: inherit;
  transform: scaleX(.985);
  transform-origin: right center;
  opacity: 0;
  animation: panelIn 1050ms var(--ease-out) 360ms forwards;
}

.preview-media {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: calc((100% + var(--grid-gutter)) * 8 / 12 - var(--grid-gutter));
  height: 100%;
  overflow: hidden;
  background: var(--panel);
  border-radius: inherit;
  clip-path: inset(0 100% 0 0 round var(--radius-lg));
  animation: mediaReveal 1150ms var(--ease-out) 520ms forwards;
}

.preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.045);
  animation: imageSettle 1350ms var(--ease-out) 540ms forwards;
}

.preview-info {
  position: absolute;
  right: var(--card-padding);
  bottom: var(--card-padding);
  z-index: 2;
}

.preview-info p {
  width: min(100%, 250px);
  margin: 0;
  text-align: left;
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: 0;
  font-weight: 400;
  transform: translateY(22px);
  filter: blur(7px);
  opacity: 0;
  animation: softTextIn 900ms var(--ease-out) 820ms forwards;
}

@keyframes headerIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes headlineIn {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes panelIn {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes mediaReveal {
  to {
    clip-path: inset(0 0 0 0 round var(--radius-lg));
  }
}

@keyframes imageSettle {
  to {
    transform: scale(1);
  }
}

@keyframes softTextIn {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.is-switching {
  opacity: 0.2;
  transform: translateY(8px);
  filter: blur(6px);
  transition: opacity 180ms ease, transform 180ms ease, filter 180ms ease;
}

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

@media (max-width: 1180px) {
  :root {
    --page-margin: 48px;
    --grid-gutter: 24px;
  }

  .top-nav {
    gap: 40px;
  }

  .product-preview {
    height: clamp(340px, 35.4vw, 417px);
  }
}

@media (max-width: 920px) {
  :root {
    --page-margin: 34px;
    --card-padding: 40px;
  }

  .page-shell {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .mail-link {
    grid-column: 1 / span 5;
    font-size: 16px;
  }

  .brand {
    width: 178px;
    height: 30px;
  }

  .brand img {
    width: 178px;
    height: 30px;
  }

  .top-nav {
    grid-column: 8 / span 5;
    gap: 24px;
  }

  .language-switch {
    gap: 14px;
    font-size: 12px;
  }

  .shop-link {
    font-size: 16px;
  }

  .intro {
    margin-bottom: 42px;
  }

  .intro h1 {
    font-size: clamp(38px, 8.2vw, 52px);
    line-height: 1.08;
  }

  .product-preview {
    height: auto;
    min-height: clamp(450px, 68vw, 560px);
    background: var(--accent);
  }

  .preview-bg {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .preview-media {
    width: 100%;
    height: clamp(245px, 42vw, 330px);
    border-radius: var(--radius-lg);
  }

  .preview-info {
    left: var(--card-padding);
    right: auto;
    bottom: var(--card-padding);
  }
}

@media (max-width: 680px) {
  :root {
    --page-margin: 24px;
    --grid-gutter: 18px;
    --radius-lg: 26px;
    --card-padding: 30px;
  }

  .page-shell {
    min-height: 100svh;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .site-header {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto 1px auto 1px;
    column-gap: var(--grid-gutter);
    row-gap: 18px;
    align-items: center;
    min-height: 0;
  }

  .site-header::before,
  .site-header::after {
    content: "";
    grid-column: 1 / -1;
    width: 100%;
    height: 1px;
    background: var(--text);
  }

  .site-header::before {
    grid-row: 2;
  }

  .site-header::after {
    grid-row: 4;
  }

  .brand {
    position: static;
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: start;
    width: 165px;
    height: 28px;
    transform: none;
  }

  .brand img {
    width: 165px;
    height: 28px;
  }

  .mail-link {
    grid-column: 1 / span 7;
    grid-row: 3;
    justify-self: start;
    font-size: 15px;
  }

  .top-nav {
    grid-column: 8 / -1;
    grid-row: 3;
    justify-self: end;
    gap: 18px;
  }

  .site-main {
    justify-content: flex-end;
    padding-top: 60px;
  }

  .intro {
    margin-bottom: 34px;
  }

  .intro h1 {
    font-size: clamp(35px, 11vw, 48px);
    line-height: 1.05;
    letter-spacing: 0;
  }

  .product-preview {
    min-height: clamp(390px, 108vw, 500px);
  }

  .preview-media {
    height: clamp(220px, 58vw, 305px);
  }

  .preview-info p {
    font-size: 18px;
  }
}

@media (max-width: 430px) {
  :root {
    --page-margin: 20px;
    --grid-gutter: 16px;
    --radius-lg: 24px;
    --card-padding: 26px;
  }

  .brand {
    width: 148px;
    height: 25px;
  }

  .brand img {
    width: 148px;
    height: 25px;
  }

  .top-nav {
    gap: 14px;
  }

  .mail-link {
    letter-spacing: 0;
  }

  .language-switch {
    gap: 10px;
    font-size: 11px;
  }

  .shop-link,
  .mail-link {
    font-size: 15px;
  }

  .site-main {
    padding-top: 42px;
  }

  .intro h1 {
    font-size: clamp(32px, 10.8vw, 38px);
  }

  .product-preview {
    min-height: 370px;
  }

  .preview-media {
    height: 210px;
  }

  .preview-info p {
    width: 210px;
    font-size: 17px;
  }
}







@media (max-width: 430px) {
  .intro h1#main-title,
  .intro h1 {
    font-size: clamp(28.8px, 9.7vw, 34px) !important;
  }
}


/* Real mobile headline override */
@media screen and (max-width: 680px) {
  body .intro h1#main-title,
  body .intro h1#main-title .line,
  body .intro h1#main-title .line-inner {
    font-size: 42px !important;
    line-height: 1.04 !important;
  }
}

@media screen and (max-width: 430px) {
  body .intro h1#main-title,
  body .intro h1#main-title .line,
  body .intro h1#main-title .line-inner {
    font-size: 36px !important;
    line-height: 1.04 !important;
  }
}

@media screen and (max-width: 375px) {
  body .intro h1#main-title,
  body .intro h1#main-title .line,
  body .intro h1#main-title .line-inner {
    font-size: 34px !important;
  }
}


/* Desktop header separator */
.desktop-header-line {
  height: 1px;
  background: #111;
  opacity: .42;
  transform-origin: left center;
  animation: lineReveal 900ms var(--ease-out, cubic-bezier(.22,1,.36,1)) 220ms both;
}

@keyframes lineReveal {
  from { transform: scaleX(0); opacity: 0; }
  to { transform: scaleX(1); opacity: .42; }
}

/* Rotating product label */
.rotating-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 56px;
  padding: 0 28px;
  border: 2px solid #111;
  border-radius: 999px;
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
  color: #111;
  overflow: hidden;
  margin-bottom: 50px;
  opacity: 0;
  transform: translateY(12px);
  animation: labelIntro 760ms var(--ease-out, cubic-bezier(.22,1,.36,1)) 260ms forwards;
}

.rotating-label-text {
  display: inline-block;
  will-change: transform, opacity, filter;
}

.rotating-label-text.is-out {
  animation: labelTextOut 360ms cubic-bezier(.55,.08,.68,.53) forwards;
}

.rotating-label-text.is-in {
  animation: labelTextIn 520ms var(--ease-out, cubic-bezier(.22,1,.36,1)) forwards;
}

@keyframes labelIntro {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes labelTextOut {
  from {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
    filter: blur(6px);
  }
}

@keyframes labelTextIn {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

/* Spacing: label -> H1 -> showcase */
.intro {
  margin-bottom: 50px;
}

.product-preview {
  margin-top: 50px;
}

@media (max-width: 920px) {
  .desktop-header-line {
    display: none;
  }

  .rotating-label {
    min-height: 46px;
    padding: 0 22px;
    font-size: 17px;
    margin-bottom: 34px;
  }

  .intro {
    margin-bottom: 34px;
  }

  .product-preview {
    margin-top: 34px;
  }
}

@media (max-width: 430px) {
  .rotating-label {
    min-height: 42px;
    padding: 0 19px;
    font-size: 16px;
    margin-bottom: 30px;
  }

  .intro {
    margin-bottom: 30px;
  }

  .product-preview {
    margin-top: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .desktop-header-line,
  .rotating-label,
  .rotating-label-text,
  .rotating-label-text.is-out,
  .rotating-label-text.is-in {
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}


/* GhostWise label final clean */
.desktop-header-line {
  margin-top: 50px !important;
}

.rotating-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: fit-content !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 20px !important;
  border: 1.5px solid #111 !important;
  border-radius: 999px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0;
  white-space: nowrap !important;
  overflow: hidden !important;
}

.rotating-label-text {
  display: inline-block !important;
  min-width: 166px !important;
  text-align: center !important;
  white-space: nowrap !important;
  will-change: transform, opacity, filter;
}

.rotating-label-text.is-label-out {
  animation: ghostwiseLabelOut 360ms cubic-bezier(.55,.08,.68,.53) forwards !important;
}

.rotating-label-text.is-label-in {
  animation: ghostwiseLabelIn 620ms cubic-bezier(.22,1,.36,1) forwards !important;
}

@keyframes ghostwiseLabelOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-8px) scale(.985);
    filter: blur(5px);
  }
}

@keyframes ghostwiseLabelIn {
  0% {
    opacity: 0;
    transform: translateY(9px) scale(.985);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@media (max-width: 430px) {
  .rotating-label {
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 16px !important;
    font-size: 16px !important;
  }

  .rotating-label-text {
    min-width: 146px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rotating-label-text.is-label-out,
  .rotating-label-text.is-label-in {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}


/* GhostWise responsive label hierarchy */
.rotating-label{
  font-size:18px !important;
  height:44px !important;
  min-height:44px !important;
  padding:0 20px !important;
}

@media (max-width:1200px){
  .rotating-label{
    font-size:16px !important;
    height:40px !important;
    min-height:40px !important;
    padding:0 18px !important;
  }
}

@media (max-width:768px){
  .rotating-label{
    font-size:15px !important;
    height:36px !important;
    min-height:36px !important;
    padding:0 16px !important;
  }
}

.desktop-header-line{
  display:block !important;
}

@media (max-width:768px){
  .desktop-header-line{
    display:none !important;
  }
}


html, body, button, input, textarea, select, a, p, span, div, h1, h2, h3, h4, h5, h6{font-family:'Inter',sans-serif !important;letter-spacing:-0.015em !important;}
