/* Global Leather Goods · Partner Portal · página provisional */

@font-face {
  font-family: "Albert Sans";
  src: url("fonts/albert-sans-latin.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #141414;
  --ink-2: #4A4744;
  --ink-3: #6E6A65;
  --bg: #F7F5F2;
  --surface: #FFFFFF;
  --leather: #8C5A33;
  --gutter: 24px;
  --font: "Albert Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Two leather panels joined by a seam: white brand panel + warm content panel */
.shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.brand {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(240px, 36vh, 340px);
  padding: 48px var(--gutter) 88px;
  background: var(--surface);
}

.logo {
  display: block;
  width: clamp(184px, 54vw, 248px);
  height: auto;
}

/* Official «Love your brand» slogan, signed off at the foot of the brand panel */
.slogan {
  position: absolute;
  left: 50%;
  bottom: 42px;
  display: block;
  width: 112px;
  height: auto;
  transform: translateX(-50%);
}

/* Saddle-stitch seam along the edge of the brand panel (intentional detail) */
.seam {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  width: 100%;
  height: 2px;
  overflow: visible;
  pointer-events: none;
}

.seam line {
  fill: none;
  stroke: var(--leather);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 5 6;
}

.seam-v { display: none; }

.panel {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px var(--gutter) 40px;
}

.intro { max-width: 40rem; }

h1 {
  margin: 0;
  font-size: clamp(1.75rem, 1.05rem + 3.6vw, 3.75rem);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.022em;
}

h1 span {
  display: block;
  text-wrap: balance;
}

.lead {
  margin: 24px 0 0;
  max-width: 24em;
  font-size: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);
  line-height: 1.45;
}

.text {
  margin: 16px 0 0;
  max-width: 34em;
  color: var(--ink-2);
}

.contact { margin-top: 40px; }

.contact p {
  margin: 0 0 16px;
  color: var(--ink-2);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  min-height: 52px;
  padding: 0 24px 0 20px;
  border-radius: 2px;
  background: var(--ink);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.button svg {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button:hover { background: #34302D; }

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

.footer {
  padding: 0 var(--gutter) 28px;
  color: var(--ink-3);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.footer p { margin: 0; }

/* Small phones (iPhone SE 1st gen, compact Android, folding covers) */
@media (max-width: 359px) {
  :root { --gutter: 20px; }
  .button {
    gap: 10px;
    padding: 0 18px 0 16px;
  }
}

@media (min-width: 600px) {
  :root { --gutter: 40px; }
  .content { padding-top: 64px; padding-bottom: 56px; }
}

@media (min-width: 960px) {
  .shell {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  .brand {
    min-height: 0;
    padding: 64px;
  }
  .logo { width: clamp(232px, 20vw, 320px); }
  .slogan {
    bottom: 45px;
    width: 128px;
  }
  h1 { font-size: clamp(2.625rem, 4.2vw, 3.75rem); }
  .seam {
    top: 0;
    right: 18px;
    bottom: 0;
    left: auto;
    width: 2px;
    height: 100%;
  }
  .seam-h { display: none; }
  .seam-v { display: inline; }
  .content { padding: 96px clamp(56px, 7vw, 128px) 48px; }
  .footer { padding: 0 clamp(56px, 7vw, 128px) 40px; }
}

@media (min-width: 1600px) {
  h1 { font-size: 4.5rem; }
  .intro { max-width: 46rem; }
  .lead { font-size: 1.5rem; }
  .text, .contact p { font-size: 1.0625rem; }
  .slogan { width: 140px; }
}

@media (min-width: 960px) and (max-height: 760px) {
  .content { padding-top: 56px; padding-bottom: 32px; }
  .contact { margin-top: 32px; }
}

/* The seam is sewn once on arrival; skipped when reduced motion is requested */
@media (prefers-reduced-motion: no-preference) {
  .seam { animation: sew-across 1.6s cubic-bezier(0.65, 0, 0.35, 1) 0.2s both; }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 960px) {
  .seam { animation-name: sew-down; }
}

@keyframes sew-across {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes sew-down {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}

@media (forced-colors: active) {
  .button { border: 1px solid ButtonText; }
  .seam line { stroke: CanvasText; }
}
