@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Mono:wght@300;400&display=swap');

/* ── CSS VARIABLES ───────────────────────────────────────── */
:root {
  --paper:       #e6dfd4;
  --paper-opacity:#e6dfd452; 
  --paper-dark:  #d4ccbf;
  --ink:         #1a1714;
  --ink-soft:    #3a342e;
  --ink-bright:  #6b6966;
  --accent:      #b85c38;
  --accent-warm: #c97a52;
  /*--ref1:        #2e581d;
  --ref2:        #1885b8;*/
  --type-display: 'Bebas Neue', sans-serif;
  --type-sub:     'Zalando Sans Expanded', sans-serif;
  --type-body:    'Roboto Mono', monospace;
  --type-mono:    'DM Mono', monospace;
  --grain-opacity: 0.55;
  --pad: 60px;
  --side: clamp(1rem,9vw,4rem);
}

/* ── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--paper);
  overflow-x: hidden;
  position: relative;
}

/* Global grain layer — sits over everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: var(--grain-opacity);
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 260px 260px;
}

body::after {
  content: '';
  position: absolute;
  z-index: 0;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      to right,
      transparent,
      transparent calc(100% / 12 - 1px),
      rgba(26,23,20,0.05) calc(100% / 12 - 1px),
      rgba(26,23,20,0.05) calc(100% / 12)
    );
  pointer-events: none;
}

/* ── TYPOGRAPHY HELPERS ──────────────────────────────────── */
a { color: inherit; text-decoration: none; }

ul { list-style: none; }

section {
    margin: 0rem var(--side);
}

/* Largest Header */
h1 {
    font-family: var(--type-display);
    font-size: clamp(30px, 7vw, 132px);
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;
    color: var(--ink);
}

/* Section Divider Heading */
h2 {
  font-family: var(--type-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: 1rem;
}

/* Subheading */
h3 {
    font-family: var(--type-display);
    font-size: clamp(10px,3vw,28px);
    font-weight: 100;
    letter-spacing: 0.06em;
    line-height: 1.05;
    color: var(--ink);
    text-transform: uppercase;
}


/* Paragraph Normal */
p {
  color: var(--ink-soft);
  font-family: var(--type-body);
  font-size: clamp(2px,2vw,15px);
  line-height: 1.6;
  font-weight: 300;
}


/* Paragraph Emphasis 1 */
p1 {  
  font-family: var(--type-sub);
  font-size: clamp(20px, 1vw, 72px);
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: 0.1em;
}

/* Paragraph Emphasis 2 */
p2 {
  font-family: var(--type-display);
  font-size: clamp(12px, 4vw, 38px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}


/* ── NAVIGATION ──────────────────────────────────────────── */

.nav {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0rem var(--side);
  height: 72px;
  /* background: linear-gradient(var(--ink),#00000000); */
  background-color: var(--paper);
}
.nav::after {
  content: '';
  z-index: 2;
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -1px;
  background: var(--ink);
}


/* Logo */
.nav-logo-link { display: flex; align-items: center; }

#logo-wrap {
  display: flex;
  align-items: center;
  height: 40px;
}

#logo {
  height: 100%;
  width: auto;
  display: block;
  /* If logo is dark on transparent, mix-blend makes it sit on paper */
  mix-blend-mode: multiply;
  opacity: 1;
}


/* Nav list */
.nav-list {
  display: flex;
  gap: clamp(1px,5vw,50px);
  align-items: center;
}

.nav-list li {
    font-family: var(--type-mono);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ink-soft);
    transition: color 0.2s ease;
    text-align: center;
    line-height: 1; 
    position: relative;
    overflow: visible;
}

.nav-list li a {
    height: 72px;
    /* background: var(--ref1); */
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Underline swipe on hover */
.nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 22px;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--accent);
  transition: width 0.25s ease;
}

.nav-list li a:hover { color: var(--accent); }
.nav-list li a:hover::after { width: 100%; }

/* ------------------------------------------------------------------- */
/* --------------------------------TOP-------------------------------- */
/* ------------------------------------------------------------------- */

.contact-main {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}


.contact-title {
  position: relative;
  display: flex;
  padding: 10.4rem 0rem 6rem;
}

.contact-links {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 7rem;
}

.contact-links a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1rem 0rem;
  transition: color 0.2s ease;
  width: fit-content;
}

.contact-links a::after {
  content: '';
  z-index: 2;
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 10px;
  left: 4px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.contact-links p {
  color: inherit;
}

.contact-links a:hover {
  color: var(--accent);
}
.contact-links a:hover::after {
  width: 100% ;
}

.contact-links i {
  padding: 0 0.5rem;
}

.email {
  position: relative;
  display: flex;
  flex-direction: row;
}

/* ------------------------------------------------------------------- */
/* -------------------------------BOTTOM------------------------------ */
/* ------------------------------------------------------------------- */
#footer {
  background-color: var(--ink);
  color: var(--paper);
  padding: clamp(0.5rem,6vw,3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

/* Grain on dark footer — screen blend */
#footer::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.3;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
}

/* Copyright */
.footer-copy {
  font-family: var(--type-mono);
  font-size: clamp(3px,1.6vw,10px);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(230,223,212,0.5);
}

/* Email */
.footer-email {
  font-family: var(--type-body);
  font-size: clamp(5px,2vw,14px);
  font-style: italic;
  color: var(--paper);
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
  position: relative;
}


/* Social icons */
.footer-social {
  display: flex;
  gap: clamp(10px,3vw,24px);
  align-items: center;
}

.social-link {
  font-size: 18px;
  color: rgba(230,223,212,0.6);
  transition: color 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
}

.social-link:hover {
  color: var(--accent-warm);
  transform: translateY(-2px);
}
