
/* Scope — companion to Studio Wunda. Uses the same Suisse Intl typography and layout system. */

/* ========================================
   FONTS
======================================== */

@font-face {
  font-family: 'Suisse Intl';
  src: local('Suisse Intl Book'),
       local('SuisseIntl-Book'),
       url('../fonts/suisse-intl/SuisseIntl-Book.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Suisse Intl';
  src: local('Suisse Intl Medium'),
       local('SuisseIntl-Medium'),
       url('../fonts/suisse-intl/SuisseIntl-Medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'Suisse Intl';
  src: local('Suisse Intl SemiBold'),
       local('SuisseIntl-SemiBold'),
       url('../fonts/suisse-intl/SuisseIntl-SemiBold.woff2') format('woff2');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Suisse Intl';
  src: local('Suisse Intl Bold'),
       local('SuisseIntl-Bold'),
       url('../fonts/suisse-intl/SuisseIntl-Bold.woff2') format('woff2');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

/* ========================================
   VARIABLES & BASE
======================================== */

:root {
  color-scheme: light;
  --background: #ffffff;
  --ink: #151515;
  --text: #343434;
  --muted: #666666;
  --line: #dadada;
  --side: clamp(26px, 5.2vw, 92px);

  font-family: 'Suisse Intl', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--background);
}


a {
  color: inherit;
}

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

/* ========================================
   ACCESSIBILITY
======================================== */

.skip-link {
  position: fixed;
  z-index: 20;
  top: -100px;
  left: var(--side);
  padding: 10px 15px;
  background: var(--ink);
  color: var(--background);
}

.skip-link:focus {
  top: 10px;
}

/* ========================================
   PAGE STRUCTURE
======================================== */

.site-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  max-width: 1840px;
  margin: auto;
  padding-inline: var(--side);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ========================================
   HEADER
======================================== */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-block: 39px 29px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-size: 29px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.053em;
  white-space: nowrap;
  text-decoration: none;
}

.header-contact,
.site-footer a {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .085em;
  text-decoration: none;
}

.header-contact {
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
}

.header-contact:hover,
.site-footer a:hover {
  border-color: currentColor;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ========================================
   HERO
======================================== */

.hero {
  display: flex;
  align-items: center;
  flex: 1;
  padding-block:
    clamp(76px, 10vh, 145px)
    clamp(80px, 10vh, 138px);
}

.hero-content {
  width: 100%;
}

.eyebrow {
  margin: 0 0 46px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .015em;
  line-height: 1.5;
}

.eyebrow-divider {
  padding-inline: 10px;
  color: #999999;
}

.eyebrow-sector {
  white-space: nowrap;
}

/*
   HEADLINE

   One fluid formula across all screen sizes.
   No breakpoint font-size overrides.
   This prevents sudden resizing jumps.
*/

h1 {
  max-width: 1400px;
  margin: 0;
  font-size: clamp(40px, calc(6.5vw + 18px), 124px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.025em;
  text-wrap: balance;
}

h1 span {
  color: #777777;
}

/*
   INTRODUCTION

   Larger editorial typography.
   Smooth scaling across all widths.
*/

.introduction {
  max-width: 850px;
  margin: clamp(38px, 4vw, 54px) 0 0;
  color: var(--text);
  font-size: clamp(21px, calc(1.15vw + 12px), 26px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -.014em;
  text-wrap: pretty;
}

/* ========================================
   PRACTICE / SERVICES
======================================== */

.practice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  border-top: 1px solid var(--line);
  padding-block: 25px 55px;
}

.practice-item {
  display: grid;
  grid-template-columns:
    minmax(120px, 165px)
    minmax(0, 1fr);
  gap: 22px;
}

.practice-label {
  margin: 0;
  padding-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: .07em;
  white-space: nowrap;
}

.practice-description {
  max-width: 380px;
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.48;
  letter-spacing: -.006em;
  text-wrap: pretty;
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-block: 20px 24px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .01em;
}

.site-footer a {
  color: var(--muted);
  font-size: 11px;
}

/* ========================================
   TABLET / SMALL DESKTOP
======================================== */

@media (max-width: 1170px) {

  .practice {
    gap: 40px;
  }

  .practice-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .introduction {
    max-width: 760px;
  }

}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 720px) {

  :root {
    --side: 24px;
  }

  .site-header {
    padding-block: 29px 23px;
  }

  .wordmark {
    font-size: 25px;
  }

  .header-contact {
    font-size: 11px;
  }

  .hero {
    padding-block: 100px 112px;
  }

  .eyebrow {
    margin-bottom: 38px;
    max-width: 320px;
    font-size: 10px;
    line-height: 1.75;
  }

  .eyebrow-divider {
    padding-inline: 5px;
  }

  /*
     Headline font-size deliberately NOT
     overridden here.
  */

  .introduction {
    margin-top: 40px;
    line-height: 1.48;
  }

  .practice {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-block: 27px 44px;
  }

  .practice-item {
    grid-template-columns:
      minmax(120px, 145px)
      minmax(0, 1fr);
    gap: 18px;
  }

}

/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 480px) {

  .wordmark {
    font-size: 23px;
  }

  .site-header {
    gap: 10px;
  }

  .hero {
    padding-block: 100px 96px;
  }

  .eyebrow {
    max-width: 270px;
  }

  .practice-item {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .site-footer {
    align-items: flex-start;
  }

  .site-footer a {
    text-align: right;
  }

}

/* ========================================
   REDUCED MOTION
======================================== */

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

/* ========================================
   SUPERSCRIPT
======================================== */

sup {
  font-size: .3em;
  vertical-align: baseline;
  position: relative;
  top: -1.8em;
  margin-left: .15em;
}

/* ========================================
   SCOPE / PRODUCT LANDING
   Single fluid typographic scale.  No font-size
   breakpoint jumps between phone, tablet and desktop.
   The product maintains its own identity while using
   Studio Wunda's editorial structure and Suisse Intl.
======================================== */

/* Preserve the original desktop margins but allow
   them to reduce continuously rather than at a breakpoint. */
:root { --side: clamp(24px, 5.2vw, 92px); }

.site-header .wordmark {
  font-size: clamp(18px, calc(1vw + 13px), 22px);
}

/* The parent studio symbol remains intentionally discreet. */
.site-header .wordmark sup {
  font-size: .32em;
  top: -1.65em;
}

.header-contact {
  font-size: clamp(11px, calc(.25vw + 10px), 12px);
}

.hero {
  padding-block: clamp(78px, 10vh, 150px) clamp(76px, 10vh, 140px);
}

.hero .eyebrow {
  margin-bottom: clamp(30px, calc(1.4vw + 26px), 47px);
  color: #454545;
  font-size: clamp(14px, calc(.55vw + 12px), 18px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: .09em;
}

/*
   SCOPE™ is one optical lock-up.  Using one clamp() formula
   throughout is essential: older tablet/mobile font-size
   overrides caused an obvious jump at 720px and 480px.
*/
.scope-name {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  column-gap: clamp(6px, .85vw, 14px);
  width: fit-content;
  max-width: 100%;
  margin: 0;
  font-size: clamp(64px, calc(10vw + 32px), 184px);
  font-weight: 500;
  letter-spacing: -.06em;
  line-height: .9;
  white-space: nowrap;
  text-wrap: nowrap;
}

/* Optical superscript alignment: the TM sits level with the
   top of SCOPE rather than dropping below its cap height.
   The em-based offset scales smoothly with the wordmark. */
.scope-name sup {
  display: block;
  position: relative;
  flex: none;
  top: auto;
  margin: 0;
  font-size: .22em;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.025em;
  vertical-align: baseline;
  transform: translateY(-.18em);
}

.scope-strapline {
  margin: clamp(32px, 3.8vw, 54px) 0 0;
  font-size: clamp(33px, calc(3.2vw + 21px), 63px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.032em;
  text-wrap: balance;
}

.scope-introduction {
  max-width: 730px;
  margin: clamp(24px, 2.8vw, 35px) 0 0;
  color: var(--text);
  font-size: clamp(18px, calc(1.05vw + 14px), 27px);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -.014em;
  text-wrap: pretty;
}

.practice-label {
  font-size: clamp(10px, calc(.12vw + 9px), 11px);
}
.practice-description {
  max-width: 460px;
  font-size: clamp(14px, calc(.22vw + 12px), 16px);
}
.site-footer .studio-link { text-decoration: none; }
.site-footer .studio-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Only structural changes at breakpoints, not font sizes. */
@media (max-width: 720px) {
  .hero { padding-block: clamp(88px, 12vh, 112px) clamp(92px, 12vh, 118px); }
}
