/* Betty & Co. — Swiss / neo-brutalist grid (unique) */
:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --muted: #525252;
  --accent: #000;
  --line: #0a0a0a;
  --max: 1100px;
  --font: "Space Grotesk", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: -0.02em;
}

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

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover {
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 10000;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: #fff;
}

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

.wrap {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* Frame header */
.frame-head {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 3px solid var(--line);
}

.frame-head__top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid var(--line);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.frame-head__top span:first-child {
  padding-left: clamp(1rem, 4vw, 2rem);
}

.frame-head__top span:last-child {
  text-align: right;
  padding-right: clamp(1rem, 4vw, 2rem);
}

.frame-head__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 2rem);
}

.swiss-logo {
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  line-height: 1;
}

.swiss-logo:hover {
  background: none;
  color: var(--ink);
}

.swiss-logo small {
  display: block;
  font-size: 0.45em;
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-top: 0.25rem;
}

.nav-toggle {
  display: none;
  border: 2px solid var(--line);
  background: #fff;
  padding: 0.4rem 0.65rem;
  font-family: inherit;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.nav {
  display: flex;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-list a:hover {
  background: none;
  text-decoration: line-through;
  color: var(--ink);
}

.nav-list .swiss-cta {
  border: 2px solid var(--line);
  padding: 0.4rem 0.9rem;
  text-decoration: none;
}

.nav-list .swiss-cta:hover {
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}

@media (max-width: 780px) {
  .nav-toggle {
    display: block;
  }

  .frame-head__top {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 0.35rem;
  }

  .frame-head__top span:last-child {
    display: none;
  }

  .nav {
    position: fixed;
    inset: auto 0 0 0;
    top: 120px;
    background: #fff;
    border-top: 3px solid var(--line);
    padding: 1.5rem;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
  }
}

/* Hero stack */
.swiss-hero {
  padding: clamp(2.5rem, 8vw, 5rem) 0;
  border-bottom: 3px solid var(--line);
}

.swiss-hero h1 {
  font-size: clamp(2.5rem, 9vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  margin: 0 0 1.5rem;
  max-width: 12ch;
}

.swiss-hero__sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  max-width: 38ch;
  color: var(--muted);
  margin: 0 0 2rem;
}

.swiss-hero__row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.swiss-hero__row a:first-of-type {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid var(--ink);
}

.swiss-hero__row a:first-of-type:hover {
  background: #fff;
  color: var(--ink);
}

.swiss-hero__row a:last-of-type {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
}

.swiss-hero__row a:last-of-type:hover {
  background: var(--ink);
  color: #fff;
  border-bottom-color: var(--ink);
}

.swiss-hero__img {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  border: 3px solid var(--line);
}

.swiss-hero__img img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
}

@media (max-width: 700px) {
  .swiss-hero__img img {
    aspect-ratio: 4/3;
  }
}

.swiss-hero__cap {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem clamp(1rem, 4vw, 2rem);
  border-top: 1px solid var(--line);
  background: #fafafa;
}

/* Work grid */
.work-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 3px solid var(--line);
}

@media (max-width: 800px) {
  .work-block {
    grid-template-columns: 1fr;
  }
}

.work-block__intro {
  padding: clamp(2rem, 5vw, 3.5rem);
  border-right: 3px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 800px) {
  .work-block__intro {
    border-right: none;
    border-bottom: 3px solid var(--line);
  }
}

.work-block__intro h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
}

.work-block__intro p {
  margin: 0;
  color: var(--muted);
  max-width: 36ch;
}

.work-cases {
  display: flex;
  flex-direction: column;
}

.case {
  flex: 1;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 0;
}

.case:last-child {
  border-bottom: none;
}

@media (max-width: 600px) {
  .case {
    grid-template-columns: 1fr;
  }
}

.case img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  border-right: 1px solid var(--line);
}

