-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
236 lines (218 loc) · 9.56 KB
/
Copy pathstyles.css
File metadata and controls
236 lines (218 loc) · 9.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
/* Maison Corval — base styles */
:root {
--ink: #14100e;
--ink-soft: #3a322d;
--ink-mute: #6f6359;
--line: #d8cfc1;
--line-soft: #ebe3d4;
--parchment: #f3ede0;
--parchment-deep: #ece4d3;
--cream: #faf6ec;
--wine: #5a121c;
--wine-deep: #2a0810;
--gold: #a98349;
--gold-soft: #c9a978;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
background: var(--parchment);
color: var(--ink);
font-family: 'Outfit', -apple-system, system-ui, sans-serif;
font-feature-settings: 'ss01' on, 'cv11' on;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
.serif { font-family: 'Cormorant Garamond', 'Times New Roman', serif; font-weight: 500; letter-spacing: -0.01em; }
.mono { font-family: 'JetBrains Mono', 'Courier New', monospace; }
.kicker { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute); font-weight: 500; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
/* hair line */
.hair { height: 1px; background: var(--line); width: 100%; }
.hair-soft { height: 1px; background: var(--line-soft); width: 100%; }
/* Bottle */
.bottle-stage {
position: relative;
width: 100%;
aspect-ratio: 1 / 1.45;
display: flex; align-items: flex-end; justify-content: center;
overflow: hidden;
}
.bottle {
position: relative;
width: 22%;
height: 96%;
filter: drop-shadow(8px 16px 22px rgba(20,16,14,0.35));
transition: transform .8s cubic-bezier(.2,.6,.2,1);
}
.bottle .neck {
position: absolute; left: 50%; top: 0; transform: translateX(-50%);
width: 38%; height: 22%;
border-radius: 30% 30% 4px 4px / 60% 60% 4px 4px;
background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(0,0,0,0.05)), var(--bottle-color, #2a0810);
}
.bottle .shoulder {
position: absolute; left: 50%; top: 18%; transform: translateX(-50%);
width: 100%; height: 14%;
background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(0,0,0,0.05)), var(--bottle-color, #2a0810);
border-radius: 50% 50% 0 0 / 60% 60% 0 0;
}
.bottle .body {
position: absolute; left: 0; top: 28%; width: 100%; height: 72%;
background: linear-gradient(90deg, rgba(0,0,0,0.18) 0%, rgba(255,255,255,0.10) 28%, rgba(255,255,255,0.04) 50%, rgba(0,0,0,0.18) 100%), var(--bottle-color, #2a0810);
border-radius: 4px 4px 8px 8px;
}
.bottle .foil {
position: absolute; left: 50%; top: 0; transform: translateX(-50%);
width: 38%; height: 9%;
background: var(--foil, #0a0508);
border-radius: 4px 4px 0 0;
}
.bottle .label {
position: absolute; left: 8%; top: 46%; width: 84%; height: 36%;
background: var(--label-bg, #f3ede0);
color: var(--ink);
display: flex; flex-direction: column; align-items: center; justify-content: center;
padding: 8% 4%;
text-align: center;
border-top: 1px solid rgba(0,0,0,0.06);
border-bottom: 1px solid rgba(0,0,0,0.06);
}
.bottle .label .lname { font-family: 'Cormorant Garamond', serif; font-size: clamp(10px, 1.2vw, 16px); line-height: 1; font-weight: 600; }
.bottle .label .lcuvee { font-size: clamp(6px, 0.65vw, 9px); letter-spacing: 0.2em; text-transform: uppercase; margin-top: 4px; opacity: .7; }
.bottle .label .lvin { font-family: 'Cormorant Garamond', serif; font-size: clamp(10px, 1.1vw, 14px); margin-top: 6px; font-style: italic; }
.bottle .label .lcrest { width: 18%; height: 14%; border: 1px solid currentColor; opacity: .5; transform: rotate(45deg); margin-top: 6px; }
.bottle-card:hover .bottle { transform: translateY(-6px) rotate(-1deg); }
/* Nav */
.nav {
position: sticky; top: 0; z-index: 50;
background: rgba(243,237,224,0.92);
backdrop-filter: blur(10px);
border-bottom: 1px solid var(--line);
}
.nav-inner {
max-width: 1480px; margin: 0 auto;
padding: 18px 40px;
display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px;
}
.nav-links { display: flex; gap: 28px; font-size: 13px; letter-spacing: 0.06em; }
.nav-link { padding: 4px 0; position: relative; cursor: pointer; transition: color .2s; }
.nav-link:hover { color: var(--wine); }
.nav-link.active::after {
content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--ink);
}
.nav-right { display: flex; gap: 18px; justify-content: flex-end; align-items: center; font-size: 13px; }
.cart-button {
display: flex; align-items: center; gap: 8px;
border: 1px solid var(--ink); background: transparent;
padding: 8px 16px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
color: var(--ink); transition: all .2s;
}
.cart-button:hover { background: var(--ink); color: var(--cream); }
.cart-count {
background: var(--wine); color: var(--cream); border-radius: 999px;
font-size: 10px; padding: 2px 7px; min-width: 18px; text-align: center;
}
/* Container */
.container { max-width: 1480px; margin: 0 auto; padding: 0 40px; }
/* Buttons */
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 10px;
padding: 14px 26px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
border: 1px solid var(--ink); background: var(--ink); color: var(--cream);
transition: all .2s;
}
.btn:hover { background: var(--wine); border-color: var(--wine); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .35; cursor: not-allowed; }
/* Wine grid card */
.wine-card { cursor: pointer; padding: 28px 18px 24px; transition: background .3s; }
.wine-card:hover { background: var(--parchment-deep); }
.wine-card .meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.wine-card .name { font-family: 'Cormorant Garamond', serif; font-size: 28px; line-height: 1.05; }
.wine-card .price { font-size: 14px; letter-spacing: 0.04em; }
.wine-card .sub { font-size: 12px; color: var(--ink-mute); margin-top: 4px; }
/* Filters */
.chip {
display: inline-flex; align-items: center; gap: 6px;
padding: 7px 14px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
border: 1px solid var(--line); background: transparent; color: var(--ink-soft);
border-radius: 999px; cursor: pointer; transition: all .15s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
/* Cart drawer */
.drawer-scrim {
position: fixed; inset: 0; background: rgba(20,16,14,0.45);
z-index: 100; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.drawer-scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
position: fixed; top: 0; right: 0; bottom: 0; width: min(520px, 100vw);
background: var(--parchment); z-index: 101;
transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head { padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 28px; }
.drawer-foot { padding: 24px 28px; border-top: 1px solid var(--line); background: var(--parchment-deep); }
.qty {
display: inline-flex; align-items: center; border: 1px solid var(--line);
}
.qty button { background: transparent; border: 0; padding: 6px 10px; font-size: 14px; color: var(--ink); }
.qty .val { padding: 0 10px; min-width: 24px; text-align: center; font-size: 13px; }
/* Hero */
.hero {
position: relative; padding: 80px 0 100px;
border-bottom: 1px solid var(--line);
overflow: hidden;
}
.hero h1 {
font-family: 'Cormorant Garamond', serif;
font-size: clamp(60px, 9vw, 156px);
line-height: 0.92; letter-spacing: -0.02em; margin: 0;
font-weight: 400;
}
.hero h1 em { font-style: italic; color: var(--wine); }
/* Tasting wheel */
.wheel {
display: grid; grid-template-columns: 1fr 1fr; gap: 24px 36px;
}
.wheel-row { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.wheel-row .lab { width: 88px; color: var(--ink-mute); }
.wheel-row .bar { flex: 1; height: 1px; background: var(--line); position: relative; }
.wheel-row .bar::after {
content: ''; position: absolute; top: -2px; left: 0; height: 5px; width: var(--w, 50%);
background: var(--ink);
}
/* Inputs */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.field input, .field select {
background: transparent; border: 0; border-bottom: 1px solid var(--ink);
padding: 8px 0 10px; font-size: 15px; color: var(--ink); outline: none;
}
.field input:focus, .field select:focus { border-bottom-color: var(--wine); }
.field .err { color: #a82828; font-size: 11px; letter-spacing: 0.06em; }
/* Stepper */
.stepper { display: flex; align-items: center; gap: 14px; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.stepper .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--line); }
.stepper .dot.done { background: var(--ink); }
.stepper .step.active { color: var(--ink); }
/* Misc */
.swatch { width: 14px; height: 14px; border-radius: 999px; border: 1px solid rgba(0,0,0,0.15); }
@keyframes pour {
0% { transform: translateY(-20px); opacity: 0; }
100% { transform: translateY(0); opacity: 1; }
}
.pour-in { animation: pour .5s ease both; }
@keyframes fade {
from { opacity: 0; transform: translateY(8px); }
to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fade .35s ease both; }