/*
Theme Name: Urnela Studio Git
Author: Urnela
Description: Editorial WordPress theme for the Urnela product catalogue.
Version: 0.3.94
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: urnela-studio
*/

img, picture {
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

:root {
  --ink: #181715;
  --ink-soft: #37342f;
  --paper: #f0ece5;
  --paper-deep: #e2d9cc;
  --line: #c9c0b5;
  --copper: #86684c;
  --white: #fffdf9;
  --body: Arial, Helvetica, sans-serif;
  --display: Georgia, 'Times New Roman', serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; z-index: 10000; background: white; padding: 12px; }
.site-shell { width: min(100% - 72px, 1512px); margin-inline: auto; }
.eyebrow { font-size: 11px; line-height: 1.4; letter-spacing: .19em; text-transform: uppercase; font-weight: 700; }
.muted { color: #6f6a62; }
.rule { border-top: 1px solid var(--line); }

.site-header { position: relative; z-index: 20; background: #fff; color: var(--ink); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; font-family: var(--body); font-size: 23px; font-weight: 700; letter-spacing: .16em; line-height: 1; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); margin-left: auto; }
.main-nav a, .header-tools a { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.main-nav a { opacity: .72; transition: opacity .2s ease; }
.main-nav a:hover, .main-nav a[aria-current="page"] { opacity: 1; }
.header-tools { display: flex; align-items: center; gap: 21px; margin-left: 22px; }
.header-tools .partner-link { border: 1px solid #6b6258; padding: 12px 15px; }
.language-switch { display: flex; gap: 8px; color: #938f8b; }
.language-switch a[aria-current="true"] { color: white; }
.language-switch span { opacity: .5; }
.menu-toggle { display: none; border: 0; color: white; background: transparent; padding: 10px; cursor: pointer; }
.menu-toggle i { display: block; width: 23px; height: 1px; background: currentColor; margin: 5px 0; }

.hero { min-height: min(760px, calc(100svh - 82px)); display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); background: var(--paper); }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: clamp(40px, 5vw, 88px) clamp(32px, 6.2vw, 112px) 46px max(36px, calc((100vw - 1512px) / 2)); }
.hero-copy-top { width: 100%; display: flex; justify-content: space-between; gap: 15px; color: #69645c; }
.hero-main { padding: 62px 0 70px; max-width: 650px; }
.hero h1 { margin: 0; font: 400 clamp(56px, 5.5vw, 101px)/.98 var(--display); letter-spacing: -.055em; }
.hero h1 span { display: block; }
.hero-lede { max-width: 365px; font-size: 16px; line-height: 1.7; color: #59534c; margin: 28px 0 0; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; margin-top: 43px; }
.text-link { display: inline-flex; align-items: center; gap: 22px; border-bottom: 1px solid var(--ink); padding-bottom: 9px; font-size: 11px; letter-spacing: .13em; font-weight: 700; text-transform: uppercase; }
.text-link::after { content: '↗'; font-size: 18px; font-weight: 400; line-height: .7; transition: transform .2s ease; }
.text-link:hover::after { transform: translate(3px,-3px); }
.text-link.quiet { border-color: #b7ab9e; }
.hero-bottom { display: flex; align-items: center; gap: 20px; width: 100%; color: #7b746b; }
.hero-bottom .line { height: 1px; background: #bdb3a7; flex: 1; }
.hero-visual { min-height: 620px; position: relative; overflow: hidden; background: #a99a8c; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.visual-caption { position: absolute; left: 28px; bottom: 25px; background: rgba(24,23,21,.87); color: white; max-width: 300px; padding: 12px 15px; font-size: 10px; line-height: 1.45; letter-spacing: .08em; text-transform: uppercase; }

.editorial-intro { padding: 42px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; border-bottom: 1px solid var(--line); }
.editorial-intro p { margin: 0; font-size: 13px; line-height: 1.7; max-width: 485px; color: var(--ink-soft); }
.editorial-intro p:last-child { justify-self: end; }
.section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 36px; }
.section-heading h2 { margin: 13px 0 0; font: 400 clamp(44px, 5vw, 76px)/1.04 var(--display); letter-spacing: -.04em; }
.section-heading .text-link { margin-bottom: 8px; }
.collection-section { padding: 118px 0 132px; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.product-card { display: block; min-width: 0; }
.product-image { position: relative; overflow: hidden; background: #d9d0c5; aspect-ratio: 4 / 5; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease; }
.product-card:hover img { transform: scale(1.045); }
.product-index { position: absolute; top: 16px; left: 18px; background: rgba(246,240,231,.87); padding: 9px 10px; font-size: 10px; letter-spacing: .12em; }
.product-meta { display: flex; justify-content: space-between; gap: 10px; padding-top: 17px; border-top: 1px solid var(--ink); margin-top: 15px; }
.product-meta strong { font-size: 18px; font-weight: 500; }
.product-meta span { color: #746c62; font-size: 10px; line-height: 1.7; text-align: right; text-transform: uppercase; letter-spacing: .07em; }

.manufacturing-band { display: grid; grid-template-columns: 1fr 1fr; background: #25221e; color: #f3eee8; }
.manufacturing-image { min-height: 590px; overflow: hidden; }
.manufacturing-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 49%; filter: saturate(.64) brightness(.75); }
.manufacturing-copy { align-self: center; padding: 80px clamp(42px, 7vw, 140px); }
.manufacturing-copy h2 { font: 400 clamp(42px, 4vw, 65px)/1.05 var(--display); letter-spacing: -.04em; max-width: 630px; margin: 24px 0 28px; }
.manufacturing-copy p { color: #c9c0b6; line-height: 1.7; max-width: 490px; font-size: 15px; }
.manufacturing-copy .text-link { margin-top: 30px; border-color: #ada49a; }
.values-section { padding: 110px 0 125px; }
.values-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--ink); margin-top: 42px; }
.value { padding: 26px 32px 0 0; min-height: 205px; }
.value + .value { border-left: 1px solid var(--line); padding-left: 32px; }
.value h3 { font: 400 27px/1.2 var(--display); margin: 44px 0 12px; }
.value p { font-size: 14px; line-height: 1.6; color: #625c55; max-width: 300px; }
.partner-band { background: #c8b8a7; padding: 92px 0; }
.partner-inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.partner-inner h2 { margin: 20px 0 0; font: 400 clamp(43px, 4vw, 70px)/1.05 var(--display); letter-spacing: -.04em; max-width: 780px; }
.partner-inner .text-link { margin-bottom: 8px; flex-shrink: 0; }

.page-hero { padding: 96px 0 80px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font: 400 clamp(60px, 7vw, 112px)/.99 var(--display); letter-spacing: -.055em; max-width: 1120px; margin: 23px 0 0; }
.page-hero p { font-size: 17px; line-height: 1.65; max-width: 650px; color: #5f5a54; margin: 30px 0 0; }
.page-content { padding: 80px 0 120px; min-height: 50vh; }
.page-content .entry-content { max-width: 760px; font-size: 16px; line-height: 1.75; }
.page-content .entry-content a { text-decoration: underline; text-underline-offset: 4px; }
.page-content .entry-content h2 { font: 400 42px/1.2 var(--display); margin-top: 54px; }
.page-content .product-grid { margin-top: 10px; }
.page-content .intro-text { max-width: 670px; font-size: 18px; line-height: 1.65; margin: 0 0 55px; }
.page-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(35px, 7vw, 130px); padding: 50px 0; border-top: 1px solid var(--line); }
.page-section h2 { font: 400 clamp(34px, 4vw, 56px)/1.1 var(--display); letter-spacing: -.035em; margin: 0; }
.page-section p { line-height: 1.7; color: #5d5750; font-size: 16px; max-width: 570px; margin: 0; }
.notice { border-left: 2px solid var(--copper); padding: 14px 19px; background: #e5ddd2; font-size: 13px; color: #574f46; line-height: 1.5; }

.site-footer { background: var(--ink); color: #f2ede7; padding: 65px 0 24px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; padding-bottom: 100px; }
.footer-top .brand { font-size: clamp(33px, 4vw, 68px); }
.footer-top p { max-width: 290px; color: #ada69e; line-height: 1.6; margin: 20px 0 0; font-size: 13px; }
.footer-nav { display: grid; grid-template-columns: repeat(2,max-content); gap: 14px 50px; }
.footer-nav a { font-size: 12px; color: #d6d0c9; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid #5a544e; color: #8d8780; font-size: 11px; line-height: 1.5; }

@media (max-width: 1120px) {
  .site-shell { width: min(100% - 48px, 1512px); }
  .header-inner { gap: 17px; }
  .main-nav { gap: 15px; }
  .header-tools { margin-left: 5px; gap: 12px; }
  .main-nav a, .header-tools a { font-size: 10px; }
  .hero-copy { padding-left: 40px; padding-right: 35px; }
}
@media (max-width: 850px) {
  .site-shell { width: min(100% - 36px, 1512px); }
  .header-inner { min-height: 70px; }
  .menu-toggle { display: block; margin-left: auto; }
  .main-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--ink); padding: 22px 18px 28px; flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid #49433d; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 8px; border-bottom: 1px solid #49433d; font-size: 12px; }
  .header-tools { margin-left: 0; }
  .partner-link { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { min-height: 560px; padding: 37px 24px 30px; }
  .hero-main { padding: 80px 0 60px; }
  .hero h1 { font-size: clamp(57px, 10vw, 82px); }
  .hero-visual { min-height: 600px; max-height: 780px; }
  .editorial-intro { grid-template-columns: 1fr; gap: 16px; }
  .editorial-intro p:last-child { justify-self: start; }
  .manufacturing-band { grid-template-columns: 1fr; }
  .manufacturing-image { min-height: 500px; max-height: 650px; }
  .manufacturing-copy { padding: 70px 34px 80px; }
}
@media (max-width: 640px) {
  .brand { font-size: 19px; }
  .header-tools { gap: 0; }
  .language-switch a { font-size: 10px; }
  .hero-copy { min-height: 510px; }
  .hero-main { padding: 58px 0 55px; }
  .hero h1 { font-size: clamp(52px, 14vw, 76px); }
  .hero-lede { font-size: 14px; margin-top: 23px; }
  .hero-actions { margin-top: 34px; gap: 20px; }
  .hero-visual { min-height: 440px; height: 118vw; }
  .visual-caption { left: 18px; bottom: 18px; }
  .collection-section { padding: 78px 0 90px; }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-heading .text-link { margin-top: 25px; }
  .product-grid { grid-template-columns: 1fr; gap: 44px; }
  .product-image { aspect-ratio: 1 / 1.1; }
  .values-section { padding: 75px 0; }
  .values-grid { grid-template-columns: 1fr; }
  .value, .value + .value { min-height: 0; padding: 25px 0 28px; border-left: 0; border-bottom: 1px solid var(--line); }
  .value h3 { margin-top: 27px; }
  .partner-band { padding: 70px 0; }
  .partner-inner { display: block; }
  .partner-inner .text-link { margin-top: 35px; }
  .page-hero { padding: 67px 0 59px; }
  .page-hero h1 { font-size: clamp(51px, 13vw, 76px); }
  .page-content { padding: 58px 0 90px; }
  .page-section { grid-template-columns: 1fr; gap: 20px; }
  .footer-top { display: block; padding-bottom: 70px; }
  .footer-nav { margin-top: 50px; gap: 15px 35px; }
  .footer-bottom { display: block; }
  .footer-bottom span { display: block; margin-bottom: 7px; }
}