@media (max-width: 600px) {
  .case img {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
}

.case__text {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case__text h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.case__text p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

/* Services list */
.services-list {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
  border-bottom: 3px solid var(--line);
}

.services-list h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin: 0 0 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 2px solid var(--line);
}

@media (max-width: 900px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
}

.svc-grid > div {
  padding: 1.25rem;
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  font-size: 0.9rem;
}

.svc-grid > div:nth-child(4n) {
  border-right: none;
}

@media (max-width: 900px) {
  .svc-grid > div:nth-child(2n) {
    border-right: none;
  }
}

.svc-grid strong {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

/* Testimonial band */
.band-quote {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
  background: var(--ink);
  color: #fff;
  border-bottom: 3px solid var(--line);
}

.band-quote blockquote {
  margin: 0;
  max-width: 52ch;
}

.band-quote p {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  line-height: 1.45;
  margin: 0 0 1rem;
}

.band-quote footer {
  font-size: 0.8rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.band-quote + .band-quote {
  border-top: 1px solid #333;
}

/* Newsletter */
.nl-swiss {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
  border-bottom: 3px solid var(--line);
}

.nl-swiss h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.nl-swiss > p {
  color: var(--muted);
  margin: 0 0 1.25rem;
  max-width: 42ch;
}

.nl-form {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  max-width: 520px;
  border: 2px solid var(--line);
}

.nl-form__ok {
  grid-column: 1 / -1;
  border-top: 2px solid var(--line);
  padding: 0.5rem 0.75rem;
  margin: 0;
}

.nl-form input {
  padding: 0.85rem 1rem;
  border: none;
  border-right: 2px solid var(--line);
  font-family: inherit;
  font-size: 1rem;
}

.nl-form button {
  padding: 0.85rem 1.25rem;
  border: none;
  background: var(--ink);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  cursor: pointer;
}

.nl-form .visually-hidden + input {
  grid-column: 1;
}

.nl-form button {
  grid-column: 2;
}

.nl-form button:hover {
  background: #333;
}

.form-success {
  display: none;
  width: 100%;
  margin-top: 0.75rem;
  font-weight: 600;
}

.form-success.is-visible {
  display: block;
}

/* Contact */
.contact-swiss {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem);
}

.contact-swiss h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.contact-split {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  border: 3px solid var(--line);
}

@media (max-width: 700px) {
  .contact-split {
    grid-template-columns: 1fr;
  }
}

.contact-split aside {
  padding: 1.5rem;
  border-right: 3px solid var(--line);
  background: #fafafa;
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  .contact-split aside {
    border-right: none;
    border-bottom: 3px solid var(--line);
  }
}

.contact-split aside p {
  margin: 0 0 0.5rem;
}

.contact-form {
  padding: 1.5rem;
}

.contact-form label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.65rem 0.75rem;
  border: 2px solid var(--line);
  font-family: inherit;
}

.contact-form textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-form button {
  padding: 0.65rem 1.25rem;
  background: var(--ink);
  color: #fff;
  border: 2px solid var(--ink);
  font-family: inherit;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  cursor: pointer;
}

/* Footer */
.site-footer {
  padding: 2rem clamp(1rem, 4vw, 2rem);
  border-top: 3px solid var(--line);
  background: #fafafa;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer h3 {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.65rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.35rem;
}

.site-footer a {
  font-size: 0.88rem;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
}

/* Cookie */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1rem;
  background: #fff;
  border-top: 3px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.3s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
  min-width: 200px;
  font-size: 0.85rem;
}

.cookie-actions {
  display: flex;
  gap: 0;
  border: 2px solid var(--line);
}

.cookie-actions button {
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: none;
  background: #fff;
  border-right: 2px solid var(--line);
}

.cookie-actions button:last-child {
  border-right: none;
  background: var(--ink);
  color: #fff;
}

[data-reveal] {
  opacity: 0;
}

[data-reveal].is-inview {
  opacity: 1;
  transition: opacity 0.5s ease;
}

.legal {
  padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 2rem);
  max-width: 680px;
  margin: 0 auto;
}

.legal h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-top: 0;
}

.legal h2 {
  font-size: 1rem;
  margin-top: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal ul {
  padding-left: 1.25rem;
}
