/* =====================================================
   Simon Lopez – simonlopez.net
   Static CSS (ported from WP theme: personal / Tailwind 3)
   Fonts served locally — fully independent of WordPress
   ===================================================== */

/* ---------- Fonts (local) ---------- */
@font-face {
  font-family: 'Juana';
  font-weight: 400;
  font-style: italic;
  src: url(assets/fonts/Juana-RegularIt.woff) format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  font-weight: 400;
  font-style: normal;
  src: url(assets/fonts/Figtree-Regular.woff) format('woff');
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  font-weight: 500;
  font-style: normal;
  src: url(assets/fonts/Figtree-Medium.woff) format('woff');
  font-display: swap;
}

/* ---------- Tailwind-compatible reset ---------- */
*, ::before, ::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}
::before, ::after { --tw-content: ''; }

html, :host {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  font-family: Figtree, sans-serif;
  font-feature-settings: normal;
  -webkit-tap-highlight-color: transparent;
}
body { margin: 0; line-height: inherit; }
hr { height: 0; color: inherit; border-top-width: 1px; }
abbr:where([title]) { text-decoration: underline dotted; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
a { color: inherit; text-decoration: inherit; }
b, strong { font-weight: bolder; }
code, kbd, samp, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 1em;
}
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }
table { text-indent: 0; border-color: inherit; border-collapse: collapse; }
button, input, optgroup, select, textarea {
  font-family: inherit; font-size: 100%; font-weight: inherit;
  line-height: inherit; color: inherit; margin: 0; padding: 0;
}
button, select { text-transform: none; }
button, [type='button'], [type='reset'], [type='submit'] {
  -webkit-appearance: button; background-color: transparent; background-image: none;
}
:-moz-focusring { outline: auto; }
:-moz-ui-invalid { box-shadow: none; }
progress { vertical-align: baseline; }
::-webkit-inner-spin-button, ::-webkit-outer-spin-button { height: auto; }
[type='search'] { -webkit-appearance: textfield; outline-offset: -2px; }
::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
summary { display: list-item; }
blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre { margin: 0; }
fieldset { margin: 0; padding: 0; }
legend { padding: 0; }
ol, ul, menu { list-style: none; margin: 0; padding: 0; }
dialog { padding: 0; }
textarea { resize: vertical; }
input::-moz-placeholder, textarea::-moz-placeholder { opacity: 1; color: #9ca3af; }
input::placeholder, textarea::placeholder { opacity: 1; color: #9ca3af; }
button, [role="button"] { cursor: pointer; }
:disabled { cursor: default; }
img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }
img, video { max-width: 100%; height: auto; }
[hidden] { display: none; }

/* ---------- Tailwind CSS custom properties ---------- */
*, ::before, ::after {
  --tw-border-spacing-x: 0; --tw-border-spacing-y: 0;
  --tw-translate-x: 0; --tw-translate-y: 0;
  --tw-rotate: 0; --tw-skew-x: 0; --tw-skew-y: 0;
  --tw-scale-x: 1; --tw-scale-y: 1;
  --tw-scroll-snap-strictness: proximity;
  --tw-ring-offset-width: 0px; --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000; --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000; --tw-shadow-colored: 0 0 #0000;
  --tw-blur: ; --tw-brightness: ; --tw-contrast: ;
  --tw-grayscale: ; --tw-hue-rotate: ; --tw-invert: ;
  --tw-saturate: ; --tw-sepia: ; --tw-drop-shadow: ;
  --tw-backdrop-blur: ; --tw-backdrop-brightness: ; --tw-backdrop-contrast: ;
  --tw-backdrop-grayscale: ; --tw-backdrop-hue-rotate: ; --tw-backdrop-invert: ;
  --tw-backdrop-opacity: ; --tw-backdrop-saturate: ; --tw-backdrop-sepia: ;
}

/* ---------- Base body ---------- */
body {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  font-family: Figtree, sans-serif;
  --tw-text-opacity: 1;
  color: rgb(64 64 64 / var(--tw-text-opacity));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}
html { overflow-x: clip; }
h1, h2, h3 { letter-spacing: -0.025em; }
h2 { font-size: 1.875rem; line-height: 1.25; }
h3 { font-size: 1.875rem; line-height: 1.25; }
h4 { font-size: 1.25rem; line-height: 1.25; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
@media (min-width: 640px)  { .container { max-width: 640px; } }
@media (min-width: 768px)  { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1536px; } }

/* ---------- Tailwind utilities ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.visible { visibility: visible; }
.fixed { position: fixed; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.-mb-24 { margin-bottom: -6rem; }
.-mb-80 { margin-bottom: -20rem; }
.-ml-12 { margin-left: -3rem; }
.-mr-12 { margin-right: -3rem; }
.-mr-\[100vw\] { margin-right: -100vw; }
.-mt-12 { margin-top: -3rem; }
.-mt-6 { margin-top: -1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-32 { margin-bottom: 8rem; }
.mb-4 { margin-bottom: 1rem; }
.ml-20 { margin-left: 5rem; }
.mt-8 { margin-top: 2rem; }
.mt-96 { margin-top: 24rem; }
.block { display: block; }
.inline { display: inline; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.aspect-\[9_\/_16\] { aspect-ratio: 9 / 16; }
.aspect-square { aspect-ratio: 1 / 1; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-8 { height: 2rem; }
.h-\[200px\] { height: 200px; }
.max-h-\[1000px\] { max-height: 1000px; }
.min-h-\[400px\] { min-height: 400px; }
.w-1\/2 { width: 50%; }
.w-3\/5 { width: 60%; }
.w-4\/5 { width: 80%; }
.w-5\/6 { width: 83.333333%; }
.w-8 { width: 2rem; }
.w-\[200vw\] { width: 200vw; }
.w-full { width: 100%; }
.max-w-\[200px\] { max-width: 200px; }
.max-w-\[400px\] { max-width: 400px; }
.max-w-\[500px\] { max-width: 500px; }
.max-w-\[600px\] { max-width: 600px; }
.max-w-none { max-width: none; }
.shrink-0 { flex-shrink: 0; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.flex-col { flex-direction: column; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-2 { gap: 0.5rem; }
.gap-20 { gap: 5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.self-center { align-self: center; }
.justify-self-center { justify-self: center; }
.overflow-hidden { overflow: hidden; }
.overflow-x-clip { overflow-x: clip; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.border { border-width: 1px; }
.bg-amber-50 { --tw-bg-opacity: 1; background-color: rgb(255 251 235 / var(--tw-bg-opacity)); }
.bg-brand-bg { --tw-bg-opacity: 1; background-color: rgb(17 23 56 / var(--tw-bg-opacity)); }
.bg-brand-muted\/10 { background-color: rgb(150 162 223 / 0.1); }
.bg-brand-muted\/25 { background-color: rgb(150 162 223 / 0.25); }
.bg-brand-muted\/40 { background-color: rgb(150 162 223 / 0.4); }
.bg-gray-100 { --tw-bg-opacity: 1; background-color: rgb(243 244 246 / var(--tw-bg-opacity)); }
.bg-green-50 { --tw-bg-opacity: 1; background-color: rgb(240 253 244 / var(--tw-bg-opacity)); }
.bg-lime-50 { --tw-bg-opacity: 1; background-color: rgb(247 254 231 / var(--tw-bg-opacity)); }
.bg-red-50 { --tw-bg-opacity: 1; background-color: rgb(254 242 242 / var(--tw-bg-opacity)); }
.object-cover { object-fit: cover; }
.object-left { object-position: left; }
.object-right { object-position: right; }
.p-8 { padding: 2rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.pb-16 { padding-bottom: 4rem; }
.pl-8 { padding-left: 2rem; }
.pr-4 { padding-right: 1rem; }
.pt-0 { padding-top: 0; }
.pt-16 { padding-top: 4rem; }
.pt-24 { padding-top: 6rem; }
.pt-\[15vh\] { padding-top: 15vh; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.font-serif { font-family: Juana, serif; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.font-medium { font-weight: 500; }
.font-thin { font-weight: 100; }
.uppercase { text-transform: uppercase; }
.\!leading-tight { line-height: 1.25 !important; }
.leading-normal { line-height: 1.5; }
.leading-tight { line-height: 1.25; }
.tracking-widest { letter-spacing: 0.1em; }
.text-blue-400 { --tw-text-opacity: 1; color: rgb(96 165 250 / var(--tw-text-opacity)); }
.text-brand { --tw-text-opacity: 1; color: rgb(43 56 126 / var(--tw-text-opacity)); }
.text-brand-muted { --tw-text-opacity: 1; color: rgb(150 162 223 / var(--tw-text-opacity)); }
.text-white { --tw-text-opacity: 1; color: rgb(255 255 255 / var(--tw-text-opacity)); }
.opacity-60 { opacity: 0.6; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.grayscale {
  --tw-grayscale: grayscale(100%);
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.hover\:underline:hover { text-decoration-line: underline; }

/* ---------- Semantic / component styles ---------- */
.hero {
  background: radial-gradient(rgba(150,162,223,0.2), rgba(115,115,115,0) 70%), #111738;
}

button {
  border-radius: 9999px;
  --tw-bg-opacity: 1;
  background-color: rgb(43 56 126 / var(--tw-bg-opacity));
  padding: 0.75rem 1.5rem;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.logos {
  width: 60px;
  flex-shrink: 0;
  align-self: center;
  justify-self: center;
  object-fit: contain;
}
@media (min-width: 768px) { .logos { width: 100px; } }

/* ---------- Responsive utilities ---------- */
@media (min-width: 768px) {
  .md\:col-span-2     { grid-column: span 2 / span 2; }
  .md\:-mr-\[75vw\]   { margin-right: -75vw; }
  .md\:-mt-16         { margin-top: -4rem; }
  .md\:-mt-48         { margin-top: -12rem; }
  .md\:mt-0           { margin-top: 0; }
  .md\:mt-40          { margin-top: 10rem; }
  .md\:mt-8           { margin-top: 2rem; }
  .md\:block          { display: block; }
  .md\:flex           { display: flex; }
  .md\:hidden         { display: none; }
  .md\:aspect-\[9_\/_16\] { aspect-ratio: 9 / 16; }
  .md\:aspect-video   { aspect-ratio: 16 / 9; }
  .md\:h-20           { height: 5rem; }
  .md\:w-1\/2         { width: 50%; }
  .md\:w-3\/12        { width: 25%; }
  .md\:w-\[150vw\]    { width: 150vw; }
  .md\:w-\[400px\]    { width: 400px; }
  .md\:grid-cols-2    { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3    { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:justify-start  { justify-content: flex-start; }
  .md\:gap-12         { gap: 3rem; }
  .md\:gap-16         { gap: 4rem; }
  .md\:gap-8          { gap: 2rem; }
  .md\:py-12          { padding-top: 3rem; padding-bottom: 3rem; }
  .md\:py-24          { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:pb-32          { padding-bottom: 8rem; }
  .md\:pb-40          { padding-bottom: 10rem; }
  .md\:pl-12          { padding-left: 3rem; }
  .md\:pt-\[25vh\]    { padding-top: 25vh; }
  .md\:text-6xl       { font-size: 3.75rem; line-height: 1; }
  .md\:text-7xl       { font-size: 4.5rem;  line-height: 1; }
  .md\:text-lg        { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:text-xl        { font-size: 1.25rem;  line-height: 1.75rem; }
}

@media (min-width: 1024px) {
  .lg\:-ml-\[10vw\]   { margin-left: -10vw; }
  .lg\:-mr-\[0px\]    { margin-right: 0; }
  .lg\:h-\[400px\]    { height: 400px; }
  .lg\:w-3\/5         { width: 60%; }
  .lg\:w-\[100vw\]    { width: 100vw; }
  .lg\:grid-cols-4    { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:flex-row       { flex-direction: row; }
}

@media (min-width: 1280px) {
  .xl\:aspect-\[3_\/_4\] { aspect-ratio: 3 / 4; }
  .xl\:w-2\/3            { width: 66.666667%; }
}

/* ---------- Pad utility ---------- */
.pad-x-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
